Class DensityData
- Namespace
- NixUniversalSDK
- Assembly
- NixUniversalSDK.dll
Class describing density data
public class DensityData : IDensityData
- Inheritance
-
DensityData
- Implements
- Inherited Members
Constructors
DensityData(int[], float[], ScanMode, DensityStatus)
Constructs density data from 10 nm spectral reflectance values.
public DensityData(int[] lambda, float[] reflectance, ScanMode mode = ScanMode.M2, DensityStatus status = DensityStatus.T)
Parameters
lambda
int[]Wavelength values
reflectance
float[]Spectral reflectance values. Each entry
i
in this array corresponds to a wavelength value inlambda
at the same index.mode
ScanModeScan mode for this measurement.
status
DensityStatusDensity status to use when evaluating density (defaults to T)
Fields
DensityChannelC
Index for for cyan density
public const int DensityChannelC = 0
Field Value
DensityChannelK
Index for black / visible density
public const int DensityChannelK = 3
Field Value
DensityChannelM
Index for magenta density
public const int DensityChannelM = 1
Field Value
DensityChannelY
Index for yellow density
public const int DensityChannelY = 2
Field Value
Properties
AutoIndex
Indicates which channel (0 - 3) in Value has the strongest response, with greyness override
public int AutoIndex { get; }
Property Value
Mode
Scan mode for this measurement
public ScanMode Mode { get; }
Property Value
Status
Density status for this value
public DensityStatus Status { get; }
Property Value
StatusLabel
Density status label for this value
public string StatusLabel { get; }
Property Value
Value
Density values (4 channels, CMYK order)
public double[] Value { get; }
Property Value
- double[]