PDA

View Full Version : need help with dcraw.c and a 300D


foxbat
24th of January 2005 (Mon), 14:51
Can anyone help me convert my RAW images using dcraw.c? Whatever settings I try I get images that are way too red and a bit dark. e.g. dcraw.c gives me this:

http://www.aprd31.dsl.pipex.com/red.jpg

which is wrong because the colours should look like this (from the canon conversion utility):

http://www.aprd31.dsl.pipex.com/pink.jpg

I've tried saving using "Parameters1" and "Adobe RGB" and it doesn't make any difference. Any advice is appreciated!

Dante King
24th of January 2005 (Mon), 21:42
do not know what program dcraw.c is. sorry. I use dpp form canon and photoshop cs.

foxbat
25th of January 2005 (Tue), 02:47
It's a freeware command-line based program for converting RAW files. Arguably it gives better results than the bundled Canon software. You can see from my pictures that the Canon software has overexposed the detail in the light parts of the background out of existence whereas dcraw has kept it but got the colour levels wrong :-(

(Sample is my first test shot with the 105mm Sigma DG EX Macro. A very nice lens.)

jylitalo
25th of January 2005 (Tue), 03:14
Can anyone help me convert my RAW images using dcraw.c? Whatever settings I try I get images that are way too red and a bit dark. e.g. dcraw.c gives me this:


I don't know, what platform you are using, but if you are trying to use dcraw in Linux, I would recommend that you check rawphoto and UFraw, which are GIMP plugins that use dcraw for actual conversion. Those plugins made dcraw almost usable.
I personally ended up with Bibble Pro (even though Bibble Lite would have been more than sufficient for my needs, www.bibblelabs.com), since it seemed to be only one, that was able to give me EV corrections, curves (levels would have been nicer, but ...) etc. in such fashion that they were easy to use.

foxbat
25th of January 2005 (Tue), 04:08
Thanks for the tips. I'm an experienced developer who's just as happy programming Linux as I am programming Windows though I do prefer Windows for photo manipulation. If the tools that you mention are open source then I'll port the core functionality to Windows.

In my spare time I'm working on a free tool for Windows that will do mass conversion of RAW to JPEG2000 using dcraw and JasPer for the underlying conversions. To say I was disappointed with the bundled Canon tools would be a huge understatement.

maderito
25th of January 2005 (Tue), 05:03
foxbat -
Perhaps you could re-state your question so that others can participate in this thread.

How did you convert from the dcraw.c linear conversion output to your final result?

Which Canon conversion program did you use - and what conversion settings?

In the images you posted, the dcraw.c result has a blown red channel and the Canon processed image is blown in all 3 channels. Is the image properly exposed?

It's not obvious that the Canon result is "correct." In fact, the dcraw.c result looks much more usable. It just needs the usual post-processing tweaks - levels and gamma correction, curves, saturation, etc.

jylitalo
25th of January 2005 (Tue), 06:54
If the tools that you mention are open source then I'll port the core functionality to Windows.

rawphoto and UFraw are OpenSource software.
http://ptj.rozeta.com.pl/Soft/RawPhoto for rawphoto and
http://ufraw.sourceforge.net/ for UFRaw.

zeus
7th of April 2006 (Fri), 07:43
Whatever settings I try I get images that are way too red and a bit dark. e.g. dcraw.c gives me this:
...
Any advice is appreciated!

i run this:

dcraw -4 -t 0 -w -q 3 -b 1.9 -v -c CRW_FILE.CRW |
pnmgamma -cieramp 1.9 |
pnmnorm -bpercent 0 -wpercent 0.1 |
pnmtojpeg -quality=95 -progressive -optimize > CRW_FILE.JPG

in dcraw i use -q 3 in general, but in some cases (i do not know really when and why) -q 2 works drammaticaly better than default 3 denoising

-b 1.9 i have found correct for myself experimentally, the same for netpbm tools options