# DensityData

public final class DensityData implements IDensityData

Class describing density data

## Constructors

DensityData
Link copied to clipboard
public DensityData DensityData(IntArray lambda, FloatArray reflectance, ScanMode mode, DensityStatus status)

## Properties

autoIndex
Link copied to clipboard
private final Integer autoIndex

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

GREY_THRESHOLD
Link copied to clipboard
public final static Double GREY_THRESHOLD
mode
Link copied to clipboard
private final ScanMode mode

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

status
Link copied to clipboard
private final DensityStatus status

Density status for this value (one of DensityStatus.A, DensityStatus.E, DensityStatus.I, or DensityStatus.T)

statusLabel
Link copied to clipboard
private final String statusLabel

Density status label for this value

value
Link copied to clipboard
private final DoubleArray value

Density values (4 channels, CMYK order)

## Functions

getAutoIndex
Link copied to clipboard
public Integer getAutoIndex()

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

getMode
Link copied to clipboard
public ScanMode getMode()

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

getStatus
Link copied to clipboard
public DensityStatus getStatus()

Density status for this value (one of DensityStatus.A, DensityStatus.E, DensityStatus.I, or DensityStatus.T)

getStatusLabel
Link copied to clipboard
public String getStatusLabel()

Density status label for this value

getValue
Link copied to clipboard
public DoubleArray getValue()

Density values (4 channels, CMYK order)