public enum OptionalBitDepth extends Enum<OptionalBitDepth>
Enum Constant and Description |
---|
ColorRGB |
Grayscale16u |
Grayscale32f |
Grayscale8u |
None |
Modifier and Type | Method and Description |
---|---|
int |
getBitDepth() |
String |
getTypeName() |
String |
toString() |
static OptionalBitDepth |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OptionalBitDepth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptionalBitDepth None
public static final OptionalBitDepth Grayscale8u
public static final OptionalBitDepth Grayscale16u
public static final OptionalBitDepth Grayscale32f
public static final OptionalBitDepth ColorRGB
public static OptionalBitDepth[] values()
for (OptionalBitDepth c : OptionalBitDepth.values()) System.out.println(c);
public static OptionalBitDepth 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 toString()
toString
in class Enum<OptionalBitDepth>
public 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.