[R] method to return rgb values from pixels of an image

Duncan Murdoch murdoch at stats.uwo.ca
Fri Nov 7 14:41:17 CET 2008


On 11/7/2008 3:24 AM, Hans-Joachim Klemmt wrote:
> hello,
> 
> i am looking for a method to return rgb-values of predifined pixels of 
> jpg images.
> 
> can anybody help me?


See the rimage package, with function read.jpeg.  It will read the whole 
file into a large array, with separate red, green, blue entries.

Duncan Murdoch



More information about the R-help mailing list