Package boofcv.alg.geo.impl
Class ProjectiveToIdentity
java.lang.Object
boofcv.alg.geo.impl.ProjectiveToIdentity
Uses SVD to compute the projective transform which will turn a matrix matrix into identity, e.g.
P*H = [I|0], where P is a 3x4 camera matrix and H is a 4x4 homography transform. H has the structure
[P'|u] where P' (4x3) is the pseudo inverse of P and u is the nullspace of P (4x1)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Retrieve projective transform HgetU()
boolean
Compute projective transform that converts P into identity
-
Constructor Details
-
ProjectiveToIdentity
public ProjectiveToIdentity()
-
-
Method Details
-
process
Compute projective transform that converts P into identity- Parameters:
P
- (Input) 3x4 camera matrix- Returns:
- true if no errors
-
computeH
Retrieve projective transform H -
getPseudoInvP
-
getU
-