[R] Image RGB calculation

Tobias Verbeke tobias.verbeke at openanalytics.eu
Fri Apr 16 16:46:18 CEST 2010

Hi Ole,

ole_roessler wrote:

> I need to read an image (mostly jpg) and split the channel of this image to
> an colour channel calculation like this:
> sqrt(R²+G²+B²)
> Do you have an idea what package I need to use for it, and is it possible?

For general image processing capabilities within R,
I would recommend the EBImage package which you can
find on the BioConductor repositories.

Hope this helps,

More information about the R-help mailing list