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.

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.suvbool.

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

integer
Please set a value for ip.undecidedlabel.

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.onlyisolatedpixels.

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://tb17.geolabs.fr:8111/ogc-api/processes/OTB.ClassificationMapRegularization/execution"}, {"rel": "alternate", "type": "text/html", "title": "Execute End Point", "href": "http://tb17.geolabs.fr:8111/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": "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.suvbool"}, "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": "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.onlyisolatedpixels"}, "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://tb17.geolabs.fr:8111/ogc-api/processes/OTB.ClassificationMapRegularization.html
Last modified: Sat Dec 4 00:09:36 CET 2021