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
-
Method Summary
Modifier and TypeMethodDescriptiondouble
void
distances
(List<AssociatedPair> points, double[] distance) int
void
setIntrinsic
(int view, CameraPinhole intrinsic) void
setModel
(Homography2D_F64 model)
-
Constructor Details
-
DistanceHomographyCalibratedSq
public DistanceHomographyCalibratedSq()
-
-
Method Details
-
setModel
- Specified by:
setModel
in interfaceDistanceFromModel<Homography2D_F64,
AssociatedPair>
-
distance
- Specified by:
distance
in interfaceDistanceFromModel<Homography2D_F64,
AssociatedPair>
-
distances
- Specified by:
distances
in interfaceDistanceFromModel<Homography2D_F64,
AssociatedPair>
-
getPointType
- Specified by:
getPointType
in interfaceDistanceFromModel<Homography2D_F64,
AssociatedPair>
-
getModelType
- Specified by:
getModelType
in interfaceDistanceFromModel<Homography2D_F64,
AssociatedPair>
-
setIntrinsic
- Specified by:
setIntrinsic
in interfaceDistanceFromModelMultiView<Homography2D_F64,
AssociatedPair>
-
getNumberOfViews
public int getNumberOfViews()- Specified by:
getNumberOfViews
in interfaceDistanceFromModelMultiView<Homography2D_F64,
AssociatedPair>
-