5 lines
3.2 KiB
HTML

<html><head>
<style type="text/css">
dl { border: 3px double #ccc; padding: 0.5em; } dt { float: left; clear: left; text-align: left; font-weight: bold; color: green; } dt:after { content: ":"; } dd { margin: 0 0 0 220px; padding: 0 0 0.5em 0; }
</style>
</head><body><h1>ManageNoData</h1><h2>Brief Description</h2>Manage No-Data<h2>Tags</h2>Conversion,Image Dynamic,Image Manipulation<h2>Long Description</h2>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.<h2>Parameters</h2><ul><li><b>[param] -in</b> &lt;string&gt; Input image. Mandatory: True. Default Value: &quot;&quot;</li><li><b>[param] -out</b> &lt;string&gt; Output image. Mandatory: True. Default Value: &quot;&quot;</li><li><b>[param] -usenan</b> &lt;boolean&gt; If active, the application will consider NaN as no-data values as well. Mandatory: False. Default Value: &quot;True&quot;</li><li><b>[param] -ram</b> &lt;int32&gt; Available memory for processing (in MB). Mandatory: False. Default Value: &quot;128&quot;</li><li><b>[param] -inxml</b> &lt;string&gt; Load otb application from xml file. Mandatory: False. Default Value: &quot;&quot;</li><li><b>[param] -outxml</b> &lt;string&gt; Save otb application to xml file. Mandatory: False. Default Value: &quot;&quot;</li><b>[choice] -mode</b> Allows choosing between different no-data handling options buildmask,changevalue,apply. Mandatory: True. Default Value: &quot;buildmask&quot;<ul><li><b>[group] -buildmask</b></li><ul><li><b>[param] -mode.buildmask.inv</b> &lt;float&gt; Value given in the output mask to pixels that are not no data pixels. Mandatory: True. Default Value: &quot;1&quot;</li><li><b>[param] -mode.buildmask.outv</b> &lt;float&gt; Value given in the output mask to pixels that are no data pixels. Mandatory: True. Default Value: &quot;0&quot;</li></ul><li><b>[group] -changevalue</b></li><ul><li><b>[param] -mode.changevalue.newv</b> &lt;float&gt; The new no-data value. Mandatory: True. Default Value: &quot;0&quot;</li></ul><li><b>[group] -apply</b></li><ul><li><b>[param] -mode.apply.mask</b> &lt;string&gt; Mask to be applied on input image (valid pixels have non null values). Mandatory: True. Default Value: &quot;&quot;</li></ul></ul></ul><h2>Limitations</h2>None<h2>Authors</h2>OTB-Team<h2>See Also</h2>BanMath<h2>Example of use</h2><ul><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">in: QB_Toulouse_Ortho_XS.tif</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">out: QB_Toulouse_Ortho_XS_nodatamask.tif uint8</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">mode.buildmask.inv: 255</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">mode.buildmask.outv: 0</p></li></ul></body></html>