1 / 4

RGB to YUV(CDFG)

RGB to YUV(CDFG). 林鼎原 Department of Electrical Engineering National Cheng Kung University Tainan, Taiwan, R.O.C. 2012.3.9. 5. 一、 Simple Operation description. Y=0.257 a +0.504 b +0.098 c +16 t1 = 0.257 a ; t2 = 0.504 b -----------------------(1)(2)

anais
Télécharger la présentation

RGB to YUV(CDFG)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. RGB to YUV(CDFG) 林鼎原 Department of Electrical Engineering National Cheng Kung University Tainan, Taiwan, R.O.C 2012.3.9

  2. 5

  3. 一、Simple Operation description • Y=0.257a +0.504 b +0.098 c +16 • t1 = 0.257 a ; t2 = 0.504 b -----------------------(1)(2) • t3 = 0.098 c ---------------------------------------------(3) • t4 = t1 + t2 ; t5 = t3 + 16 ---------------------------(4)(5) • y = t4 + t5 ------------------------------------------------(6) • Cb = -0.148a - 0.291b + 0.439c +128 • r1 = -0.148a ; r2 = -0.291b ---------------------(7)(8) • r3 = 0.439c --------------------------------------------(9) • r4 = r1 + r2 ; r5 = r3 +128 -------------------------(10)(11) • Cb= r4 +r5 ------------------------------------------------(12) • Cr = 0.439 a -0.368 b -0.071c +128 • k1 = 0.439 a ; k2= -0.368b ----------------------(13)(14) • k3 = -0.071 c --------------------------------------------(15) • k4= k1 + k2 ; k5 = k3 +128 ------------------------(16)(17) • Cr= k4 + k5 -------------------------------------------------(18)

  4. 1 Mux 二、CDFG size i ++ Control line < input input input c a b -0.368 -0.071 0.098 0.439 0.257 0.439 0.504 -0.291 -0.148 (3) (15) (13) (14) (2) (9) * * * * * * * * * (8) (1) (7) r1 r2 k1 k2 r3 t2 t1 k3 t3 16 128 128 (16) (5) (17) (4) + + + + + + (10) (11) r4 t5 k4 t4 r5 k5 (6) + + + (18) (12) y Cb Cr

More Related