Closed Beep6581 closed 9 years ago
Hombre, the principle of the compasion operator could be borrowed from the dark frame/flat
field code.
Reported by michaelezra000
on 2013-03-03 22:02:51
Comment 20 get_calcblack.patch committed, thank you!
I've opened a new issue for the database idea, issue 1752.
Reported by entertheyoni
on 2013-03-04 03:01:15
FixedPendingConfirmation
#53 "On which basis does dcraw send its values now? I.e. on a per camera basis only?".
Dcraw uses a single value for WP for each camera when it cannot detect it from the
raw data or exif.
For Canon DSLR models BP is calculated on every photo from the side "optically black"
data. It can be a bit (1-3 raw levels) different for each body and I think it depends
on the body's calibration and the sensor's temperature during the shot. Returns 4 different
values (one per channel R, G1, B, G2) but uses the lowest one (not 100% sure about
this last I'll have to check more but reading the code a big trouble for me).
On many cases it's useful to use these independent per channel black points it can
make a difference for the noise at the darks.
Adobe uses all four BP (one per channel). When we convert to DNG, Adobe performs a
normalization of the channels (shift them up or down) to a common BP and returns a
single value in the exif.
All the above are valid for Canon 40D maybe the strategy differs for other models.
On some other brands with no usable "opticaly black" data like Olympus Dcraw reads
the BP from exif. There can be (again) different values for each channel and I think
that again RT uses the lowest one without normalization.
Lastly if neither "side data" nor exif can help, BP is set at a default value for each
model after inspecting histograms black frames etc ..
I gathered the above facts by investigating raw histograms and Dcraw code (but I am
not good at this last). Maybe I am partially wrong.
I think that RT team should cooperate with open to dialog teams which have deep knowledge
of raw decoding like libraw and Rawspeed.
Reported by iliasgiarimis
on 2013-03-04 03:03:15
Reported by rinni@gmx.net
on 2013-03-30 12:40:54
Fixed
Originally reported on Google Code with ID 1695
Reported by
iliasgiarimis
on 2013-01-26 14:00:46