Apply a smoothing filter to an image
This application applies smoothing filter to an image. Either gaussian, mean, or anisotropic diffusion are available.
This section describes in details the parameters available for this application. Table 4.76, page 594 presents a summary of these parameters and the parameters keys to be used in command-line and programming languages. Application key is Smoothing.
Parameter key | Parameter type |
Parameter description |
in | Input image |
Input Image |
out | Output image |
Output Image |
ram | Int |
Available RAM (Mb) |
type | Choices |
Smoothing Type |
type mean | Choice |
Mean |
type gaussian | Choice |
Gaussian |
type anidif | Choice |
Anisotropic Diffusion |
type.mean.radius | Int |
Radius |
type.gaussian.radius | Float |
Radius |
type.anidif.timestep | Float |
Time Step |
type.anidif.nbiter | Int |
Nb Iterations |
type.anidif.conductance | Float |
Conductance |
inxml | XML input parameters file |
Load otb application from xml file |
outxml | XML output parameters file |
Save otb application to xml file |
|
||
|
||
|
||
|
||
|
Input Image Input image to smooth.
Output Image Output smoothed image.
Available RAM (Mb) Available memory for processing (in MB)
Smoothing Type Smoothing kernel to apply Available choices are:
Load otb application from xml file Load otb application from xml file
Save otb application to xml file Save otb application to xml file
Example 1 Image smoothing using a mean filter.To run this example in command-line, use the following:
To run this example from Python, use the following code snippet:
Example 2 Image smoothing using an anisotropic diffusion filter.To run this example in command-line, use the following:
To run this example from Python, use the following code snippet:
None
This application has been written by OTB-Team.