[SOLVED] Donate a high quality raw image to science?

Discuss digital image processing techniques and algorithms. We encourage its application to ImageMagick but you can discuss any software solutions here.
NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Re: [SOLVED] Donate a high quality raw image to science?

Post by NicolasRobidoux »

henriwho: Do you think that the apartments image would look better if I clipped the histogram, bringing "up" the black point and moving "down" the white point? Or manipulated the colour histogram somehow?

I believe you mentioned that my processing was somewhat lacking in contrast, and I think I agree. Given that I am not an expert at raw conversion, it could be that I processed too conservatively.

P.S. I'm thinking of bringing the black point up to about 2885.

NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Re: [SOLVED] Donate a high quality raw image to science?

Post by NicolasRobidoux »

I actually think that the white point is just fine. And black point at 2585.

NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Re: [SOLVED] Donate a high quality raw image to science?

Post by NicolasRobidoux »

henriwho: I'm just going to do it: black point up to 3035 and up the contrast from 5 (default) to 8.

NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Re: [SOLVED] Donate a high quality raw image to science?

Post by NicolasRobidoux »

I think this last one was overdoing it. Maybe it looks better, but it is less "natural".

NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Re: [SOLVED] Donate a high quality raw image to science?

Post by NicolasRobidoux »

Henry: I decided to keep the one I had before trying to tweak.

henrywho
Posts: 188
Joined: 2011-08-17T06:46:40-07:00
Authentication code: 8675308

Re: [SOLVED] Donate a high quality raw image to science?

Post by henrywho »

Actually, the color of "apartment.tif" is a bit off, kinda green-cast there. What something like:

Code: Select all

LibRaw-0.14.6\bin\dcraw_emu.exe -w +M -H 2 -fbdd 1 -dcbe -q 10 -o 1 -g 1 1 -6 apartment.rw2

ImageMagick\convert.exe apartment.rw2.ppm -set colorspace sRGB -crop 2520x2520+530+1249 +repage -define filter:filter=Jinc -define filter:window=Jinc -define filter:lobes=3 -define filter:blur=0.9891028367558475 -distort resize 840x840! -alpha off +repage -gamma 2.2 -depth 16 -quality 95% apartment_jj3.png
Actually, I am not sure whether I am using the gamma operators correctly. What does dcraw's "-o 1 -g 1 1" mean? It is linear RGB or gamma-expanded sRGB?

NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Re: [SOLVED] Donate a high quality raw image to science?

Post by NicolasRobidoux »

henrywho wrote:Actually, the color of "apartment.tif" is a bit off, kinda green-cast there.
I noticed. I'll see if I can fix. (Quickly, because supercomputer runs hopefully start today.)

NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Re: [SOLVED] Donate a high quality raw image to science?

Post by NicolasRobidoux »

(deleted B/C wrong)

NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Re: [SOLVED] Donate a high quality raw image to science?

Post by NicolasRobidoux »

henrywho wrote:

Code: Select all

LibRaw-0.14.6\bin\dcraw_emu.exe -w +M -H 2 -fbdd 1 -dcbe -q 10 -o 1 -g 1 1 -6 apartment.rw2
This command, used in linux, gives me

Code: Select all

1: No such file or directory
-dcbe: No such file or directory
-q: No such file or directory
10: No such file or directory
-o: No such file or directory
1: No such file or directory
-g: No such file or directory
1: No such file or directory
1: No such file or directory
-6: No such file or directory

NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Re: [SOLVED] Donate a high quality raw image to science?

Post by NicolasRobidoux »

henriwho: Are you aware that the colour profile of the GX1 with dcraw was revised with dcraw 9.12?
P.S. Not sure that this is actually correct.
Last edited by NicolasRobidoux on 2012-06-03T08:12:08-07:00, edited 2 times in total.

NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Re: [SOLVED] Donate a high quality raw image to science?

Post by NicolasRobidoux »

henriwho: I think the green tinge is gone if I use

Code: Select all

dcraw -v -w -q 1 -f -H 2 -6 -o 1 -T P1030330.RW2
The result appears OK when imported with sRGB v2 Perceptual.

NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Re: [SOLVED] Donate a high quality raw image to science?

Post by NicolasRobidoux »

henriwho: Yours will be the only image downsampled with Jinc Lanczos.

NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Re: [SOLVED] Donate a high quality raw image to science?

Post by NicolasRobidoux »

henriwho: I'm replacing the apartments.tif image with the dcraw/Jinc Lanczos version.

I hope that you fell that it's better now. I do.

NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Re: [SOLVED] Donate a high quality raw image to science?

Post by NicolasRobidoux »

No: I can't have the 3-lobe sharpening artifacts. Reverting to Jinc Lanczos 2. (These images are primarily for numerical testing, not for viewing enjoyment.)

henrywho
Posts: 188
Joined: 2011-08-17T06:46:40-07:00
Authentication code: 8675308

Re: [SOLVED] Donate a high quality raw image to science?

Post by henrywho »

"-q 1" is VNG ... um....

http://www.libraw.org/articles/bayer-moire.html

Perhaps rawtherapee with LMMSE or AMaZE using "neutral" BW? It seems to have linux binary distributions.
Last edited by henrywho on 2012-06-04T06:16:57-07:00, edited 1 time in total.

Locked