ImageTools - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : Image Processing : ImageTools Package : ImageTools/HSVtoRGB

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,c→c,'fit':

img_sCreate100,200,r,c→evalfsin0.0025r2+c2,'fit':

img_vCreate100,200,r,c→r,'fit':

img_hsvCombineLayersimg_h,img_s,img_v

img_hsv 1..100 x 1..200 x 1..3 ArrayData Type: float8Storage: rectangularOrder: C_order

(5.1)

img_rgbHSVtoRGBimg_hsv

img_rgb 1..100 x 1..200 x 1..3 ArrayData Type: float8Storage: rectangularOrder: C_order

(5.2)

img_rGetLayerimg_rgb,1

img_r 1..100 x 1..200 ArrayData Type: float8Storage: rectangularOrder: C_order

(5.3)

img_gGetLayerimg_rgb,2

img_g 1..100 x 1..200 ArrayData Type: float8Storage: rectangularOrder: C_order

(5.4)

img_bGetLayerimg_rgb,3

img_b 1..100 x 1..200 ArrayData Type: float8Storage: rectangularOrder: C_order

(5.5)

EmbedFitIntensityimg_h,img_s,img_v

Embedimg_rgb

Embedimg_r,img_g,img_b

See Also

ImageTools

ImageTools[RGBtoHSV]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam