CN101355634A - Method and system for regulating image chromaticity - Google Patents
Method and system for regulating image chromaticity Download PDFInfo
- Publication number
- CN101355634A CN101355634A CN 200810118880 CN200810118880A CN101355634A CN 101355634 A CN101355634 A CN 101355634A CN 200810118880 CN200810118880 CN 200810118880 CN 200810118880 A CN200810118880 A CN 200810118880A CN 101355634 A CN101355634 A CN 101355634A
- Authority
- CN
- China
- Prior art keywords
- image
- formula
- matrix
- rgb
- chroma
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 230000001105 regulatory effect Effects 0.000 title description 2
- 239000011159 matrix material Substances 0.000 claims description 106
- 238000006243 chemical reaction Methods 0.000 abstract description 7
- 238000012545 processing Methods 0.000 description 7
- 239000003086 colorant Substances 0.000 description 3
- 238000006467 substitution reaction Methods 0.000 description 3
- 230000003321 amplification Effects 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 238000003199 nucleic acid amplification method Methods 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005284 excitation Effects 0.000 description 1
- 239000012467 final product Substances 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Color Image Communication Systems (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
The invention provides a method and a system for adjusting image chroma. The method comprises the following: the relational expression of an RGB value after the image chroma is adjusted and an RGB value before the image chroma is adjusted is preset, preset relational expression is obtained by calculating the formula for converting the RGB into YUV, the formula for adjusting the image chroma, and the formula for converting the YUV to the RGB; the parameter for adjusting the image chroma is received; aiming at the RGB value of the image to be adjusted, the parameter is substituted to the preset relational expression, the RGB value after the chroma is adjusted is obtained by calculation; the RGB value after the image chroma is adjusted is outputted to finish the adjustment of the image chroma. When the image chroma is adjusted, because the converting process of the RGB and the YUV consumes resources, while the conversion needed in each time of adjustment in the prior art is simplified to one time of conversion, therefore, the method and the system greatly save the calculation resources and improve the efficiency of adjusting the chroma.
Description
Technical field
The present invention relates to image processing field, particularly relate to a kind of method and system of adjusting image chroma.
Background technology
RGB (red, green, blue) the most frequently used purposes of color space is exactly a display system, for example, color cathode ray tube, the display of chromatic grating figure etc. all uses R, G, B numerical value to drive R, G, B electron gun emitting electrons, and R, the G on the fluorescence excitation screen, the fluorescent material of three kinds of colors of B send the light of different brightness respectively, and mix the generation shades of colour by addition.Scanner also is by absorbing R, G, the B composition of original copy in the light that reflection or transmission are sent, and represents the color of original copy with it.
By a kind of colour coding method that the eurovision system is adopted, wherein Y represents brightness to YUV (also claiming YCrCb), and UV represents colourity (Chrominance or Chroma), and colourity has defined two the aspect-saturations and the tone of color.In modern vitascan, usually adopt three pipe colour camera or colored CCD (Charge Coupled Device, being charge coupled device) video camera carries out capture, then the color picture signal of obtaining through color separation, obtain RGB behind the amplification correction respectively, obtain brightness signal Y and two color difference signal R-Y (being U), B-Y (being V) through matrixer again, last transmitting terminal is encoded brightness and three signals of aberration respectively, sends with same channel.The expression of this color is exactly so-called YUV color space.
General, in the image processing of prior art, as digital camera, camera, display systems such as Digital Television are when needs are adjusted the colourity of image, want earlier by color picture signal through color separation, the RGB that obtains behind the amplification correction respectively, be converted to YUV through the matrix varying circuit; Adjust formula according to colourity then,, YUV is adjusted by adjusting the parameter of colourity; After adjustment is finished, again YUV is converted to RGB and shows.Whenever do once and to adjust, just need to repeat aforesaid operations once, and in the adjustment process of reality, will adjust repeatedly usually and just can reach customer satisfaction system effect.
Because the conversion Calculation between RGB and the YUV need take bigger computational resource, and above-mentioned processing procedure needs conversion Calculation process repeatedly, thereby causes adopting above-mentioned prior art to adjust the process complexity of image chroma, and amount of calculation is big, and consumption of natural resource is many.
Thus, need the urgent technical problem that solves of those skilled in the art to be exactly: to simplify the process of adjusting image chroma, save resource.
Summary of the invention
Technical problem to be solved by this invention provides a kind of method and system of adjusting image chroma, can be good at simplifying the process of adjusting image chroma, saves resource greatly.
In order to address the above problem, the invention discloses a kind of method of adjusting image chroma, may further comprise the steps: rgb value and image are adjusted the relational expression of the preceding rgb value of colourity after the prediction picture adjustment colourity, described preset relation formula is converted to the formula of YUV by RGB, adjust the formula of image chroma, and YUV is converted to the formula of RGB, calculates; Receive the parameter of adjusting image chroma; At the rgb value of the image of required adjustment, described parameter is brought in the described preset relation formula, calculate the rgb value of adjusting after the colourity; Export the rgb value after the described image that calculates is adjusted colourity, finish adjustment image chroma.
Further, described image chroma comprises the saturation of image and the tone of image.
Preferably, described preset relation formula can be represented with the form of matrix.
The invention also discloses a kind of method by color matrices adjustment image chroma, may further comprise the steps: preset relation matrix, described relational matrix are multiplied each other by color matrices and parameter matrix and obtain; Described parameter matrix has been described image with matrix form and has been adjusted rgb value and image after the colourity and adjust the relation between the rgb value before the colourity; Described parameter matrix is converted to the formula of YUV by RGB, adjusts the formula of image chroma, and YUV is converted to the formula of RGB, calculates and represents with matrix form; Receive the parameter of adjusting image chroma; At the rgb matrix of the image of required adjustment, described parameter is brought in the described relational matrix that presets, calculate the adjusted rgb value of described image; Export the adjusted rgb value of the described image that calculates, finish adjustment image; Described adjustment comprises the adjustment to image chroma.
Further, described image chroma comprises the saturation of image and the tone of image.
In order to address the above problem, the invention also discloses a kind of system that adjusts image chroma, described system can comprise:
Memory cell is used to store a relational expression that sets in advance, and described relational expression is used to describe image and adjusts the relation that rgb value and image after the colourity are adjusted rgb value before the colourity; Described preset relation formula is converted to the formula of YUV by RGB, adjusts the formula of image chroma, and YUV is converted to the formula of RGB, calculates;
Interface unit is used to receive the parameter of adjusting image chroma;
Computing unit is used for the rgb value at the image of required adjustment, and the adjustment parameter that is received is brought in the described preset relation formula, calculates the rgb value of adjusting after the colourity;
Output unit is used to export the rgb value after the described image that calculates is adjusted colourity, finishes the adjustment to image chroma.
Further, described image chroma comprises the saturation of image and the tone of image.
Preferably, described preset relation formula is represented with the form of matrix.
The invention also discloses a kind of system by color matrices adjustment image chroma, described system can comprise:
Memory module is used to store a relational matrix that sets in advance, and described relational matrix is multiplied each other by color matrices and parameter matrix and obtains; Described parameter matrix has been described image with matrix form and has been adjusted rgb value and image after the colourity and adjust the relation between the rgb value before the colourity; Described parameter matrix is converted to the formula of YUV by RGB, adjusts the formula of image chroma, and YUV is converted to the formula of RGB, calculates and represents with matrix form;
Interface module is used to receive the parameter of adjusting image chroma;
Computing module is used for the rgb matrix at the image of required adjustment, and the adjustment parameter that is received is brought in the described relational matrix that presets, and calculates the adjusted rgb value of described image;
Output module is used to export the adjusted rgb value of the described image that calculates, and finishes the adjustment to image; Described adjustment comprises the adjustment to image chroma.
Further, described image chroma comprises the saturation of image and the tone of image.
Compared with prior art, the present invention has the following advantages:
The present invention adjusts the relational expression of the rgb value before rgb value and the described image adjustment colourity after the colourity by calculating described image earlier, calling such relational expression then in each colourity adjustment calculates, adjusting the described relational expression of parameter substitution, can obtain adjusting the rgb value of back image, finish adjustment image.Be the present invention when color is adjusted, only need to do the conversion Calculation (in the process that obtains relational expression) between RGB and the YUV.Because transfer process between RGB and the YUV is unusual consumes resources, and the present invention only is reduced to once conversion with RGB and the conversion between the YUV that each adjustment in the prior art all needs to carry out, therefore the present invention has saved computational resource greatly, has improved the efficient that colourity is adjusted, and satisfies the needs of chip design.
Secondly, color matrices also is that a kind of image commonly used is adjusted means, and the present invention can also unite two into one color matrices adjustment process and aforesaid colourity adjustment process, when promptly can be implemented in by color matrices adjustment image, has also adjusted image chroma; Further the process of simplified image colourity adjustment is raised the efficiency.
Description of drawings
Fig. 1 is a kind of flow chart of steps of adjusting the method embodiment of image chroma of the present invention;
Fig. 2 is a kind of flow chart of steps of adjusting the method embodiment of image saturation of the present invention;
Fig. 3 is a kind of flow chart of steps of adjusting the method embodiment of picture tone of the present invention;
A kind of flow chart of steps of adjusting the method embodiment of image (adjusting saturation simultaneously) with color matrices of Fig. 4 the present invention;
A kind of flow chart of steps of adjusting the method embodiment of image (adjusting tone simultaneously) with color matrices of Fig. 5 the present invention;
Fig. 6 is a kind of structured flowchart of adjusting the system embodiment of image chroma of the present invention;
Fig. 7 is a kind of structured flowchart of adjusting the system embodiment of image with color matrices of the present invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
With reference to Fig. 1, show a kind of method embodiment that adjusts image chroma, can be used at digital camera, camera is adjusted image chroma in the display systems such as Digital Television, specifically can comprise:
The parameter of image chroma is adjusted in step 102, reception.
General, image chroma can comprise two dimensions, and one is saturation, and one is tone; Therefore, adjustment image chroma of the present invention can comprise the adjustment image saturation and adjust picture tone.Wherein, saturation (Saturation) is meant the intensity or the purity of color, and it represents the ratio of grey and tone; Tone (Hue) is meant the wavelength of object conduction or reflection, and commonly with color such as redness, orange or green are come identification.
Colourity adjustment of the present invention can be used in the adjustment of above-mentioned arbitrary dimension, and is as follows, and Fig. 2 and Fig. 3 show the adjustment embodiment to saturation and tone respectively.
With reference to Fig. 2, show a kind of method embodiment that adjusts image saturation, specifically can comprise:
Step 201, prediction picture are adjusted the relational expression that rgb value and image after the saturation are adjusted rgb value before the saturation, and described preset relation formula is converted to the formula of YUV by RGB, adjust the formula of image saturation, and YUV is converted to the formula of RGB, calculate.
Specifically illustrate as follows:
General, the formula that described RGB is converted to YUV can be expressed as:
Y=0.299*R+0.587*G+0.114*B
U=-0.172*R-0.339*G+0.511*B ............(1)
V=0.511*R-0.428*G-0.083*B
The formula of adjusting image saturation on YUV can be expressed as:
Y=Y
U=k*U ............(2)
V=k*V
Wherein, k is the parameter of the adjustment image saturation that received;
The formula that described YUV is converted to RGB can be expressed as:
R=Y+1.371*V
G=Y-0.698*V-0.336*U ............(3)
B=Y+1.732*U
(2) formula brought in (3) formula obtains:
R=Y+1.371*k*V
G=Y-0.698*k*V-0.336*k*U ............(4)
B=Y+1.732*k*U
In (1) formula substitution (4) formula, obtain relational expression (5) again through calculating abbreviation, as follows:
R=(0.299+0.701*k)*R+(0.587-0.587*k)*G+(0.114-0.114*k)*B
G=(0.299-0.299*k)*R+(0.587+0.413*k)*G+(0.114-0.114*k)*B
B=(0.299-0.298*k)*R+(0.587-0.587*k)*G+(0.114+0.885*k)*B
Above-mentioned relational expression (5) has just been described image and has been adjusted rgb value and image after the saturation and adjust the relation between the rgb value before the saturation.The R on the relational expression left side, G, B component are the rgb value after image is adjusted saturation, and R, G, the B component on relational expression the right is the rgb value before image is adjusted saturation.
In the image processing process of reality, described relational expression (5) also can convert the form of matrix to and express, and the matrix form of expression is as follows:
General, in the formula of described (1)-(5), the span of U is [128,128], and the span of V is [128,128], and the span of k is [0,2], and k is the parameter of the adjustment image saturation that received.
The parameter k of image saturation is adjusted in step 202, reception.
Step 203, at the rgb value of the image of required adjustment, described parameter k is brought in the described preset relation formula (5), calculate the rgb value after described image is adjusted saturation.
Step 204, the described image that calculates of output are adjusted the rgb value after the saturation, finish the adjustment to image saturation.
With reference to Fig. 3, show a kind of method embodiment that adjusts picture tone, specifically can comprise:
Step 301, prediction picture are adjusted the relational expression that rgb value and image behind the tone are adjusted rgb value before the tone, and described preset relation formula is converted to the formula of YUV by RGB, adjust the formula of picture tone, and YUV is converted to the formula of RGB, calculate.Specifically describe as follows:
The formula that described RGB is converted to YUV is formula (1) as previously mentioned; The formula that described YUV is converted to RGB is formula (3) as previously mentioned; The formula of concrete adjustment picture tone can be expressed as:
Y=Y
U=U*cosθ+V*sinθ ............(6)
V=V*cosθ-U*sinθ
Wherein, θ is the parameter of the adjustment picture tone that received.
Concrete computational process is as follows:
(6) formula brought in (3) formula obtains:
R=Y+1.371*(V*cosθ-U*sinθ)
G=Y-0.698*(V*cosθ-U*sinθ)-0.336*(U*cosθ+V*sinθ)......(7)
B=Y+1.732*(U*cosθ+V*sinθ)
In (1) formula substitution (7) formula, obtain relational expression (8) again through calculating abbreviation, as follows:
R=(0.299+0.701*cosθ+0.236*sinθ)*R+(0.587-0.587*cosθ+0.465*sinθ)*G+(0.114-0.114*cosθ-0.701*sinθ)*B
G=(0.299-0.317*cosθ-0.292*sinθ)*R+(0.587+0.413*cosθ-0.093*sinθ)*G+(0.114-0.114*cosθ+0.385*sinθ)*B
B=(0.299-0.298*cosθ+0.885*sinθ)*R+(0.587-0.587*cosθ-0.741*sinθ)*G+(0.114+0.885*cosθ-0.144*sinθ)*B
Above-mentioned relation formula (8) is image and adjusts the relational expression that rgb value and image behind the tone are adjusted rgb value before the tone.The R on the relational expression left side, G, B component are the rgb value after image is adjusted tone, and R, G, the B component on relational expression the right is the rgb value before image is adjusted tone.
In the image processing process of reality, described relational expression (8) can convert the form of matrix to and express, and the matrix form of expression is as follows:
General, in the formula of described (6)-(8), the span of U is [128,128], and the span of V is [128,128], and the span of θ is [30 °, 30 °], and θ is the parameter of the adjustment picture tone that received.
The parameter θ of picture tone is adjusted in step 302, reception.
Step 303, at the rgb value of the image of required adjustment, described parameter θ is brought in the described preset relation formula (8), calculate the rgb value after described image is adjusted tone.
Step 304, the described image that calculates of output are adjusted the rgb value behind the tone, finish the adjustment to picture tone.
In the image processing of prior art, except adjust image with the means of adjusting colourity, can also carry out whole adjusting to image color by color matrices, the present invention can realize adjustment process and the colourity adjustment process of color matrices to image united two into one, promptly when adjusting image by color matrices, also adjusted image chroma, raised the efficiency.With reference to Fig. 4 and Fig. 5, show the method embodiment that adjusts image (adjusting the saturation of image simultaneously) with color matrices respectively, and the method embodiment that adjusts image (adjusting the tone of image simultaneously) with color matrices.
Below color matrices is simply introduced.
Color matrices (ColorMatrix) is a kind of matrix that is commonly used to adjust image color.
At digital camera, camera, Digital Television, in the display systems such as computer, image can be regarded set a little as, and point itself is the set of red (R) green (G) blue (B), so image can be expressed as rgb matrix, as follows:
Wherein, each row of matrix has just been represented R, G, the B component of a pixel.
Usually, color matrices can be set at the matrix of a 3*3 according to the adjustment needs, and is as follows:
The step of image color being regulated by color matrices adopts rgb matrix and color matrices to multiply each other on processing procedure, can obtain adjusted rgb matrix, and is as follows:
In described rgb matrix and color matrices multiply each other the new matrix that obtains, can see, the R of new matrix first row (first point of just new picture), G, B component equal the new mixed number of all RGB of first point of former picture.Promptly multiply each other, can on the original basis of picture, change the value of each component of picture pixel RGB, thereby reach adjusting picture color by original rgb matrix and color matrices.
With reference to Fig. 4, show and a kind ofly adjust the method embodiment of image (adjusting the saturation of image simultaneously) with color matrices, specifically can comprise:
As previously mentioned, is converted to the formula of YUV, adjusts the formula of image saturation, and YUV is converted to the formula of RGB, calculate following relational expression by RGB:
Wherein,
Rgb matrix (a) for the image of required adjustment;
Described parameter matrix (b) has just been described image and has been adjusted rgb value and image after the saturation and adjust the relation between the rgb value before the saturation.
The color matrix of filling in colors on a sketch is matrix (c), and is as follows:
Then relational matrix can be multiplied each other by color matrices (c) and parameter matrix (b) and obtain;
Relational matrix can be expressed as thus:
Wherein,
d11=c11*(0.299+0.701*k)+c12*(0.587-0.587*k)+c13*(0.114-0.114*k)
d12=c11*(0.299-0.299*k)+c12*(0.587+0.413*k)+c13*(0.114-0.114*k)
d13=c11*(0.299-0.298*k)+c12*(0.587-0.587*k)+c13*(0.114+0.885*k)
d21=c21*(0.299+0.701*k)+c22*(0.587-0.587*k)+c23*(0.114-0.114*k)
d22=c21*(0.299-0.299*k)+c22*(0.587+0.413*k)+c23*(0.114-0.114*k)
d23=c21*(0.299-0.298*k)+c22*(0.587-0.587*k)+c23*(0.114+0.885*k)
d31=c31*(0.299+0.701*k)+c32*(0.587-0.587*k)+c33*(0.114-0.114*k)
d32=c31*(0.299-0.299*k)+c32*(0.587+0.413*k)+c33*(0.114-0.114*k)
d33=c31*(0.299-0.298*k)+c32*(0.587-0.587*k)+c33*(0.114+0.885*k)
The parameter k of saturation is adjusted in step 402, reception.
With reference to Fig. 5, show and a kind ofly adjust the method embodiment of image (adjusting the tone of image simultaneously) with color matrices, specifically can comprise:
As previously mentioned, is converted to the formula of YUV, adjusts the formula of picture tone, and YUV is converted to the formula of RGB, calculate following relational expression by RGB:
Wherein,
Rgb matrix (A) for the image of required adjustment;
Be described parameter matrix (b ');
Described parameter matrix (b ') has just been described image and has been adjusted rgb value and image behind the tone and adjust the relation between the rgb value before the tone.
The color matrix of filling in colors on a sketch is matrix (c '), and is as follows:
Then relational matrix can multiplying each other obtains by color matrices (c ') and parameter matrix (b ');
Relational matrix can be expressed as thus:
Wherein,
d’11=c’11*(0.299+0.701*cosθ+0.236*sinθ)+c’12*(0.587-0.587*cosθ+0.465*sinθ)+c’13*(0.114-0.114*cosθ-0.701*sinθ)
d’12=c’11*(0.299-0.317*cosθ-0.292*sinθ)+c’12*(0.587+0.413*cosθ-0.093*sinθ)+c’13*(0.114-0.114*cosθ+0.385*sinθ)
d’13=c’11*(0.299-0.298*cosθ+0.885*sinθ)+c’12*(0.587-0.587*cosθ-0.741*sinθ)+c’13*(0.114+0.885*cosθ-0.144*sinθ)
d’21=c’21*(0.299+0.701*cosθ+0.236*sinθ)+c’22*(0.587-0.587*cosθ+0.465*sinθ)+c’23*(0.114-0.114*cosθ-0.701*sinθ)
d’22=c’21*(0.299-0.317*cosθ-0.292*sinθ)+c’22*(0.587+0.413*cosθ-0.093*sinθ)+c’23*(0.114-0.114*cosθ+0.385*sinθ)
d’23=c’21*(0.299-0.298*cosθ+0.885*sinθ)+c’22*(0.587-0.587*cosθ-0.741*sinθ)+c’23*(0.114+0.885*cosθ-0.144*sinθ)
d’31=c’31*(0.299+0.701*cosθ+0.236*sinθ)+c’32*(0.587-0.587*cosθ+0.465*sinθ)+c’33*(0.114-0.114*cosθ-0.701*sinθ)
d’32=c’31*(0.299-0.317*cosθ-0.292*sinθ)+c’32*(0.587+0.413*cosθ-0.093*sinθ)+c’33*(0.114-0.114*cosθ+0.385*sinθ)
d’33=c’31*(0.299-0.298*cosθ+0.885*sinθ)+c’32*(0.587-0.587*cosθ-0.741*sinθ)+c’33*(0.114+0.885*cosθ-0.144*sinθ)
The parameter θ of tone is adjusted in step 502, reception.
With reference to Fig. 6, show a kind of system embodiment of adjusting image chroma, specifically can comprise:
Preferably, described preset relation formula is represented with the form of matrix.
With reference to Fig. 7, show a kind of system embodiment with color matrices adjustment image, specifically can comprise:
For system embodiment, because it is substantially corresponding to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
More than for the method and system that is used to adjust image chroma provided by the present invention, be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (10)
1, a kind of method of adjusting image chroma is characterized in that, comprising:
Prediction picture is adjusted the relational expression that rgb value and image after the colourity are adjusted rgb value before the colourity, and described preset relation formula is converted to the formula of YUV by RGB, adjusts the formula of image chroma, and YUV is converted to the formula of RGB, calculates;
Receive the parameter of adjusting image chroma;
At the rgb value of the image of required adjustment, described parameter is brought in the described preset relation formula, calculate the rgb value of adjusting after the colourity;
Export the rgb value after the described image that calculates is adjusted colourity, finish adjustment image chroma.
2, method according to claim 1 is characterized in that,
Described image chroma comprises the saturation of image and the tone of image.
3, method according to claim 1 is characterized in that,
Described preset relation formula is represented with the form of matrix.
4, a kind of method of adjusting image chroma is characterized in that, comprising:
Preset relation matrix, described relational matrix are multiplied each other by color matrices and parameter matrix and obtain; Described parameter matrix has been described image with matrix form and has been adjusted rgb value and image after the colourity and adjust the relation between the rgb value before the colourity; Described parameter matrix is converted to the formula of YUV by RGB, adjusts the formula of image chroma, and YUV is converted to the formula of RGB, calculates and represents with matrix form;
Receive the parameter of adjusting image chroma;
At the rgb matrix of the image of required adjustment, described parameter is brought in the described relational matrix that presets, calculate the adjusted rgb value of described image;
Export the adjusted rgb value of the described image that calculates, finish adjustment image; Described adjustment comprises the adjustment to image chroma.
5, method according to claim 4 is characterized in that,
Described image chroma comprises the saturation of image and the tone of image.
6, a kind of system that adjusts image chroma is characterized in that, comprising:
Memory cell is used to store a relational expression that sets in advance, and described relational expression is used to describe image and adjusts the relation that rgb value and image after the colourity are adjusted rgb value before the colourity; Described preset relation formula is converted to the formula of YUV by RGB, adjusts the formula of image chroma, and YUV is converted to the formula of RGB, calculates;
Interface unit is used to receive the parameter of adjusting image chroma;
Computing unit is used for the rgb value at the image of required adjustment, and the adjustment parameter that is received is brought in the described preset relation formula, calculates the rgb value of adjusting after the colourity;
Output unit is used to export the rgb value after the described image that calculates is adjusted colourity, finishes the adjustment to image chroma.
7, system according to claim 6 is characterized in that,
Described image chroma comprises the saturation of image and the tone of image.
8, system according to claim 6 is characterized in that,
Described preset relation formula is represented with the form of matrix.
9, a kind of system that adjusts image chroma is characterized in that, comprising:
Memory module is used to store a relational matrix that sets in advance, and described relational matrix is multiplied each other by color matrices and parameter matrix and obtains; Described parameter matrix has been described image with matrix form and has been adjusted rgb value and image after the colourity and adjust the relation between the rgb value before the colourity; Described parameter matrix is converted to the formula of YUV by RGB, adjusts the formula of image chroma, and YUV is converted to the formula of RGB, calculates and represents with matrix form;
Interface module is used to receive the parameter of adjusting image chroma;
Computing module is used for the rgb matrix at the image of required adjustment, and the adjustment parameter that is received is brought in the described relational matrix that presets, and calculates the adjusted rgb value of described image;
Output module is used to export the adjusted rgb value of the described image that calculates, and finishes the adjustment to image; Described adjustment comprises the adjustment to image chroma.
10, system according to claim 9 is characterized in that,
Described image chroma comprises the saturation of image and the tone of image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200810118880 CN101355634B (en) | 2008-08-26 | 2008-08-26 | Method and system for regulating image chromaticity |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200810118880 CN101355634B (en) | 2008-08-26 | 2008-08-26 | Method and system for regulating image chromaticity |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101355634A true CN101355634A (en) | 2009-01-28 |
CN101355634B CN101355634B (en) | 2013-06-05 |
Family
ID=40308196
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200810118880 Active CN101355634B (en) | 2008-08-26 | 2008-08-26 | Method and system for regulating image chromaticity |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101355634B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101923455A (en) * | 2010-09-01 | 2010-12-22 | 武汉大学 | Method for displaying and analyzing digital image in YUV format |
CN102231787A (en) * | 2011-07-18 | 2011-11-02 | 格科微电子(上海)有限公司 | Image color correction method and device |
CN102752476A (en) * | 2011-11-30 | 2012-10-24 | 新奥特(北京)视频技术有限公司 | Method and device for adjusting image printing light in real time |
CN103399767A (en) * | 2013-07-31 | 2013-11-20 | 深圳创维数字技术股份有限公司 | Interface skin-changing method and device |
CN103533322A (en) * | 2012-07-03 | 2014-01-22 | 深圳深讯和科技有限公司 | Method for transcoding YUV frame to RGB frame and device thereof |
CN104883552A (en) * | 2015-05-22 | 2015-09-02 | 深圳市载德光电技术开发有限公司 | YUV (Luma and Chroma) coded format-based image adjusting method and system |
CN106488246A (en) * | 2013-06-17 | 2017-03-08 | 杜比实验室特许公司 | For strengthening the adaptive shaping of the hierarchical coding of dynamic range signal |
WO2019041226A1 (en) * | 2017-08-31 | 2019-03-07 | 深圳传音通讯有限公司 | Square cropping photography method, photography system and photography apparatus |
CN111369470A (en) * | 2020-03-10 | 2020-07-03 | 昇显微电子(苏州)有限公司 | Image area tone adjusting method, device, storage medium and equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001054134A (en) * | 1999-08-11 | 2001-02-23 | Casio Comput Co Ltd | Video encoder circuit |
CN101080027A (en) * | 2006-05-22 | 2007-11-28 | 普立尔科技股份有限公司 | Method for improving difference of LCD image quality under different watching mode |
CN101035300A (en) * | 2007-04-10 | 2007-09-12 | 北京中星微电子有限公司 | Image enhancing method and device |
CN101076125B (en) * | 2007-06-18 | 2010-07-28 | 山东经济学院 | Algorithm for optimizing RGB and YCbCr conversion computing in image compression |
-
2008
- 2008-08-26 CN CN 200810118880 patent/CN101355634B/en active Active
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101923455A (en) * | 2010-09-01 | 2010-12-22 | 武汉大学 | Method for displaying and analyzing digital image in YUV format |
CN102231787A (en) * | 2011-07-18 | 2011-11-02 | 格科微电子(上海)有限公司 | Image color correction method and device |
CN102231787B (en) * | 2011-07-18 | 2013-02-13 | 格科微电子(上海)有限公司 | Image color correction method and device |
CN102752476A (en) * | 2011-11-30 | 2012-10-24 | 新奥特(北京)视频技术有限公司 | Method and device for adjusting image printing light in real time |
CN103533322A (en) * | 2012-07-03 | 2014-01-22 | 深圳深讯和科技有限公司 | Method for transcoding YUV frame to RGB frame and device thereof |
CN103533322B (en) * | 2012-07-03 | 2015-09-30 | 深圳深讯和科技有限公司 | YUV frame is transcoded into method and the device of RGB frame |
CN106488246A (en) * | 2013-06-17 | 2017-03-08 | 杜比实验室特许公司 | For strengthening the adaptive shaping of the hierarchical coding of dynamic range signal |
CN106488246B (en) * | 2013-06-17 | 2019-06-11 | 杜比实验室特许公司 | Method for enhancing the adaptive shaping of the hierarchical coding of dynamic range signal |
CN103399767A (en) * | 2013-07-31 | 2013-11-20 | 深圳创维数字技术股份有限公司 | Interface skin-changing method and device |
CN104883552A (en) * | 2015-05-22 | 2015-09-02 | 深圳市载德光电技术开发有限公司 | YUV (Luma and Chroma) coded format-based image adjusting method and system |
WO2019041226A1 (en) * | 2017-08-31 | 2019-03-07 | 深圳传音通讯有限公司 | Square cropping photography method, photography system and photography apparatus |
CN111369470A (en) * | 2020-03-10 | 2020-07-03 | 昇显微电子(苏州)有限公司 | Image area tone adjusting method, device, storage medium and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN101355634B (en) | 2013-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101355634B (en) | Method and system for regulating image chromaticity | |
RU2710291C2 (en) | Methods and apparatus for encoding and decoding colour hdr image | |
US10390027B2 (en) | Method and apparatus of encoding and decoding a color picture | |
US9472162B2 (en) | Method of mapping source colors from a source color gamut into a target color gamut | |
US10666990B2 (en) | Method and device for matching colors between color pictures of different dynamic range | |
Eliav et al. | Application driven design of multi-primary displays | |
CN1722773A (en) | The color signal-processing method and the device that are used for color rendering equipment | |
Spaulding et al. | Reference input/output medium metric rgb color encodings | |
CN1910901A (en) | Smart clipper for mobile displays | |
US20230351561A1 (en) | Method and device for obtaining a second image from a first image when the dynamic range of the luminance of the first image is greater than the dynamic range of the luminance of the second image | |
US8456511B2 (en) | Method and apparatus for reproducing image using output prediction | |
US8466936B2 (en) | Color gamut mapping method for multimedia equipment, a television and a color processing apparatus | |
JP2007286120A (en) | Device and method for displaying image | |
US20100156956A1 (en) | Grayscale characteristic for non-crt displays | |
CN101501751B (en) | Display device, method for generating four or more primary color signals | |
WO2018049754A1 (en) | Color gamut maintaining system and method | |
CN101378515A (en) | Method for transferring video signal colors and television set | |
CN102752605A (en) | Method and system for regulating image/video color saturation degree | |
CN109756777A (en) | Handle transmission end, receiving end and the method for the multiple format of image sequence | |
EP3051489A1 (en) | A method and apparatus of encoding and decoding a color picture | |
CN107371006A (en) | Metadata transmission method for expanded color gamut | |
CN109348218B (en) | Method for identifying YUV three-primary-color component under condition of multiple primary colors | |
KR101137611B1 (en) | System and method for effectively performing an image data transformation procedure | |
RU2705013C2 (en) | Method and device for colour image encoding and decoding | |
CN102752476A (en) | Method and device for adjusting image printing light in real time |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210128 Address after: No. 602, 6th floor, shining building, 35 Xueyuan Road, Haidian District, Beijing 100083 Patentee after: BEIJING ZHONGXINGTIANSHI TECHNOLOGY Co.,Ltd. Address before: 100083, Haidian District, Xueyuan Road, Beijing No. 35, Nanjing Ning building, 16 floor Patentee before: Vimicro Corp. |
|
TR01 | Transfer of patent right |