public class SourceClassifier
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BYTE_IMAGE
Supports 8-bit grayscale images.
|
static int |
COLOR_IMAGE
Supports 32-bit color images.
|
static int |
FLOAT_IMAGE
Supports 32-bit grayscale images.
|
static int |
SHORT_IMAGE
Supports 16-bit grayscale images.
|
Constructor and Description |
---|
SourceClassifier() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isSupported(ij.ImagePlus imp,
int suppFlag)
Returns 'true' if the type of the image suits one of flags.
|
static boolean |
isSupported(ij.process.ImageProcessor ip,
int suppFlag)
Returns 'true' if the type of the image suits one of flags.
|
public static final int BYTE_IMAGE
public static final int SHORT_IMAGE
public static final int FLOAT_IMAGE
public static final int COLOR_IMAGE
public static boolean isSupported(ij.ImagePlus imp, int suppFlag)
imp
- source imagesuppFlag
- flagspublic static boolean isSupported(ij.process.ImageProcessor ip, int suppFlag)
ip
- source imagesuppFlag
- flags