RAW Vs. SRAW..

Started Dec 27, 2007 | Discussions thread
Gao Gao Contributing Member • Posts: 561
dcraw has a canon_sraw_load_raw() function

Line 951 in ver 8.81...
And I saw some funky averaging, scaling and clipping inside.
eg.

ip[1] = (ip[-3] + ip[5] + 1) > > 1;
ip[2] = (ip[-2] + ip[6] + 1) > > 1;
(averaging)

FORC3 ip[c] = CLIP((pix[c] - 512) * sraw_mul[c] > > 10);
(scaling and clipping for all channels)

Didn't have time to go through it in detail to figure out which sample is which yet.

-- hide signature --

. 。o O o 。 . 。o O o 。 . 。o O o 。 .

Post (hide subjects) Posted by
GDi
Keyboard shortcuts:
FForum PPrevious NNext WNext unread UUpvote SSubscribe RReply QQuote BBookmark MMy threads
Color scheme? Blue / Yellow