Convert Datatype Operator
The Toolbox is able to read in various supported data products, abstract the
complete dataset and meta-data internally and write the data to various
file formats using the plug-in writer modules. Internally, the data is
stored in a Generic Product Model (GPM) and organized in a similar
structure as its external representation the BEAM-DIMAP file format.
The BEAM-DIMAP format consists of an XML file containing meta-data and
a file folder containing image bands in flat binary files.
The
Convert Datatype Operator performs gain conversion. The data will be
formatted to be able to adjust for the dynamic range of the data in the
following ways:
- no value scaling (truncation)
- linear scaling using slope and intercept: new value = slope * old value + intercept
- linear scaling between min. and max. pixel values or ‘clipped’ (%) histogram
- logarithmic scaling using slope and intercept: new value = 10**(slope * old value + intercept)
- Look-Up Table defined by the user containing the mapping
This will make it possible to be able to convert between the following data types:
- 8-bit integer
- 16-bit integer
- 32-bit integer
- 32-bit float
- complex integer (16 bits + 16 bits)
- complex float (32 bits + 32 bits)