public static enum MorphologicalReconstruction3DPlugin.Operation extends Enum<MorphologicalReconstruction3DPlugin.Operation>
Enum Constant and Description |
---|
BY_DILATION
reconstruction by dilation
|
BY_EROSION
reconstruction by erosion
|
Modifier and Type | Method and Description |
---|---|
ij.ImageStack |
applyTo(ij.ImageStack marker,
ij.ImageStack mask,
int conn)
Process to image given as argument.
|
static MorphologicalReconstruction3DPlugin.Operation |
fromLabel(String opLabel)
Determines the operation type from its label.
|
static String[] |
getAllLabels()
Returns all the labels for this enumeration.
|
String |
toString() |
static MorphologicalReconstruction3DPlugin.Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MorphologicalReconstruction3DPlugin.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MorphologicalReconstruction3DPlugin.Operation BY_DILATION
public static final MorphologicalReconstruction3DPlugin.Operation BY_EROSION
public static MorphologicalReconstruction3DPlugin.Operation[] values()
for (MorphologicalReconstruction3DPlugin.Operation c : MorphologicalReconstruction3DPlugin.Operation.values()) System.out.println(c);
public static MorphologicalReconstruction3DPlugin.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 marker, ij.ImageStack mask, int conn)
marker
- the marker imagemask
- the mask imageconn
- the connectivity to usepublic String toString()
toString
in class Enum<MorphologicalReconstruction3DPlugin.Operation>
public static String[] getAllLabels()
public static MorphologicalReconstruction3DPlugin.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.