Package org.yamcs.studio.data.vtype
Enum Class VImageType
- All Implemented Interfaces:
Serializable
,Comparable<VImageType>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAn image with 8-bit RGB color components, corresponding to a Windows-style BGR color model with the colors Blue, Green, and Red stored in 3 bytes.Represents an image with 8-bit RGBA color components with the colors Blue, Green, and Red stored in 3 bytes and 1 byte of alpha.Represents an image with 8-bit RGBA color components with the colors Blue, Green, and Red stored in 3 bytes and 1 byte of alpha.Bayer pattern image, 1 value per pixel but with color filter on detectorRepresents an opaque byte-packed 1, 2, or 4 bit image.Represents a unsigned byte grayscale image, non-indexed.Represents an indexed byte image.Image type constantsRepresents an image with 8-bit RGBA color components packed into integer pixels.Represents an image with 8-bit RGBA color components packed into integer pixels.Represents an image with 8-bit RGB color components, corresponding to a Windows- or Solaris- style BGR color model, with the colors Blue, Green, and Red packed into integer pixels.Represents an image with 8-bit RGB color components packed into integer pixels.Monochromatic imageRGB image with pixel color interleave, data array is [3, NX, NY]RGB image with row color interleave, data array is [NX, 3, NY]RGB image with plane color interleave, data array is [NX, NY, 3]Represents an image with 5-5-5 RGB color components (5-bits red, 5-bits green, 5-bits blue) with no alpha.Represents an image with 5-6-5 RGB color components (5-bits red, 6-bits green, 5-bits blue) with no alpha.Represents an unsigned short grayscale image, non-indexed).YUV image, 6 bytes encodes 4 RGB pixelsYUV image, 4 bytes encodes 2 RGB pixelYUV image, 3 bytes encodes 1 RGB pixel -
Method Summary
Modifier and TypeMethodDescriptionstatic VImageType
Returns the enum constant of this class with the specified name.static VImageType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TYPE_CUSTOM
Image type constants -
TYPE_MONO
Monochromatic image -
TYPE_BAYER
Bayer pattern image, 1 value per pixel but with color filter on detector -
TYPE_RGB1
RGB image with pixel color interleave, data array is [3, NX, NY] -
TYPE_RGB2
RGB image with row color interleave, data array is [NX, 3, NY] -
TYPE_RGB3
RGB image with plane color interleave, data array is [NX, NY, 3] -
TYPE_YUV444
YUV image, 3 bytes encodes 1 RGB pixel -
TYPE_YUV422
YUV image, 4 bytes encodes 2 RGB pixel -
TYPE_YUV411
YUV image, 6 bytes encodes 4 RGB pixels -
TYPE_3BYTE_BGR
An image with 8-bit RGB color components, corresponding to a Windows-style BGR color model with the colors Blue, Green, and Red stored in 3 bytes. -
TYPE_4BYTE_ABGR
Represents an image with 8-bit RGBA color components with the colors Blue, Green, and Red stored in 3 bytes and 1 byte of alpha. -
TYPE_4BYTE_ABGR_PRE
Represents an image with 8-bit RGBA color components with the colors Blue, Green, and Red stored in 3 bytes and 1 byte of alpha. -
TYPE_BYTE_BINARY
Represents an opaque byte-packed 1, 2, or 4 bit image. -
TYPE_BYTE_GRAY
Represents a unsigned byte grayscale image, non-indexed. -
TYPE_BYTE_INDEXED
Represents an indexed byte image. -
TYPE_INT_ARGB
Represents an image with 8-bit RGBA color components packed into integer pixels. -
TYPE_INT_ARGB_PRE
Represents an image with 8-bit RGBA color components packed into integer pixels. -
TYPE_INT_BGR
Represents an image with 8-bit RGB color components, corresponding to a Windows- or Solaris- style BGR color model, with the colors Blue, Green, and Red packed into integer pixels. -
TYPE_INT_RGB
Represents an image with 8-bit RGB color components packed into integer pixels. -
TYPE_USHORT_555_RGB
Represents an image with 5-5-5 RGB color components (5-bits red, 5-bits green, 5-bits blue) with no alpha. -
TYPE_USHORT_565_RGB
Represents an image with 5-6-5 RGB color components (5-bits red, 6-bits green, 5-bits blue) with no alpha. -
TYPE_USHORT_GRAY
Represents an unsigned short grayscale image, non-indexed).
-
-
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
-