OTB.ImageRegression: Performs a prediction of the input image according to a regression model file.

This application predict output values from an input image, based on a regression model file produced either by TrainVectorRegression or TrainImagesRegression. Pixels of the output image will contain the predicted values from the regression model (single band). The input pixels can be optionally centered and reduced according to the statistics file produced by the ComputeImagesStatistics application. An optional input mask can be provided, in which case only input image pixels whose corresponding mask value is greater than zero will be processed. The remaining of pixels will be given the value zero in the output image.

Inputs

The input image to predict.

format
href
Please set a value for in.

The mask restrict the classification of the input image to the area where mask pixel values are greater than zero.

format
href
Please set a value for mask.

A regression model file (produced either by TrainVectorRegression application or the TrainImagesRegression application).

format
href
Please set a value for model.

An XML file containing mean and standard deviation to center and reduce samples before prediction (produced by the ComputeImagesStatistics application). If this file contains one more band than the sample size, the last stat of the last band will beapplied to expand the output predicted value.

format
href
Please set a value for imstat.

Output image containing predicted values

string
Please set a value for out.

Available memory for processing (in MB).

integer

Outputs

Output image containing predicted values

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.ImageRegression", "title": "Performs a prediction of the input image according to a regression model file.", "description": "This application predict output values from an input image, based on a regression model file produced either by TrainVectorRegression or TrainImagesRegression. Pixels of the output image will contain the predicted values from the regression model (single band). The input pixels can be optionally centered and reduced according to the statistics file produced by the ComputeImagesStatistics application. An optional input mask can be provided, in which case only input image pixels whose corresponding mask value is greater than zero will be processed. The remaining of pixels will be given the value zero in the output image.", "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.ImageRegression/execution"}, {"rel": "alternate", "type": "text/html", "title": "Execute End Point", "href": "http://tb17.geolabs.fr:8090/ogc-api/processes/OTB.ImageRegression/execution.html"}], "inputs": {"in": {"title": "The input image to predict.", "description": "The input image to predict.", "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"}, "mask": {"title": "The mask restrict the classification of the input image to the area where mask pixel values are greater than zero.", "description": "The mask restrict the classification of the input image to the area where mask pixel values are greater than zero.", "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"}]}}}], "nullable": true}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/jpeg"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}, "id": "mask"}, "model": {"title": "A regression model file (produced either by TrainVectorRegression application or the TrainImagesRegression application).", "description": "A regression model file (produced either by TrainVectorRegression application or the TrainImagesRegression application).", "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": "model"}, "imstat": {"title": "An XML file containing mean and standard deviation to center and reduce samples before prediction (produced by the ComputeImagesStatistics application). If this file contains one more band than the sample size, the last stat of the last band will beapplied to expand the output predicted value.", "description": "An XML file containing mean and standard deviation to center and reduce samples before prediction (produced by the ComputeImagesStatistics application). If this file contains one more band than the sample size, the last stat of the last band will beapplied to expand the output predicted value.", "maxOccurs": 1, "extentded-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["text/xml"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/xml"}]}}}], "nullable": true}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/xml"}]}, "id": "imstat"}, "out": {"title": "Output image containing predicted values", "description": "Output image containing predicted values", "maxOccurs": 1, "schema": {"type": "string", "default": "float", "enum": ["uint8", "uint16", "int16", "int32", "int32", "float", "double"]}, "id": "out"}, "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": "Output image containing predicted values", "description": "Output image containing predicted values", "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.ImageRegression.html
Last modified: Wed Jun 9 17:39:32 CEST 2021