Embodiment
With reference to shown in Figure 2, a kind of execution mode of chroma enhancing system of the present invention can comprise:
Color detection unit 1 is based on built-in custom colors number of degrees system, to U, its corresponding color angle value of V value calculating of the picture signal that obtains;
Saturation adjustment unit 2, the color angle value according to the color detection unit obtains calculates corresponding saturation resize ratio, and picture signal is carried out the saturation adjustment;
Tone adjustment unit 3 according to the color angle value that the color detection unit obtains, calculates corresponding tone and adjusts angle, and picture signal is carried out the tone adjustment,
Wherein, described custom colors number of degrees system comprises some kinds of colors, every kind of color has self-defined central value, with this self-defined central value to wide-angle more and more low-angle make the self-defined colour gamut that extends to form this color, described versicolor colour gamut sum is 360 degree.
In the above-mentioned execution mode, obtain U, the corresponding color angle value of V value by color detection unit 1, above-mentioned custom colors number of degrees system-computed obtains because this color angle value is based on, thereby the represented colour darkness of this color angle value also meets the definition of described custom colors number of degrees system to colour darkness.Because every kind of color all has certain colour gamut in the described color number of degrees system, thereby the represented colour darkness of the color angle value that is calculated is also more meticulous.
Thereby, can both on meticulousr colour darkness, carry out according to saturation adjustment and tone adjustment that this color angle value is done, correspondingly, the specific aim of saturation adjustment and tone adjustment and adjustment precision also are improved.
In the above-mentioned execution mode, self-defined central value of color and colour gamut thereof in the described custom colors number of degrees system can be preestablished by TV user.For example, with reference to shown in Figure 3, described custom colors number of degrees system is an abscissa with the U value, and the V value is an ordinate, definition has 6 kinds of colors altogether, comprising: fuchsin (MAGENTA), red (RED), yellow (YELLOW), green (GREEN), blue or green (CYAN), blue (BLUE).Described shades of colour has and has self-defined central value and corresponding color domain respectively.
Represent versicolor self-defined central value with RANGE_C, for example the self-defined central value of fuchsin is MAGENTA_RANGE_C, red self-defined central value is RED_RANGE_C, yellow self-defined central value is YELLOW_RANGE_C, green self-defined central value is GREEN_RANGE_C, the self-defined central value of cyan is CYAN_RANGE_C, and blue self-defined central value is BLUE_RANGE_C.The angle value of the best weight correspondence of this color that described versicolor self-defined central value can be assert for TV user.
Represent minimum angles in the versicolor colour gamut with RANGE_R, for example the minimum angles in the fuchsin colour gamut is MAGENTA_RANGE_R, minimum angles in the colour gamut is RED_RANGE_R, minimum angles in the colour gamut is YELLOW_RANGE_R, minimum angles in the green colour gamut is GREEN_RANGE_R, minimum angles in the cyan colour gamut is CYAN_RANGE_R, and the minimum angles in the blue colour gamut is BLUE_RANGE_R.
Represent maximum angle in the versicolor colour gamut with RANGE_L, for example the maximum angle in the fuchsin colour gamut is MAGENTA_RANGE_L, maximum angle in the colour gamut is RED_RANGE_L, maximum angle in the colour gamut is YELLOW_RANGE_L, maximum angle in the green colour gamut is GREEN_RANGE_L, maximum angle in the cyan colour gamut is CYAN_RANGE_L, and the maximum angle in the blue colour gamut is BLUE_RANGE_L.
Therefore, to each color, its colour gamut is from minimum angles (RANGE_R)~maximum angle (RANGE_L).For example, to above-mentioned 6 kinds of colors, the simplest a kind of color number of degrees system is exactly after the central value of self-defined every kind of color, turns clockwise 30 degree as the minimum angles of this color with the central value of this color, is rotated counterclockwise the maximum angles of 30 degree as this color with the central value of this color.Then the colour gamut of every kind of color is the coverage of 60 degree at center for the central value with this color.
With reference to shown in Figure 4, a kind of execution mode of colourity Enhancement Method of the present invention can comprise:
Step s1, set up custom colors number of degrees system, described custom colors number of degrees system comprises some kinds of colors, every kind of color has self-defined central value, with this self-defined central value to wide-angle more and more low-angle make the self-defined colour gamut that extends to form this color, described versicolor colour gamut sum is 360 degree;
Step s2 is based on described custom colors number of degrees system, to U, its corresponding color angle value of V value calculating of the picture signal that obtains;
Step s3 according to the color angle value that is obtained, calculates corresponding saturation resize ratio, and picture signal is carried out the saturation adjustment;
Step s4 according to the color angle value that is obtained, calculates corresponding tone and adjusts angle, to carrying out the tone adjustment through the adjusted picture signal of saturation.
The execution mode of the system and method that strengthens below in conjunction with above-mentioned colourity, and strengthen example by concrete colourity and further specify.
Continue with reference to shown in Figure 3, at first, set up custom colors number of degrees system as described in the step s1.Promptly aforesaid, can be set by the user versicolor self-defined central value and corresponding colour gamut.For example, set 6 kinds of colors (fuchsin, red, yellow, green, blue or green, indigo plant) self-defined central value and corresponding colour gamut separately.For example for cyan, setting its central value is 283 degree, and colour gamut is 255~300 degree; For redness, setting its central value is 103 degree, and colour gamut is 85~120 degree ...
The custom colors number of degrees system that is set up can write in the memory in the color detection unit 1, as built-in custom colors number of degrees system.
Next, as described in step s2, by described color detection unit 1, based on described built-in custom colors number of degrees system, to U, its corresponding color angle value of V value calculating of the picture signal that obtains.Be that described color detection unit 1 is after the U that obtains picture signal, V value (being generally U, the V value of a pixel), based on custom colors number of degrees system for example shown in Figure 3, acquisition is an abscissa value with the U value of described picture signal, the V value is the corresponding points of ordinate value, obtains U, the V value corresponding color angle value of the angle value of this point as described picture signal.Behind the color angle value of the U that obtains described picture signal, V value correspondence, described color detection unit 1 is to U, the V value of described saturation adjustment unit 2 described color angle values of transmission and described picture signal.
Then, as described in step s3, according to the color angle value that is obtained, calculate corresponding saturation resize ratio, picture signal is carried out the saturation adjustment by described saturation adjustment unit 2.
Described saturation adjustment unit 2 is behind the color angle value that obtains 1 transmission of described color detection unit, according to of the division of described custom colors number of degrees system to colour gamut, can obtain the colour gamut that this color angle value is positioned at any color, for example, suppose that this color angle value is 110 degree, then this color angle value is positioned at red colour gamut (85~120 degree).Then described saturation adjustment unit 2 just can be according to the residing colour gamut of this color angle value, obtain to be built in this colour gamut correspondence wherein look-up table (LUT, Look-upTable).Store the saturation resize ratio of each color angle value correspondence in certain colour gamut in the described built-in look-up table.For example, above-mentioned custom colors number of degrees system definition 6 kinds of colors: fuchsin, red, yellow, green, blue or green, blue then correspondingly, has 6 look-up tables, each corresponding a kind of colour gamut in the described saturation adjustment unit 2.Described built-in look-up table can be stored in the described saturation adjustment unit 2 in advance.
And described saturation adjustment unit 2 also calculates the differential seat angle of this color angle value and red central value.From the above mentioned, the central value of each color is the angle value of the best weight correspondence of this color of assert of TV user, thereby the differential seat angle that described saturation adjustment unit 2 calculates is more little, the colour darkness of then representing described picture signal is more near optimum value, and the ratio that need strengthen the saturation of this picture signal is just big more; Otherwise the differential seat angle that calculates is big more, then represents the colour darkness of described picture signal to depart from optimum value more, and the ratio that need strengthen the saturation of this picture signal is just more little.
And concrete saturation resize ratio can obtain by the look-up table of above-mentioned this colour gamut correspondence.For example, be the situation of 110 degree for the color angle value, just can in the look-up table of red colour gamut correspondence, obtain the saturation resize ratio of this angle value correspondence.
Fig. 5 a to Fig. 5 f is that the saturation in the look-up table of above-mentioned 6 kinds of colour gamut correspondences is adjusted curve synoptic diagram.Below respectively to being illustrated based on versicolor saturation adjustment.
Shown in Fig. 5 a, for red colour gamut, be abscissa with the color angle value, saturation enhancing ratio is an ordinate.Wherein, red central value is in coordinate zero point, its corresponding saturation enhancing ratio is 2, and other angles in the red colour gamut are along with gradually far away with the deviation distance of central value, and corresponding saturation reinforcement ratio is also reducing, wherein the saturation enhancing ratio of maximal angle value and minimum angles value correspondence is 1, does not just carry out saturation and strengthens.Just aforesaid, more near central value, need be just big more to the ratio that the saturation of picture signal is strengthened; And get over the off-center value, need be just more little to the ratio that the saturation of picture signal is strengthened.
Among Fig. 5 a, the value that the saturation of each color angle value correspondence strengthens ratio can obtain by linear or nonlinear mode.The selection of described linear mode or nonlinear way can be set by TV user.For example, if select nonlinear way, then can obtain the saturation enhancing ratio of color angle value correspondence by curve 10a; And, then can obtain the saturation reinforcement ratio of color angle value correspondence by straight line 10b if select linear mode.
And,, also can reselect another kind of mode and adjust if TV user is dissatisfied to the adjusted effect of selected mode.In addition, strengthen curve for the linearity shown in non-linear enhancing curve shown in the curve 10a or the curve 10b, TV user also can redesign the function of this enhancing curve, that is to say that the saturation that resets each color angle value correspondence strengthens ratio, to obtain the best adjustment effect that TV user is assert.Therefore, the mode that described saturation is adjusted is more flexible, and bigger saturation adjusting range is provided.
Comprehensive above-mentioned illustrating, behind the color angle value that obtains 1 transmission of described color detection unit, 2 need of described saturation adjustment unit are abscissa value with this color angle value, setting according to TV user, select nonlinear way (application curves 10a) or linear mode (applicable line 10b) to obtain its corresponding ordinate value, strengthen the value of ratio with this ordinate value as saturation.
After obtaining the value that saturation strengthens ratio, described saturation adjustment unit 2 can be used following formula U, the V value of the picture signal that obtained are carried out the saturation adjustment, and the value so that RED_SR represents red saturation scale enhancing ratio then has:
Output?U=Input?U*RED_SR
Output?V=Input?V*RED_SR,
Be about to that U, the V of described color detection unit 1 image transmitted signal is on duty to strengthen the value of ratio with the red saturation scale that is obtained, U, the V value of this picture signal are carried out the saturation adjustment.
Shown in Fig. 5 b, identical for the saturation method of adjustment of green with redness, can be with reference to the saturation method of adjustment of above-mentioned redness.That is, also can select nonlinear way (application curves 20a) or linear mode (applicable line 20b) to obtain saturation and strengthen ratio value, and also take similar formula according to the setting of TV user:
Output?U=Input?U*GREEN_SR
Output?V=Input?V*GREEN_SR,
Strengthen the value of ratio with the green saturation that obtained with U, the V of described color detection unit 1 image transmitted signal are on duty, U, the V value of this picture signal are carried out the saturation adjustment.
Shown in Fig. 5 c, identical for the saturation method of adjustment of blueness with redness, can be with reference to the saturation method of adjustment of above-mentioned redness.That is, also can select nonlinear way (application curves 30a) or linear mode (applicable line 30b) to obtain saturation and strengthen ratio value, and also take similar formula according to the setting of TV user:
Output?U=Input?U*BLUE_SR
Output?V=Input?V*BLUE_SR,
Strengthen the value of ratio with the blue saturation that obtained with U, the V of described color detection unit 1 image transmitted signal are on duty, U, the V value of this picture signal are carried out the saturation adjustment.
Shown in Fig. 5 d, identical for the saturation method of adjustment of cyan with redness, can be with reference to the saturation method of adjustment of above-mentioned redness.That is, also can select nonlinear way (application curves 40a) or linear mode (applicable line 40b) to obtain saturation and strengthen ratio value, and also take similar formula according to the setting of TV user:
Output?U=Input?U*CYAN_SR
Output?V=Input?V*CYAN_SR,
Strengthen the value of ratio with the cyan saturation that obtained with U, the V of described color detection unit 1 image transmitted signal are on duty, U, the V value of this picture signal are carried out the saturation adjustment.
Shown in Fig. 5 e, identical for the saturation method of adjustment of fuchsin with redness, can be with reference to the saturation method of adjustment of above-mentioned redness.That is, also can select nonlinear way (application curves 50a) or linear mode (applicable line 50b) to obtain saturation and strengthen ratio value, and also take similar formula according to the setting of TV user:
Output?U=Input?U*MAGENTA_SR
Output?V=Input?V*MAGENTA_SR,
Strengthen the value of ratio with the fuchsin saturation that obtained with U, the V of described color detection unit 1 image transmitted signal are on duty, U, the V value of this picture signal are carried out the saturation adjustment.
Shown in Fig. 5 f, identical for the saturation method of adjustment of yellow with redness, can be with reference to the saturation method of adjustment of above-mentioned redness.That is, also can select nonlinear way (application curves 60a) or linear mode (applicable line 60b) to obtain saturation and strengthen ratio value, and also take similar formula according to the setting of TV user:
Output?U=Input?U*YELLOW_SR
Output?V=Input?V*YELLOW_SR,
Strengthen the value of ratio with the yellow saturation that is obtained with U, the V of described color detection unit 1 image transmitted signal are on duty, U, the V value of this picture signal are carried out the saturation adjustment.
Described saturation adjustment unit 2 is carrying out U, the V value of described color detection unit 1 image transmitted signal after saturation adjusts, and the color angle value that U, V value and the described color detection unit 1 of adjusted picture signal transmitted transfers to described tone adjustment unit 3.
Then, as described in step s4, according to the color angle value that is obtained, calculate corresponding tone and adjust angle, carrying out the tone adjustment through the adjusted picture signal of saturation by described tone adjustment unit 3.
Can be built-in with look-up table in the described tone adjustment unit 3, store tone in the described look-up table unit and adjust angle.Described built-in look-up table can be stored in the described tone adjustment unit 3 in advance.Below illustrate described tone adjustment process.
Fig. 6 is that tone is adjusted the curve example schematic in the method shown in Figure 4.With reference to shown in Figure 6, with the color angle value of described saturation adjustment unit 2 transmission as abscissa (input color angle value), with the adjusted color angle value of tone as ordinate (output color angle value).
Described tone adjustment can be according to the setting of TV user, and any one in selection linear mode, nonlinear way, linearity, the non-linear combination carries out.For example, if select linear mode, then can obtain the adjusted color angle value of tone by straight line 100; If select nonlinear way, then can obtain the adjusted color angle value of tone by curve 200; If select linear, non-linear combination, then can by curve 300 or the adjusted color angle value of tone.
And,, also can reselect other modes and adjust if TV user is dissatisfied to adjusted effect.In addition, TV user also can redesign the function of above-mentioned several adjustment curves, that is to say the adjusted color angle value of the tone that resets each color angle value correspondence, to obtain the best adjustment effect that TV user is assert.Therefore, the mode that described tone is adjusted is more flexible, and bigger tone adjusting range is provided.
In addition, above-mentioned linearity, non-linear combination are applicable to following situation: when importing the color angle in the special deviation of certain scope, we can carry out non-linear adjustment in this scope, other parts are carried out linear adjustment, such result can finely tune at that angular range of deviation, and other part is motionless.
Need to prove that unique prerequisite of adjusting curve as tone is that this curve must be continuous, and jump can not be arranged.If the result who jumps causes the color angle of output to have partial loss exactly, continuous color performance has effect appearance such as contour.
For carrying out the linear mode adjustment by straight line 100,3 need of described tone adjustment unit are abscissa value with the color angle value of described saturation adjustment unit 2 transmission, and applicable line 100 obtains its corresponding ordinate value as the adjusted color angle value of tone.For example, the slope of supposing straight line 100 is 1, and the color angle value of described saturation adjustment unit 2 transmission is 100 degree, and then the adjusted color angle value of tone also is 100 degree, promptly U, the V value of the picture signal of this color angle value correspondence is not carried out the tone adjustment.
For carrying out the nonlinear way adjustment by curve 200,3 need of described tone adjustment unit are abscissa value with the color angle value of described saturation adjustment unit 2 transmission, and application curves 200 obtains its corresponding ordinate value as the adjusted color angle value of tone.
And for carry out linearity, non-linear combination adjustment by curve 300,3 need of described tone adjustment unit are abscissa value with the color angle value of described saturation adjustment unit 2 transmission, and application curves 300 obtains its corresponding ordinate value as the adjusted color angle value of tone.Wherein, curve 300 is divided into two sections, comprising: curve 301 and straight line 302.That is to say that when the color angle value of described saturation adjustment unit 2 transmission was less than or equal to a certain angle value, application curves 301 was carried out non-linear adjustment; And when the color angle value of described saturation adjustment unit 2 transmission during greater than a certain angle value, applicable line 302 is carried out linearity adjustment.
For example, the color angle value of supposing 2 transmission of described saturation adjustment unit is less than or equal to 160 when spending, and application curves 301 is carried out non-linear adjustment; And when the color angle value of described saturation adjustment unit 2 transmission was spent greater than 160, applicable line 302 was carried out linearity adjustment.
Then when the color angle value of described saturation adjustment unit 2 transmission be 160 when spending, be abscissa value with 160 degree, obtain its corresponding ordinate values by curve 301.For example described ordinate value is 180 degree, then spends as the adjusted color angle value of tone with 180.
And when the color angle value when 2 transmission of described saturation adjustment unit be 180 when spending, be abscissa value with 180 degree, obtain its corresponding ordinate values by straight line 302.For example described ordinate value is 190 degree, then spends as the adjusted color angle value of tone with 190.
After obtaining the adjusted color angle value of tone, described tone adjustment unit 3 just can carry out the tone adjustment in conjunction with the U through the adjusted picture signal of saturation, the V value of described saturation adjustment unit 2 transmission in view of the above.
Tone can be by following formulate:
C=U * Sin (wt)+V * Cos (wt), wherein wt is the color angle value.
Then check colors when transferring in row and adjusting when needs, just can be by above-mentioned several adjustment curves, for example non-linear adjustment curve 200 obtains the adjusted color angle value of corresponding tone.Thereby the wt value is carried out the renewal adjusted based on tone, and obtain the value of new Sin (wt) and Cos (wt), with the new tone value of final acquisition.
After described tone adjustment unit 3 is finished tone and is adjusted, will new tone and the adjusted U of the saturation that is received, V value export.
Can see that from above illustrating above-mentioned chroma enhancing system and method have the custom colors number of degrees system of colour gamut by foundation, and based on U, the corresponding color angle value of V value of this custom colors number of degrees system-computed picture signal.U, V value with this color angle value combining image signal are successively carried out saturation adjustment and tone adjustment.Because the colour gamut in the described custom colors number of degrees system can be set up on their own by TV user, and the angular coverage of colour gamut also provides the meticulousr division for colour darkness, so, by described saturation adjustment and the adjusted image of tone, more meet the color sensation of TV user itself.Therefore the specific aim of above-mentioned chroma enhancing system and method and adjustment precision are higher.
Though the present invention discloses as above with preferred embodiment, the present invention is defined in this.Any those skilled in the art without departing from the spirit and scope of the present invention, all can do various changes and modification, so protection scope of the present invention should be as the criterion with claim institute restricted portion.