SAGA.imagery_opencv.4: Stereo Match (OpenCV)

References:<br/>OpenCV - Open Source Computer Vision<br/><a target="_blank" href="http://opencv.org">http://opencv.org</a>

Inputs

Left Image

format
href
Please set a value for LEFT.

Right Image

format
href
Please set a value for RIGHT.

Algorithm

string

Minimum possible disparity value. Normally, it is zero but sometimes rectification algorithms can shift images, so this parameter needs to be adjusted accordingly.

integer

Maximum disparity minus minimum disparity. The value is always greater than zero.

integer

The linear size of the blocks compared by the algorithm. Larger block size implies smoother, though less accurate disparity map. Smaller block size gives more detailed disparity map, but there is higher chance for algorithm to find a wrong correspondence.

integer

Maximum allowed difference (in integer pixel units) in the left-right disparity check. Set it to a non-positive value to disable the check.

integer

Margin in percentage by which the best (minimum) computed cost function value should "win" the second best value to consider the found match correct. Normally, a value within the 5-15 range is good enough.

integer

Maximum size of smooth disparity regions to consider their noise speckles and invalidate. Set it to 0 to disable speckle filtering. Otherwise, set it somewhere in the 50-200 range.

integer

Maximum disparity variation within each connected component. If you do speckle filtering, set the parameter to a positive value, it will be implicitly multiplied by 16. Normally, 1 or 2 is good enough.

integer

Texture Threshold

integer

Truncation value for the prefiltered image pixels.

integer

Mode

string

The larger the value, the smoother the disparity. Parameter 1 is the penalty on the disparity change by plus or minus 1 between neighbor pixels. The algorithm requires Parameter 2 > Parameter 1.

integer

The larger the value, the smoother the disparity. Parameter 2 is the penalty on the disparity change by more than 1 between neighbor pixels. The algorithm requires Parameter 2 > Parameter 1.

integer

Truncation value for the prefiltered image pixels. The algorithm first computes x-derivative at each pixel and clips its value by [-preFilterCap, preFilterCap] interval. The result values are passed to the Birchfield-Tomasi pixel cost function.

integer

Outputs

Disparity Image

format
transmission

Points

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": "SAGA.imagery_opencv.4", "title": "Stereo Match (OpenCV)", "description": "References:<br/>OpenCV - Open Source Computer Vision<br/><a target=\"_blank\" href=\"http://opencv.org\">http://opencv.org</a>", "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/SAGA.imagery_opencv.4/execution"}, {"rel": "alternate", "type": "text/html", "title": "Execute End Point", "href": "http://demo.mapmint.com/ogc-api/processes/SAGA.imagery_opencv.4/execution.html"}], "inputs": {"LEFT": {"title": "Left Image", "description": "Left Image", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["image/tiff", "application/x-ogc-envi", "application/x-ogc-aaigrid", "image/png"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-envi"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-aaigrid"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}}}]}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-envi"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-aaigrid"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}, "id": "LEFT"}, "RIGHT": {"title": "Right Image", "description": "Right Image", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["image/tiff", "application/x-ogc-envi", "application/x-ogc-aaigrid", "image/png"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-envi"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-aaigrid"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}}}]}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-envi"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-aaigrid"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}, "id": "RIGHT"}, "ALGORITHM": {"title": "Algorithm", "description": "Algorithm", "schema": {"type": "string", "default": "Block Matching", "enum": ["Block Matching", "Modified Hirschmuller"], "nullable": true}, "id": "ALGORITHM"}, "DISP_MIN": {"title": "Minimum Disparity", "description": "Minimum possible disparity value. Normally, it is zero but sometimes rectification algorithms can shift images, so this parameter needs to be adjusted accordingly.", "schema": {"type": "integer", "default": 0, "nullable": true}, "id": "DISP_MIN"}, "DISP_NUM": {"title": "Number of Disparities", "description": "Maximum disparity minus minimum disparity. The value is always greater than zero.", "schema": {"type": "integer", "default": 1, "nullable": true}, "id": "DISP_NUM"}, "BLOCKSIZE": {"title": "Block Size", "description": "The linear size of the blocks compared by the algorithm. Larger block size implies smoother, though less accurate disparity map. Smaller block size gives more detailed disparity map, but there is higher chance for algorithm to find a wrong correspondence.", "schema": {"type": "integer", "default": 4, "nullable": true}, "id": "BLOCKSIZE"}, "DIFF_MAX": {"title": "Maximum Disparity Difference", "description": "Maximum allowed difference (in integer pixel units) in the left-right disparity check. Set it to a non-positive value to disable the check.", "schema": {"type": "integer", "default": 1, "nullable": true}, "id": "DIFF_MAX"}, "UNIQUENESS": {"title": "Uniqueness Ratio", "description": "Margin in percentage by which the best (minimum) computed cost function value should \"win\" the second best value to consider the found match correct. Normally, a value within the 5-15 range is good enough.", "schema": {"type": "integer", "default": 15, "nullable": true}, "id": "UNIQUENESS"}, "SPECKLE_SIZE": {"title": "Speckle Window Size", "description": "Maximum size of smooth disparity regions to consider their noise speckles and invalidate. Set it to 0 to disable speckle filtering. Otherwise, set it somewhere in the 50-200 range.", "schema": {"type": "integer", "default": 100, "nullable": true}, "id": "SPECKLE_SIZE"}, "SPECKLE_RANGE": {"title": "Speckle Range", "description": "Maximum disparity variation within each connected component. If you do speckle filtering, set the parameter to a positive value, it will be implicitly multiplied by 16. Normally, 1 or 2 is good enough.", "schema": {"type": "integer", "default": 2, "nullable": true}, "id": "SPECKLE_RANGE"}, "BM_TEXTURE": {"title": "Texture Threshold", "description": "Texture Threshold", "schema": {"type": "integer", "default": 31, "nullable": true}, "id": "BM_TEXTURE"}, "BM_FILTER_CAP": {"title": "Prefilter Truncation Value", "description": "Truncation value for the prefiltered image pixels.", "schema": {"type": "integer", "default": 31, "nullable": true}, "id": "BM_FILTER_CAP"}, "SGBM_MODE": {"title": "Mode", "description": "Mode", "schema": {"type": "string", "default": "Semi-Global Block Matching", "enum": ["Semi-Global Block Matching", "HH", "SGBM 3 Way"], "nullable": true}, "id": "SGBM_MODE"}, "SGBM_P1": {"title": "Disparity Smoothness Parameter 1", "description": "The larger the value, the smoother the disparity. Parameter 1 is the penalty on the disparity change by plus or minus 1 between neighbor pixels. The algorithm requires Parameter 2 > Parameter 1.", "schema": {"type": "integer", "default": 8, "nullable": true}, "id": "SGBM_P1"}, "SGBM_P2": {"title": "Disparity Smoothness Parameter 2", "description": "The larger the value, the smoother the disparity. Parameter 2 is the penalty on the disparity change by more than 1 between neighbor pixels. The algorithm requires Parameter 2 > Parameter 1.", "schema": {"type": "integer", "default": 32, "nullable": true}, "id": "SGBM_P2"}, "SGBM_FILTER_CAP": {"title": "Prefilter Truncation Value", "description": "Truncation value for the prefiltered image pixels. The algorithm first computes x-derivative at each pixel and clips its value by [-preFilterCap, preFilterCap] interval. The result values are passed to the Birchfield-Tomasi pixel cost function.", "schema": {"type": "integer", "default": 31, "nullable": true}, "id": "SGBM_FILTER_CAP"}}, "outputs": {"DISPARITY": {"title": "Disparity Image", "description": "Disparity Image", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["image/tiff", "application/x-ogc-envi", "application/x-ogc-aaigrid", "image/png"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-envi"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-aaigrid"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}}}]}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-envi"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-aaigrid"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}, "id": "DISPARITY"}, "POINTS": {"title": "Points", "description": "Points", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["application/x-ogc-lasf"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-lasf"}]}}}]}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-lasf"}]}, "id": "POINTS"}}}

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