public enum MatrixOrientation2D extends Enum<MatrixOrientation2D> implements MatrixOrientation
CooccurrenceMatrix2D| Enum Constant and Description |
|---|
ANTIDIAGONAL |
DIAGONAL |
HORIZONTAL |
VERTICAL |
| Modifier and Type | Method and Description |
|---|---|
MatrixOrientation |
getByName(String name) |
int |
getValueAtDim(int d) |
boolean |
isCompatible(int numDims) |
int |
numDims() |
static MatrixOrientation2D |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatrixOrientation2D[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatrixOrientation2D DIAGONAL
public static final MatrixOrientation2D ANTIDIAGONAL
public static final MatrixOrientation2D HORIZONTAL
public static final MatrixOrientation2D VERTICAL
public static MatrixOrientation2D[] values()
for (MatrixOrientation2D c : MatrixOrientation2D.values()) System.out.println(c);
public static MatrixOrientation2D 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 boolean isCompatible(int numDims)
isCompatible in interface MatrixOrientationpublic MatrixOrientation getByName(String name)
getByName in interface MatrixOrientationpublic int getValueAtDim(int d)
getValueAtDim in interface MatrixOrientationpublic int numDims()
numDims in interface MatrixOrientationCopyright © 2014–2022 ImageJ. All rights reserved.