Properties | List of all members
Interpolator Class Reference

Spectral Interpolator object. More...

Inherits object.

Properties

 std_illuminant = property
 int: Retrieves the standard illuminant from the interpolator object(see cvb.spectral.StdIlluminant). More...
 
 std_observer = property
 int: Retrieves the standard observer from the interpolator object(see cvb.spectral.StdObserver). More...
 
 wavelengths = property
 List[float]: Retrieves the wavelengths of the illuminant spectrum. More...
 

Detailed Description

Spectral Interpolator object.

Creates an interpolator.

The interpolator is used to fit the wavelengths of the standard observer and the standard illuminant to the wavelengths in the Cube. As reference wavelengths the values of CVSFI_Wavelength in the cube metadata are used. Internally the color matching functions are defined in the range:

The standard illuminant are defined in the range:

Parameters

cube : cvb.spectral.Cube Metadata needs to contain wavelength info.

std_observer : int Standard observer used to access predefined Color Matching functions for the Lab and XYZ conversion(see cvb.spectral.StdObserver).

std_illuminant : int Standard illuminant used to access the predefined relative spectral power distribution for the Lab and XYZ conversion (see cvb.spectral.StdIlluminant).

interpolation_method : Optional[int] Interpolation method used for the color matching function and illuminant spectrum (see cvb.spectral.InterpolationMethod). By default cvb.spectral.InterpolationMethod.linear.

Property Documentation

◆ std_illuminant

std_illuminant = property
static

int: Retrieves the standard illuminant from the interpolator object(see cvb.spectral.StdIlluminant).

◆ std_observer

std_observer = property
static

int: Retrieves the standard observer from the interpolator object(see cvb.spectral.StdObserver).

◆ wavelengths

wavelengths = property
static

List[float]: Retrieves the wavelengths of the illuminant spectrum.