一种优化显示器件的显示色彩的方法技术领域本发明涉及图像处理技术，具体涉及一种优化显示器件的显示色彩的方法。 TECHNICAL FIELD A method of optimizing the display colors of the display device of the present invention relates to image processing techniques, particularly directed to a method for optimizing the display color of the display device. 背景技术随着显示技术的发展，显示器的种类越来越多，同时也可以用于电视机的图像显示，诸如LCDTV， PDPTV， DLPTV采用新型显示器件的电视机， 并不能高质量地进行显示。 BACKGROUND With the development of display technologies, more and more types of displays, but also can be used for a television image display, such as a LCDTV, PDPTV, DLPTV new television using a display device, and high quality can not be displayed. 这是因为大多数的彩色显示器件是由加法混色的三原色红、绿、蓝显示单元显示不同比例的红、绿、蓝，然后借助人眼的特性实现空间混色而达到彩色图像显示的。 This is because most of the color display device by additive color mixture of three primary colors red, green and blue display unit displays the different proportions of red, green, blue, and then by means of spatial characteristics of the human eye to achieve blending of a color image display. 也即显示器件的输入信号是红、绿、蓝三原色信号。 I.e. the input signal of the display device is a red, green, and blue signals. 几十年来，为了提高电视图像质量，业界持续地对"三原色"显像及处理技术进行改进，已取得了很大的进展。 For decades, in order to improve the quality of television pictures, the industry continually on the "primary colors" imaging and processing technology to improve, has made great progress. 但是在彩电制造企业中，由于市场竞争激烈，往往同一机型需要配合不同的显示屏，但不同显示屏的特性不同， 比如彩色重现范围就有差别，所以要保持出厂产品具有一致的白平衡，就要进行调校，牺牲某些显示屏的彩色重现范围以达到白平衡的一致性。 But TV manufacturers, due to intense market competition, often the same models with different screen needs, but different characteristics of different displays, such as color reproduction range, there are differences, so to maintain a consistent balance of manufactured products , adjustment will be carried out, to sacrifice some color display reproduction range, the white balance to achieve consistency. 一直以来，上述调校所采用的方法都是分别对显示器件的红、绿、蓝三原色进行调整，通常通过调整其相应的伽马校正曲线来实现。 Conventionally, the above-described adjustment method used is that of the display device, respectively, red, green, and blue is adjusted, typically by adjusting their respective gamma correction curve. 但由于显示器件光电特性的非线性，以及三原色的调整对与画面色彩的影响并不直观等问题，很难既在各级亮度下获得准确的彩色重现又兼顾整体的白平衡一致，使得显示器件无法达到理想的画面效果。 However, due to the nonlinear optical characteristics of the display device, and the three primary color images and adjusting impact of problems not intuitive, it is difficult not only to obtain accurate color reproducibility in the brightness levels and take into account the overall uniform white balance, so that the display the device can not achieve the desired picture effect. 中国专利《显示器件的显示色彩的调整方法》，公开号1694155，公开了一种显示器件的显示色彩的调整方法，将输入图像信号的各象素分入相应的亮度等级；在不同的亮度等级上对显示器件的六基色分别进行调整，所述六基色由红、绿、蓝三原色和三个新的基色组成，该三个新的基色是将三原色按照固定的配色比例分别进行两两搭配产生的，当对所述新的基色之一进行调整时即相当于对其对应的两种原色按照所述固定比例进行同时调整。 Chinese patent "method for adjusting the display color of the display device", Publication No. 1,694,155, discloses a method for adjusting a display color of a display device, each pixel of the input image signal is divided into respective brightness level; at different brightness levels for six-color display device is adjusted separately on the six primary colors of red, green, and blue, and three new primary colors, the three primary colors is the three primary colors new color according to a fixed ratio with pairwise generate when one of the new color adjustment is equivalent to its corresponding two primary colors simultaneously adjusted in accordance with the fixed ratio. 该发明采用六基色进行调节，由于增加了三种分别介于各原色之间的新的基色， 使得在对显示器件进行校正时，对于难于判断应该采用哪种原色进行调整的中间色彩能够应用新的基色进行调节，这种细化的调节方式更加符合人们的视觉习惯，把抽象的非线性曲线调节变的直观而精确。 The invention uses six-color adjustment, the addition of new three separate interposed between each primary color, so that when the display device is corrected, it is difficult to determine which of the primary colors should be used to adjust the new intermediate color can be applied the color adjustment, refinement of this embodiment is adjusted more in line with people's visual habits, the abstract nonlinear curve becomes intuitive and precise adjustment. 但是该发明中特定亮度平面的每个彩色分量的饱和度的校正系数只有一个，其校正方法是根据校正系数对相应彩色分量的饱和度进行线性调节，如图1所示。 However, the correction coefficient of saturation of a specific luminance plane for each color component of the invention, only one, which is a linear correction method for adjusting the saturation of the corresponding color component based on the correction coefficient, as shown in FIG. 如果进行大于1 的校正，对于高饱和度的输入，输出会出现过饱和的情况，比如BC段，画面上会出现损失彩色细节的情况，或者导致低饱和度的高亮细节丢失。 If the correction is greater than 1, for a high saturation of the input, the output will be oversaturated, such as segment BC, the expense of the color details appear on the screen, or lead to low saturation highlight detail lost. 发明内容本发明要解决的技术问题是提供一种直观而有效地对显示器件彩色重现的偏差进行调整和补偿的方法。 SUMMARY OF THE INVENTION The technical problem to be solved is to provide an intuitive and effective method of color reproduction of a display device and adjusting a deviation compensation. 本发明所采用的技术方案是， 一种优化显示器件的显示色彩的方法，在不同的亮度等级上对显示器件的六基色分别进行调整，所述六基色由红、绿、 蓝三原色和三个基色组成，该三个基色是将三原色按照固定的配色比例分别进行两两搭配产生的，当对所述新的基色之一进行调整时即相当于对其对应的两种原色按照所述固定比例进行同时调整，其特征在于：把输入信号的每个彩色分量的可能的饱和度分布0~1.0区间分成相互独立的多个区间；在每一个所述相互独立的区间根据显示器和相关电路的特性选择不同的校正系数， 以避免输出的过饱和和低饱和度的高亮细节丢失；所述各个不同的校正系数在饱和度的分布上形成连续的折线。 Technical proposal of the present invention, a method for displaying color display device optimization, six-color display device can be adjusted at different luminance levels respectively, the six primary colors of red, green, and blue, and three primary colors, three primary colors is the three primary colors according to a fixed ratio of each color with pairwise generated when one of said new color adjustment is performed according to a fixed ratio corresponding to the two primary colors corresponding to their simultaneously adjusted, characterized in that: the possible saturation of each color component of the input signal distribution section into 0-1.0 plurality of independent sections; characteristics of each section of said independent circuits in accordance with a display and associated selecting different correction coefficients, to avoid excessive saturation output and a low saturation highlight detail lost; the various correction coefficients form a continuous fold line in the distribution saturation. 优选的是，所述相互独立的多个区间是四个。 Preferably, a plurality of independent sections is four. 所述相互独立的多个区间是输入信号的每个彩色分量的饱和度分别为0〜0.2499、 0.2500〜0.4999、 0.5000~0.7499和0.7500〜1.0000的四个]区间。 Saturation of each color component of the plurality of independent input sections are respectively 0~0.2499, 0.2500~0.4999, and 0.5000 ~ 0.7499 four 0.7500~1.0000] interval. 所述选择各个不同的校正系数是，低饱和度区间设定大于1的校正系数， 高饱和度区间设定小于1的校正系数。 The selection of the various correction coefficients, the low saturation correction coefficient setting section is greater than 1, the interval is set high saturation correction coefficient less than one. 采用本发明的上述技术方案，有益的效果在于：根据折线校正系数对各个像素的不同彩色分量的饱和度进行非线性调节，即使进行大于1的校正， 对于高饱和度的输入，输出也不会出现过饱和的情况，也不会导致低饱和度的高亮细节丢失。 According to the present invention, the above technical solutions, advantageous effect in that: the nonlinear saturation adjustment of the different color components of each pixel based on the correction coefficient fold lines, even when the correction is greater than 1, for a high saturation of the input, output is not there have been saturated, the highlight detail will not lead to the loss of low saturation. 用四段折线近似进行非线性校正，降低了运算的复杂性， 优化了显示器件的显示色彩。 Polyline approximation with four nonlinear correction, reducing the complexity of calculation, optimizing the display color of the display device. 附图说明下面结合具体实施方式并对照附图，对本发明作进一步的详细说明。 BRIEF DESCRIPTION connection with specific embodiments and reference to the drawings, the present invention will be further described in detail. 图1是线性调节色彩饱和度的输入输出关系示意图； 图2是芒塞尔色度系统示意图； 图3是牛顿色环及其预测论述图示； 图4是折线调节色彩饱和度的输入输出关系示意图； 图5是本发明的3D六色处理算法示意图； 图6是采用本发明的方法获得的图像效果图。 Figure 1 is a schematic view of a linear input-output relationship of the color saturation adjustment; FIG. 2 is a schematic Munsell system; FIG. 3 is a color wheel and Newton predicted discussed shown; FIG. 4 is an input-output relationship of the color saturation adjusting polyline schematic; FIG. 5 is a schematic view of six-color 3D processing algorithm according to the present invention; FIG. 6 is an image rendering method of the present invention is obtained. 具体实施方式这种显示器件的显示色彩的调整方法，是将输入图像信号的各象素分入相应的亮度等级，所述亮度等级按照显示器件的亮度变化能力划分， 一般来说可以分为64级；在不同的亮度等级上对显示器件的六基色分别进行调整， 所述六基色由红（R-Red)、绿（G=Green)、蓝（B=Blue)三原色和三个新的基色组成，该三个新的基色分别是：红、绿按照各占50%的比例搭配产生的黄色（Y=Yellow);绿、蓝按照各占50%的比例搭配产生的青色（OCyan); 红、蓝按照各占50%的比例搭配产生的品红色（M=Magenta)，当对所述新的基色之一进行调整时即相当于对其对应的两种原色按照所述固定比例进行同时调整。 The method of adjusting the display color of this particular embodiment of the display device, each pixel is divided into an input image signal corresponding to the luminance level, the luminance level of luminance change capabilities are divided according to the display device, in general, it can be divided into 64 level; of six-color display device can be adjusted separately at different brightness levels, the six primary colors of red (R-red), green (G = green), and blue (B = blue) and the three primary colors new primaries composition, the new primary colors are three: red, green with yellow (Y = yellow) produced in accordance with the proportion of 50:50; green, blue produced with cyan (OCyan) in proportion of 50-50; red , magenta (M = magenta) blue accordance with the ratio 50:50 produced, when one of the new color adjustment is equivalent to its corresponding two primary colors simultaneously adjusted in accordance with the fixed ratio . 色彩调节的原理在于：每个像素都包含有色调（hue)，饱和度（saturation)、 亮度（brightness)三种信号，这就是3D概念的出处，可以表示为如图2的芒塞尔色度系统（Munsell Color System)中的一个点。 Color adjustment principle that: each pixel comprises a hue (Hue), saturation (Saturation), three signals luminance (Brightness), which is the source concept 3D, Mountain 2 may represent chromaticity of FIG Sergio a point system (Munsell Color system) is. 图2中纵轴表示亮度， 可以由暗到亮分为多级，各个亮度级别的横截面为牛顿色环，如图3所示。 The vertical axis represents luminance FIG. 2, from dark to light can be divided into multi-level, cross-section of the respective luminance levels of color-Newton ring, as shown in FIG. 从牛顿色环的中心到圆周，饱和度依次增强，而沿着环的圆周，色调在红、 绿、蓝三原色之间变化。 Newton's rings from the center to the circumference of the color, saturation enhancement successively, along the circumference of the ring, between the change in color tone of red, green, and blue. 各种色彩与原色的关系遵从以下预测论述：1、 两个基色的相连线上代表的彩色被认为是两种基色的混合色，比如：等量的绿色和红色产生黄色a，这点黄色的饱和度低于其端点的饱和度，因为这点更靠近中心点；2、 等量的红色和其互补色青色相混合能得到白色或单色的灰，而多一点红色则生成低饱和度的红色或品红；3、 蓝色和光谱色b以适当比例混合生成的彩色c可以被认为感觉上等同有相同色调的光谱色d而饱和度略低。 The relationship between the various color primaries to comply with the following discussion prediction: line connected to the representative color 1, two are considered to be two kinds of color mixture of the primary colors, such as: equal amounts of green and red yellow a, this yellow saturation is below the saturation endpoints, as this is closer to the center point; 2, equal amounts of red and cyan complementary color mixing can be obtained off-white or monochrome, and multi-bit red low saturation is generated red or magenta; 3, and the blue spectral colors in suitable proportions b generated color c may be considered equivalent to the spectral colors have the same hue and saturation slightly d feel. 由图3可以看出，三原色各自之间有很宽的过度色调区域，对于一种并不靠近三种原色的色彩很难直观判断出需要通过调节哪种原色来达到对其进行调整的目的，而增加新的基色以后，使得对比和选择变得更加直观而精确了。 As can be seen from Figure 3, has a wide area between the primary colors over each tone, is not close to three primary colors for one color difficult to visually determines that the object which need adjusting to achieve its primary color adjustment, after adding new primary colors, such comparison and selection more intuitive and accurate. 在上述对六基色进行分别调整的过程中可以采用标准图片对比的方法， 选用足够数量的具有足够丰富色彩细节和亮度层次的标准图片作为调整的依据，将显示出来的图像与标准图片进行对比，将每个亮度平面上不理想的彩色找出来，判断其最接近哪一种基色，然后对相应的基色进行增强或减弱，重复上述判断并修正的过程。 In the process of the six-color separately adjusting the above-described method of standard image contrast may be employed, the choice of a sufficient quantity of a sufficient rich color detail and luminance levels of the standard image as a basis for the adjustment, the displayed image and the standard image are compared, the undesirable color on each luminance plane to find out, which determines its closest color, then the corresponding primary enhanced or decreased, and the determination is repeated correction process. 在实际操作过程中，可以先采用常规R/G/B伽马曲线校正及白平衡调整后再用六基色进行进一步色彩校正。 In actual operation, it is possible to use a conventional R / G / B white balance adjustment and gamma correction curve is further performed after the color correction by using six primary colors. 由于上述调整过程是对色彩偏差的精细化调节，因此对六基色中各个基色的操作可近似看作独立的，例如，对黄基色的增强或减弱并不对显示画面的其他五种基色调产生影响，虽然实际上是对红、绿两种原色同时进行程度减半的增强或减弱， 但从人的视觉效果上看，由于对原色的调节是程度减半的，因此对单纯红或近红以及单纯绿及近绿色彩的影响几乎是不易察觉的，而只对单纯黄或近黄色彩产生相对明显的影响，因此以此种方法进行的调节具有直观而精确的效果。 Since the adjustment is a fine adjustment process of the color deviation, and therefore the operation of each of the six primary colors can be approximated as independent primary colors, for example, does not affect the other five groups tone display screen of increase or decrease of primary colors yellow Although actually a red, green two primary colors at the same time halving the extent of increase or decrease, but the human visual effect, the primary colors due to the extent of regulation is halved, so the simple red or red and near effect nearly pure green and green color almost imperceptible, but only produce a relatively significant impact on nearly pure yellow or yellow color, so as to perform this adjustment method is intuitive and accurate results. 在上述具体实施方式中选择按三原色两两等量搭配产生的颜色为新的基色，是由于它们分别是三种原色的补色：黄色是蓝色的补色，青色是红色的补色，品红色是绿色的补色，能够在视觉上作到既丰富了单调的原色，使得可调基色涵盖了宽的色彩范围，又与己有的原色有鲜明的对比和区别，使得更加容易选择出应调整的基色。 Selections by twenty-two equal amounts of three primary colors with the color generated in the embodiment of a new color, because they are the three primary colors of the complementary color: yellow is a complementary color of blue, green red complementary color, magenta green complementary colors, can be done both visually monotonous rich primary colors, so that the adjustable color covers a wide range of colors, but in contrast have been distinguished, and some primary colors, making it easier to choose a color to be adjusted. 也可以对新基色的形成比例进行调整，只要能够符合人们的视觉习惯，起到丰富可调整基色的作用就可以了。 It can also adjust the ratio to form a new color, as long as able to meet people's visual habits play a primary role in adjustable rich on it. 甚至也可以增加新的基色数目，但由于新增基色始终是两种原色的固定比例混合，过多的基色也会导致调整的烦琐和混乱，因此六种基色的数目是较为适当的。 You can even increase the number of new color, but because of the new color is always fixed proportion of mixing two primary colors, too much can lead to color adjustment cumbersome and confusing, and therefore the number of six kinds of primary colors is more appropriate. 本发明完善和改进的色彩饱和度的调整方法是进行非线性校正，为了降低运算的复杂性，用四段折线近似非线性校正系数，也即每个区间，设定一个校正系数（即斜率）如图4所示。 The method of adjusting color saturation according to the present invention is to refine and improve nonlinear correction is carried out, in order to reduce computation complexity, by approximately four fold line nonlinear correction coefficient, i.e. each interval, a correction coefficient is set (i.e., slope) As shown in Figure 4. 怎样划分成分别对应不同的饱和度的四个区间呢？ How is divided into four sections corresponding to different saturation of it? 如图4所示，在输入信号的每个彩色分量的饱和度0〜1.0之间分成四份，作为一个优选实施例，在输入信号的每个彩色分量的饱和度0~1.0之间平均四等分,即0〜0.2499; 0.2500~0.4999; 0.5000~0.7499; 0.7500~1.0000分别为一区间。 As shown, between the saturation 0~1.0 each color component of the input signal is divided into four parts 4, as a preferred embodiment, between 0 to 1.0 saturation of each color component of the input signal is an average of four aliquoted, i.e. 0~0.2499; 0.2500 ~ 0.4999; 0.5000 ~ 0.7499; 0.7500 ~ 1.0000 respectively a section. 选择四段折线的校正系数（即斜率）的方法是低饱和度区间主要是用于补偿显示器件的不足，设定大于l的校正系数（即斜率），高饱和度区间主要是要防止高饱和度输入信号出现过饱和现象，设定小于1的校正系数（即斜率），形成连续的四段折线，达到对饱和度进行非线性校正的目标，如图4所示，是四个不同校正系数的示意图，具体的最优设定值根据显示器和电路的特性，通过输入典型的图像信号，由画质调整师目测并反复调整得出。 Selecting a correction factor four fold line (i.e., slope) is low saturation interval method is mainly used to compensate for the lack of a display device, a correction coefficient is set (i.e., slope) is greater than l, the main high saturation interval is to prevent high saturation of the input signal occurs supersaturation, the correction coefficient is set smaller than 1 (i.e. slope) to form four continuous fold line, to achieve the objectives of the nonlinear saturation correction, shown in Figure 4, four different calibration coefficients a schematic view, according to the specific characteristics of the optimal set value and the display circuit, typically by the input image signal, by the visual image quality adjustment to adjust the division and repeatedly obtained. 如图5是本发明的3D六色处理算法示意图，纵轴表示的亮度由暗到亮分为多级，各个亮度级别的横截面为牛顿色环，每个牛顿色环的平面又用同心圆分成四份，在中心圆和每一个圆环内用不同的校正系数调整色彩饱和度。 5 is a schematic view of six-color 3D processing algorithm according to the present invention, the vertical axis represents luminance from dark to light is divided into multi-level, brightness level of each cross section of Newton rings color plane of each color of Newton rings and concentric circles divided into four parts, to adjust the color saturation correction coefficients different in the center of the circle and each ring. 采用本发明的方法以后，显示器的图像质量得到提高， 一些让人产生美感的彩色（比如天空的蓝色、草地的绿色等等）能得到加强，可以改善显示器件本身的不足，同时根据消费者的彩色偏好对画面的彩色进行修饰，并且， 对于高饱和度的输入，防止输出会出现过饱和的情况，这样，画面的彩色得到了强化和修饰，画面上又不会出现损失彩色细节的情况或低饱和度的高亮细节丢失。 After the process of the present invention, the image display quality is improved, color (such as blue, sky, grass green, etc.) Some people sense of beauty can be enhanced, the display device can be improved deficiency itself, but according to consumer a color preference for color images is modified, and, for high saturation input, the output will prevent oversaturated, so that color images has been modified and strengthened, the expense of the details of the color does not appear on the screen and or low saturation highlight detail is lost. 根据人群的对比盲测，色彩评价等级平均能提高1.2级。 The comparison of blind people, to improve the average color rating scale 1.2. 如图6所示，原图像是一幅蓝天白云的画面，采用对比方法的六基色调整以后，天空的蓝色增强，在显示器上显示出更鲜艳的色彩；采用本发明的方法调整以后，可以看见更多白云的细节，天空的蓝色增强，白云的细节保持。 6, the original image is a picture of a blue sky, after six contrasting color adjustment methods, enhanced blue sky, showing more vibrant colors on a display; after adjustment using the method of the invention, can be For more details see clouds, blue sky enhancement, clouds detail is maintained.