Class ProjectiveToIdentity


  • public class ProjectiveToIdentity
    extends java.lang.Object
    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)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void computeH​(org.ejml.data.DMatrixRMaj H)
      Retrieve projective transform H
      org.ejml.data.DMatrixRMaj getPseudoInvP()  
      org.ejml.data.DMatrixRMaj getU()  
      boolean process​(org.ejml.data.DMatrixRMaj P)
      Compute projective transform that converts P into identity
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProjectiveToIdentity

        public ProjectiveToIdentity()
    • 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()