OTB.ClassificationMapRegularization: Filters the input labeled image using Majority Voting in a ball shaped neighbordhood.

This application filters the input labeled image (with a maximal class label = 65535) 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.

Inputs

The input labeled image to regularize.

format
href
Please set a value for io.in.

The output regularized labeled image.

string
Please set a value for io.out.

The radius of the ball shaped structuring element (expressed in pixels). By default, 'ip.radius = 1 pixel'.

integer
Please set a value for ip.radius.

Pixels with more than 1 majority class are marked as Undecided if this parameter is checked (true), or keep their Original labels otherwise (false). Please note that the Undecided value must be different from existing labels in the input labeled image. By default, 'ip.suvbool = false'.

boolean
Please set a value for ip.suvbool.

Label for the NoData class. Such input pixels keep their NoData label in the output image. By default, 'ip.nodatalabel = 0'.

integer
Please set a value for ip.nodatalabel.

Label for the Undecided class. By default, 'ip.undecidedlabel = 0'.

integer
Please set a value for ip.undecidedlabel.

Only pixels whose label is unique in the neighbordhood will be processed. By default, 'ip.onlyisolatedpixels = false'.

boolean
Please set a value for ip.onlyisolatedpixels.

Maximum number of neighbours with the same label as the center pixel to consider that it is an isolated pixel. By default, 'ip.isolatedthreshold = 1'.

integer
Please set a value for ip.isolatedthreshold.

Available memory for processing (in MB)

integer

Outputs

The output regularized labeled image.

format
transmission

Execution options

successUri
inProgressUri
failedUri

format

mode

Execute End Point

View the execution endpoint of a process.

View the alternative version in HTML.

{"id": "OTB.ClassificationMapRegularization", "title": "Filters the input labeled image using Majority Voting in a ball shaped neighbordhood.", "description": "This application filters the input labeled image (with a maximal class label = 65535) 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.", "version": "1.0.0", "jobControlOptions": ["sync-execute", "async-execute", "dismiss"], "outputTransmission": ["value", "reference"], "links": [{"rel": "http://www.opengis.net/def/rel/ogc/1.0/execute", "type": "application/json", "title": "Execute End Point", "href": "http://demo.mapmint.com/ogc-api/processes/OTB.ClassificationMapRegularization/execution"}, {"rel": "alternate", "type": "text/html", "title": "Execute End Point", "href": "http://demo.mapmint.com/ogc-api/processes/OTB.ClassificationMapRegularization/execution.html"}], "inputs": {"io.in": {"title": "The input labeled image to regularize.", "description": "The input labeled image to regularize.", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["image/tiff", "image/jpeg", "image/png"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/jpeg"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}}}]}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/jpeg"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}, "id": "io.in"}, "io.out": {"title": "The output regularized labeled image.", "description": "The output regularized labeled image.", "schema": {"type": "string", "default": "uint8", "enum": ["uint8", "uint16", "int16", "int32", "int32", "float", "double"]}, "id": "io.out"}, "ip.radius": {"title": "The radius of the ball shaped structuring element (expressed in pixels). By default, 'ip.radius = 1 pixel'.", "description": "The radius of the ball shaped structuring element (expressed in pixels). By default, 'ip.radius = 1 pixel'.", "schema": {"type": "integer", "default": 1}, "id": "ip.radius"}, "ip.suvbool": {"title": "Pixels with more than 1 majority class are marked as Undecided if this parameter is checked (true), or keep their Original labels otherwise (false). Please note that the Undecided value must be different from existing labels in the input labeled image. By default, 'ip.suvbool = false'.", "description": "Pixels with more than 1 majority class are marked as Undecided if this parameter is checked (true), or keep their Original labels otherwise (false). Please note that the Undecided value must be different from existing labels in the input labeled image. By default, 'ip.suvbool = false'.", "schema": {"type": "boolean", "default": false}, "id": "ip.suvbool"}, "ip.nodatalabel": {"title": "Label for the NoData class. Such input pixels keep their NoData label in the output image. By default, 'ip.nodatalabel = 0'.", "description": "Label for the NoData class. Such input pixels keep their NoData label in the output image. By default, 'ip.nodatalabel = 0'.", "schema": {"type": "integer", "default": 0}, "id": "ip.nodatalabel"}, "ip.undecidedlabel": {"title": "Label for the Undecided class. By default, 'ip.undecidedlabel = 0'.", "description": "Label for the Undecided class. By default, 'ip.undecidedlabel = 0'.", "schema": {"type": "integer", "default": 0}, "id": "ip.undecidedlabel"}, "ip.onlyisolatedpixels": {"title": "Only pixels whose label is unique in the neighbordhood will be processed. By default, 'ip.onlyisolatedpixels = false'.", "description": "Only pixels whose label is unique in the neighbordhood will be processed. By default, 'ip.onlyisolatedpixels = false'.", "schema": {"type": "boolean", "default": false}, "id": "ip.onlyisolatedpixels"}, "ip.isolatedthreshold": {"title": "Maximum number of neighbours with the same label as the center pixel to consider that it is an isolated pixel. By default, 'ip.isolatedthreshold = 1'.", "description": "Maximum number of neighbours with the same label as the center pixel to consider that it is an isolated pixel. By default, 'ip.isolatedthreshold = 1'.", "schema": {"type": "integer", "default": 1}, "id": "ip.isolatedthreshold"}, "ram": {"title": "Available memory for processing (in MB)", "description": "Available memory for processing (in MB)", "schema": {"type": "integer", "default": 128, "nullable": true}, "id": "ram"}}, "outputs": {"io.out": {"title": "The output regularized labeled image.", "description": "The output regularized labeled image.", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["image/tiff", "image/jpeg", "image/png"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/jpeg"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}}}]}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/jpeg"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}, "id": "io.out"}}}

http://demo.mapmint.com/ogc-apihttp://localhost/ogc-api/processes/OTB.ClassificationMapRegularization.html
Last modified: Sat Feb 19 15:43:34 CET 2022