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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
generate
(List<Edgel> dataSet, LinePolar2D_F32 model) int
-
Constructor Details
-
GridLineModelFitter
public GridLineModelFitter(float angleTol)
-
-
Method Details
-
generate
- Specified by:
generate
in interfaceModelGenerator<LinePolar2D_F32,
Edgel>
-
getMinimumPoints
public int getMinimumPoints()- Specified by:
getMinimumPoints
in interfaceModelGenerator<LinePolar2D_F32,
Edgel>
-