ISpectralData

public interface ISpectralData

Interface describing spectral data obtained from a measurement

Inheritors

Functions

Link copied to clipboard
public abstract Integer getInterval()

Wavelength spacing (eg - 10 nm)

Link copied to clipboard
public abstract IntArray getLambda()

Wavelength values. Each entry i in this array corresponds to a spectral value in value at the same index.

Link copied to clipboard
public abstract ScanMode getMode()

Scan mode for this measurement (one of ScanMode.M0, ScanMode.M1, or ScanMode.M2)

Link copied to clipboard
public abstract FloatArray getValue()

Spectral reflectance values. Each entry i in this array corresponds to a wavelength value in lambda at the same index.

Link copied to clipboard
public abstract Float interpolate(Float lT)

Provides an interpolated reflectance value at a specified wavelength value using natural cubic spines. The cubic splines are evaluated at the points specified by lambda and value. Interpolated values are evaluated using natural cubic splines.

Link copied to clipboard
public abstract IColorData toColorData(ReferenceWhite reference, IColorData.ColorType type)
public IColorData toColorData(Illuminant illuminant, Observer observer, IColorData.ColorType type)

Provides color data from this measurement for the specified illuminant and observer white point. Result is null if an invalid white point is specified.

Link copied to clipboard
public Integer toColorInt(Illuminant illuminant, Observer observer)

Provides an sRGB value for this measurement for the specified illuminant and observer white point. Result is null if an invalid white point is specified.

Link copied to clipboard

Provides absolute density values for this measurement for the specified density status evaluated as per ISO 5-3:2009, or null if the LicenseFeature.DENSITY_DATA feature is not enabled for the current license. See also LicenseManager.Shared.isFeatureEnabled.

Link copied to clipboard
public abstract IntArray toRgbValue(ReferenceWhite reference)
public IntArray toRgbValue(Illuminant illuminant, Observer observer)

Provides an sRGB value for this measurement for the specified illuminant and observer white point. Result is null if an invalid white point is specified.