OTB.ManageNoData: Manage No-Data

This application has two modes. The first allows building a mask of no-data pixels from the no-data flags read from the image file. The second allows updating the change the no-data value of an image (pixels value and metadata). This last mode also allows replacing NaN in images with a proper no-data value. To do so, one should activate the NaN is no-data option.

Inputs

Input image

format
href
Please set a value for in.

Output image

string
Please set a value for out.

If active, the application will consider NaN as no-data values as well

boolean
Please set a value for usenan.

Allows choosing between different no-data handling options

string
Please set a value for mode.

Value given in the output mask to pixels that are not no data pixels

number
Please set a value for mode.buildmask.inv.

Value given in the output mask to pixels that are no data pixels

number
Please set a value for mode.buildmask.outv.

The new no-data value

number
Please set a value for mode.changevalue.newv.

Mask to be applied on input image (valid pixels have non null values)

format
href
Please set a value for mode.apply.mask.

No Data value used according to the mask image

number
Please set a value for mode.apply.ndval.

Available memory for processing (in MB)

integer

Outputs

Output image

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.ManageNoData", "title": "Manage No-Data", "description": "This application has two modes. The first allows building a mask of no-data pixels from the no-data flags read from the image file. The second allows updating the change the no-data value of an image (pixels value and metadata). This last mode also allows replacing NaN in images with a proper no-data value. To do so, one should activate the NaN is no-data option.", "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://tb17.geolabs.fr:8119/ogc-api/processes/OTB.ManageNoData/execution"}, {"rel": "alternate", "type": "text/html", "title": "Execute End Point", "href": "http://tb17.geolabs.fr:8119/ogc-api/processes/OTB.ManageNoData/execution.html"}], "inputs": {"in": {"title": "Input image", "description": "Input image", "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"}, "out": {"title": "Output image", "description": "Output image", "schema": {"type": "string", "default": "float", "enum": ["uint8", "uint16", "int16", "int32", "int32", "float", "double"]}, "id": "out"}, "usenan": {"title": "If active, the application will consider NaN as no-data values as well", "description": "If active, the application will consider NaN as no-data values as well", "schema": {"type": "boolean", "default": false}, "id": "usenan"}, "mode": {"title": "Allows choosing between different no-data handling options", "description": "Allows choosing between different no-data handling options", "schema": {"type": "string", "default": "buildmask", "enum": ["buildmask", "changevalue", "apply"]}, "id": "mode"}, "mode.buildmask.inv": {"title": "Value given in the output mask to pixels that are not no data pixels", "description": "Value given in the output mask to pixels that are not no data pixels", "schema": {"type": "number", "default": 1, "format": "double"}, "id": "mode.buildmask.inv"}, "mode.buildmask.outv": {"title": "Value given in the output mask to pixels that are no data pixels", "description": "Value given in the output mask to pixels that are no data pixels", "schema": {"type": "number", "default": 0, "format": "double"}, "id": "mode.buildmask.outv"}, "mode.changevalue.newv": {"title": "The new no-data value", "description": "The new no-data value", "schema": {"type": "number", "default": 0, "format": "double"}, "id": "mode.changevalue.newv"}, "mode.apply.mask": {"title": "Mask to be applied on input image (valid pixels have non null values)", "description": "Mask to be applied on input image (valid pixels have non null values)", "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": "mode.apply.mask"}, "mode.apply.ndval": {"title": "No Data value used according to the mask image", "description": "No Data value used according to the mask image", "schema": {"type": "number", "default": 0, "format": "double"}, "id": "mode.apply.ndval"}, "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": "Output image", "description": "Output image", "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://tb17.geolabs.fr:8119/ogc-api/processes/OTB.ManageNoData.html
Last modified: Sat Feb 19 15:43:34 CET 2022