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