Class LensDistortionOps

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T extends boofcv.struct.image.ImageBase<T>,​O extends CameraPinhole,​D extends CameraPinhole>
      boofcv.alg.distort.ImageDistort<T,​T>
      changeCameraModel​(AdjustmentType type, boofcv.struct.border.BorderType borderType, O original, D desired, D modified, boofcv.struct.image.ImageType<T> imageType)
      Creates a distortion for modifying the input image from one camera model into another camera model.
      • Methods inherited from class java.lang.Object

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

      • LensDistortionOps

        public LensDistortionOps()
    • Method Detail

      • changeCameraModel

        public static <T extends boofcv.struct.image.ImageBase<T>,​O extends CameraPinhole,​D extends CameraPinhole> boofcv.alg.distort.ImageDistort<T,​T> changeCameraModel​(AdjustmentType type,
                                                                                                                                                                                            boofcv.struct.border.BorderType borderType,
                                                                                                                                                                                            O original,
                                                                                                                                                                                            D desired,
                                                                                                                                                                                            D modified,
                                                                                                                                                                                            boofcv.struct.image.ImageType<T> imageType)
        Creates a distortion for modifying the input image from one camera model into another camera model. If requested the camera model can be further modified to ensure certain visibility requirements are meet and the adjusted camera model will be returned.
        Parameters:
        type - How it should modify the image model to ensure visibility of pixels.
        borderType - How the image border is handled
        original - The original camera model
        desired - The desired camera model
        modified - (Optional) The desired camera model after being rescaled. Can be null.
        imageType - Type of image.
        Returns:
        Image distortion from original camera model to the modified one.