public class GenerateScaleTranslateRotate2D extends java.lang.Object implements org.ddogleg.fitting.modelset.ModelGenerator<ScaleTranslateRotate2D,boofcv.struct.geo.AssociatedPair>
ScaleTranslateRotate2D from three 2D point correspondences.
The transform will take a point from p1 to p2. First the affine transform is found using the standard
linear equation. Scale and translation are found by finding a bit fit solution using SVD.
NOTE: The found solution is not going to be optimal due to the initial approximation using an affine transform.| Constructor and Description |
|---|
GenerateScaleTranslateRotate2D() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
generate(java.util.List<boofcv.struct.geo.AssociatedPair> dataSet,
ScaleTranslateRotate2D output) |
int |
getMinimumPoints() |
public boolean generate(java.util.List<boofcv.struct.geo.AssociatedPair> dataSet,
ScaleTranslateRotate2D output)
generate in interface org.ddogleg.fitting.modelset.ModelGenerator<ScaleTranslateRotate2D,boofcv.struct.geo.AssociatedPair>public int getMinimumPoints()
getMinimumPoints in interface org.ddogleg.fitting.modelset.ModelGenerator<ScaleTranslateRotate2D,boofcv.struct.geo.AssociatedPair>