public static enum ImposeMinAndMax3DPlugin.Operation extends Enum<ImposeMinAndMax3DPlugin.Operation>
Enum Constant and Description |
---|
IMPOSE_MAXIMA
Imposition of maxima
|
IMPOSE_MINIMA
Imposition of minima
|
Modifier and Type | Method and Description |
---|---|
ij.ImageStack |
applyTo(ij.ImageStack image,
ij.ImageStack markers)
Process to image given as argument.
|
ij.ImageStack |
applyTo(ij.ImageStack image,
ij.ImageStack markers,
int conn)
Process to image given as argument.
|
static ImposeMinAndMax3DPlugin.Operation |
fromLabel(String opLabel)
Determines the operation type from its label.
|
static String[] |
getAllLabels()
Returns all the labels for this enumeration.
|
String |
toString() |
static ImposeMinAndMax3DPlugin.Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImposeMinAndMax3DPlugin.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImposeMinAndMax3DPlugin.Operation IMPOSE_MINIMA
public static final ImposeMinAndMax3DPlugin.Operation IMPOSE_MAXIMA
public static ImposeMinAndMax3DPlugin.Operation[] values()
for (ImposeMinAndMax3DPlugin.Operation c : ImposeMinAndMax3DPlugin.Operation.values()) System.out.println(c);
public static ImposeMinAndMax3DPlugin.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.ImageStack applyTo(ij.ImageStack image, ij.ImageStack markers)
image
- the image to processmarkers
- the marker image of minima or maximapublic ij.ImageStack applyTo(ij.ImageStack image, ij.ImageStack markers, int conn)
image
- the image to processmarkers
- the marker image of minima or maximaconn
- the connectivity to usepublic String toString()
toString
in class Enum<ImposeMinAndMax3DPlugin.Operation>
public static String[] getAllLabels()
public static ImposeMinAndMax3DPlugin.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.