No Data management
Brief Description
Manage No-Data
Tags
Image Manipulation, Conversion, Image Dynamic
Long Description
This application has two modes. The first allows building a mask of no-data pixels from the no-data flags read from the image file. The second allows updating the change the no-data value of an image (pixels value and metadata). This last mode also allows replacing NaN in images with a proper no-data value. To do so, one should activate the NaN is no-data option.
Parameters
Input image (in): Input image
Output Image (out): Output image
Consider NaN as no-data (usenan): If active, the application will consider NaN as no-data values as well
No-data handling mode (mode): Allows choosing between different no-data handling options
Build a no-data Mask (buildmask):
Inside Value (mode.buildmask.inv): Value given in the output mask to pixels that are not no data pixels
Outside Value (mode.buildmask.outv): Value given in the output mask to pixels that are no data pixels
Change the no-data value (changevalue):
The new no-data value (mode.changevalue.newv): The new no-data value
Apply a mask as no-data (apply): Apply an external mask to an image using the no-data value of the input image
Mask image (mode.apply.mask): Mask to be applied on input image (valid pixels have non null values)
Nodata value used (mode.apply.ndval): No Data value used according to the mask image
Available RAM (Mb) (ram): Available memory for processing (in MB)
Load otb application from xml file (inxml): Load otb application from xml file
Save otb application to xml file (outxml): Save otb application to xml file
Limitations
None
Authors
OTB-Team
See also
BandMath
Example of use
in: QB_Toulouse_Ortho_XS.tif
out: QB_Toulouse_Ortho_XS_nodatamask.tif uint8
mode.buildmask.inv: 255
mode.buildmask.outv: 0
otbcli_ManageNoData -in QB_Toulouse_Ortho_XS.tif -out QB_Toulouse_Ortho_XS_nodatamask.tif uint8 -mode.buildmask.inv 255 -mode.buildmask.outv 0