Filters the input labeled image using Majority Voting in a ball shaped neighbordhood.
Tags
Learning,Image Analysis
Long Description
This application filters the input labeled image using Majority Voting in a ball shaped neighbordhood. Majority Voting takes the more representative value of all the pixels identified by the ball shaped structuring element and then sets the center pixel to this majority label value.
-NoData is the label of the NOT classified pixels in the input image. These input pixels keep their NoData label in the output image.
-Pixels with more than 1 majority class are marked as Undecided if the parameter 'ip.suvbool == true', or keep their Original labels otherwise.
Parameters
[param] -io <string> This group of parameters allows to set input and output images for classification map regularization by Majority Voting.. Mandatory: True. Default Value: "0"
[param] -ip <string> This group allows to set parameters for classification map regularization by Majority Voting.. Mandatory: True. Default Value: "0"
[param] -ram <int32> Available memory for processing (in MB). Mandatory: False. Default Value: "128"
Limitations
The input image must be a single band labeled image. The structuring element radius must have a minimum value equal to 1 pixel. Please note that the Undecided value must be different from existing labels in the input labeled image.
Authors
OTB-Team
See Also
Documentation of the ClassificationMapRegularization application.