# MeanShiftSmoothing

## Brief Description

Perform mean shift filtering

## Tags

Image Filtering

## Long Description

This application performs mean shift fitlering (multi-threaded).

## Parameters

- [param] -in <string> The input image.. Mandatory: True. Default Value: ""
- [param] -fout <string> The filtered output image.. Mandatory: True. Default Value: ""
- [param] -spatialr <int32> Spatial radius of the neighborhood.. Mandatory: True. Default Value: "5"
- [param] -ranger <float> Range radius defining the radius (expressed in radiometry unit) in the multi-spectral space.. Mandatory: True. Default Value: "15"
- [param] -thres <float> Algorithm iterative scheme will stop if mean-shift vector is below this threshold or if iteration number reached maximum number of iterations.. Mandatory: False. Default Value: "0.1"
- [param] -maxiter <int32> Algorithm iterative scheme will stop if convergence hasn't been reached after the maximum number of iterations.. Mandatory: False. Default Value: "100"
- [param] -modesearch <boolean> If activated pixel iterative convergence is stopped if the path . Be careful, with this option, the result will slightly depend on thread number. Mandatory: False. Default Value: "True"

## Limitations

With mode search option, the result will slightly depend on thread number.

## Authors

OTB-Team

## See Also

## Example of use

- in: maur_rgb.png

- fout: MeanShift_FilterOutput.tif

- spatialr: 16

- ranger: 16

- thres: 0.1

- maxiter: 100