Enum SoImageStackProjectionProcessing3d.ProjectionModes
- java.lang.Object
-
- java.lang.Enum<SoImageStackProjectionProcessing3d.ProjectionModes>
-
- com.openinventor.imageviz.engines.imagemanipulation.stackoperations.SoImageStackProjectionProcessing3d.ProjectionModes
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<SoImageStackProjectionProcessing3d.ProjectionModes>
- Enclosing class:
- SoImageStackProjectionProcessing3d
public static enum SoImageStackProjectionProcessing3d.ProjectionModes extends java.lang.Enum<SoImageStackProjectionProcessing3d.ProjectionModes> implements IntegerValuedEnum
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENERGY
Compute the energy of the sequence based on this formula: .ENTROPY
Compute the entropy of the sequence based on this formula: where is the probability to have a pixel with value (it's the number of those pixels divided by the total number of pixels).GRADIENT_MAXIMA
Select the pixel with the highest gradient.INTENSITY_MAXIMA
Select the pixel with the highest value of the sequence.INTENSITY_MINIMA
Select the pixel with the lowest value of the sequence.MEAN
Compute the average of the sequence.MEDIAN
Select the pixel which is the median of the sequence.PROJECTION
Sum all values of the sequence.VARIANCE
Compute the variance of the sequence.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Returns the integer value of the enum constant.static SoImageStackProjectionProcessing3d.ProjectionModes
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic SoImageStackProjectionProcessing3d.ProjectionModes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SoImageStackProjectionProcessing3d.ProjectionModes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTENSITY_MAXIMA
public static final SoImageStackProjectionProcessing3d.ProjectionModes INTENSITY_MAXIMA
Select the pixel with the highest value of the sequence.
-
GRADIENT_MAXIMA
public static final SoImageStackProjectionProcessing3d.ProjectionModes GRADIENT_MAXIMA
Select the pixel with the highest gradient. This mode enables thegradientOperator
field.
-
PROJECTION
public static final SoImageStackProjectionProcessing3d.ProjectionModes PROJECTION
Sum all values of the sequence.
-
INTENSITY_MINIMA
public static final SoImageStackProjectionProcessing3d.ProjectionModes INTENSITY_MINIMA
Select the pixel with the lowest value of the sequence.
-
MEDIAN
public static final SoImageStackProjectionProcessing3d.ProjectionModes MEDIAN
Select the pixel which is the median of the sequence.
-
MEAN
public static final SoImageStackProjectionProcessing3d.ProjectionModes MEAN
Compute the average of the sequence.
-
VARIANCE
public static final SoImageStackProjectionProcessing3d.ProjectionModes VARIANCE
Compute the variance of the sequence.
-
ENTROPY
public static final SoImageStackProjectionProcessing3d.ProjectionModes ENTROPY
Compute the entropy of the sequence based on this formula: where is the probability to have a pixel with value (it's the number of those pixels divided by the total number of pixels).
-
ENERGY
public static final SoImageStackProjectionProcessing3d.ProjectionModes ENERGY
Compute the energy of the sequence based on this formula: .
-
-
Method Detail
-
values
public static SoImageStackProjectionProcessing3d.ProjectionModes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SoImageStackProjectionProcessing3d.ProjectionModes c : SoImageStackProjectionProcessing3d.ProjectionModes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoImageStackProjectionProcessing3d.ProjectionModes valueOf(java.lang.String name)
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
-
valueOf
public static SoImageStackProjectionProcessing3d.ProjectionModes valueOf(int val)
Returns the enum constant of this type with the specified integer value- Returns:
- the enum constant of this type with the specified integer value.
-
getValue
public int getValue()
Description copied from interface:IntegerValuedEnum
Returns the integer value of the enum constant.- Specified by:
getValue
in interfaceIntegerValuedEnum
- Returns:
- the integer value of the enum constant.
-
-