Re: [R] Image Enhancing in R

2011-10-06 Thread Ranjan Maitra
I am not really sure what you mean, but perhaps you want to convert the image into RGB mode, and zero out the other two (GB) vectors? Look up ?rgb and allied functions: may help. Ranjan On Thu, 6 Oct 2011 18:58:19 -0500 Lorenzo Isella wrote: > Dear All, > I am not sure that R is exactly the r

[R] Image Enhancing in R

2011-10-06 Thread Lorenzo Isella
Dear All, I am not sure that R is exactly the right tool for doing what I have in mind, but a look at EBImage and rimage convinced me that this should be doable with R. I have a color image and I would like to do the following: convert the image into a grayscale image retaining only the red col