Enum Class ImageDataType

All Implemented Interfaces:
Serializable, Comparable<ImageDataType>, java.lang.constant.Constable

public enum ImageDataType extends Enum<ImageDataType>
Describes the physical characteristics of the internal primitive data types inside the image
  • Enum Constant Details

    • U8

      public static final ImageDataType U8
      Unsigned 8-bit image
    • S8

      public static final ImageDataType S8
      Signed 8-bit image
    • U16

      public static final ImageDataType U16
      Unsigned 16-bit image
    • S16

      public static final ImageDataType S16
      Signed 16-bit integer image
    • S32

      public static final ImageDataType S32
      Signed 32-bit integer image
    • S64

      public static final ImageDataType S64
      Signed 64-bit integer image
    • F32

      public static final ImageDataType F32
      32-bit floating point image
    • F64

      public static final ImageDataType F64
      64-bit floating point image
    • I8

      public static final ImageDataType I8
      8-bit integer image
    • I16

      public static final ImageDataType I16
      16-bit integer image
    • I

      public static final ImageDataType I
      Integer image
    • F

      public static final ImageDataType F
      floating point image
  • Method Details

    • values

      public static ImageDataType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ImageDataType valueOf(String name)
      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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • classToType

      public static ImageDataType classToType(Class imageClass)
    • typeToSingleClass

      public static Class typeToSingleClass(ImageDataType type)
    • typeToInterleavedClass

      public static Class typeToInterleavedClass(ImageDataType type)
    • newArray

      public <T> T newArray(int length)