Data type conversion

From AWF-Wiki
Revision as of 09:44, 21 June 2019 by Hfuchs (Talk | contribs)

Jump to: navigation, search

We may change the data type (or radiometric resolution) of a raster layer.

  1. Click the Add raster layer QGIS 2.0 addrast.png and select a single band or a multiband file e.g. dop/DOP_VI.tif. This is multiband file with three different spectral indices created by Orfeo Toolbox --> Feature Extraction --> Radiometric Indices) with the data type Float (Check the Raster metadata). We would like to convert to data type Byte - eight bit unsigned integer, value range 0 to 255.
  2. Click Open.
  3. In processing toolbar, type dynamic into the search field to find the Orfeo Toolbox --> Image Manipulation --> DynamicConvert) tool.
  4. Open with a double click. Specify the input and a new output file name as shown in the screenshot.
  5. Set High cut quantil and Low cut quantile to 0
  6. Click Advanced parameters and define Output pixel type uint8.
  7. Click Run.

Qgis rescale.png

The output Image raster is now recoded and saved to unsigned eight bit.

Personal tools
Namespaces

Variants
Actions
Navigation
Development
Toolbox
Print/export