Enum Class VImageType

java.lang.Object
java.lang.Enum<VImageType>
org.yamcs.studio.data.vtype.VImageType
All Implemented Interfaces:
Serializable, Comparable<VImageType>, Constable

public enum VImageType extends Enum<VImageType>
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    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.
    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 detector
    Represents 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 constants
    Represents 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 image
    RGB 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 pixels
    YUV image, 4 bytes encodes 2 RGB pixel
    YUV image, 3 bytes encodes 1 RGB pixel
  • Method Summary

    Modifier and Type
    Method
    Description
    static VImageType
    Returns the enum constant of this class with the specified name.
    static VImageType[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • TYPE_CUSTOM

      public static final VImageType TYPE_CUSTOM
      Image type constants
    • TYPE_MONO

      public static final VImageType TYPE_MONO
      Monochromatic image
    • TYPE_BAYER

      public static final VImageType TYPE_BAYER
      Bayer pattern image, 1 value per pixel but with color filter on detector
    • TYPE_RGB1

      public static final VImageType TYPE_RGB1
      RGB image with pixel color interleave, data array is [3, NX, NY]
    • TYPE_RGB2

      public static final VImageType TYPE_RGB2
      RGB image with row color interleave, data array is [NX, 3, NY]
    • TYPE_RGB3

      public static final VImageType TYPE_RGB3
      RGB image with plane color interleave, data array is [NX, NY, 3]
    • TYPE_YUV444

      public static final VImageType TYPE_YUV444
      YUV image, 3 bytes encodes 1 RGB pixel
    • TYPE_YUV422

      public static final VImageType TYPE_YUV422
      YUV image, 4 bytes encodes 2 RGB pixel
    • TYPE_YUV411

      public static final VImageType TYPE_YUV411
      YUV image, 6 bytes encodes 4 RGB pixels
    • TYPE_3BYTE_BGR

      public static final VImageType 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

      public static final VImageType 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

      public static final VImageType 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

      public static final VImageType TYPE_BYTE_BINARY
      Represents an opaque byte-packed 1, 2, or 4 bit image.
    • TYPE_BYTE_GRAY

      public static final VImageType TYPE_BYTE_GRAY
      Represents a unsigned byte grayscale image, non-indexed.
    • TYPE_BYTE_INDEXED

      public static final VImageType TYPE_BYTE_INDEXED
      Represents an indexed byte image.
    • TYPE_INT_ARGB

      public static final VImageType TYPE_INT_ARGB
      Represents an image with 8-bit RGBA color components packed into integer pixels.
    • TYPE_INT_ARGB_PRE

      public static final VImageType TYPE_INT_ARGB_PRE
      Represents an image with 8-bit RGBA color components packed into integer pixels.
    • TYPE_INT_BGR

      public static final VImageType 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

      public static final VImageType TYPE_INT_RGB
      Represents an image with 8-bit RGB color components packed into integer pixels.
    • TYPE_USHORT_555_RGB

      public static final VImageType 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

      public static final VImageType 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

      public static final VImageType TYPE_USHORT_GRAY
      Represents an unsigned short grayscale image, non-indexed).
  • Method Details

    • values

      public static VImageType[] 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

      public static VImageType 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.)
      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 name
      NullPointerException - if the argument is null