public static enum RegionalMinAndMaxPlugin.Operation extends Enum<RegionalMinAndMaxPlugin.Operation>
Enum Constant and Description |
---|
REGIONAL_MAXIMA
Regional maxima
|
REGIONAL_MINIMA
Regional minima
|
Modifier and Type | Method and Description |
---|---|
ij.process.ImageProcessor |
apply(ij.process.ImageProcessor image,
Connectivity2D connectivity)
Process to image given as argument.
|
ij.process.ImageProcessor |
apply(ij.process.ImageProcessor image,
int connectivity)
Process to image given as argument.
|
static RegionalMinAndMaxPlugin.Operation |
fromLabel(String opLabel)
Determines the operation type from its label.
|
static String[] |
getAllLabels()
Returns all the labels for this enumeration.
|
String |
getSuffix()
Returns the suffix added to processed images.
|
String |
toString() |
static RegionalMinAndMaxPlugin.Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegionalMinAndMaxPlugin.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegionalMinAndMaxPlugin.Operation REGIONAL_MAXIMA
public static final RegionalMinAndMaxPlugin.Operation REGIONAL_MINIMA
public static RegionalMinAndMaxPlugin.Operation[] values()
for (RegionalMinAndMaxPlugin.Operation c : RegionalMinAndMaxPlugin.Operation.values()) System.out.println(c);
public static RegionalMinAndMaxPlugin.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 apply(ij.process.ImageProcessor image, int connectivity)
image
- the image to processconnectivity
- the connectivity to usepublic ij.process.ImageProcessor apply(ij.process.ImageProcessor image, Connectivity2D connectivity)
image
- the image to processconnectivity
- the connectivity to usepublic String toString()
toString
in class Enum<RegionalMinAndMaxPlugin.Operation>
public String getSuffix()
public static String[] getAllLabels()
public static RegionalMinAndMaxPlugin.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.