Class LensDistortionDivision

java.lang.Object
boofcv.alg.distort.division.LensDistortionDivision
All Implemented Interfaces:
LensDistortionNarrowFOV

public class LensDistortionDivision extends Object implements LensDistortionNarrowFOV
Division lens distortion model point transforms.
  • Constructor Details

    • LensDistortionDivision

      public LensDistortionDivision(CameraDivision p)
  • Method Details

    • distort_F64

      public Point2Transform2_F64 distort_F64(boolean pixelIn, boolean pixelOut)
      Description copied from interface: LensDistortionNarrowFOV
      Adds lens distortion
      Specified by:
      distort_F64 in interface LensDistortionNarrowFOV
      Parameters:
      pixelIn - true if input is pixel coordinates or false if in normalized image coordinates
      pixelOut - true if output is pixel coordinates or false if in normalized image coordinates
      Returns:
      Specified transform
    • undistort_F64

      public Point2Transform2_F64 undistort_F64(boolean pixelIn, boolean pixelOut)
      Description copied from interface: LensDistortionNarrowFOV
      Removes lens distortion
      Specified by:
      undistort_F64 in interface LensDistortionNarrowFOV
      Parameters:
      pixelIn - true if input is pixel coordinates or false if in normalized image coordinates
      pixelOut - true if output is pixel coordinates or false if in normalized image coordinates
      Returns:
      Specified transform
    • distort_F32

      public Point2Transform2_F32 distort_F32(boolean pixelIn, boolean pixelOut)
      Description copied from interface: LensDistortionNarrowFOV
      Adds lens distortion
      Specified by:
      distort_F32 in interface LensDistortionNarrowFOV
      Parameters:
      pixelIn - true if input is pixel coordinates or false if in normalized image coordinates
      pixelOut - true if output is pixel coordinates or false if in normalized image coordinates
      Returns:
      Specified transform
    • undistort_F32

      public Point2Transform2_F32 undistort_F32(boolean pixelIn, boolean pixelOut)
      Description copied from interface: LensDistortionNarrowFOV
      Removes lens distortion
      Specified by:
      undistort_F32 in interface LensDistortionNarrowFOV
      Parameters:
      pixelIn - true if input is pixel coordinates or false if in normalized image coordinates
      pixelOut - true if output is pixel coordinates or false if in normalized image coordinates
      Returns:
      Specified transform
    • normalized_F32

      public Point2Transform2_F32 normalized_F32()
      Description copied from interface: LensDistortionNarrowFOV
      Converts a pixel coordinate into a normalized image coordinate. Assumes that pixels have lens distortion removed already
      Specified by:
      normalized_F32 in interface LensDistortionNarrowFOV
    • normalized_F64

      public Point2Transform2_F64 normalized_F64()
      Description copied from interface: LensDistortionNarrowFOV
      Converts a pixel coordinate into a normalized image coordinate. Assumes that pixels have lens distortion removed already
      Specified by:
      normalized_F64 in interface LensDistortionNarrowFOV
    • getIntrinsic

      public CameraDivision getIntrinsic()