compression:quantization (field)
Version: 0.0.0
Description
Scales a field to a given precision threshold, then rounds all the values to the unit.
Inputs
| Input | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 Required | input_field | field | Field to quantize. |
| Pin 1 Required | threshold | double, field | Precision threshold desired. Case double : the threshold is applied on all the input field. Case field with one value : the threshold is applied on all the input field. Case field with "numComp" values : each threhsold is applied to the corresponding component of the input field. Case field with the same number of values than the input field : quantization is performed component-wise. |
Outputs
| Output | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 | output_field | field | Scaled and rounded field |
Configurations
| Name | Expected type(s) | Default value | Description |
|---|---|---|---|
| mutex | bool | false | If this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads. |
Scripting
Category: compression
Plugin: N/A
Scripting name: quantization
Full name: compression.quantization
Internal name: quantization
License: any_dpf_supported_increments
Changelog
- Version 0.0.0: Initial release.