public class JpegLsPresetCodingParameters extends Object
Defines the JPEG-LS preset coding parameters as defined in ISO/IEC 14495-1, C.2.4.1.1. JPEG-LS defines a default set of parameters, but custom parameters can be used. When used these parameters are written into the encoded bit stream as they are needed for the decoding process.
Constructor and Description |
---|
JpegLsPresetCodingParameters() |
Modifier and Type | Method and Description |
---|---|
int |
getMaximumSampleValue()
Gets or sets the maximum possible value for any image sample in a scan.
|
int |
getResetValue()
Gets or sets the value at which the counters A, B, and N are halved.
|
int |
getThreshold1()
Gets or sets the first quantization threshold value for the local gradients.
|
int |
getThreshold2()
Gets or sets the second quantization threshold value for the local gradients.
|
int |
getThreshold3()
Gets or sets the third quantization threshold value for the local gradients.
|
void |
setMaximumSampleValue(int value)
Gets or sets the maximum possible value for any image sample in a scan.
|
void |
setResetValue(int value)
Gets or sets the value at which the counters A, B, and N are halved.
|
void |
setThreshold1(int value)
Gets or sets the first quantization threshold value for the local gradients.
|
void |
setThreshold2(int value)
Gets or sets the second quantization threshold value for the local gradients.
|
void |
setThreshold3(int value)
Gets or sets the third quantization threshold value for the local gradients.
|
public int getMaximumSampleValue()
Gets or sets the maximum possible value for any image sample in a scan. This must be greater than or equal to the actual maximum value for the components in a scan.
public void setMaximumSampleValue(int value)
Gets or sets the maximum possible value for any image sample in a scan. This must be greater than or equal to the actual maximum value for the components in a scan.
public int getThreshold1()
Gets or sets the first quantization threshold value for the local gradients.
public void setThreshold1(int value)
Gets or sets the first quantization threshold value for the local gradients.
public int getThreshold2()
Gets or sets the second quantization threshold value for the local gradients.
public void setThreshold2(int value)
Gets or sets the second quantization threshold value for the local gradients.
public int getThreshold3()
Gets or sets the third quantization threshold value for the local gradients.
public void setThreshold3(int value)
Gets or sets the third quantization threshold value for the local gradients.
public int getResetValue()
Gets or sets the value at which the counters A, B, and N are halved.
public void setResetValue(int value)
Gets or sets the value at which the counters A, B, and N are halved.