5 lines
3.6 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>Smoothing</h1><h2>Brief Description</h2>Apply a smoothing filter to an image<h2>Tags</h2>Image Filtering<h2>Long Description</h2>This application applies smoothing filter to an image. Either gaussian, mean, or anisotropic diffusion are available.<h2>Parameters</h2><ul><li><b>[param] -in</b> &lt;string&gt; Input image to smooth.. Mandatory: True. Default Value: &quot;&quot;</li><li><b>[param] -out</b> &lt;string&gt; Output smoothed image.. Mandatory: True. Default Value: &quot;&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] -type</b> Smoothing kernel to apply mean,gaussian,anidif. Mandatory: True. Default Value: &quot;anidif&quot;<ul><li><b>[group] -mean</b></li><ul><li><b>[param] -type.mean.radius</b> &lt;int32&gt; Mean radius (in pixels). Mandatory: True. Default Value: &quot;2&quot;</li></ul><li><b>[group] -gaussian</b></li><ul><li><b>[param] -type.gaussian.radius</b> &lt;float&gt; Gaussian radius (in pixels). Mandatory: True. Default Value: &quot;2&quot;</li></ul><li><b>[group] -anidif</b></li><ul><li><b>[param] -type.anidif.timestep</b> &lt;float&gt; Diffusion equation time step. Mandatory: True. Default Value: &quot;0.125&quot;</li><li><b>[param] -type.anidif.nbiter</b> &lt;int32&gt; Controls the sensitivity of the conductance term. Mandatory: True. Default Value: &quot;10&quot;</li><li><b>[param] -type.anidif.conductance</b> &lt;float&gt; . Mandatory: True. Default Value: &quot;1&quot;</li></ul></ul></ul><h2>Limitations</h2>None<h2>Authors</h2>OTB-Team<h2>See Also</h2> <h2>Example of use</h2><ul><li>Image smoothing using a mean filter.<ul><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">in: Romania_Extract.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: smoothedImage_mean.png uchar</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">type: mean</p></li></ul></li><li>Image smoothing using an anisotropic diffusion filter.<ul><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">in: Romania_Extract.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: smoothedImage_ani.png float</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">type: anidif</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">type.anidif.timestep: 0.1</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">type.anidif.nbiter: 5</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">type.anidif.conductance: 1.5</p></li></ul></li></ul></body></html>