public class FactoryInterpolation extends Object
| Constructor and Description |
|---|
FactoryInterpolation() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends ImageSingleBand> |
bicubicS(float param,
float min,
float max,
Class<T> type) |
static <T extends ImageSingleBand> |
bilinearPixelS(Class<T> type) |
static <T extends ImageSingleBand> |
bilinearPixelS(T image) |
static <T extends ImageSingleBand> |
bilinearRectangle(Class<T> type) |
static <T extends ImageSingleBand> |
bilinearRectangle(T image) |
static <T extends ImageMultiBand> |
createPixelMB(double min,
double max,
TypeInterpolate type,
ImageType<T> imageType) |
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,
Class<T> imageType) |
static <T extends ImageSingleBand> |
createPixelS(double min,
double max,
TypeInterpolate type,
ImageDataType dataType) |
static <T extends ImageSingleBand> |
nearestNeighborPixelS(Class<T> type) |
static <T extends ImageSingleBand> |
nearestNeighborRectangle(Class<?> type) |
static <T extends ImageSingleBand> |
polynomialS(int maxDegree,
double min,
double max,
Class<T> type) |
public static <T extends ImageSingleBand> InterpolatePixelS<T> createPixelS(double min, double max, TypeInterpolate type, ImageDataType dataType)
public static <T extends ImageSingleBand> InterpolatePixelS<T> createPixelS(double min, double max, TypeInterpolate type, Class<T> imageType)
public static <T extends ImageMultiBand> InterpolatePixelMB<T> createPixelMB(double min, double max, TypeInterpolate type, ImageType<T> imageType)
public 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(Class<T> type)
public static <T extends ImageSingleBand> InterpolateRectangle<T> bilinearRectangle(T image)
public static <T extends ImageSingleBand> InterpolateRectangle<T> bilinearRectangle(Class<T> type)
public static <T extends ImageSingleBand> InterpolatePixelS<T> nearestNeighborPixelS(Class<T> type)
public static <T extends ImageSingleBand> InterpolateRectangle<T> nearestNeighborRectangle(Class<?> type)
public static <T extends ImageSingleBand> InterpolatePixelS<T> bicubicS(float param, float min, float max, Class<T> type)
public static <T extends ImageSingleBand> InterpolatePixelS<T> polynomialS(int maxDegree, double min, double max, Class<T> type)
Copyright © 2013. All Rights Reserved.