Class Homography2D_F64

java.lang.Object
org.ejml.data.DMatrix3x3
georegression.struct.Matrix3x3_F64
georegression.struct.homography.Homography2D_F64
All Implemented Interfaces:
Homography<Homography2D_F64>, InvertibleTransform<Homography2D_F64>, Serializable, org.ejml.data.DMatrix, org.ejml.data.DMatrixFixed, org.ejml.data.Matrix

public class Homography2D_F64 extends Matrix3x3_F64 implements Homography<Homography2D_F64>
Describes a homography transform in 2D.
See Also:
  • Constructor Details

    • Homography2D_F64

      public Homography2D_F64(double a11, double a12, double a13, double a21, double a22, double a23, double a31, double a32, double a33)
    • Homography2D_F64

      public Homography2D_F64(Homography2D_F64 a)
    • Homography2D_F64

      public Homography2D_F64()
  • Method Details

    • getDimension

      public int getDimension()
      Description copied from interface: InvertibleTransform
      Returns the dimension of the space which this transform operates on.
      Specified by:
      getDimension in interface InvertibleTransform<Homography2D_F64>
      Returns:
      space's dimension
    • createInstance

      public Homography2D_F64 createInstance()
      Description copied from interface: InvertibleTransform
      Creates a new instance of the same SpecialEuclidean as this class.
      Specified by:
      createInstance in interface InvertibleTransform<Homography2D_F64>
      Returns:
      A new instance.
    • setTo

      public Homography2D_F64 setTo(Homography2D_F64 target)
      Description copied from interface: InvertibleTransform
      Assigns 'this' to the value of target.
      Specified by:
      setTo in interface InvertibleTransform<Homography2D_F64>
      Parameters:
      target - The new value of 'this'.
      Returns:
      A reference to 'this' to enable chaining
    • concat

      public Homography2D_F64 concat(Homography2D_F64 second, @Nullable @Nullable Homography2D_F64 ret)
      Description copied from interface: InvertibleTransform

      Computes a transform which is the equivalent to applying 'this' then the 'second' transform.

      For example:

      Point A = tran2( tran1( A ) );
      Point A = tran12( A );

      where tran12 = tran1.concat( tran2 , null );

      NOTE: 'second', 'result', and 'this' must all be unique instances.

      Specified by:
      concat in interface InvertibleTransform<Homography2D_F64>
      Parameters:
      second - The second transform which is applied. Not modified.
      ret - A transform which is equivalent to applying the first then the second. If null then a new instance is declared. Modified.
      Returns:
      The equivalent transform.
    • invert

      public Homography2D_F64 invert(@Nullable @Nullable Homography2D_F64 ret)
      Description copied from interface: InvertibleTransform

      Computes a transform which is the inverse of this transform. The 'this' matrix can be passed in as an input.

      Example:
      Point A = tran(B);
      Point B = inv(A);

      where inv = invert( tran );

      Specified by:
      invert in interface InvertibleTransform<Homography2D_F64>
      Parameters:
      ret - Where the inverse will be stored. If null a new instance is created. Modified.
      Returns:
      The inverse transform.
    • reset

      public void reset()
      Description copied from interface: InvertibleTransform
      Sets the transform to its initial state of no transform.
      Specified by:
      reset in interface InvertibleTransform<Homography2D_F64>
    • ddrm

      public org.ejml.data.DMatrixRMaj ddrm()
    • ddrm

      public org.ejml.data.DMatrixRMaj ddrm(@Nullable @Nullable org.ejml.data.DMatrixRMaj output)
    • copy

      public Homography2D_F64 copy()
      Specified by:
      copy in interface org.ejml.data.Matrix
      Overrides:
      copy in class org.ejml.data.DMatrix3x3
    • toString

      public String toString()
      Overrides:
      toString in class Object