Module org.scijava.ops.image
Enum MatrixOrientation3D
- java.lang.Object
-
- java.lang.Enum<MatrixOrientation3D>
-
- org.scijava.ops.image.image.cooccurrenceMatrix.MatrixOrientation3D
-
- All Implemented Interfaces:
Serializable,Comparable<MatrixOrientation3D>,MatrixOrientation
public enum MatrixOrientation3D extends Enum<MatrixOrientation3D> implements MatrixOrientation
Orientation of aCooccurrenceMatrix3D- Author:
- Christian Dietz (University of Konstanz)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANTIDIAGONALANTIDIAGONAL_DIAGONALANTIDIAGONAL_VERTICALDEPTHDIAGONALDIAGONAL_DIAGONALDIAGONAL_VERTICALHORIZONTALHORIZONTAL_DIAGONALHORIZONTAL_VERTICALVERTICALVERTICAL_DIAGONALVERTICAL_VERTICAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MatrixOrientationgetByName(String name)intgetValueAtDim(int d)booleanisCompatible(int numDims)intnumDims()static MatrixOrientation3DvalueOf(String name)Returns the enum constant of this type with the specified name.static MatrixOrientation3D[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HORIZONTAL
public static final MatrixOrientation3D HORIZONTAL
-
VERTICAL
public static final MatrixOrientation3D VERTICAL
-
DIAGONAL
public static final MatrixOrientation3D DIAGONAL
-
ANTIDIAGONAL
public static final MatrixOrientation3D ANTIDIAGONAL
-
HORIZONTAL_VERTICAL
public static final MatrixOrientation3D HORIZONTAL_VERTICAL
-
HORIZONTAL_DIAGONAL
public static final MatrixOrientation3D HORIZONTAL_DIAGONAL
-
VERTICAL_VERTICAL
public static final MatrixOrientation3D VERTICAL_VERTICAL
-
VERTICAL_DIAGONAL
public static final MatrixOrientation3D VERTICAL_DIAGONAL
-
DIAGONAL_VERTICAL
public static final MatrixOrientation3D DIAGONAL_VERTICAL
-
DIAGONAL_DIAGONAL
public static final MatrixOrientation3D DIAGONAL_DIAGONAL
-
ANTIDIAGONAL_VERTICAL
public static final MatrixOrientation3D ANTIDIAGONAL_VERTICAL
-
ANTIDIAGONAL_DIAGONAL
public static final MatrixOrientation3D ANTIDIAGONAL_DIAGONAL
-
DEPTH
public static final MatrixOrientation3D DEPTH
-
-
Method Detail
-
values
public static MatrixOrientation3D[] 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 (MatrixOrientation3D c : MatrixOrientation3D.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MatrixOrientation3D valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
isCompatible
public boolean isCompatible(int numDims)
- Specified by:
isCompatiblein interfaceMatrixOrientation
-
getByName
public MatrixOrientation getByName(String name)
- Specified by:
getByNamein interfaceMatrixOrientation
-
getValueAtDim
public int getValueAtDim(int d)
- Specified by:
getValueAtDimin interfaceMatrixOrientation
-
numDims
public int numDims()
- Specified by:
numDimsin interfaceMatrixOrientation
-
-