May I ask how you got the image with the Bayer mosaic?
Yes, I used dcraw to output the undemosaiced image.
You'll need to do some modification to extract a color version, though dcraw natively outputs a greyscale version:
Search for pre_interpolate();
and insert after that line.
You also need to comment out the lines involving:
sprintf (ofname+strlen(ofname), "_%0*d",
Dave Coffin the author of dcraw suggests the following reference for a compiler, run in a CMD windows on XP:
"You need to download the appropriate ZIP files from
, unpack them all into C:\DJGPP,
gcc -o dcraw.exe -O4 dcraw.c -lm -DNO_JPEG -DNO_LCMS "
Be sure to use the Zip Picker.