Class LensDistortionPinhole

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boofcv.struct.distort.Point2Transform2_F32 distort_F32​(boolean pixelIn, boolean pixelOut)
      Adds lens distortion
      boofcv.struct.distort.Point2Transform2_F64 distort_F64​(boolean pixelIn, boolean pixelOut)
      Adds lens distortion
      CameraPinhole getIntrinsic()  
      boofcv.struct.distort.Point2Transform2_F32 normalized_F32()
      Converts a pixel coordinate into a normalized image coordinate.
      boofcv.struct.distort.Point2Transform2_F64 normalized_F64()
      Converts a pixel coordinate into a normalized image coordinate.
      boofcv.struct.distort.Point2Transform2_F32 undistort_F32​(boolean pixelIn, boolean pixelOut)
      Removes lens distortion
      boofcv.struct.distort.Point2Transform2_F64 undistort_F64​(boolean pixelIn, boolean pixelOut)
      Removes lens distortion
      • Methods inherited from class java.lang.Object

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

      • LensDistortionPinhole

        public LensDistortionPinhole​(CameraPinhole p)
    • Method Detail

      • distort_F64

        public boofcv.struct.distort.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 boofcv.struct.distort.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 boofcv.struct.distort.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 boofcv.struct.distort.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 boofcv.struct.distort.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 boofcv.struct.distort.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