Ernie wrote:
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.
goto thumbnail;
You also need to comment out the lines involving:
if (multi_out)
sprintf (ofname+strlen(ofname), "_%0*d",
snprintf(0,0,"%d",is_raw-1), shot_select);
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
http://www.delorie.com/djgpp/ , unpack them all into C:\DJGPP,
and do:
gcc -o dcraw.exe -O4 dcraw.c -lm -DNO_JPEG -DNO_LCMS "
Be sure to use the Zip Picker.