public class FactoryDistort extends Object
| Constructor and Description |
|---|
FactoryDistort() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends ImageSingleBand> |
distort(InterpolatePixelS<T> interp,
ImageBorder border,
Class<T> imageType)
Creates a
ImageDistort for the specified image type, transformation
and interpolation instance. |
static <T extends ImageSingleBand> |
distortCached(InterpolatePixelS<T> interp,
ImageBorder border,
Class<T> imageType)
Avoid recomputing the distortion map for the entire image each time
by caching the distortion for each pixel.
|
static <T extends ImageSingleBand> |
distortMS(InterpolatePixelS<T> interp,
ImageBorder border,
Class<T> imageType)
Creates a
ImageDistort for the multi-spectral images, transformation
and interpolation instance. |
public static <T extends ImageSingleBand> ImageDistort<T> distort(InterpolatePixelS<T> interp, ImageBorder border, Class<T> imageType)
ImageDistort for the specified image type, transformation
and interpolation instance.interp - Which interpolation algorithm should be used.border - Specifies how requests to pixels outside the image should be handled. If null then no changeimageType - Type of image being processed.public static <T extends ImageSingleBand> ImageDistort<MultiSpectral<T>> distortMS(InterpolatePixelS<T> interp, ImageBorder border, Class<T> imageType)
ImageDistort for the multi-spectral images, transformation
and interpolation instance.interp - Which interpolation algorithm should be used.border - Specifies how requests to pixels outside the image should be handled. If null then no changeimageType - Type of image being processed.public static <T extends ImageSingleBand> ImageDistort<T> distortCached(InterpolatePixelS<T> interp, ImageBorder border, Class<T> imageType)
interp - Which interpolation algorithm should be used.border - Specifies how requests to pixels outside the image should be handled. If null then no changeimageType - Type of image being processed.Copyright © 2013. All Rights Reserved.