ColorspaceConversion

AllSource 1.3    |

Resumen

Converts the color model of a three-band unsigned 8-bit image from the hue, saturation, and value (HSV) to red, green, and blue (RGB) or vice versa.

Debate

For more information about how this function works, see the Color Model Conversion raster function.

The referenced raster dataset for the raster object is temporary. To make it permanent, you can call the raster object's save method.

Sintaxis

ColorspaceConversion (raster, {conversion_type})
ParámetroExplicaciónTipo de datos
raster

An unsigned 8-bit pixel type input raster.

Raster
conversion_type

The color conversion type to perform.

  • rgb_to_hsvRGB to HSV
  • hsv_to_rgbHSV to RGB

(El valor predeterminado es rgb_to_hsv)

String
Valor de retorno
Tipo de datosExplicación
Raster

The output raster.


En este tema