public class InputSanityCheck extends Object
| Constructor and Description |
|---|
InputSanityCheck() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends ImageSingleBand> |
checkDeclare(ImageSingleBand<?> input,
T output,
Class<T> outputType) |
static <T extends ImageSingleBand> |
checkDeclare(T input,
T output)
If the output has not been declared a new instance is declared.
|
static <T extends ImageSingleBand> |
checkReshape(T target,
ImageSingleBand testImage,
Class<T> targetType)
Checks to see if the target image is null or if it is a different size than
the test image.
|
static void |
checkSameShape(ImageBase<?> imgA,
ImageBase<?> imgB) |
static void |
checkSameShape(ImageBase<?> imgA,
ImageBase<?> imgB,
ImageBase<?> imgC) |
static void |
checkSameShape(ImageBase<?> imgA,
ImageBase<?> imgB,
ImageBase<?> imgC,
ImageBase<?> imgD) |
static void |
checkSameShape(ImageBase<?> imgA,
ImageBase<?> imgB,
ImageBase<?> imgC,
ImageBase<?> imgD,
ImageBase<?> imgE) |
public static <T extends ImageSingleBand> T checkReshape(T target, ImageSingleBand testImage, Class<T> targetType)
T - target - testImage - targetType - public static <T extends ImageSingleBand> T checkDeclare(T input, T output)
public static <T extends ImageSingleBand> T checkDeclare(ImageSingleBand<?> input, T output, Class<T> outputType)
public static void checkSameShape(ImageBase<?> imgA, ImageBase<?> imgB, ImageBase<?> imgC)
public static void checkSameShape(ImageBase<?> imgA, ImageBase<?> imgB, ImageBase<?> imgC, ImageBase<?> imgD)
Copyright © 2013. All Rights Reserved.