public static enum LabelSizeFilteringPlugin.Operation extends Enum<LabelSizeFilteringPlugin.Operation>
Enum Constant and Description |
---|
EQ
The operator for "equal"
|
GE
The operator for "greater than or equal"
|
GT
The operator for "greater than"
|
LE
The operator for "greater than or equal"
|
LT
The operator for "lower than"
|
NE
The operator for "not equal"
|
Modifier and Type | Method and Description |
---|---|
ij.ImagePlus |
applyTo(ij.ImagePlus image,
int sizeLimit)
Applies the operator wrapped by this enumeration item to the input
image.
|
static LabelSizeFilteringPlugin.Operation |
fromLabel(String opLabel)
Determines the operation type from its label.
|
static String[] |
getAllLabels()
Returns all the labels for this enumeration.
|
String |
toString() |
static LabelSizeFilteringPlugin.Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LabelSizeFilteringPlugin.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LabelSizeFilteringPlugin.Operation GT
public static final LabelSizeFilteringPlugin.Operation LT
public static final LabelSizeFilteringPlugin.Operation GE
public static final LabelSizeFilteringPlugin.Operation LE
public static final LabelSizeFilteringPlugin.Operation EQ
public static final LabelSizeFilteringPlugin.Operation NE
public static LabelSizeFilteringPlugin.Operation[] values()
for (LabelSizeFilteringPlugin.Operation c : LabelSizeFilteringPlugin.Operation.values()) System.out.println(c);
public static LabelSizeFilteringPlugin.Operation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic ij.ImagePlus applyTo(ij.ImagePlus image, int sizeLimit)
image
- the image to processsizeLimit
- the scalar value used for filteringpublic String toString()
toString
in class Enum<LabelSizeFilteringPlugin.Operation>
public static String[] getAllLabels()
public static LabelSizeFilteringPlugin.Operation fromLabel(String opLabel)
opLabel
- the name of the operationIllegalArgumentException
- if operation name is not recognized.Copyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.