Package boofcv.alg.geo.impl
Class ProjectiveToIdentity
- java.lang.Object
-
- boofcv.alg.geo.impl.ProjectiveToIdentity
-
public class ProjectiveToIdentity extends java.lang.ObjectUses 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
Constructors Constructor Description ProjectiveToIdentity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomputeH(org.ejml.data.DMatrixRMaj H)Retrieve projective transform Horg.ejml.data.DMatrixRMajgetPseudoInvP()org.ejml.data.DMatrixRMajgetU()booleanprocess(org.ejml.data.DMatrixRMaj P)Compute projective transform that converts P into identity
-
-
-
Method Detail
-
process
public boolean process(org.ejml.data.DMatrixRMaj P)
Compute projective transform that converts P into identity- Parameters:
P- (Input) 3x4 camera matrix- Returns:
- true if no errors
-
computeH
public void computeH(org.ejml.data.DMatrixRMaj H)
Retrieve projective transform H
-
getPseudoInvP
public org.ejml.data.DMatrixRMaj getPseudoInvP()
-
getU
public org.ejml.data.DMatrixRMaj getU()
-
-