
**Inheritance:**
java.lang.Object
```
public class JpegLsPresetCodingParameters
```

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.
## Constructors

| Constructor | Description |
| --- | --- |
| [JpegLsPresetCodingParameters()](#JpegLsPresetCodingParameters--) |  |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getMaximumSampleValue()](#getMaximumSampleValue--) | Gets or sets the maximum possible value for any image sample in a scan. |
| [getResetValue()](#getResetValue--) | Gets or sets the value at which the counters A, B, and N are halved. |
| [getThreshold1()](#getThreshold1--) | Gets or sets the first quantization threshold value for the local gradients. |
| [getThreshold2()](#getThreshold2--) | Gets or sets the second quantization threshold value for the local gradients. |
| [getThreshold3()](#getThreshold3--) | Gets or sets the third quantization threshold value for the local gradients. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setMaximumSampleValue(int value)](#setMaximumSampleValue-int-) | Gets or sets the maximum possible value for any image sample in a scan. |
| [setResetValue(int value)](#setResetValue-int-) | Gets or sets the value at which the counters A, B, and N are halved. |
| [setThreshold1(int value)](#setThreshold1-int-) | Gets or sets the first quantization threshold value for the local gradients. |
| [setThreshold2(int value)](#setThreshold2-int-) | Gets or sets the second quantization threshold value for the local gradients. |
| [setThreshold3(int value)](#setThreshold3-int-) | Gets or sets the third quantization threshold value for the local gradients. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### JpegLsPresetCodingParameters() {#JpegLsPresetCodingParameters--}
```
public JpegLsPresetCodingParameters()
```


### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getMaximumSampleValue() {#getMaximumSampleValue--}
```
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.

**Returns:**
int
### getResetValue() {#getResetValue--}
```
public int getResetValue()
```


Gets or sets the value at which the counters A, B, and N are halved.

**Returns:**
int
### getThreshold1() {#getThreshold1--}
```
public int getThreshold1()
```


Gets or sets the first quantization threshold value for the local gradients.

**Returns:**
int
### getThreshold2() {#getThreshold2--}
```
public int getThreshold2()
```


Gets or sets the second quantization threshold value for the local gradients.

**Returns:**
int
### getThreshold3() {#getThreshold3--}
```
public int getThreshold3()
```


Gets or sets the third quantization threshold value for the local gradients.

**Returns:**
int
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setMaximumSampleValue(int value) {#setMaximumSampleValue-int-}
```
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.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setResetValue(int value) {#setResetValue-int-}
```
public void setResetValue(int value)
```


Gets or sets the value at which the counters A, B, and N are halved.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setThreshold1(int value) {#setThreshold1-int-}
```
public void setThreshold1(int value)
```


Gets or sets the first quantization threshold value for the local gradients.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setThreshold2(int value) {#setThreshold2-int-}
```
public void setThreshold2(int value)
```


Gets or sets the second quantization threshold value for the local gradients.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setThreshold3(int value) {#setThreshold3-int-}
```
public void setThreshold3(int value)
```


Gets or sets the third quantization threshold value for the local gradients.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

