Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
isp:ccm [2021/02/23 02:52] – [CCM] Igor Yefmov | isp:ccm [2023/09/12 23:07] (current) – [Support] Igor Yefmov | ||
---|---|---|---|
Line 6: | Line 6: | ||
{{ : | {{ : | ||
- | ===== Support ===== | ||
- | SUB2r camera starts supporting CCM (a.k.a. CMX) with **FX3 v. '' | ||
===== CCM ===== | ===== CCM ===== | ||
Line 28: | Line 26: | ||
\] | \] | ||
+ | Regular linear algebra rules apply, of course. The calculation itself (once expanded) looks like this: | ||
+ | |||
+ | \[ | ||
+ | R = CCM_{00} * R_0 + CCM_{01} * G_0 + CCM_{02} * B_0 \\ | ||
+ | G = CCM_{10} * R_0 + CCM_{11} * G_0 + CCM_{12} * B_0 \\ | ||
+ | B = CCM_{20} * R_0 + CCM_{21} * G_0 + CCM_{22} * B_0 | ||
+ | \] | ||
===== 3x3 -> 4x4 ===== | ===== 3x3 -> 4x4 ===== | ||
Industry papers on CCM use a \(3\times3\) matrix yet we tried to do a full \(4\times4\) so there was a need to find a way to convert from one to another (and also from an RGGB into BGGR ordering). Here's an [[https:// | Industry papers on CCM use a \(3\times3\) matrix yet we tried to do a full \(4\times4\) so there was a need to find a way to convert from one to another (and also from an RGGB into BGGR ordering). Here's an [[https:// |