public class GridLineModelFitter extends java.lang.Object implements org.ddogleg.fitting.modelset.ModelGenerator<georegression.struct.line.LinePolar2D_F32,Edgel>
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 and Description |
|---|
GridLineModelFitter(float angleTol) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
generate(java.util.List<Edgel> dataSet,
georegression.struct.line.LinePolar2D_F32 model) |
int |
getMinimumPoints() |
public boolean generate(java.util.List<Edgel> dataSet, georegression.struct.line.LinePolar2D_F32 model)
generate in interface org.ddogleg.fitting.modelset.ModelGenerator<georegression.struct.line.LinePolar2D_F32,Edgel>public int getMinimumPoints()
getMinimumPoints in interface org.ddogleg.fitting.modelset.ModelGenerator<georegression.struct.line.LinePolar2D_F32,Edgel>