mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-06 00:05:02 -05:00
6 lines
2.3 KiB
HTML
6 lines
2.3 KiB
HTML
<html><head>
|
|
<style type="text/css">
|
|
dl { border: 3px double #ccc; padding: 0.5em; } dt { float: left; clear: left; text-align: left; font-weight: bold; color: green; } dt:after { content: ":"; } dd { margin: 0 0 0 220px; padding: 0 0 0.5em 0; }
|
|
</style>
|
|
</head><body><h1>Convert</h1><h2>Brief Description</h2>Convert an image to a different format, eventually rescaling the data and/or changing the pixel type.<h2>Tags</h2>Conversion,Image Dynamic,Image Manipulation<h2>Long Description</h2>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 convertion can include a rescale using the image 2 percent minimum and maximum values. The rescale can be linear or log2.<h2>Parameters</h2><ul><li><b>[param] -in</b> <string> Input image. Mandatory: True. Default Value: ""</li><li><b>[param] -mask</b> <string> The masked pixels won't be used to adapt the dynamic (the mask must have the same dimensions as the input image). Mandatory: False. Default Value: ""</li><li><b>[param] -hcp</b> <string> Parameters to cut the histogram edges before rescaling. Mandatory: True. Default Value: "0"</li><li><b>[param] -out</b> <string> Output image. Mandatory: True. Default Value: ""</li><li><b>[param] -ram</b> <int32> Available memory for processing (in MB). Mandatory: False. Default Value: "128"</li><b>[choice] -type</b> Transfer function for the rescaling none,linear,log2. Mandatory: True. Default Value: "none"<ul><li><b>[group] -none</b></li><ul></ul><li><b>[group] -linear</b></li><ul></ul><li><b>[group] -log2</b></li><ul></ul></ul></ul><h2>Limitations</h2>None<h2>Authors</h2>OTB-Team<h2>See Also</h2>Rescale<h2>Example of use</h2><ul><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">in: QB_Toulouse_Ortho_XS.tif</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">out: otbConvertWithScalingOutput.png uchar</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">type: linear</p></li></ul></body></html> |