How do you get the greyscale values out of a colour image into a text file?

Posted by Michelle Peckham on
URL: http://confocal-microscopy-list.275.s1.nabble.com/remote-instrumentation-for-microscopic-imaging-tp2316409p2321807.html

How do you get the greyscale values out of a colour image into a text file? A little bit off the topic, but

Someone here was asking me about analysing a ‘RAW’ file for colour information, and the simplest way to do what she wants would be to extract the grey scale values out for the red, green and blue channels, and analyse them in a spread sheet.

Does anyone know how to do this?

Michelle