TWI571858B - Image color adjusting circuit and method for adjusting the saturation of - Google Patents

Image color adjusting circuit and method for adjusting the saturation of Download PDF

Info

Publication number
TWI571858B
TWI571858B TW100114535A TW100114535A TWI571858B TW I571858 B TWI571858 B TW I571858B TW 100114535 A TW100114535 A TW 100114535A TW 100114535 A TW100114535 A TW 100114535A TW I571858 B TWI571858 B TW I571858B
Authority
TW
Taiwan
Prior art keywords
data
color
pixel
color saturation
difference
Prior art date
Application number
TW100114535A
Other languages
Chinese (zh)
Other versions
TW201243819A (en
Inventor
李昆憲
鍾元禧
Original Assignee
矽創電子股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 矽創電子股份有限公司 filed Critical 矽創電子股份有限公司
Priority to TW100114535A priority Critical patent/TWI571858B/en
Publication of TW201243819A publication Critical patent/TW201243819A/en
Application granted granted Critical
Publication of TWI571858B publication Critical patent/TWI571858B/en

Links

Landscapes

  • Image Processing (AREA)

Description

影像色彩飽和度之調整電路及其調整方法Image color saturation adjustment circuit and adjustment method thereof

    本發明係有關於一種調整電路及其調整方法,其係尤指一種可達到保持原圖的色相,並增強原圖的色彩飽和度之目的一種影像色彩飽和度之調整電路及其調整方法。
The invention relates to an adjustment circuit and an adjustment method thereof, and particularly relates to an image color saturation adjustment circuit and an adjustment method thereof, which can achieve the hue of the original image and enhance the color saturation of the original image.

    按,從最早的陰極射線管顯示器到最近逐漸呈成為主流的液晶顯示器,顯示器一直是現代人不可或缺的資訊交換工具。陰極射線管顯示器在各種應用領域已經非常成熟,尤其在電視以及電腦顯示的應用上,陰極射線管顯示器提供了豐富的色彩表現。由於體積和重量的考量,陰極射線管顯示器較不適用於筆記型電腦和個人數位助理(PDA)中。液晶顯示器則因為其體積小和重量輕的因素,陸續在各個應用領域取代了傳統的陰極射線管顯示器。
    傳統數位影像之色彩屬性的記錄方法,例如將畫素的色彩屬性以 RGB、YUV、YCbCr或YPbPr等色彩座標來表示,在實際應用上其實並不符合人類的視覺感知,以致並不易依照各畫素當時所顯示的色彩來調整其色彩屬性。當要進行飽和度或明度的調整時,只能將所有色彩的飽和度與明度一起增加或減少。舉例來說,以H代表色相(Hue)、V代表明度(Value)以及S代表飽和度(Saturation)。在傳統作法中,所有色彩被調整後的色相、飽和度、明度應該一致為:
    H’=f(H);S’=f(S)及V’=f(V)。
    然而,人類視覺上對於所有色彩的飽和度或明度並非都有一致的喜好。例如使用者A可能喜歡較飽和的紅色以及較不飽和的綠色,而使用者B卻可能喜歡較不飽和的紅色以及較飽和的藍色。因此,若不考慮人類視覺上的個別喜好,不判斷畫素本身當時所顯示的色彩屬性,卻只固定將飽和度或明度一起增加或減少,則無法讓使用者獲得最佳的視覺效果。
    再者,目前液晶顯示器比較於傳統的陰極射線管顯示器在色彩飽和度會有明顯的不足的問題,因此透過資料處理的方法,將色彩飽和度增強,在增加色彩飽和度的同時,也需要考慮色相(顏色的位置)的問題,傳統的做法中會因為增加了色彩飽和度,但是也改變了色相,也就是改變了顏色,因此如何增強色彩飽和度之問題為現今的一大重要課題。
    因此,本發明即在針對上述問題而提出一種影像色彩飽和度與亮度之調整電路及其調整方法,不僅可改善上述習用缺點,又可保持原圖的色相,並增強原圖的色彩飽和度,以解決上述問題。
From the earliest cathode ray tube displays to the liquid crystal displays that have recently become mainstream, displays have always been an indispensable information exchange tool for modern people. Cathode ray tube displays are well established in a variety of applications, especially in television and computer display applications, and cathode ray tube displays provide rich color performance. Cathode ray tube displays are less suitable for use in notebook computers and personal digital assistants (PDAs) due to volume and weight considerations. Liquid crystal displays have replaced traditional cathode ray tube displays in various applications due to their small size and light weight.
The recording method of the color attribute of the traditional digital image, for example, the color attribute of the pixel is represented by color coordinates such as RGB, YUV, YCbCr or YPbPr, and the practical application does not conform to the human visual perception, so that it is not easy to follow each picture. The color displayed at the time to adjust its color properties. When the saturation or brightness adjustment is to be made, only the saturation of all colors can be increased or decreased along with the brightness. For example, H stands for Hue, V stands for Value, and S stands for Saturation. In the traditional practice, the hue, saturation, and brightness of all colors should be consistent:
H'=f(H);S'=f(S) and V'=f(V).
However, humans do not have a consistent preference for the saturation or brightness of all colors. For example, user A may prefer a more saturated red and a less saturated green, while user B may prefer a less saturated red and a more saturated blue. Therefore, if you do not consider the individual preferences of human vision, and do not judge the color attributes displayed by the pixels themselves at the time, but only increase or decrease the saturation or brightness together, the user can not get the best visual effect.
Furthermore, the current liquid crystal display has a significant problem of color saturation compared with the conventional cathode ray tube display. Therefore, the color saturation is enhanced by the data processing method, and the color saturation is also required to be considered. The problem of hue (the position of color) is traditionally increased in color saturation, but it also changes the hue, that is, changes the color. Therefore, how to enhance the color saturation is an important issue today.
Therefore, the present invention provides an image color saturation and brightness adjustment circuit and an adjustment method thereof for the above problems, which not only can improve the above-mentioned conventional disadvantages, but also maintain the hue of the original image and enhance the color saturation of the original image. To solve the above problems.

    本發明之目的之一,在於提供一種影像色彩飽和度之調整電路及其調整方法,其藉由一運算模組依據一畫素輸入資料對應產生一增強係數,並運算增強係數與一第一色彩飽和資料而產生一第二色彩飽和資料。如此,本發明可在保持原圖的色相的情況下而增強原圖的色彩飽和度的目的。
    本發明之目的之一,在於提供一種影像色彩飽和度之調整電路及其調整方法,其藉由複數比較單元得知畫素輸入資料之該些色彩資料的最大值與最小值,再由一查詢單元依據最大值與最小值間的差值與該些參考資料而依據對應之一參考係數產生一增強係數,以增強影像色彩飽和度的目的。
    本發明為一種影像色彩飽和度之調整電路包含一第一資料轉換單元、一運算模組與一第二資料轉換單元。影像色彩飽和度之調整方法係由第一資料轉換單元接收畫素輸入資料轉換畫素輸入資料,產生畫素轉換資料,畫素轉換資料包含第一色彩飽和資料,運算模組依據畫素輸入資料對應產生增強係數,並運算增強係數與第一色彩飽和資料,以產生一第二色彩飽和資料,第二資料轉換單元轉換第二色彩飽合資料的色彩轉換資料,以產生一畫素輸出資料而供顯示,如此,本發明即可達到保持原圖的色相,而增強原圖之色彩飽和度之目的。
An object of the present invention is to provide an image color saturation adjustment circuit and an adjustment method thereof, which generate an enhancement coefficient according to a pixel input data by an operation module, and calculate an enhancement coefficient and a first color. The data is saturated to produce a second color saturation data. Thus, the present invention can enhance the color saturation of the original image while maintaining the hue of the original image.
An object of the present invention is to provide an image color saturation adjustment circuit and a method for adjusting the same, wherein the plurality of comparison units are used to know the maximum value and the minimum value of the color data of the pixel input data, and then a query The unit generates an enhancement coefficient according to the difference between the maximum value and the minimum value and the reference materials according to the corresponding reference coefficient to enhance the image color saturation.
The invention relates to an image color saturation adjustment circuit comprising a first data conversion unit, an operation module and a second data conversion unit. The image color saturation adjustment method is: the first data conversion unit receives the pixel input data and converts the pixel input data to generate pixel conversion data, the pixel conversion data includes the first color saturation data, and the operation module inputs the data according to the pixel. Correspondingly generating an enhancement coefficient, and calculating the enhancement coefficient and the first color saturation data to generate a second color saturation data, and the second data conversion unit converting the color conversion data of the second color saturation data to generate a pixel output data. For display, in this way, the present invention can achieve the purpose of maintaining the hue of the original image and enhancing the color saturation of the original image.

    茲為使 貴審查委員對本發明之技術特徵及所達成之功效更有進一步之瞭解與認識,謹佐以較佳之實施例圖及配合詳細之說明,說明如後:
    請參閱第一圖,係為本發明影像色彩飽和度之調整電路之一較佳實施例之方塊圖。如圖所示,影像色彩飽和度之調整電路1包含一第一資料轉換單元10、一運算模組20與一第二資料轉換單元30。第一資料轉換單元10接收一畫素輸入資料,將畫素輸入資料進行色彩空間的轉換,即第一資料轉換單元10轉換畫素輸入資料而產生一畫素轉換資料,而畫素轉換資料包含一第一色彩飽和資料,於此實施例中,畫素輸入資料為一RGB格式的色彩空間,而畫素轉換資料為一HSV格式的色彩空間,所以,第一資料轉換單元10係將畫素輸入資料由RGB格式的色彩空間轉換至HSV格式的色彩空間,即畫素輸入資料與畫素輸出資料各包含複數色彩資料,該些色彩資料包含一色彩資料R、一色彩資料G與一色彩資料B,而畫素轉換資料包含一色相資料H、一色彩飽和度資料S與一明度資料V。第一資料轉換單元10即轉換該些色彩資料為色相資料H、色彩飽和度資料S與明度資料V,而第二資料轉換單元30將色相資料H、色彩飽和度資料S與明度資料V轉換回該些色彩資料。
    運算模組20接收畫素輸入資料,並依據畫素輸入資料對應產生一增強係數,運算模組20則運算增強係數與第一色彩飽和資料,以產生一第二色彩飽和資料,第二資料轉換單元30轉換包含第二色彩飽和資料的畫素轉換資料,以產生一畫素輸出資料而供顯示,如此,即可達到保持原圖的色相,並增強原圖的色彩飽和度之目的。
    承上所述,運算模組20依據畫素輸入資料而對應產生增強係數的方法之一係由查表(Look-table)的方式產生增強係數,即運算模組20係依據畫素輸入資料與複數參考資料,以產生增強係數,而該些參考資料分別對應複數參考係數,運算模組20依據畫素輸入資料與該些參考資料而依據對應之參考係數產生增強係數。也就是以第二圖為例,第一行為參考資料,第二行為參考係數而第三行為增強係數,當運算模組20接收畫素輸入資料,並運算畫素輸入資料後所得的運算值為1,並運算模組20會比對運算值與該些參考資料,即會比對到為1的參考資料,而參考資料所對應之參考係數為1.1,運算模組20則決定參考係數1.1為增強係數。之後,運算模組20再將增強係數1.1與第一色飽和資料相乘而產生第二色飽和資料,第二資料轉換單元30再轉換包含第二色彩飽和資料的畫素轉換資料,以產生畫素輸出資料而供後續電路顯示。如此,本發明藉由計算出增強係數,再將增強係數與第一色飽和資料產生新的色飽和資料,以達到增加原圖影像的色彩飽和度之目的。
    此外,畫素輸入資料包含複數色彩資料,運算模組20比較該些色彩資料,而得知該些色彩資料的一最大值與一最小值,再運算該些色彩資料的最大值與最小值而求得一差值,之後,運算模組20可由該差值而找出對應之參考資料,再依據上述的方法而可得知增強係數。舉例來說,畫素輸入資料所包含該些色彩資料為RGB格式的色彩空間,即該些色彩資料為色彩資料R、色彩資料G與色彩資料B,當色彩資料R為154,色彩資料G為159,而色彩資料B為156,運算模組20運算該些色彩資料後,得知最大值為色彩資料G為159,最小值為色彩資料R為154,最大值與最小值間的差值為5,而差值所對應之參考資料為5,由第二圖之查表得知參考係數為1.3,而增強係數為1.3。
    另外,運算模組20若比對不到相同於差值的參考資料,其會尋找兩相近於此差值的參考資料,並分別尋找對應於兩相近於此差值的參考資料的兩參考係數,而依照此兩參考係數進行運算而求得一增強係數,而提供至乘法單元29以進行運算,例如使用內插法運算或者是平均運算以求得增強係數。舉例來說,若該些色彩資料之最大值與最小值間的差值為2,而對應不到參考係數時,運算模組20則可運用接近於參考資料為2的近似值來加以運算,即利用為1與3的參考資料來加以運算得知增強係數,其為1.15。
    請復參閱第一圖,本發明之影像色彩飽和度之調整電路的運算模組20包含一第一比較單元22、一第二比較單元24、一減法單元26、一查詢單元28與一乘法單元。第一比較單元22接收畫素輸入資料的該些色彩資料,而用以比較該些色彩資料,以找出該些色彩資料的最大值,之後,第一比較單元22輸出該些色彩資料的最大值。第二比較單元24接收畫素輸入資料的該些色彩資料,而用以比較該些色彩資料,以找出該些色彩資料的最小值,之後,第二比較單元24輸出該些色彩資料的最小值。減法單元26接收該些色彩資料的最大值與最小值,再相減最大值與最小值而產生一差值,查詢單元28接收差值,依據差值與該些參考資料以產生增強係數,其中,該些參考資料分別對應複數參考係數,查詢單元28依據差值與該些參考資料,而依據對應之參考係數產生增強係數。乘法單元29用以相乘增強係數與第一色彩飽和資料,以產生第二色彩飽和資料。之後,第二資料轉換單元30再將轉換包含第二色彩飽和資料的畫素轉換資料,以產生畫素輸出資料而供後續電路顯示。
    另外,本發明之調整電路並一定侷限應用於調整影像的色彩飽和度,亦可利用相同的方法調整影像的亮度,此為該技術領域中具有通常知識者依據本發明說明書而可以易於相同調整方法調整影像之亮度,所以,於此將不再加以贊述。
    請一併參閱第三圖,係本發明之一較佳實施例之影像色彩飽和度之調整方法的流程圖。如圖所示,本發明之影像色彩飽和度之調整方法係先執行步驟S10提供一畫素輸入資料,並轉換畫素輸入資料,產生一畫素轉換資料,畫素轉換資料包含一第一色彩飽和資料。接著,執行步驟S12接收畫素輸入資料,並依據畫素輸入資料對應產生一增強係數,即比對畫素輸入資料與複數參考資料,以產生增強係數,其中,該些參考資料分別對應複數參考係數,比對畫素輸入資料與該些參考資料,而依據對應之參考係數產生增強係數。此外,畫素輸入資料包含複數色彩資料,比較該些色彩資料,以得知該些色彩資料之一最大值與一最小值,並運算該最大值與該最小值求得一差值,且依據差值產生增強係數。其中於依據畫素輸入資料對應產生增強係數之步驟中,係比較該些色彩資料,而得知該些色彩資料之最大值;比較該些色彩資料,而得知該些色彩資料之最小值;之後,相減最大值與最小值得知一差值;再比對差值與參考資料以產生增強係數,其中該些參考資料分別對應複數參考係數,在比對差值與參考資料以產生增強係數中係比對差值與該些參考資料,而依據對應之參考係數產生增強係數。之後,執行步驟S14運算增強係數與第一色彩飽和資料,以產生一第一色彩飽和資料,即係相乘該增強係數與該第一色彩飽和資料產生該第二色彩飽和資料。
    綜上所述,本發明之影像色彩飽和度之調整電路包含一第一資料轉換單元、一運算模組與一第二資料轉換單元。影像色彩飽和度之調整方法係由第一資料轉換單元接收畫素輸入資料轉換畫素輸入資料,產生畫素轉換資料,畫素轉換資料包含第一色彩飽和資料,運算模組依據畫素輸入資料對應產生增強係數,並運算增強係數與第一色彩飽和資料,以產生一第二色彩飽和資料,第二資料轉換單元轉換第二色彩飽合資料的色彩轉換資料,以產生一畫素輸出資料而供顯示,如此,本發明即可達到保持原圖的色相,而增強原圖之色彩飽和度之目的。
    故本發明實為一具有新穎性、進步性及可供產業上利用者,應符合我國專利法專利申請要件無疑,爰依法提出發明專利申請,祈鈞局早日賜准專利,至感為禱 。 
    惟以上所述者,僅為本發明一較佳實施例而已,並非用來限定本發明實施之範圍,故舉凡依本發明申請專利範圍所述之形狀、構造、特徵及精神所為之均等變化與修飾,均應包括於本發明之申請專利範圍內。
In order to give your reviewers a better understanding and understanding of the technical features of the present invention and the efficacies achieved, please refer to the preferred embodiment diagrams and detailed descriptions to illustrate:
Please refer to the first figure, which is a block diagram of a preferred embodiment of the image color saturation adjustment circuit of the present invention. As shown in the figure, the image color saturation adjustment circuit 1 includes a first data conversion unit 10, an operation module 20, and a second data conversion unit 30. The first data conversion unit 10 receives a pixel input data, and converts the pixel input data into a color space, that is, the first data conversion unit 10 converts the pixel input data to generate a pixel conversion data, and the pixel conversion data includes a first color saturation data. In this embodiment, the pixel input data is a color space of an RGB format, and the pixel conversion data is a color space of an HSV format. Therefore, the first data conversion unit 10 is a pixel. The input data is converted into a color space of the HSV format by the color space of the RGB format, that is, the pixel input data and the pixel output data each include a plurality of color data, and the color data includes a color data R, a color data G, and a color data. B, and the pixel conversion data includes a hue data H, a color saturation data S, and a brightness data V. The first data conversion unit 10 converts the color data into hue data H, color saturation data S and brightness data V, and the second data conversion unit 30 converts the hue data H, the color saturation data S and the brightness data V back. The color data.
The computing module 20 receives the pixel input data, and generates a enhancement coefficient according to the pixel input data, and the operation module 20 calculates the enhancement coefficient and the first color saturation data to generate a second color saturation data, and the second data conversion The unit 30 converts the pixel conversion data including the second color saturation data to generate a pixel output data for display, thereby achieving the purpose of maintaining the hue of the original image and enhancing the color saturation of the original image.
As described above, one of the methods for generating the enhancement coefficient according to the pixel input data is to generate the enhancement coefficient by means of a look-table, that is, the operation module 20 is based on the pixel input data and The plurality of reference materials are used to generate enhancement coefficients, and the reference data respectively correspond to the plurality of reference coefficients, and the operation module 20 generates the enhancement coefficients according to the reference input coefficients according to the pixel input data and the reference materials. That is, taking the second figure as an example, the first behavior reference material, the second behavior reference coefficient and the third behavior enhancement coefficient, when the operation module 20 receives the pixel input data, and operates the pixel input data, the calculated value is 1. The computing module 20 compares the calculated value with the reference data, that is, the reference data is compared to 1, and the reference coefficient corresponding to the reference data is 1.1, and the computing module 20 determines the reference coefficient 1.1. Enhancement factor. Then, the computing module 20 multiplies the enhancement coefficient 1.1 by the first color saturation data to generate a second color saturation data, and the second data conversion unit 30 converts the pixel conversion data including the second color saturation data to generate a picture. The output data is displayed for subsequent circuits. Thus, the present invention achieves the purpose of increasing the color saturation of the original image by calculating the enhancement coefficient and then generating a new color saturation data with the enhancement coefficient and the first color saturation data.
In addition, the pixel input data includes a plurality of color data, and the operation module 20 compares the color data, and obtains a maximum value and a minimum value of the color data, and then calculates the maximum value and the minimum value of the color data. After obtaining a difference, the operation module 20 can find the corresponding reference data from the difference, and then learn the enhancement coefficient according to the above method. For example, the pixel input data includes the color data in a color space of RGB format, that is, the color data is color data R, color data G, and color data B. When the color data R is 154, the color data G is 159, and the color data B is 156. After the operation module 20 calculates the color data, it is found that the maximum value is the color data G is 159, the minimum value is the color data R is 154, and the difference between the maximum value and the minimum value is 5, and the reference data corresponding to the difference is 5, and the reference coefficient of the second chart is 1.3, and the enhancement coefficient is 1.3.
In addition, if the computing module 20 does not compare the reference data that is the same as the difference, it searches for the reference data of two phases close to the difference, and separately searches for two reference coefficients corresponding to the reference data of the two phases close to the difference. An enhancement coefficient is obtained by performing an operation according to the two reference coefficients, and is supplied to the multiplication unit 29 to perform an operation, for example, using an interpolation operation or an averaging operation to obtain an enhancement coefficient. For example, if the difference between the maximum value and the minimum value of the color data is 2, and the reference coefficient is not matched, the operation module 20 can operate by using an approximation value close to the reference data of 2, that is, The enhancement factor is found using a reference of 1 and 3, which is 1.15.
Referring to the first figure, the operation module 20 of the image color saturation adjustment circuit of the present invention comprises a first comparison unit 22, a second comparison unit 24, a subtraction unit 26, a query unit 28 and a multiplication unit. . The first comparison unit 22 receives the color data of the pixel input data, and compares the color data to find the maximum value of the color data, and then the first comparison unit 22 outputs the maximum of the color data. value. The second comparison unit 24 receives the color data of the pixel input data, and compares the color data to find a minimum value of the color data, and then the second comparison unit 24 outputs the minimum of the color data. value. The subtraction unit 26 receives the maximum value and the minimum value of the color data, and then subtracts the maximum value and the minimum value to generate a difference value, and the query unit 28 receives the difference value, and generates the enhancement coefficient according to the difference value and the reference materials, wherein The reference materials respectively correspond to the plurality of reference coefficients, and the query unit 28 generates the enhancement coefficients according to the difference and the reference materials according to the corresponding reference coefficients. The multiplication unit 29 is configured to multiply the enhancement coefficient and the first color saturation data to generate a second color saturation data. Thereafter, the second data conversion unit 30 converts the pixel conversion data including the second color saturation data to generate pixel output data for subsequent circuit display.
In addition, the adjustment circuit of the present invention is limited to adjust the color saturation of the image, and the brightness of the image can be adjusted by the same method, which is easy for the same adjustment method according to the specification of the present invention. Adjust the brightness of the image, so it will not be mentioned here.
Please refer to the third figure, which is a flowchart of a method for adjusting image color saturation according to a preferred embodiment of the present invention. As shown in the figure, the image color saturation adjustment method of the present invention first performs step S10 to provide a pixel input data, and converts the pixel input data to generate a pixel conversion data, wherein the pixel conversion data includes a first color. Saturated data. Then, step S12 is performed to receive the pixel input data, and corresponding to the pixel input data, an enhancement coefficient is generated, that is, the pixel input data and the plurality of reference materials are compared to generate an enhancement coefficient, wherein the reference materials respectively correspond to the plurality of reference materials. The coefficients are compared to the pixel input data and the reference materials, and the enhancement coefficients are generated according to the corresponding reference coefficients. In addition, the pixel input data includes a plurality of color data, and the color data is compared to obtain a maximum value and a minimum value of the color data, and the difference between the maximum value and the minimum value is calculated, and The difference produces an enhancement factor. In the step of generating the enhancement coefficient according to the pixel input data, comparing the color data to obtain the maximum value of the color data; comparing the color data to obtain the minimum value of the color data; Then, subtracting the maximum value from the minimum value to obtain a difference; and comparing the difference value with the reference data to generate an enhancement coefficient, wherein the reference data respectively correspond to the complex reference coefficient, and comparing the difference value with the reference data to generate the enhancement coefficient The middle system compares the difference with the reference materials and generates an enhancement coefficient according to the corresponding reference coefficient. Then, step S14 is performed to calculate the enhancement coefficient and the first color saturation data to generate a first color saturation data, that is, multiplying the enhancement coefficient and the first color saturation data to generate the second color saturation data.
In summary, the image color saturation adjustment circuit of the present invention comprises a first data conversion unit, an operation module and a second data conversion unit. The image color saturation adjustment method is: the first data conversion unit receives the pixel input data and converts the pixel input data to generate pixel conversion data, the pixel conversion data includes the first color saturation data, and the operation module inputs the data according to the pixel. Correspondingly generating an enhancement coefficient, and calculating the enhancement coefficient and the first color saturation data to generate a second color saturation data, and the second data conversion unit converting the color conversion data of the second color saturation data to generate a pixel output data. For display, in this way, the present invention can achieve the purpose of maintaining the hue of the original image and enhancing the color saturation of the original image.
Therefore, the present invention is a novelty, progressive and available for industrial use. It should be in accordance with the patent application requirements of the patent law of China. Undoubtedly, the invention patent application is filed according to law, and the prayer bureau will grant the patent as soon as possible.
However, the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, so that the shapes, structures, features, and spirits described in the claims of the present invention are equally changed. Modifications are intended to be included in the scope of the patent application of the present invention.

10...第一資料轉換單元10. . . First data conversion unit

20...運算模組20. . . Computing module

22...第一比較單元twenty two. . . First comparison unit

24...第二比較單元twenty four. . . Second comparison unit

26...減法單元26. . . Subtraction unit

28...查詢單元28. . . Query unit

29...乘法單元29. . . Multiplication unit

30...第二資料轉換單元30. . . Second data conversion unit

第一圖係本發明之一較佳實施例之影像色彩飽和度之調整電路的方塊圖;
第二圖係本發明之一較佳實施例之運算模組的對應表;以及
第三圖係本發明之一較佳實施例之影像色彩飽和度之調整方法的流程圖。
The first figure is a block diagram of an image color saturation adjustment circuit according to a preferred embodiment of the present invention;
2 is a correspondence table of a computing module according to a preferred embodiment of the present invention; and a third flowchart is a flowchart of a method for adjusting image color saturation according to a preferred embodiment of the present invention.

10...第一資料轉換單元10. . . First data conversion unit

20...運算模組20. . . Computing module

22...第一比較單元twenty two. . . First comparison unit

24...第二比較單元twenty four. . . Second comparison unit

26...減法單元26. . . Subtraction unit

28...查詢單元28. . . Query unit

29...乘法單元29. . . Multiplication unit

30...第二資料轉換單元30. . . Second data conversion unit

Claims (4)

一種影像色彩飽和度之調整電路,其包含有:一第一資料轉換單元,接收一畫素輸入資料,並轉換該畫素輸入資料,產生一畫素轉換資料,該畫素輸入資料包含複數色彩資料,該畫素轉換資料包含一第一色彩飽和資料;一運算模組,接收該畫素輸入資料並比較該畫素輸入資料之該些色彩資料,以得知該些色彩資料之一最大值與一最小值,並運算該最大值與該最小值求得一差值,且依據該差值產生一增強係數,並運算該增強係數與該第一色彩飽和資料,以產生一第二色彩飽和資料;以及一第二資料轉換單元,轉換包含該第二色彩飽合資料的該畫素轉換資料,以產生一畫素輸出資料而供顯示;其中,該運算模組包含:一第一比較單元,比較該些色彩資料,而輸出該些色彩資料之該最大值;一第二比較單元,比較該些色彩資料,而輸出該些色彩資料之該最小值;一減法單元,接收該最大值與該最小值,並相減該最大值與該最小值產生該差值;一查詢單元,接收該差值,並比對該差值與複數參考資料以產生該增強係數,該些參考資料分別對應複數參考係數,該查詢單元比對該差值與該些參考資料,而依據對應之該參考係數產生該增強係數;以及 一乘法單元,相乘該增強係數與該第一色彩飽和資料,以產生該第二色彩飽和資料。 An image color saturation adjustment circuit includes: a first data conversion unit that receives a pixel input data and converts the pixel input data to generate a pixel conversion data, the pixel input data comprising a plurality of colors Data, the pixel conversion data includes a first color saturation data; an operation module receives the pixel input data and compares the color data of the pixel input data to obtain a maximum value of the color data And a minimum value, and calculating the maximum value and the minimum value to obtain a difference, and generating an enhancement coefficient according to the difference, and calculating the enhancement coefficient and the first color saturation data to generate a second color saturation And a second data conversion unit that converts the pixel conversion data including the second color saturation data to generate a pixel output data for display; wherein the operation module comprises: a first comparison unit Comparing the color data, and outputting the maximum value of the color data; a second comparing unit, comparing the color data, and outputting the color data a small value; a subtraction unit receives the maximum value and the minimum value, and subtracts the maximum value from the minimum value to generate the difference; a query unit receives the difference and compares the difference with the complex reference material To generate the enhancement coefficient, the reference materials respectively correspond to a plurality of reference coefficients, and the query unit compares the difference with the reference materials, and generates the enhancement coefficient according to the corresponding reference coefficient; a multiplication unit that multiplies the enhancement coefficient and the first color saturation data to generate the second color saturation data. 如申請專利範圍第1項所述之影像色彩飽和度之調整電路,其中該畫素輸入資料或該畫素輸出資料為一RGB格式,該畫素轉換資料為一HSV格式。 The image color saturation adjustment circuit of claim 1, wherein the pixel input data or the pixel output data is in an RGB format, and the pixel conversion data is in an HSV format. 一種影像色彩飽和度之調整方法,其包含有:提供一畫素輸入資料,並轉換該畫素輸入資料,產生一畫素轉換資料,該畫素輸入資料包含複數色彩資料,該畫素轉換資料包含一第一色彩飽和資料;比較該畫素輸入資料之該些色彩資料,以得知該些色彩資料之一最大值與一最小值,並運算該最大值與該最小值求得一差值,且依據該差值產生一增強係數,其包含有:比較該些色彩資料,而得知該些色彩資料之該最大值;比較該些色彩資料,而得知該些色彩資料之該最小值;相減該最大值與該最小值得知該差值;以及比對該差值與複數參考資料以產生該增強係數,該些參考資料分別對應複數參考係數,比對該差值與該些參考資料,而依據對應之該參考係數產生該增強係數;相乘該增強係數與該第一色彩飽和資料,以產生一第二色彩飽和資料;以及轉換包含該第二色彩飽和資料的該畫素轉換資料,以產生一畫素輸出資料而供顯示。 An image color saturation adjustment method includes: providing a pixel input data, and converting the pixel input data to generate a pixel conversion data, the pixel input data comprising a plurality of color data, the pixel conversion data Include a first color saturation data; compare the color data of the pixel input data to obtain a maximum value and a minimum value of the color data, and calculate a difference between the maximum value and the minimum value And generating an enhancement coefficient according to the difference, comprising: comparing the color data to obtain the maximum value of the color data; comparing the color data to obtain the minimum value of the color data And subtracting the maximum value from the minimum value to obtain the difference value; and comparing the difference value with the complex reference data to generate the enhancement coefficient, the reference materials respectively corresponding to the complex reference coefficient, comparing the difference with the reference Data, and generating the enhancement coefficient according to the corresponding reference coefficient; multiplying the enhancement coefficient and the first color saturation data to generate a second color saturation data; and converting the packet The pixel saturation data of the second color conversion data, to generate output data and a pixel for display. 如申請專利範圍第3項所述之影像色彩飽和度之調整方法,其中 該畫素輸入資料或該畫素輸出資料為一RGB格式,該畫素轉換資料為一HSV格式。The method for adjusting image color saturation according to item 3 of the patent application scope, wherein The pixel input data or the pixel output data is in an RGB format, and the pixel conversion data is in an HSV format.
TW100114535A 2011-04-26 2011-04-26 Image color adjusting circuit and method for adjusting the saturation of TWI571858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW100114535A TWI571858B (en) 2011-04-26 2011-04-26 Image color adjusting circuit and method for adjusting the saturation of

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW100114535A TWI571858B (en) 2011-04-26 2011-04-26 Image color adjusting circuit and method for adjusting the saturation of

Publications (2)

Publication Number Publication Date
TW201243819A TW201243819A (en) 2012-11-01
TWI571858B true TWI571858B (en) 2017-02-21

Family

ID=48093952

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100114535A TWI571858B (en) 2011-04-26 2011-04-26 Image color adjusting circuit and method for adjusting the saturation of

Country Status (1)

Country Link
TW (1) TWI571858B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6163321A (en) * 1994-12-28 2000-12-19 Canon Kabushiki Kaisha Image processing apparatus and method thereof
CN1867963A (en) * 2003-10-21 2006-11-22 克雷沃耶提公司 Gamut conversion system and methods
TW200808072A (en) * 2006-07-17 2008-02-01 Marketech Int Corp Hue adjusting device
TW201040936A (en) * 2009-05-13 2010-11-16 Chunghwa Picture Tubes Ltd Color transforming method and corresponding color displaying method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6163321A (en) * 1994-12-28 2000-12-19 Canon Kabushiki Kaisha Image processing apparatus and method thereof
CN1867963A (en) * 2003-10-21 2006-11-22 克雷沃耶提公司 Gamut conversion system and methods
TW200808072A (en) * 2006-07-17 2008-02-01 Marketech Int Corp Hue adjusting device
TW201040936A (en) * 2009-05-13 2010-11-16 Chunghwa Picture Tubes Ltd Color transforming method and corresponding color displaying method

Also Published As

Publication number Publication date
TW201243819A (en) 2012-11-01

Similar Documents

Publication Publication Date Title
WO2016107268A1 (en) Method and device for color adjustment
WO2016045146A1 (en) Image color enhancement method and device for display
AU2014268148B2 (en) Image processing apparatus, and program
US20160329027A1 (en) Image processing device with image compensation function and image processing method thereof
TWI334310B (en) Apparatus and method for adjusting saturation of image
US20170295351A1 (en) Image processing apparatus, image processing system, image processing method, and non-transitory computer readable medium
WO2020216085A1 (en) Tetrahedral interpolation calculation method and apparatus, gamut conversion method and apparatus, and medium
WO2010131499A1 (en) Image processing device and image processing method
WO2018049753A1 (en) Color gamut expansion system and method
WO2022042754A1 (en) Image processing method and apparatus, and device
TW200945258A (en) Method of controlling colors of color image
JP5878586B2 (en) Image color adjustment method and electronic apparatus therefor
TWI415480B (en) Image processing method and image processing system
WO2018049754A1 (en) Color gamut maintaining system and method
WO2017113620A1 (en) Method and system for processing high dynamic-range image
CN101141653A (en) Image regulation device
TW200820795A (en) Method and device for images brightness control and image processing in display devices
TWI523500B (en) Dynamic range compression method for image and image processing device
TWI485694B (en) Image color adjusting method and electronic apparatus thereof
US20080049275A1 (en) Image adjusting device
JP6015359B2 (en) Color video signal processing apparatus, processing method, and processing program
Liu et al. A fast algorithm for color space conversion and rounding error analysis based on fixed-point digital signal processors
JP2001169125A (en) Image display device
TWI571858B (en) Image color adjusting circuit and method for adjusting the saturation of
TW550620B (en) Color tuning device and method of plasma display panel