Class GridLineModelFitter
java.lang.Object
boofcv.alg.feature.detect.line.gridline.GridLineModelFitter
- All Implemented Interfaces:
ModelGenerator<LinePolar2D_F32,Edgel>
Used by
GridRansacLineDetector to fit edgels inside a region to a line. If only
two Edgels are considered then their angles are checked for consistency. If the orientations
are too different then the match is discarded.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangenerate(List<Edgel> dataSet, LinePolar2D_F32 model) int
-
Constructor Details
-
GridLineModelFitter
public GridLineModelFitter(float angleTol)
-
-
Method Details
-
generate
- Specified by:
generatein interfaceModelGenerator<LinePolar2D_F32,Edgel>
-
getMinimumPoints
public int getMinimumPoints()- Specified by:
getMinimumPointsin interfaceModelGenerator<LinePolar2D_F32,Edgel>
-