From: Christopher on
"Jack Branning" <jbr.nospam(a)nospam.com> wrote in message <i0ak93$480$1(a)fred.mathworks.com>...
> Hello,
>
> Does anyone know how I can open a RAW image (preferably .RWL taken from a Leica camera) such that I can see the data straight from the sensor before color interpolation? For example, for pixel 1,1 I expect to see a value representing the Green, but a zero for Red and Blue...
>
> Any help would be greatly appreciated.
>
> Thanks!

How is a .RWL file formatted? As far as I know, conventional methods such as imread() are not compatible with RAW image files. As a result you will just have to read in the content using a simple fread() (or a more suitable one depending on the formatting of the .RWL file) and then arrange the values accordingly...