Expand description
Expose all necessary data structures to represent pixels.
Re-exports num_traits::FromPrimitive and num_traits::cast::ToPrimitive in order to make easy to cast a parsed value into correct enum structures.
Modules§
- Ready-to-use formaton
Structs§
- Single colorspace component definition.
- Image colorspace representation.
Enums§
- Indicates the chroma sampling grid alignment for video fields or frames using the 4:2:0 colour format (in which the two chroma arrays have half the width and half the height of the associated luma array)
- All supported color models.
- Indicates the chromaticity coordinates of the source colour primaries as specified in Table 2 in terms of the CIE 1931 definition of x and y as specified by ISO 11664-1.
- Describes the matrix coefficients used in deriving luma and chroma signals from the green, blue and red or X, Y and Z primaries.
- Either indicates the reference opto-electronic transfer characteristic function of the source picture as a function of a source input linear optical intensity input Lc with a nominal real-valued range of 0 to 1 or indicates the inverse of the reference electro-optical transfer characteristic function as a function of an output linear optical intensity Lo with a nominal real-valued range of 0 to 1.
- Trichromatic color encoding system.
- YUV color range.
- All YUV color representations.
Traits§
- A generic trait for converting a number to a value.
- A generic trait for converting a value to a number.