PANDORE Version 6 GREYC-IMAGE

phsi2rgb



Converts HSI color image to RGB color image.



Synopsis

phsi2rgb [-m mask] [im_in|-] [im_out|-]

Description

phsi2rgb converts color image from the color space HSI (Hue, Saturation, Intensity) to the color space RGB (Red, Green, Blue).

A hue refers to the gradation of color within the visible spectrum, or optical spectrum, of light. It is expressed in degree unit [0..360].

Saturation or purity is the intensity of a specific hue: a highly saturated hue has a vivid, intense color, while a less saturated hue appears more muted and gray. With no saturation at all, the hue becomes a shade of gray. It is expressed as percentage [0..100].

Intensity is the amount of light in a color. It is expressed in gray level unit [0..255].

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Converts parrot.pan from rgb to hsi and conversely:

   prgb2hsi parrot.pan a.pan
   phsi2rgb a.pan b.pan

See also

Color, prgb2hsi

C++ prototype

Errc PHSI2RGB( const Imc2dsf &im_in, Imc2dsf &im_out );

Author: Régis Clouard