Class GenerateScaleTranslateRotate2D

All Implemented Interfaces:

public class GenerateScaleTranslateRotate2D
extends Object
implements ModelGenerator<ScaleTranslateRotate2D,​AssociatedPair>
Estimates a 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.