Re: [R-sig-Geo] RGB Image Plotting!

2008-02-25 Thread Greg Snow
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > PUJAN RAJ REGMI > Sent: Monday, February 25, 2008 5:26 AM > To: r-sig-geo@stat.math.ethz.ch > Subject: [R-sig-Geo] RGB Image Plotting! > > Dear Madam/ Sir > I am New user

Re: [R-sig-Geo] RGB Image Plotting!

2008-02-25 Thread Tomislav Hengl
If you import the bands/images as integers [0-255], then you can visualize them using e.g.: library(colorspace) library(rgdal) vismaps = readGDAL("band_R.tif") vismaps$red = vismaps$band1 vismaps$green = readGDAL("band_G.tif")$band1 vismaps$blue = readGDAL("band_B.tif")$band1 # Display as a RGB

Re: [R-sig-Geo] RGB Image Plotting!

2008-02-25 Thread Roger Bivand
On Mon, 25 Feb 2008, PUJAN RAJ REGMI wrote: Dear Madam/ Sir I am New user of R. I am looking for the way to plot true color image from matrix data of of order (m,n,3) as in MAT LAB where 3 represent the three column matrix where red, green and blue values of pixels are stored. I hope you under

[R-sig-Geo] RGB Image Plotting!

2008-02-25 Thread PUJAN RAJ REGMI
Dear Madam/ Sir I am New user of R. I am looking for the way to plot true color image from matrix data of of order (m,n,3) as in MAT LAB where 3 represent the three column matrix where red, green and blue values of pixels are stored. I hope you understand my question. Looking for your help for