public class FactoryInterpolation
extends java.lang.Object
| Constructor and Description |
|---|
FactoryInterpolation() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends ImageSingleBand> |
bicubicS(float param,
float min,
float max,
java.lang.Class<T> type) |
static <T extends ImageSingleBand> |
bilinearPixelS(java.lang.Class<T> type) |
static <T extends ImageSingleBand> |
bilinearPixelS(T image) |
static <T extends ImageSingleBand> |
bilinearRectangle(java.lang.Class<T> type) |
static <T extends ImageSingleBand> |
bilinearRectangle(T image) |
static <T extends ImageMultiBand> |
createPixelMB(double min,
double max,
TypeInterpolate type,
ImageType<T> imageType)
Pixel based interpolation on multi-band image
|
static <T extends ImageSingleBand> |
createPixelMB(InterpolatePixelS<T> singleBand)
Converts a single band interpolation algorithm into a mult-band interpolation for
MultiSpectral images. |
static <T extends ImageSingleBand> |
createPixelS(double min,
double max,
TypeInterpolate type,
java.lang.Class<T> imageType) |
static <T extends ImageSingleBand> |
createPixelS(double min,
double max,
TypeInterpolate type,
ImageDataType dataType)
Returns
InterpolatePixelS of the specified type. |
static <T extends ImageSingleBand> |
nearestNeighborPixelS(java.lang.Class<T> type) |
static <T extends ImageSingleBand> |
nearestNeighborRectangle(java.lang.Class<?> type) |
static <T extends ImageSingleBand> |
polynomialS(int maxDegree,
double min,
double max,
java.lang.Class<T> type) |
public static <T extends ImageSingleBand> InterpolatePixelS<T> createPixelS(double min, double max, TypeInterpolate type, ImageDataType dataType)
InterpolatePixelS of the specified type.min - Minimum possible pixel value. Inclusive.max - Maximum possible pixel value. Inclusive.type - Type of interpolation.dataType - Type of gray-scale imagepublic static <T extends ImageSingleBand> InterpolatePixelS<T> createPixelS(double min, double max, TypeInterpolate type, java.lang.Class<T> imageType)
public static <T extends ImageMultiBand> InterpolatePixelMB<T> createPixelMB(double min, double max, TypeInterpolate type, ImageType<T> imageType)
min - Minimum possible pixel value. Inclusive.max - Maximum possible pixel value. Inclusive.type - Interpolation typeimageType - Type of input imagepublic static <T extends ImageSingleBand> InterpolatePixelMB<MultiSpectral<T>> createPixelMB(InterpolatePixelS<T> singleBand)
MultiSpectral images.
NOTE: If a specialized interpolation exists you should use that instead of this the specialized code can
reduce the number of calculations.T - Single band image trypesingleBand - Interpolation for a single band.public static <T extends ImageSingleBand> InterpolatePixelS<T> bilinearPixelS(T image)
public static <T extends ImageSingleBand> InterpolatePixelS<T> bilinearPixelS(java.lang.Class<T> type)
public static <T extends ImageSingleBand> InterpolateRectangle<T> bilinearRectangle(T image)
public static <T extends ImageSingleBand> InterpolateRectangle<T> bilinearRectangle(java.lang.Class<T> type)
public static <T extends ImageSingleBand> InterpolatePixelS<T> nearestNeighborPixelS(java.lang.Class<T> type)
public static <T extends ImageSingleBand> InterpolateRectangle<T> nearestNeighborRectangle(java.lang.Class<?> type)
public static <T extends ImageSingleBand> InterpolatePixelS<T> bicubicS(float param, float min, float max, java.lang.Class<T> type)
public static <T extends ImageSingleBand> InterpolatePixelS<T> polynomialS(int maxDegree, double min, double max, java.lang.Class<T> type)