rgb.hsv.sh(1)	       Grass User's Manual	    rgb.hsv.sh(1)



NNAAMMEE
       rrggbb..hhssvv..sshh - Converts RGB (red, green, and blue) cell val-
       ues to HSV (hue, saturation, value) values.
       _(_G_R_A_S_S _S_h_e_l_l _S_c_r_i_p_t_)_"

SSYYNNOOPPSSIISS
       rrggbb..hhssvv..sshh _f_i_l_e_1 _f_i_l_e_2 _f_i_l_e_3

DDEESSCCRRIIPPTTIIOONN
       _r_g_b_._h_s_v_._s_h is a Bourne shell (sh(1))  program  which  con-
       verts  RGB  values  to HSV using _r_._m_a_p_c_a_l_c.  The Foley and
       Van Dam algorithm is the basis  for  the  program.   Input
       must  be  three raster files - each file supplying the RGB
       values.	Three new raster files are  created  representing
       HSV.

NNOOTTEESS
       Do not use the same names for input and output.

FFIILLEESS
       This  program  is  simply  a shell script stored under the
       $GISBASE/scripts directory.  The  user  is  encouraged  to
       examine	the shell script programs stored here and to pro-
       duce other such programs.

SSEEEE AALLSSOO
       _h_s_v_._r_g_b_._s_h

AAUUTTHHOORR
       James  Westervelt,   U.S.Army   Construction   Engineering
       Research Laboratory

       _L_a_s_t _c_h_a_n_g_e_d_: _$_D_a_t_e_: _2_0_0_2_/_0_1_/_2_5 _0_5_:_4_5_:_3_5 _$



GRASS 5.0					    rgb.hsv.sh(1)
