d.rgb(1)		      Grass User's Manual		      d.rgb(1)



NNAAMMEE
       dd..rrggbb  - Displays three user-specified raster map layers as red, green,
       and blue overlays in the active graphics frame.
       _(_G_R_A_S_S _D_i_s_p_l_a_y _P_r_o_g_r_a_m_)

SSYYNNOOPPSSIISS
       dd..rrggbb
       dd..rrggbb hheellpp
       dd..rrggbb [--oo] rreedd==_n_a_m_e ggrreeeenn==_n_a_m_e bblluuee==_n_a_m_e

DDEESSCCRRIIPPTTIIOONN
       _R_G_B stands for red, green, and blue.  This  program  visually  combines
       three raster map layers to form a color image. For each layer, the cor-
       responding component from the layer's color table is used (e.g. for the
       red  layer, the red component is used, and so on). In general, the lay-
       ers should use a grey-scale color table.

OOPPTTIIOONNSS
   FFllaaggss::
       --oo     Overlay the resulting raster map layer onto whatever is  already
	      displayed in the active graphics frame. Any no-data areas in any
	      of the named raster maps will seem transparent, and  reveal  the
	      underlying  image previously displayed in the graphics frame. If
	      the --oo flag is set, only cells containing non-null  values  will
	      be  displayed  from  the	_o_v_e_r_l_a_i_d  raster  map. All other areas
	      (i.e., the portions of the overlaid map that contain  null  val-
	      ues) will leave the underlying display untouched.


   PPaarraammeetteerrss::
       rreedd==_n_a_m_e
	      Name of raster map layer to be used for RED component.

       ggrreeeenn==_n_a_m_e
	      Name of raster map layer to be used for GREEN component.

       bblluuee==_n_a_m_e
	      Name of raster map layer to be used for BLUE component.


NNOOTTEESS
       This  is  a  new version of dd..rrggbb, which sends the data to the graphics
       monitor in true-color RGB format.  Unlike the previous version, it does
       not  attempt to quantize the combined image into a fixed number of col-
       ors.  Nor does it have an option to generate a  composite  layer.   The
       image  and  raster map layers will not display properly if the graphics
       device does not have a reasonable sampling of the RGB color-space.


       If the color quality of a satellite image color composite appears poor,
       run _r_._c_o_l_o_r_s on the selected satellite channels.


       Example: rr..iinnffoo --rr _i_m_a_g_e_._1

       min=0

       max=255

       rr..ccoolloorrss mmaapp==_i_m_a_g_e_._1 ccoolloorr==_r_u_l_e_s << EOF

       0 black

       255 white

       EOF

       rr..ccoolloorrss mmaapp==_i_m_a_g_e_._2 rraasstt==_i_m_a_g_e_._1 rr..ccoolloorrss mmaapp==_i_m_a_g_e_._3 rraasstt==_i_m_a_g_e_._1

       _N_o_t_e_: _F_u_t_u_r_e _G_R_A_S_S _v_e_r_s_i_o_n_s _m_a_y _d_o _t_h_i_s _f_o_r _y_o_u _a_u_t_o_m_a_t_i_c_a_l_l_y_.


       To  write out the color composite to a R/G/B raster maps, use _r_._c_o_m_p_o_s_-
       _i_t_e (three maps) or _i_._c_o_m_p_o_s_i_t_e (single composite map).

SSEEEE AALLSSOO
       _b_l_e_n_d_._s_h

       _d_._c_o_l_o_r_m_o_d_e

       _d_._c_o_l_o_r_s

       _d_._c_o_l_o_r_t_a_b_l_e

       _d_._h_i_s

       _h_s_v_._r_g_b_._s_h

       _r_._m_a_p_c_a_l_c

       _r_g_b_._h_s_v_._s_h

       _i_._c_o_m_p_o_s_i_t_e

       _r_._c_o_l_o_r_s

       _r_._c_o_m_p_o_s_i_t_e

AAUUTTHHOORR
       Glynn Clements

       _L_a_s_t _c_h_a_n_g_e_d_: _$_D_a_t_e_: _2_0_0_3_/_0_8_/_2_5 _0_7_:_4_9_:_3_0 _$



GRASS 5.0							      d.rgb(1)
