georegression.fitting
Interface MotionTransformPoint<T extends InvertibleTransform,P extends GeoTuple>
-
- All Known Implementing Classes:
- MotionAffinePoint2D_F32, MotionAffinePoint2D_F64, MotionSe2PointSVD_F32, MotionSe2PointSVD_F64, MotionSe3PointCrossCovariance_F32, MotionSe3PointCrossCovariance_F64, MotionSe3PointSVD_F32, MotionSe3PointSVD_F64
public interface MotionTransformPoint<T extends InvertibleTransform,P extends GeoTuple>Interface for finding a transform that when applied to the 'src' points will minimize the difference between the corresponding point in the 'dst' list.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description intgetMinimumPoints()Minimum number of points required to compute a model.TgetTransformSrcToDst()Returns the estimated motion from the 'from' coordinate system into the 'to' coordinate system.booleanprocess(java.util.List<P> srcPts, java.util.List<P> dstPts)Processes the sets of corresponding points and finds a transformation which when applied to 'srcPts' will minimize the difference with the 'dstPts'.
-
-
-
Method Detail
-
getTransformSrcToDst
T getTransformSrcToDst()
Returns the estimated motion from the 'from' coordinate system into the 'to' coordinate system.- Returns:
- motion
-
process
boolean process(java.util.List<P> srcPts, java.util.List<P> dstPts)
Processes the sets of corresponding points and finds a transformation which when applied to 'srcPts' will minimize the difference with the 'dstPts'.- Parameters:
srcPts- The points which are to be transformed. Not modified.dstPts- The points that are being compared against. Not modified.- Returns:
- true if the computation successfully produced a solution and false if not.
-
getMinimumPoints
int getMinimumPoints()
Minimum number of points required to compute a model.- Returns:
- The number of points required to compute a model.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG