rgb2ihs

[ XITE Reference Manual | XITE home ]

Name

rgb2ihs - Convert from RGB to IHS

Syntax

 rgb2ihs <inimage> <outimage>

Description

inimage must be an 3 band image. Assume band 1 as red, band 2 as green and band 3 as blue. For each pixel convert (r, g, b) to (i, h, s).

Author

Otto Milvang

See also

rgb2ihs_img(3), ihs2rgb(1), ihs2rgb_img(3), ihs(3)

Id

$Id: rgb2ihs.c,v 1.21 1996/11/08 14:04:22 svein Exp $