Package boofcv.alg.geo.robust
Class DistanceHomographyCalibratedSq
java.lang.Object
boofcv.alg.geo.robust.DistanceHomographyCalibratedSq
- All Implemented Interfaces:
DistanceFromModelMultiView<Homography2D_F64,,AssociatedPair> DistanceFromModel<Homography2D_F64,AssociatedPair>
public class DistanceHomographyCalibratedSq
extends Object
implements DistanceFromModelMultiView<Homography2D_F64,AssociatedPair>
Computes the Euclidean error squared between 'p1' and 'p2' after projecting 'p1' into image 2. Input points must be in normalized image coordinates, but the output error will be in pixel coordinates.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublevoiddistances(List<AssociatedPair> points, double[] distance) intvoidsetIntrinsic(int view, CameraPinhole intrinsic) voidsetModel(Homography2D_F64 model)
-
Constructor Details
-
DistanceHomographyCalibratedSq
public DistanceHomographyCalibratedSq()
-
-
Method Details
-
setModel
- Specified by:
setModelin interfaceDistanceFromModel<Homography2D_F64,AssociatedPair>
-
distance
- Specified by:
distancein interfaceDistanceFromModel<Homography2D_F64,AssociatedPair>
-
distances
- Specified by:
distancesin interfaceDistanceFromModel<Homography2D_F64,AssociatedPair>
-
getPointType
- Specified by:
getPointTypein interfaceDistanceFromModel<Homography2D_F64,AssociatedPair>
-
getModelType
- Specified by:
getModelTypein interfaceDistanceFromModel<Homography2D_F64,AssociatedPair>
-
setIntrinsic
- Specified by:
setIntrinsicin interfaceDistanceFromModelMultiView<Homography2D_F64,AssociatedPair>
-
getNumberOfViews
public int getNumberOfViews()- Specified by:
getNumberOfViewsin interfaceDistanceFromModelMultiView<Homography2D_F64,AssociatedPair>
-