Table of Contents

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 in lambda at the same index.

mode ScanMode

Scan mode for this measurement.

status DensityStatus

Density status to use when evaluating density (defaults to T)

Fields

DensityChannelC

Index for for cyan density

public const int DensityChannelC = 0

Field Value

int

DensityChannelK

Index for black / visible density

public const int DensityChannelK = 3

Field Value

int

DensityChannelM

Index for magenta density

public const int DensityChannelM = 1

Field Value

int

DensityChannelY

Index for yellow density

public const int DensityChannelY = 2

Field Value

int

Properties

AutoIndex

Indicates which channel (0 - 3) in Value has the strongest response, with greyness override

public int AutoIndex { get; }

Property Value

int

Mode

Scan mode for this measurement

public ScanMode Mode { get; }

Property Value

ScanMode

Status

Density status for this value

public DensityStatus Status { get; }

Property Value

DensityStatus

StatusLabel

Density status label for this value

public string StatusLabel { get; }

Property Value

string

Value

Density values (4 channels, CMYK order)

public double[] Value { get; }

Property Value

double[]