boofcv.factory.distort
Class FactoryDistort
- java.lang.Object
-
- boofcv.factory.distort.FactoryDistort
-
public class FactoryDistort extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description FactoryDistort()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static <Input extends ImageBase,Output extends ImageBase>
ImageDistort<Input,Output>distort(boolean cached, InterpolatePixel<Input> interp, ImageType<Output> outputType)Creates aImageDistortfor the specified image type, transformation and interpolation instance.static <Input extends ImageInterleaved,Output extends ImageInterleaved>
ImageDistort<Input,Output>distortIL(boolean cached, InterpolatePixelMB<Input> interp, ImageType<Output> outputType)static <Input extends ImageGray,Output extends ImageGray>
ImageDistort<Planar<Input>,Planar<Output>>distortPL(boolean cached, InterpolatePixelS<Input> interp, java.lang.Class<Output> outputType)Creates aImageDistortfor the planar images, transformation and interpolation instance.static <Input extends ImageGray,Output extends ImageGray>
ImageDistort<Input,Output>distortSB(boolean cached, InterpolatePixelS<Input> interp, java.lang.Class<Output> outputType)Creates aImageDistortfor the specified image type, transformation and interpolation instance.
-
-
-
Method Detail
-
distort
public static <Input extends ImageBase,Output extends ImageBase> ImageDistort<Input,Output> distort(boolean cached, InterpolatePixel<Input> interp, ImageType<Output> outputType)
Creates aImageDistortfor 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.
-
distortSB
public static <Input extends ImageGray,Output extends ImageGray> ImageDistort<Input,Output> distortSB(boolean cached, InterpolatePixelS<Input> interp, java.lang.Class<Output> outputType)
Creates aImageDistortfor 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 ImageGray,Output extends ImageGray> ImageDistort<Planar<Input>,Planar<Output>> distortPL(boolean cached, InterpolatePixelS<Input> interp, java.lang.Class<Output> outputType)
Creates aImageDistortfor 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 ImageInterleaved,Output extends ImageInterleaved> ImageDistort<Input,Output> distortIL(boolean cached, InterpolatePixelMB<Input> interp, ImageType<Output> outputType)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG