Package boofcv.alg.geo.h
Class AdjustHomographyMatrix
java.lang.Object
boofcv.alg.geo.h.AdjustHomographyMatrix
The scale and sign of a homography matrix is ambiguous. This contains functions which pick a reasonable scale
and the correct sign. The second smallest singular value is set to one and the sign is chosen such that
the basic properties work.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
adjust
(DMatrixRMaj H, AssociatedPair p) boolean
adjust
(DMatrixRMaj H, PairLineNorm p) protected void
Since the sign of the homography is ambiguous a point is required to make sure the correct one was selected.protected void
Since the sign of the homography is ambiguous a point is required to make sure the correct one was selected.protected boolean
The scale of H is found by computing the second smallest singular value.
-
Field Details
-
svd
-
-
Constructor Details
-
AdjustHomographyMatrix
public AdjustHomographyMatrix()
-
-
Method Details
-
adjust
-
adjust
-
findScaleH
The scale of H is found by computing the second smallest singular value. -
adjustHomographSign
Since the sign of the homography is ambiguous a point is required to make sure the correct one was selected.- Parameters:
p
- test point, used to determine the sign of the matrix.
-
adjustHomographSign
Since the sign of the homography is ambiguous a point is required to make sure the correct one was selected.- Parameters:
p
- test point, used to determine the sign of the matrix.
-