Crate ssimulacra2
source ·Structs
Enums
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.
Traits
Trait for casting between primitive types.
A type that can be used as a pixel type.
Functions
Computes the SSIMULACRA2 score for a given input frame and the distorted
version of that frame.