HSVtoRGB - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


ImageTools

  

HSVtoRGB

  

convert HSV color image to RGB color image

 

Calling Sequence

Parameters

Options

Description

Examples

Calling Sequence

HSVtoRGB(img, opts)

Parameters

img

-

Image; input image

opts

-

(optional) equation(s) of the form option = value; specify options for the HSVtoRGB command

Options

• 

inplace = truefalse

  

Specifies whether the operation is performed in-place. This can be used to avoid allocating memory. The default is false.

• 

output = Image

  

Specifies a data structure into which the output is written. This can be used to avoid allocating memory. The size and number of layers must match that of the input. The dimensions of the output image are adjusted so that the row and column indices match the input. The default is NULL.

Description

• 

The HSVtoRGB command converts a color image with an HSV color representation to an RGB color representation.

• 

The img parameter is the input image and must be of type ColorImage or ColorAImage.

Examples

withImageTools:

img_h360Create100,200,r,cc,fit:

img_sCreate100,200,r,cevalfsin0.0025c2+r2,fit:

img_vCreate100,200,r,cr,fit:

img_hsvCombineLayersimg_h,img_s,img_v

img_rgbHSVtoRGBimg_hsv

img_rGetLayerimg_rgb,1

img_gGetLayerimg_rgb,2

img_bGetLayerimg_rgb,3

EmbedFitIntensityimg_h,img_s,img_v

Embedimg_rgb

Embedimg_r,img_g,img_b

See Also

ImageTools

ImageTools[RGBtoHSV]