public enum BitDepth extends Enum<BitDepth>
Enum Constant and Description |
---|
ColorRGB |
Grayscale16u |
Grayscale32f |
Grayscale8u |
Modifier and Type | Method and Description |
---|---|
int |
getBitDepth() |
String |
getTypeName() |
String |
toString() |
static BitDepth |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BitDepth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BitDepth Grayscale8u
public static final BitDepth Grayscale16u
public static final BitDepth Grayscale32f
public static final BitDepth ColorRGB
public static BitDepth[] values()
for (BitDepth c : BitDepth.values()) System.out.println(c);
public static BitDepth 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 String getTypeName()
public int getBitDepth()
Copyright © 2020–2024 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.