300 likes | 685 Views
Video Processing & Communications. Basics of Video. Courtesy of Professor Yao Wang Polytechnic University, Brooklyn, NY11201 yao@vision.poly.edu. Outline. Video capture Photometric model Geometric model Analog video Progressive vs. interlaced rasters in analog TV system
E N D
Video Processing & Communications Basics of Video Courtesy of Professor Yao Wang Polytechnic University, Brooklyn, NY11201 yao@vision.poly.edu
Outline • Video capture • Photometric model • Geometric model • Analog video • Progressive vs. interlaced rasters in analog TV system • Different color representations: YUV/YIQ • Digital video • Sampling/quantization • Y’CbCr format • Video display • Spatial/temporal/bit-depth resolution Video Basics
Photometric Model of Video Capture Courtesy of Onur Guleryuz Video Basics
Geometric Model of Video Capture 3-D point Camera center The image of an object is reversed from its 3-D position. The object appears smaller when it is farther away. 2-D image Image plane Video Basics
Implication of Models in Analog World Miniature building Explosion from The Mummy Lighting in Filmmaking Video Basics
Interlaced Frame Progressive Frame Field 1 Field 2 Progressive and Interlaced Raster Scans Horizontal retrace Vertical retrace Interlaced scan is developed to provide a trade-off between temporal and vertical resolution, for a given, fixed data rate (number of line/sec). Video Basics
Color TV Broadcasting and Receiving Video Basics
Why not using RGB directly? • R,G,B components are correlated • Transmitting R,G,B components separately is redundant • More efficient use of bandwidth is desired • RGB->YC1C2 transformation • Decorrelating: Y,C1,C2 are uncorrelated • C1 and C2 require lower bandwidth • Y (luminance) component can be received by B/W TV sets Color transformation is a compromised solution, but the ultimate one Video Basics
YIQ in NTSC I (in-phase): orange-to-cyan Q (quadrature): green-to-purple (human eye is less sensitive) Q can be further bandlimited than I Phase=Arctan(Q/I) = hue, Magnitude=sqrt (I^2+Q^2) = saturation Hue is better retained than saturation Recall: Quadrature amplitude modulation (QAM) in digital communication Video Basics
Color Image Y image I image (orange-cyan) Q image (green-purple)
I and Q on the color circle Q: green-purple I: orange-cyan Video Basics
Conversion between RGB and YIQ • RGB -> YIQ Y = 0.299 R + 0.587 G + 0.114 B I = 0.596 R -0.275 G -0.321 B Q = 0.212 R -0.523 G + 0.311 B • YIQ -> RGB • R =1.0 Y + 0.956 I + 0.620 Q, • G = 1.0 Y - 0.272 I -0.647 Q, • B =1.0 Y -1.108 I + 1.700 Q. Video Basics
YUV in PAL Video Basics
YUV/RGB Conversion Numerical approximations • Y = (( ( 66 * R + 129 * G + 25 * B + 128) >> 8) + 16) • U = ( ( -38 * R - 74 * G + 112 * B + 128) >> 8) + 128 • V = ( ( 112 * R - 94 * G - 18 * B + 128) >> 8) + 128 Video Basics
YIQ/YUV Comparison Video Basics
Different Color TV Systems Video Basics
Who uses what? From http://www.stjarnhimlen.se/tv/tv.html#worldwide_0 Video Basics
Digital Video Sampling Quantization Taken from EE465: Image Acquisition Video Basics
BT.601* Video Format * BT.601 is formerly known as CCIR601 Video Basics
RGB <--> Y’CbCr Analog video Digital video Video Basics
YUV vs. Y’CbCr Video Basics
Chrominance Subsampling Formats Video Basics
Digital Video Formats Video Basics
4:2:0 YUV Video U: 144-by-176 V: 144-by-176 Y: 288-by-352 Video Basics
Tricky Photometric Situations Shadow causes problem to background extraction Video enhancement Video Basics
Geometric Invariance Video Basics
Video Display • High-end • If the resolution of display device is higher than that of video sequence, what can we do? • Tradeoff between quality and complexity • Subjective evaluation of video quality • Low-end • If the resolution of display device is lower than that of video sequence, what can we do? • What if the bit-depth resolution is lower? (e.g., display video on PDAs and portable DVDs) It is the last and the least-researched component in visual communication systems Video Basics
Resolution, Resolution, Resolution temporal 300fps 30fps 1M 10M spatial 8bpp 32bpp Bit-depth Video Basics
High Dynamic Range Imaging Q: Can we generate a HDR image (16bpp) by a standard camera? A: Yes, adjust the exposure and fuse multiple LDR images together Video Basics
HDR Display (after Toner Mapping) Note that any commercial display devices we see these days are NOT HDR Video Basics