Data type conversion

From AWF-Wiki
Jump to: navigation, search

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

  1. Click the Add raster layer QGIS 2.0 addrast.png and select a multiband raster with data type UInt16. Convert to data type uint8 (8bit unsigned integer), value range 0 to 255.
  2. In processing toolbar, type dynamic into the search field to find the Orfeo Toolbox --> Image Manipulation --> DynamicConvert tool.
  3. Open with a double click. Specify the input and a new output file name as shown in the screenshot.
  4. Set High cut quantile and Low cut quantile to 0
  5. Output min value = 0, Output max value = 255
  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. Which file size has the input image and the output image?

Personal tools
Namespaces

Variants
Actions
Navigation
Development
Toolbox
Print/export