public class FactoryDistort
extends java.lang.Object
| Constructor and Description |
|---|
FactoryDistort() |
| Modifier and Type | Method and Description |
|---|---|
static <Input extends ImageBase,Output extends ImageBase> |
distort(boolean cached,
InterpolatePixel<Input> interp,
ImageType<Output> outputType)
Creates a
ImageDistort for the specified image type, transformation
and interpolation instance. |
static <Input extends ImageBase,Output extends ImageBase> |
distort(boolean cached,
InterpolateType interpolateType,
BorderType borderType,
ImageType<Input> inputType,
ImageType<Output> outputType)
Creates a
ImageDistort for the specified image type, transformation
and interpolation instance. |
static <Input extends ImageInterleaved,Output extends ImageInterleaved> |
distortIL(boolean cached,
InterpolatePixelMB<Input> interp,
ImageType<Output> outputType) |
static <Input extends ImageGray,Output extends ImageGray> |
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 ImageGray,Output extends ImageGray> |
distortSB(boolean cached,
InterpolatePixelS<Input> interp,
java.lang.Class<Output> outputType)
Creates a
ImageDistort for the specified image type, transformation
and interpolation instance. |
public static <Input extends ImageBase,Output extends ImageBase> ImageDistort<Input,Output> distort(boolean cached, InterpolateType interpolateType, BorderType borderType, ImageType<Input> inputType, ImageType<Output> outputType)
ImageDistort for the specified image type, transformation
and interpolation instance. Min and max pixel values are assumed to be 0 and 255, respectively.cached - If true the distortion is only computed one. False for recomputed each time, but less memory.interpolateType - Which interpolation method it should useborderType - How pixels outside the image border are handledinputType - Type of input imageoutputType - Type of output imagepublic static <Input extends ImageBase,Output extends ImageBase> ImageDistort<Input,Output> distort(boolean cached, InterpolatePixel<Input> interp, ImageType<Output> outputType)
ImageDistort for the specified image type, transformation
and interpolation instance.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.public static <Input extends ImageGray,Output extends ImageGray> ImageDistort<Input,Output> distortSB(boolean cached, InterpolatePixelS<Input> interp, java.lang.Class<Output> outputType)
ImageDistort for the specified image type, transformation
and interpolation instance.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.public static <Input extends ImageGray,Output extends ImageGray> ImageDistort<Planar<Input>,Planar<Output>> distortPL(boolean cached, InterpolatePixelS<Input> interp, java.lang.Class<Output> outputType)
ImageDistort for the planar images, transformation
and interpolation instance.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.public static <Input extends ImageInterleaved,Output extends ImageInterleaved> ImageDistort<Input,Output> distortIL(boolean cached, InterpolatePixelMB<Input> interp, ImageType<Output> outputType)