OTB.LSMSSmallRegionsMerging: This application performs the third (optional) step of the exact Large-Scale Mean-Shift segmentation workflow [1].

Given a segmentation result (can be the out output parameter of the LSMSSegmentation application [2]) and the original image, it will merge segments whose size in pixels is lower than minsize parameter with the adjacent segments with the adjacent segment with closest radiometry and acceptable size.Small segments will be processed by increasing size: first all segments for which area is equal to 1 pixel will be merged with adjacent segments, then all segments of area equal to 2 pixels will be processed, until segments of area minsize. For large images one can use the tilesizex and tilesizey parameters for tile-wise processing, with the guarantees of identical results.The output of this application can be passed to the LSMSVectorization application [3] to complete the LSMS workflow.

Inputs

The input image, containing initial spectral signatures corresponding to the segmented image (inseg).

format
href
Please set a value for in.

Segmented image where each pixel value is the unique integer label of the segment it belongs to.

format
href
Please set a value for inseg.

The output image. The output image is the segmented image where the minimal segments have been merged. An ecoding of uint32 is advised.

string
Please set a value for out.

Minimum Segment Size. If, after the segmentation, a segment is of size lower than this criterion, the segment is merged with the segment that has the closest sepctral signature.

integer

Size of tiles along the X-axis for tile-wise processing.

integer
Please set a value for tilesizex.

Size of tiles along the Y-axis for tile-wise processing.

integer
Please set a value for tilesizey.

Available memory for processing (in MB)

integer

Outputs

The output image. The output image is the segmented image where the minimal segments have been merged. An ecoding of uint32 is advised.

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.LSMSSmallRegionsMerging", "title": "This application performs the third (optional) step of the exact Large-Scale Mean-Shift segmentation workflow [1].", "description": "Given a segmentation result (can be the out output parameter of the LSMSSegmentation application [2]) and the original image, it will merge segments whose size in pixels is lower than minsize parameter with the adjacent segments with the adjacent segment with closest radiometry and acceptable size.Small segments will be processed by increasing size: first all segments for which area is equal to 1 pixel will be merged with adjacent segments, then all segments of area equal to 2 pixels will be processed, until segments of area minsize. For large images one can use the tilesizex and tilesizey parameters for tile-wise processing, with the guarantees of identical results.The output of this application can be passed to the LSMSVectorization application [3] to complete the LSMS workflow.", "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.LSMSSmallRegionsMerging/execution"}, {"rel": "alternate", "type": "text/html", "title": "Execute End Point", "href": "http://demo.mapmint.com/ogc-api/processes/OTB.LSMSSmallRegionsMerging/execution.html"}], "inputs": {"in": {"title": "The input image, containing initial spectral signatures corresponding to the segmented image (inseg).", "description": "The input image, containing initial spectral signatures corresponding to the segmented image (inseg).", "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": "in"}, "inseg": {"title": "Segmented image where each pixel value is the unique integer label of the segment it belongs to.", "description": "Segmented image where each pixel value is the unique integer label of the segment it belongs to.", "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": "inseg"}, "out": {"title": "The output image. The output image is the segmented image where the minimal segments have been merged. An ecoding of uint32 is advised.", "description": "The output image. The output image is the segmented image where the minimal segments have been merged. An ecoding of uint32 is advised.", "schema": {"type": "string", "default": "uint8", "enum": ["uint8", "uint16", "int16", "int32", "int32", "float", "double"]}, "id": "out"}, "minsize": {"title": "Minimum Segment Size. If, after the segmentation, a segment is of size lower than this criterion, the segment is merged with the segment that has the closest sepctral signature.", "description": "Minimum Segment Size. If, after the segmentation, a segment is of size lower than this criterion, the segment is merged with the segment that has the closest sepctral signature.", "schema": {"type": "integer", "default": 50, "nullable": true}, "id": "minsize"}, "tilesizex": {"title": "Size of tiles along the X-axis for tile-wise processing.", "description": "Size of tiles along the X-axis for tile-wise processing.", "schema": {"type": "integer", "default": 500}, "id": "tilesizex"}, "tilesizey": {"title": "Size of tiles along the Y-axis for tile-wise processing.", "description": "Size of tiles along the Y-axis for tile-wise processing.", "schema": {"type": "integer", "default": 500}, "id": "tilesizey"}, "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": {"out": {"title": "The output image. The output image is the segmented image where the minimal segments have been merged. An ecoding of uint32 is advised.", "description": "The output image. The output image is the segmented image where the minimal segments have been merged. An ecoding of uint32 is advised.", "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": "out"}}}

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