Introduction
For more information, please read the block description.
Block type: PROCESSING
The 16-to-8 Bit Conversion block enables using partner processing blocks that require 8 bit imagery with 16 bit imagery from Sentinel-2 L2A. The block takes 16bit GeoTIFF images as input and applies a conversion factor to output 8bit GeoTIFF images.
Conversion Factor
The conversion makes use of the the formula below:
Example parameters
Example parameters using the data block Sentinel-2 L2A (SAFE) and the processing block s2-superresolution:
{
"aws-s2-l2a:1": {
"ids": null,
"bbox": [
13.338221,
52.503106,
13.369208,
52.522625
],
"time": "2018-12-01T00:00:00+00:00/2021-12-31T23:59:59+00:00",
"limit": 1,
"time_series": null,
"max_cloud_cover": 100
},
"s2-superresolution:1": {
"bbox": [
13.338221,
52.503106,
13.369208,
52.522625
],
"contains": null,
"intersects": null,
"clip_to_aoi": true,
"copy_original_bands": true
},
"up42-16to8bit-conversion:1": {}
}
Output format
Output and input format are both GeoTIFF. All metadata elements provided by the input dataset as properties are propagated to the output files.
Capabilities
Input
raster
up42_standard | |
---|---|
dtype | uint16 |
format | GTiff |
sensor | Sentinel2 |
Output
raster
up42_standard | |
---|---|
bands | > (propagated) |
dtype | uint8 |
format | GTiff |
sensor | > (propagated) |
resolution | > (propagated) |
processing_level | > (propagated) |
To know more please check the block capabilities specifications.