Package boofcv.alg.geo.structure
Class DecomposeAbsoluteDualQuadratic
java.lang.Object
boofcv.alg.geo.structure.DecomposeAbsoluteDualQuadratic
Decomposes the absolute quadratic to extract the rectifying homogrpahy H. This is used to go from
a projective to metric (calibrated) geometry. See pg 464 in [1].
Q = H*diag([1 1 1 0])*HT and H = [K 0; -p'*K 1]
- R. Hartley, and A. Zisserman, "Multiple View Geometry in Computer Vision", 2nd Ed, Cambridge 2003
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DecomposeAbsoluteDualQuadratic
public DecomposeAbsoluteDualQuadratic()
-
-
Method Details
-
decompose
Decomposes the passed in absolute quadratic- Parameters:
Q
- Absolute quadratic- Returns:
- true if successful or false if it failed
-
recomputeQ
Recomputes Q from w and p.- Parameters:
Q
- Storage for the recomputed Q
-
computeRectifyingHomography
Computes the rectifying homography from the decomposed Q H = [K 0; -p'*K 1] see Pg 460 -
getW
-
getK
-
getP
Coordinate of plane at infinity = pi_inf = (p,1)- Returns:
- Coordinate of plane at infinity
-