I created a camera profile using HDRShop. I took a series of 20 exposures at 1/3 stop increments of a couple of grey cards (one in sunlight, one in shadow) and a colorchecker (CC) passport in sunlight saving out the resulting curve. Note: the curve is created by sampling the whole values on the whole image and not just the colour checker or any specified area.
My source image were processed in dcraw using the following:
-v -H 0 -o 0 -w -M -q 3 -W -g 1 0 -6 -T
My in camera white balance was set to 6500k and I outputted RAW colour.
As a comparison I loaded one of my tiffs into HDRShop with a linear curve, and the same tiff again using the camera profile.
Visually the profiled one looked as if the blacks had been lifted.
Image from dcraw (converted in Nuke to sRGB for viewing purposes):
Same image loaded with profile:
The profiled one looks a little fishy to me so I tried to figure out how I could verify the info.
I tried this:
1) found sRGB values for the grey swatches on the CC passport, linearized the values and calculated the % difference in Excel.
2) sampled grey swatches on tiffs (the original linear ones), multiplied the values on the photo so that swatch three matched that of the CC passport.
3) calculated % difference between each swatch and compared results.
non linear CC grey values, converted to 0-1, % difference:
245 0.95703125 122.50%
200 0.78125 124.22%
161 0.62890625 133.06%
121 0.47265625 147.56%
82 0.3203125 167.35%
49 0.19140625
Linearized grey swatch CC values and % difference between them:
0.90008 152.26%
0.59113 163.31%
0.36197 183.08%
0.19771 219.65%
0.09001 287.57%
0.0313 #DIV/0!
Converted RAW
0.91957015 146.27%
0.628664784 161.87%
0.388373952 196.44%
0.197710051 182.79%
0.108161262 248.69%
0.043492413 #DIV/0!
Converted Raw with response curve applied
0.878818434 145.33%
0.604697662 159.90%
0.378172693 191.28%
0.197710009 178.82%
0.110564632 211.14%
0.052366742 #DIV/0!
I would have thought I would be able to get closer to the results as I thought I've been quite careful with my processing workflow.
I'm aware that the colour spaces (RAW compared to sRGB are different) but on previous tests the difference between these two spaces tended to be with the colours more than the luminosity. I should probably try again and stick with sRGB space initially.
Any ideas?