OTB.DynamicConvert: Change the pixel type and rescale the image's dynamic
This application performs an image pixel type conversion (short, ushort, uchar, int, uint, float and double types are handled). The output image is written in the specified format (ie. that corresponds to the given extension). The conversion can include a rescale of the data range, by default it's set between the 2nd to the 98th percentile. The rescale can be linear or log2. The choice of the output channels can be done with the extended filename, but less easy to handle. To do this, a 'channels' parameter allows you to select the desired bands at the output. There are 3 modes, the available choices are: * grayscale : to display mono image as standard color image * rgb : select 3 bands in the input image (multi-bands) * all : keep all bands.
Execute End Point
View the execution endpoint of a process.
View the alternative version in HTML.
{"id": "OTB.DynamicConvert", "title": "Change the pixel type and rescale the image's dynamic", "description": "This application performs an image pixel type conversion (short, ushort, uchar, int, uint, float and double types are handled). The output image is written in the specified format (ie. that corresponds to the given extension). The conversion can include a rescale of the data range, by default it's set between the 2nd to the 98th percentile. The rescale can be linear or log2. The choice of the output channels can be done with the extended filename, but less easy to handle. To do this, a 'channels' parameter allows you to select the desired bands at the output. There are 3 modes, the available choices are: * grayscale : to display mono image as standard color image * rgb : select 3 bands in the input image (multi-bands) * all : keep all bands.", "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.DynamicConvert/execution"}, {"rel": "alternate", "type": "text/html", "title": "Execute End Point", "href": "http://demo.mapmint.com/ogc-api/processes/OTB.DynamicConvert/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": "uint8", "enum": ["uint8", "uint16", "int16", "int32", "int32", "float", "double"]}, "id": "out"}, "type": {"title": "Transfer function for the rescaling", "description": "Transfer function for the rescaling", "schema": {"type": "string", "default": "linear", "enum": ["linear", "log2"]}, "id": "type"}, "type.linear.gamma": {"title": "Gamma correction factor", "description": "Gamma correction factor", "schema": {"type": "number", "default": 1, "format": "double", "nullable": true}, "id": "type.linear.gamma"}, "mask": {"title": "Optional mask to indicate which pixels are valid for computing the histogram quantiles. Pixels where the mask is zero will not contribute to the histogram. The mask must have the same dimensions as the input image.", "description": "Optional mask to indicate which pixels are valid for computing the histogram quantiles. Pixels where the mask is zero will not contribute to the histogram. The mask must have the same dimensions as the 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"}]}}}], "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"}, "quantile.high": {"title": "Quantiles to cut from histogram high values before computing min/max rescaling (in percent, 2 by default)", "description": "Quantiles to cut from histogram high values before computing min/max rescaling (in percent, 2 by default)", "schema": {"type": "number", "default": 2, "format": "double", "nullable": true}, "id": "quantile.high"}, "quantile.low": {"title": "Quantiles to cut from histogram low values before computing min/max rescaling (in percent, 2 by default)", "description": "Quantiles to cut from histogram low values before computing min/max rescaling (in percent, 2 by default)", "schema": {"type": "number", "default": 2, "format": "double", "nullable": true}, "id": "quantile.low"}, "channels": {"title": "It's possible to select the channels of the output image. There are 3 modes, the available choices are:", "description": "It's possible to select the channels of the output image. There are 3 modes, the available choices are:", "schema": {"type": "string", "default": "all", "enum": ["all", "grayscale", "rgb"]}, "id": "channels"}, "channels.grayscale.channel": {"title": "channels.grayscale.channel", "description": "channels.grayscale.channel", "schema": {"type": "integer", "default": 1}, "id": "channels.grayscale.channel"}, "channels.rgb.red": {"title": "Red channel index.", "description": "Red channel index.", "schema": {"type": "integer"}, "id": "channels.rgb.red"}, "channels.rgb.green": {"title": "Green channel index.", "description": "Green channel index.", "schema": {"type": "integer"}, "id": "channels.rgb.green"}, "channels.rgb.blue": {"title": "Blue channel index.", "description": "Blue channel index.", "schema": {"type": "integer"}, "id": "channels.rgb.blue"}, "outmin": {"title": "Minimum value of the output image.", "description": "Minimum value of the output image.", "schema": {"type": "number", "default": 0, "format": "double", "nullable": true}, "id": "outmin"}, "outmax": {"title": "Maximum value of the output image.", "description": "Maximum value of the output image.", "schema": {"type": "number", "default": 255, "format": "double", "nullable": true}, "id": "outmax"}, "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"}}}
Display original data as JSON
http://demo.mapmint.com/ogc-apihttp://localhost/ogc-api/processes/OTB.DynamicConvert.html
Last modified: Sat Feb 19 15:43:34 CET 2022