Class FactoryDistort


  • public class FactoryDistort
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      FactoryDistort()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static PointDeformKeyPoints deformMls​(ConfigDeformPointMLS config)  
      static <Input extends boofcv.struct.image.ImageBase<Input>,​Output extends boofcv.struct.image.ImageBase<Output>>
      ImageDistort<Input,​Output>
      distort​(boolean cached, InterpolatePixel<Input> interp, boofcv.struct.image.ImageType<Output> outputType)
      Creates a ImageDistort for the specified image type, transformation and interpolation instance.
      static <Input extends boofcv.struct.image.ImageBase<Input>,​Output extends boofcv.struct.image.ImageBase<Output>>
      ImageDistort<Input,​Output>
      distort​(boolean cached, InterpolationType interpolationType, boofcv.struct.border.BorderType borderType, boofcv.struct.image.ImageType<Input> inputType, boofcv.struct.image.ImageType<Output> outputType)
      Creates a ImageDistort for the specified image type, transformation and interpolation instance.
      static <Input extends boofcv.struct.image.ImageInterleaved<Input>,​Output extends boofcv.struct.image.ImageInterleaved<Output>>
      ImageDistort<Input,​Output>
      distortIL​(boolean cached, InterpolatePixelMB<Input> interp, boofcv.struct.image.ImageType<Output> outputType)  
      static <Input extends boofcv.struct.image.ImageGray<Input>,​Output extends boofcv.struct.image.ImageGray<Output>>
      ImageDistort<boofcv.struct.image.Planar<Input>,​boofcv.struct.image.Planar<Output>>
      distortPL​(boolean cached, InterpolatePixelS<Input> interp, java.lang.Class<Output> outputType)
      Creates a ImageDistort for the planar images, transformation and interpolation instance.
      static <Input extends boofcv.struct.image.ImageGray<Input>,​Output extends boofcv.struct.image.ImageGray<Output>>
      ImageDistort<Input,​Output>
      distortSB​(boolean cached, InterpolatePixelS<Input> interp, java.lang.Class<Output> outputType)
      Creates a ImageDistort for the specified image type, transformation and interpolation instance.
      • Methods inherited from class java.lang.Object

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

      • FactoryDistort

        public FactoryDistort()
    • Method Detail

      • distort

        public static <Input extends boofcv.struct.image.ImageBase<Input>,​Output extends boofcv.struct.image.ImageBase<Output>> ImageDistort<Input,​Output> distort​(boolean cached,
                                                                                                                                                                               InterpolationType interpolationType,
                                                                                                                                                                               boofcv.struct.border.BorderType borderType,
                                                                                                                                                                               boofcv.struct.image.ImageType<Input> inputType,
                                                                                                                                                                               boofcv.struct.image.ImageType<Output> outputType)
        Creates a ImageDistort for the specified image type, transformation and interpolation instance. Min and max pixel values are assumed to be 0 and 255, respectively.
        Parameters:
        cached - If true the distortion is only computed one. False for recomputed each time, but less memory.
        interpolationType - Which interpolation method it should use
        borderType - How pixels outside the image border are handled
        inputType - Type of input image
        outputType - Type of output image
        Returns:
        ImageDistort
      • distort

        public static <Input extends boofcv.struct.image.ImageBase<Input>,​Output extends boofcv.struct.image.ImageBase<Output>> ImageDistort<Input,​Output> distort​(boolean cached,
                                                                                                                                                                               InterpolatePixel<Input> interp,
                                                                                                                                                                               boofcv.struct.image.ImageType<Output> outputType)
        Creates a ImageDistort for the specified image type, transformation and interpolation instance.
        Parameters:
        cached - If true the distortion is only computed one. False for recomputed each time, but less memory.
        interp - Which interpolation algorithm should be used.
        outputType - Type of output image.
        Returns:
        ImageDistort
      • distortSB

        public static <Input extends boofcv.struct.image.ImageGray<Input>,​Output extends boofcv.struct.image.ImageGray<Output>> ImageDistort<Input,​Output> distortSB​(boolean cached,
                                                                                                                                                                                 InterpolatePixelS<Input> interp,
                                                                                                                                                                                 java.lang.Class<Output> outputType)
        Creates a ImageDistort for the specified image type, transformation and interpolation instance.
        Parameters:
        cached - If true the distortion is only computed one. False for recomputed each time, but less memory.
        interp - Which interpolation algorithm should be used.
        outputType - Type of output image.
      • distortPL

        public static <Input extends boofcv.struct.image.ImageGray<Input>,​Output extends boofcv.struct.image.ImageGray<Output>> ImageDistort<boofcv.struct.image.Planar<Input>,​boofcv.struct.image.Planar<Output>> distortPL​(boolean cached,
                                                                                                                                                                                                                                         InterpolatePixelS<Input> interp,
                                                                                                                                                                                                                                         java.lang.Class<Output> outputType)
        Creates a ImageDistort for the planar images, transformation and interpolation instance.
        Parameters:
        cached - If true the distortion is only computed one. False for recomputed each time, but less memory.
        interp - Which interpolation algorithm should be used.
        outputType - Type of output image.
      • distortIL

        public static <Input extends boofcv.struct.image.ImageInterleaved<Input>,​Output extends boofcv.struct.image.ImageInterleaved<Output>> ImageDistort<Input,​Output> distortIL​(boolean cached,
                                                                                                                                                                                               InterpolatePixelMB<Input> interp,
                                                                                                                                                                                               boofcv.struct.image.ImageType<Output> outputType)