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