Tip: RGB and YUV----excerpt from the DirectShow Practice collection Author: Lu Qiming
Computer color display the principle of color display and color TV, is the use of R (Red), G (Green), B (Blue) additive blending principle: By emitting three different intensity of the electron beam, so that the inside of the screen covered with red, green, blue phosphorescent material to produce color. The representation
Yuy2 is often used in TV systems and output formats of many cameras. during processing, we often need to convert it to RGB for processing. Here we will briefly introduce the Conversion Relationship Between yuy2 (YUV) and RGB:
Http://msdn2.microsoft.com/en-us/library/ms893078.aspx
Yuy2 (YUV) to
RGB and YUV Multimedia programming
First, the concept
1. What is RGB?
The method of encoding a color is collectively called " Color space " or " gamut ." In the simplest terms, the "color space" of any color in the world can be defined as a fixed number or variable. RGB (red, green, blue) is just one of many color s
1 PrefaceThe color of nature is ever changing. In order to give color a quantitative measurement standard, we need to establish a color space model to describe various colors, as human perception of color is a complex process of combination of physiological and psychological effects, in order to better and more accurately meet their needs in different application fields, there are various color space models to quantify the color description. We often see RGB
1 PrefaceIn order to give color a quantitative measure, it is necessary to establish a color space model to describe a variety of colors, because people's perception of color is a complex process of physiological and psychological joint action, so in different fields of application in order to better and more accurately meet their needs, There are a variety of color space models to quantify the descriptive colors. We are more often exposed to include rgb
1 Preface
The color of nature is ever changing. In order to give color a quantitative measurement standard, we need to establish a color space model to describe various colors, as human perception of color is a complex process of combination of physiological and psychological effects, in order to better and more accurately meet their needs in different application fields, there are various color space models to quantify the color description. We often see RG
1. The basic principle of color space conversion
1) Color Space conversion formula:
In order to realize the format conversion, we must first clarify the characteristics and the conversion relationship between the format and the target format, which is the core of the programming realization transformation. For the process of RGB to YUV, we have to get the RGB fi
The color display principle of Computer Color Display is the same as that of color TV sets. The principle of adding and Mixing colors of R (red), g (green), and B (blue) is used: three electron beam with different intensity are emitted to make the red, green, and blue phosphor materials on the inside of the screen emit light and produce color. This color representation method is called RGB Color Space Representation (it is also the most commonly used
Author: Liu Xuhui colorant@163.com reprinted please indicate the sourceHttp://blog.csdn.net/colorant/
1 PrefaceThe color of nature is ever changing. In order to give color a quantitative measurement standard, we need to establish a color space model to describe various colors, as human perception of color is a complex process of combination of physiological and psychological effects, in order to better and more accurately meet their needs in different application fields, there are various color
=====================================================
The simplest audio-visual Playback Example series article List:
Simplest visual Audio Playback Example 1: general statement
The simplest AV playback example 2:gdi play YUV, RGB
Simplest AV Playback example 3:direct3d play Yuv,rgb (via surface)
Simplest AV Playback e
Ref: http://www.360doc.com/content/11/1008/17/1016783_154377024.shtml
There are many conversion programs from YUV to RGB on the Internet, but they are basically calculated based on the CPU. There are some methods based on CPU computing, the most primitive must be the direct floating-point operation based on the conversion formula. To increase the speed, you can use the left and right Shifts operation to con
sensor signal Output YUV, RGB, RAW DATA, JPEG 4 different waysCategory: Camera 2012-12-17 08:59 10085 people read reviews (5) Favorite reports
In simple terms,Yuv:luma (Y) + chroma (UV) format, typically sensor supports YUV422 format, that is, the data format is output in y-u-y-v orderRGB: Traditional red-green-blue format, such as RGB565, whose 16-bit data format is 5-bit R + 6-bit G + 5-bit B. G more than
mannerMEDIASUBTYPE_AYUV 4:4:4 YUV format with alpha channelMEDIASUBTYPE_Y41P y41p format, packaged in 4:1:1 mannermediasubtype_y411 Y411 Format (the actual format is the same as Y41P)mediasubtype_y211 Y211 FormatMEDIASUBTYPE_IF09 IF09 FormatMEDIASUBTYPE_IYUV IYUV FormatMEDIASUBTYPE_YV12 YV12 FormatMEDIASUBTYPE_YVU9 YVU9 FormatThe following is a description of each RGB format.¨RGB1, RGB4, RGB8 are both colo
http://blog.csdn.net/scg881008/article/details/7168637If it is 2 million pixels of sensor, is not RGB a pixel is 2m,yuv is 1M?
First of all, 2 million pixels of sensor, is a 2M pixel;YUV isTV TransmissionA luminance signal (Y), two chromatic aberration signals (U component, v component)YUV (also known as YCRCB) i
For many years, for most people, there are three kinds of knowledge about graphic signals: RF signal, composite video signal,S video signal . The RF signal is modulated by the composite video signal to the high frequency, the antenna input signal of the ordinary TV is used for the RF signal, the input of the composite video signal is the RGA terminal. As our most common audio interface, the input of the S video signal is a four-wire terminal. Commonly known as the S-terminal. In the definition,
adopted by multiple electronic and electrical appliance manufacturers is to Convert RGB to YUV to maintain compatibility, and then switch back to the RGB format as needed, to display color images on computer monitors.
Rgb24 indicates that the R, G, and B components each occupy 8 digits.
Rgb32 indicates that the four components R, G, B, And a each occupy 8 digits
China's large-scale game industry (I think they follow suit blindly. In fact, many foreign games use OGL)
To use OpenGL to play a video, follow these steps:
1. Initialization
1) initialization
2) create a window
3) set the plotting function
4) set the timer
5) enter the message loop
2. loop display
1) Adjust the display position and image size
2) Drawing
3) display
There is something to note here. That is, OpenGL does not need to use the direct3d program initialization window t
Rgb:
Red-green-blue (RGB) is the base color that the computer displays, and the RGB565-supported color depth can be programmed up to 16 bits per pixel,
namely RGB565 (red 5 bit, green 6 bit, blue 5 bit).
Yuv:
Video Codec features
Video encoder requires yuv4:2:0 format video input, so may be based on the application of video input preprocessing, that is, yuv4
This article was reproduced from: http://blog.csdn.net/southcamel/article/details/8305873In simple terms,Yuv:luma (Y) + chroma (UV) format, typically sensor supports YUV422 format, that is, the data format is output in y-u-y-v orderRGB: Traditional red-green-blue format, such as RGB565, whose 16-bit data format is 5-bit R + 6-bit G + 5-bit B. G more than one, because the human eye is more sensitive to green.Each pixel of the RAW rgb:sensor corresponds to a color filter, and the filter is distrib
1 YUV and RGB Color Space TransformationAfter considering the Nonlinear Characteristics of Human Visual System and cathode ray tube (CRT), the correspondence between RGB and YUV can be expressed in the following equation:Y = 0.299r + 0.587G + 0.114bU =-0.147r-0.289G + 0.436bV = 0.615r-0.515g-0.100bOr, in the form of a
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.