OTB.SmallRegionsMerging: This application merges small regions of a segmentation result.
Given a segmentation result 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.
Execute End Point
View the execution endpoint of a process.
View the alternative version in HTML.
{"id": "OTB.SmallRegionsMerging", "title": "This application merges small regions of a segmentation result.", "description": "Given a segmentation result 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.", "version": "1.0.0", "jobControlOptions": ["sync-execute", "async-execute", "dismiss"], "outputTransmission": ["value", "reference"], "links": [{"rel": "execute", "type": "application/json", "title": "Execute End Point", "href": "http://tb17.geolabs.fr:8090/ogc-api/processes/OTB.SmallRegionsMerging/execution"}, {"rel": "alternate", "type": "text/html", "title": "Execute End Point", "href": "http://tb17.geolabs.fr:8090/ogc-api/processes/OTB.SmallRegionsMerging/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).", "maxOccurs": 1, "extentded-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.", "maxOccurs": 1, "extentded-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.", "description": "The output image. The output image is the segmented image where the minimal segments have been merged.", "maxOccurs": 1, "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 strictly 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 strictly lower than this criterion, the segment is merged with the segment that has the closest sepctral signature.", "maxOccurs": 1, "schema": {"type": "integer", "default": 50, "nullable": true}, "id": "minsize"}, "ram": {"title": "Available memory for processing (in MB).", "description": "Available memory for processing (in MB).", "maxOccurs": 1, "schema": {"type": "integer", "default": 256, "nullable": true}, "id": "ram"}}, "outputs": {"out": {"title": "The output image. The output image is the segmented image where the minimal segments have been merged.", "description": "The output image. The output image is the segmented image where the minimal segments have been merged.", "extentded-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://tb17.geolabs.fr:8090/ogc-api/processes/OTB.SmallRegionsMerging.html Last modified: Wed Jun 9 17:39:32 CEST 2021