Package boofcv.struct.image
Enum Class ImageDataType
- All Implemented Interfaces:
Serializable
,Comparable<ImageDataType>
,java.lang.constant.Constable
Describes the physical characteristics of the internal primitive data types inside the image
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionfloating point image32-bit floating point image64-bit floating point imageInteger image16-bit integer image8-bit integer imageSigned 16-bit integer imageSigned 32-bit integer imageSigned 64-bit integer imageSigned 8-bit imageUnsigned 16-bit imageUnsigned 8-bit image -
Method Summary
Modifier and TypeMethodDescriptionstatic ImageDataType
classToType
(Class imageClass) <T> T
newArray
(int length) static Class
static Class
static ImageDataType
Returns the enum constant of this class with the specified name.static ImageDataType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
U8
Unsigned 8-bit image -
S8
Signed 8-bit image -
U16
Unsigned 16-bit image -
S16
Signed 16-bit integer image -
S32
Signed 32-bit integer image -
S64
Signed 64-bit integer image -
F32
32-bit floating point image -
F64
64-bit floating point image -
I8
8-bit integer image -
I16
16-bit integer image -
I
Integer image -
F
floating point image
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
classToType
-
typeToSingleClass
-
typeToInterleavedClass
-
newArray
public <T> T newArray(int length)
-