OTB.CompareImages: Estimator between 2 images.

This application computes MSE (Mean Squared Error), MAE (Mean Absolute Error) and PSNR (Peak Signal to Noise Ratio) between the channel of two images (reference and measurement). The user has to set the used channel and can specify a ROI.

Inputs

Image used as reference in the comparison

format
href
Please set a value for ref.in.

Used channel for the reference image

integer
Please set a value for ref.channel.

Image used as measured in the comparison

format
href
Please set a value for meas.in.

Used channel for the measured image

integer
Please set a value for meas.channel.

ROI start x position.

integer
Please set a value for roi.startx.

ROI start y position.

integer
Please set a value for roi.starty.

Size along x in pixels.

integer
Please set a value for roi.sizex.

Size along y in pixels.

integer
Please set a value for roi.sizey.

Available memory for processing (in MB)

integer

Outputs

Mean Squared Error value

transmission

Mean Absolute Error value

transmission

Peak Signal to Noise Ratio value

transmission

Nb of pixels which are different

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.CompareImages", "title": "Estimator between 2 images.", "description": "This application computes MSE (Mean Squared Error), MAE (Mean Absolute Error) and PSNR (Peak Signal to Noise Ratio) between the channel of two images (reference and measurement). The user has to set the used channel and can specify a ROI.", "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.CompareImages/execution"}, {"rel": "alternate", "type": "text/html", "title": "Execute End Point", "href": "http://demo.mapmint.com/ogc-api/processes/OTB.CompareImages/execution.html"}], "inputs": {"ref.in": {"title": "Image used as reference in the comparison", "description": "Image used as reference in the comparison", "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": "ref.in"}, "ref.channel": {"title": "Used channel for the reference image", "description": "Used channel for the reference image", "schema": {"type": "integer", "default": 1}, "id": "ref.channel"}, "meas.in": {"title": "Image used as measured in the comparison", "description": "Image used as measured in the comparison", "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": "meas.in"}, "meas.channel": {"title": "Used channel for the measured image", "description": "Used channel for the measured image", "schema": {"type": "integer", "default": 1}, "id": "meas.channel"}, "roi.startx": {"title": "ROI start x position.", "description": "ROI start x position.", "schema": {"type": "integer", "default": 0}, "id": "roi.startx"}, "roi.starty": {"title": "ROI start y position.", "description": "ROI start y position.", "schema": {"type": "integer", "default": 0}, "id": "roi.starty"}, "roi.sizex": {"title": "Size along x in pixels.", "description": "Size along x in pixels.", "schema": {"type": "integer", "default": 0}, "id": "roi.sizex"}, "roi.sizey": {"title": "Size along y in pixels.", "description": "Size along y in pixels.", "schema": {"type": "integer", "default": 0}, "id": "roi.sizey"}, "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": {"mse": {"title": "Mean Squared Error value", "description": "Mean Squared Error value", "schema": {"type": "number"}, "id": "mse"}, "mae": {"title": "Mean Absolute Error value", "description": "Mean Absolute Error value", "schema": {"type": "number"}, "id": "mae"}, "psnr": {"title": "Peak Signal to Noise Ratio value", "description": "Peak Signal to Noise Ratio value", "schema": {"type": "number"}, "id": "psnr"}, "count": {"title": "Nb of pixels which are different", "description": "Nb of pixels which are different", "schema": {"type": "number"}, "id": "count"}}}

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