Package inra.ijpb.plugins
Enum ExtendedMinAndMax3DPlugin.Operation
java.lang.Object
java.lang.Enum<ExtendedMinAndMax3DPlugin.Operation>
inra.ijpb.plugins.ExtendedMinAndMax3DPlugin.Operation
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExtendedMinAndMax3DPlugin.Operation>
,java.lang.constant.Constable
- Enclosing class:
- ExtendedMinAndMax3DPlugin
public static enum ExtendedMinAndMax3DPlugin.Operation extends java.lang.Enum<ExtendedMinAndMax3DPlugin.Operation>
A customized enumeration to choose between extended minima or maxima.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description EXTENDED_MAXIMA
Extended maxima operationEXTENDED_MINIMA
Extended minima operation -
Method Summary
Modifier and Type Method Description ij.ImageStack
apply(ij.ImageStack image, int dynamic)
Applies this operation to the specified image.ij.ImageStack
apply(ij.ImageStack image, int dynamic, int connectivity)
Applies this operation to the specified image.ij.ImageStack
apply(ij.ImageStack image, int dynamic, Connectivity3D connectivity)
Applies this operation to the specified image.static ExtendedMinAndMax3DPlugin.Operation
fromLabel(java.lang.String opLabel)
Determines the operation type from its label.static java.lang.String[]
getAllLabels()
Returns all the labels of this enum.java.lang.String
getSuffix()
Returns the suffix to add to new ImagePlus created with thin operation.java.lang.String
toString()
static ExtendedMinAndMax3DPlugin.Operation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExtendedMinAndMax3DPlugin.Operation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Enum Constant Details
-
EXTENDED_MAXIMA
Extended maxima operation -
EXTENDED_MINIMA
Extended minima operation
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
apply
public ij.ImageStack apply(ij.ImageStack image, int dynamic)Applies this operation to the specified image.- Parameters:
image
- the image to processdynamic
- the dynamic to use- Returns:
- the extended extrema within image, as a binary stack.
-
apply
Applies this operation to the specified image.- Parameters:
image
- the image to processdynamic
- the dynamic to useconnectivity
- the connectivity to use- Returns:
- the extended extrema within image, as a binary stack.
-
apply
public ij.ImageStack apply(ij.ImageStack image, int dynamic, int connectivity)Applies this operation to the specified image.- Parameters:
image
- the image to processdynamic
- the dynamic to useconnectivity
- the connectivity to use- Returns:
- the extended extrema within image, as a binary stack.
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Enum<ExtendedMinAndMax3DPlugin.Operation>
-
getSuffix
public java.lang.String getSuffix()Returns the suffix to add to new ImagePlus created with thin operation.- Returns:
- the suffix to add to new ImagePlus created with thin operation.
-
getAllLabels
public static java.lang.String[] getAllLabels()Returns all the labels of this enum.- Returns:
- all the labels of this enum.
-
fromLabel
Determines the operation type from its label.- Parameters:
opLabel
- the name of the operation- Returns:
- the Operation object corresponding to the name
- Throws:
java.lang.IllegalArgumentException
- if label is not recognized.
-