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