TWI356640B - Method and device for modulating image color - Google Patents

Method and device for modulating image color Download PDF

Info

Publication number
TWI356640B
TWI356640B TW97115604A TW97115604A TWI356640B TW I356640 B TWI356640 B TW I356640B TW 97115604 A TW97115604 A TW 97115604A TW 97115604 A TW97115604 A TW 97115604A TW I356640 B TWI356640 B TW I356640B
Authority
TW
Taiwan
Prior art keywords
image data
adjustment
value
weight
group
Prior art date
Application number
TW97115604A
Other languages
Chinese (zh)
Other versions
TW200945910A (en
Inventor
Chia Ping Chang
Jun Shih Chung
Original Assignee
Chimei Innolux Corp
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 Chimei Innolux Corp filed Critical Chimei Innolux Corp
Priority to TW97115604A priority Critical patent/TWI356640B/en
Publication of TW200945910A publication Critical patent/TW200945910A/en
Application granted granted Critical
Publication of TWI356640B publication Critical patent/TWI356640B/en

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

1356640 , f ,1356640, f,

' TW3279PA 九、發明說明: 【發明所屬之技術領域】 本發明是有關於一種影像色彩之調整方法及調整裝 置’且特別是有關於一種能夠根據影像之紅色影像資料、 綠色影像資料及藍色影像資料調整影像之色相(Hue,H)、 彩度(Saturation,S)、明度(Value,V),並有效減少複雜計算 之影像色彩之調整方法及調整裝置。 # 【先前技術】 目前的平面顯示器大多採用具紅色(RecJ,R)、綠色 (Green,G)、及藍色(Blue, B)之三原色晝素陣列之顯示面 板’並將欲顯示之影像資料之三原色數位訊號分別以個別 之灰階值(grayscale value)輸出至顯示器,使平面顯示器的 各晝素顯示出對應的色彩。TW3279PA Nine, invention description: [Technical field of the invention] The present invention relates to an image color adjustment method and an adjustment device, and particularly relates to a red image data, green image data and blue image which can be based on an image The data adjusts the hue (Hue, H), saturation (S), and brightness (Value, V) of the image, and effectively reduces the adjustment method and adjustment device of the image color of the complex calculation. # [Prior Art] Most of the current flat-panel displays use display panels with red (RecJ, R), green (Green), and blue (Blue) B-primary color pixel arrays and will display the image data to be displayed. The three primary color digital signals are respectively output to the display with individual grayscale values, so that the pixels of the flat display display corresponding colors.

然而’ RGB空間的色彩系統不符合一般人對於色彩 描述的習慣,實際上較貼近人眼感受的色彩系統為HSV • 空間,即採用色相(Hue, H)、彩度(Saturation, S)、及明度 (Value,V)的表示法。因此現行技術多將代表RGB三原色 之輸入訊號轉換至對應之HSV空間作處理,例如增強彩 度S值後,再將輸入訊號轉換回以RGB三原色表示之色 彩空間。 然而,根據色彩學的定義所發展出的RGB空間與 HSV空間之間的轉換關係為一種非線性轉換。所以,對於 執行轉換功能的硬體必然造成一定的負擔量,使訊號的處 5 1356640 , % .However, the color system of RGB space does not conform to the habit of color description by ordinary people. In fact, the color system that is closer to the human eye is HSV • Space, that is, Hue, H, Saturation, S, and Lightness. Representation of (Value, V). Therefore, the current technology converts the input signals representing the three primary colors of RGB to the corresponding HSV space for processing. For example, after the enhanced S value is converted, the input signal is converted back to the color space represented by the three primary colors of RGB. However, the conversion relationship between RGB space and HSV space developed according to the definition of chromatics is a nonlinear transformation. Therefore, the hardware that performs the conversion function will inevitably cause a certain amount of burden, so that the signal is 5 1356640, %.

' TW3279PA ,; •理效率無法有效提升。 【發明内容】 本發明係有關於一種影像色彩之調整方法及調整裝 置,可以保持大部分影像的細緻度。以簡單的計算方法, 可以直接根據RGB影像資料調整影像之彩度、明度及色 相,降低所需耗用的硬體資源及計算量。 根據本發明,提出一種調整影像色彩之方法,用以調 • 整至少一組影像資料,包括下列步驟。首先,根據影像資 " 料,產生一組影像資料差異量,影像資料包括紅色影像資 料、藍色影像資料與綠色影像資料。接著,根據影像資料 所對應之一色相值、彩度值及明度值至少三者之一,產生 至少一調整權重。然後,根據調整權重,修正影像資料差 異量。接著,根據修正後之影像資料差異量,調整影像資 料。 根據本發明,提出一種調整影像色彩之裝置,用以調 • 整至少一組影像資料,裝置包括一差異量產生模組、一修 正模組及一調整模組。差異量產生模組用以根據影像資 料,產生一組影像資料差異量。影像資料係包括紅色影像 資料、藍色影像資料與綠色影像資料。修正模組用以根據 影像資料所對應之一色相值、一彩度值及一明度值至少三 者之一,產生至少一調整權重,並根據調整權重修正影像 資料差異量。調整模組用以根據修正後之影像資料差異 量,調整影像資料。 6 1336640' TW3279PA ,; • Efficiency can not be effectively improved. SUMMARY OF THE INVENTION The present invention relates to an image color adjustment method and an adjustment device that can maintain the fineness of most images. With a simple calculation method, you can directly adjust the chroma, brightness and hue of the image according to the RGB image data, reducing the hardware resources and calculations required. According to the present invention, a method of adjusting image color is provided for adjusting at least one set of image data, including the following steps. First, according to the image resource, a set of image data differences is generated, and the image data includes red image data, blue image data, and green image data. Then, at least one adjustment weight is generated according to one of a hue value, a chroma value and a brightness value corresponding to one of the image data. Then, according to the adjustment weight, the image data difference is corrected. Then, the image data is adjusted according to the corrected image data difference amount. According to the present invention, a device for adjusting image color is provided for adjusting at least one set of image data, and the device comprises a difference amount generating module, a correction module and an adjusting module. The difference amount generation module is configured to generate a set of image data difference amounts according to the image data. Image data includes red image data, blue image data and green image data. The correction module is configured to generate at least one adjustment weight according to one of a hue value, a chroma value and a brightness value corresponding to the image data, and correct the image data difference according to the adjustment weight. The adjustment module is used to adjust the image data according to the corrected image data difference. 6 1336640

TW3279PA -為讓本發明之上述内容能更明顯易懂,下文特舉較佳 實施例,並配合所附圖式,作詳細說明如下: 【實施方式】 實施例一 請參照第1A圖,其繪示依照本發明實施例一的一種 影像色彩調整裝置之方塊圖。影像色彩調整裝置1〇〇用以 調整輸入影像資料之色彩。此處之影像資料包括紅色(Red, • R)影像資料、綠色(Green,G)影像資料及藍色(Blue, B)影像 資料,本實施例中以(R^G^Bi)表示。影像調色裝置100包 括一差異量產生模組110、一修正模組120及一調整模組 130。差異量產生模組110用以根據輸入之影像資料 (R^G^Bi),計算一組影像資料差異量,本實施例中以(△ R,AG,Z\B)表示。較佳地,差異量產生模組110包括分類 單元111、調整參數產生單元112及計算單元113。調整參 數產生單元112用以儲存多組調整參數,各組調整參數對 • 應一索引值(index)。其中,各索引值分別代表不同之色彩 區域。分類單元111記錄了影像資料的分類條件以分類影 像資料,並輸出影像資料所對應之至少一索引值。 舉例來說,影像資料的分類條件之產生方式,係將所 輸入之影像資料依照色相區分為不同之區域。假設定義色 相的範圍為(0,1),依照RGB空間轉換至HSV空間的定義, 當色相之範圍為(〇,1/6)時定義為分類區域1,所推得之分 類條件為R>G且G>B;當色相之範圍為(1/6,2/6)時定義為 7 13.56640 f tTW3279PA - In order to make the above-mentioned contents of the present invention more comprehensible, the following description of the preferred embodiments and the accompanying drawings will be described in detail as follows: [Embodiment] For the first embodiment, please refer to FIG. A block diagram of an image color adjustment device according to a first embodiment of the present invention. The image color adjustment device 1 is used to adjust the color of the input image data. The image data herein includes red (R, G) image data, green (Green) image data, and blue (Blue) image data, which are represented by (R^G^Bi) in this embodiment. The image coloring device 100 includes a difference amount generating module 110, a correction module 120, and an adjusting module 130. The difference amount generation module 110 is configured to calculate a set of image data difference amounts according to the input image data (R^G^Bi), which is represented by (ΔR, AG, Z\B) in this embodiment. Preferably, the difference amount generation module 110 includes a classification unit 111, an adjustment parameter generation unit 112, and a calculation unit 113. The adjustment parameter generating unit 112 is configured to store a plurality of sets of adjustment parameters, and each set of adjustment parameter pairs should have an index value (index). Among them, each index value represents a different color area. The classifying unit 111 records the classification conditions of the image data to classify the image data, and outputs at least one index value corresponding to the image data. For example, the classification condition of the image data is generated by dividing the input image data into different regions according to the hue. Assume that the range of the defined hue is (0, 1), according to the definition of RGB space conversion to HSV space, when the range of hue is (〇, 1/6), it is defined as classification area 1, and the derived classification condition is R> G and G>B; defined as 7 13.56640 ft when the hue range is (1/6, 2/6)

' TW3279PA 4 分類區域2,所推得之分類條件為G〉R且R>B ;當色相之 範圍為(2 / 6,3 / 6)時定義為分類區域3,所推得之分類條件為 0>8且已>尺;當色相之範圍為(3/6,4/6)時定義為分類區域 4,所推得之分類條件為B>G且G>R ;當色相之範圍為 (4/6,5/6)時定義為分類區域5,所推得之分類條件為B〉R 且R>G ;當色相之範圍為(5/6,1)時定義為分類區域6,所 推得之分類條件為R>B且B>G ;當色相之範圍為(0,1/12) 時定義為分類區域7,所推得之分類條件為R>(2xG-B)且 • G>B。也就是說,只要確定色相值所在的範圍,就可以推 得所對應的影像資料的分類條件。以上述之分類方式,可 以定義對應分類區域1到分類區域7的索引值分別為 1-7。只要輸入之影像資料符合某一分類區域之分類條件, 分類單元111即輸出對應於該分類區域的索引值,需注意 的是,上述的分類方式可能視情形需要而使部分的色相範 圍具有兩個以上的索引值,例如色相範圍為(0,1/12)時,即 會有兩個索引值1和7。 • 當找出影像資料所對應之索引值後,分類單元111將 索引值傳送至調整參數產生單元112。調整參數產生單元 112儲存多組調整參數,並根據分類單元111所輸出之索 引值,輸出一組對應索引值之調整參數。本實施例中,調 整參數包括彩度調整參數、明度調整參數及色相調整參 數,並分別以3x3的矩陣表示。實際在應用時,可以先將 這三個矩陣的值對應加總並儲存於資料庫111中,以減少 矩陣的計算量。計算單元113用以根據對應之索引值所對 8 13.56640 4 f' TW3279PA 4 classification area 2, the classification condition is G>R and R>B; when the range of hue is (2 / 6,3 / 6), it is defined as classification area 3, and the classification condition is 0>8 and already>ruler; when the range of hue is (3/6, 4/6), it is defined as classification area 4, and the classification condition is B>G and G>R; when the range of hue is (4/6, 5/6) is defined as the classification area 5, and the derived classification condition is B>R and R>G; when the range of the hue is (5/6, 1), it is defined as the classification area 6, The classification condition is R>B and B>G; when the range of hue is (0, 1/12), it is defined as classification area 7, and the classification condition is R>(2xG-B) and G>B. That is to say, as long as the range in which the hue value is located is determined, the classification condition of the corresponding image data can be derived. In the above classification manner, the index values corresponding to the classification area 1 to the classification area 7 can be defined to be 1-7, respectively. As long as the input image data meets the classification condition of a certain classification area, the classification unit 111 outputs an index value corresponding to the classification area. It should be noted that the above classification method may have a partial hue range of two depending on the situation. The above index values, for example, when the hue range is (0, 1/12), there will be two index values of 1 and 7. • When the index value corresponding to the image data is found, the classification unit 111 transmits the index value to the adjustment parameter generation unit 112. The adjustment parameter generation unit 112 stores a plurality of sets of adjustment parameters, and outputs a set of adjustment parameters corresponding to the index values according to the index values output by the classification unit 111. In this embodiment, the adjustment parameters include a chroma adjustment parameter, a brightness adjustment parameter, and a hue adjustment parameter, and are represented by a matrix of 3x3, respectively. Actually, in application, the values of the three matrices may be correspondingly summed and stored in the database 111 to reduce the amount of calculation of the matrix. The calculating unit 113 is configured to be based on the corresponding index value. 8 13.56640 4 f

' TW3279PA 應之調整參數以及影像資料,進行如公式(1)之矩陣計算, 以得到影像資料差異量: [△R AG AB] = [Rj G;' TW3279PA should adjust the parameters and image data, and perform matrix calculation as in formula (1) to get the difference of image data: [△R AG AB] = [Rj G;

ar br crAr br cr

⑴ 其中,矩陣%(1) where matrix %

即為所對應之調整參數矩陣The corresponding adjustment parameter matrix

此外,影像資料亦可能同時對應多個索引值。舉例而 言,如所影像訊號之色相範圍在(0,1/12)時,即同時對應索 引值1及7。其中索引值1及7分別對應一組調整參數, 調整參數產生單元112根據索引值1及索引值7,產生並 輸出兩組調整參數。本實施例中,係將不同索引值所對應 之調整參數矩陣對應相加產生綜合調整參數。計算單元 113根據綜合調整參數以及影像資料進行矩陣計算,計算 出影像資料差異量。若影像訊號之色相範圍只對應一索引 值時,計算單元113根據該索引值所對應的參數以及影像 資料進行矩陣計算,計算出影像資料差異量。 修正模組120用以根據影像資料所對應之色相值、彩 度值及明度值至少三者之一來產生至少一調整權重,並根 據調整權重修正影像資料差異量。修正影像資料差異量的 目的是為了表現影像的細緻度,並解決影像調整後在不同 分類區域間產生不連續的問題。舉例來說,分類在同一分 類區域之影像參數係對應同一組調整參數,因此計算單元 113係根據相同的調整參數計算出影像參數差異量,為了 針對同一分類區域内之個別影像資料進行不同之調整,本 9 13.56640In addition, the image data may also correspond to multiple index values at the same time. For example, if the hue of the image signal is in the range of (0, 1/12), it corresponds to the index values 1 and 7. The index values 1 and 7 respectively correspond to a set of adjustment parameters, and the adjustment parameter generation unit 112 generates and outputs two sets of adjustment parameters according to the index value 1 and the index value 7. In this embodiment, the adjustment parameter matrices corresponding to different index values are correspondingly added to generate a comprehensive adjustment parameter. The calculation unit 113 performs matrix calculation based on the comprehensive adjustment parameters and the image data, and calculates the amount of difference in the image data. If the hue range of the image signal corresponds to only one index value, the calculating unit 113 performs matrix calculation according to the parameter corresponding to the index value and the image data, and calculates the image data difference amount. The correction module 120 is configured to generate at least one adjustment weight according to at least one of a hue value, a chroma value and a brightness value corresponding to the image data, and correct the image data difference amount according to the adjustment weight. The purpose of correcting the amount of difference in image data is to express the fineness of the image and to solve the problem of discontinuity between different classification areas after image adjustment. For example, the image parameters classified in the same classification area correspond to the same set of adjustment parameters, so the calculation unit 113 calculates the image parameter difference amount according to the same adjustment parameter, in order to adjust differently for individual image data in the same classification area. , Ben 9 13.56640

TW3279PA 實施例係針對個別之影像資料之色相、彩度及明度至少其 中之一產生對應之調整權重。此外,採用權重調整的方 式,僅需儲存各調整區域内之影像資料差異量的最大值, 再根據影像資料所對應之調整權重進行調整,可以節省色 彩運算時記憶體的使用。 修正模組120包括轉換單元121及第一權重產生單元 122。轉換單元121用以根據影像資料轉換出對應之色相 值、彩度值及明度值至少其中之一,第一權重產生單元122 用以根據轉換單元121產生之色相值、彩度值及明度值至 少其中之一產生該至少一調整權重,並根據調整權重修正 影像資料差異量。本實施例中,第一權重產生單元122係 包括色相權重查對表(look up table)122a及乘法器122b。 因此第一權重產生單元122根據影像資料之色相值,在色 相權重查對表122a查出對應之色相調整權重WH後,乘法 器122b根據色相調整權重WH修正影像資料差異量。因 此,本實施例可使用公式(2)計算修正後之影像資料差異量 (△R,,AGr ,ΔΒ’)。 [△R,AG' Gj Bj· r OD b b b b Γ n& b aaa ___ •Wt (2) 舉例來說,如果要調整影像資料之色相角,且影像資 料被分類在紅色區域,例如上述之分類單元111中之區域 1時,計算單元113所計算出來的影像資料差異量中,ΔΙΙ 及△ Β皆為0,僅△ G有值。請參照第1Β圖,其繪示依照 本發明實施例一調整影像資料之色相角在進行權重調整 1356640 .. f .The TW3279PA embodiment produces corresponding adjustment weights for at least one of hue, chroma, and lightness of individual image data. In addition, the weight adjustment method only needs to store the maximum value of the image data difference in each adjustment area, and then adjust according to the adjustment weight corresponding to the image data, thereby saving the use of the memory during the color calculation. The correction module 120 includes a conversion unit 121 and a first weight generation unit 122. The converting unit 121 is configured to convert at least one of a corresponding hue value, a chroma value, and a brightness value according to the image data, where the first weight generating unit 122 is configured to generate at least the hue value, the chroma value, and the brightness value generated by the converting unit 121. One of the at least one adjustment weight is generated, and the image data difference amount is corrected according to the adjustment weight. In this embodiment, the first weight generating unit 122 includes a color look up table 122a and a multiplier 122b. Therefore, the first weight generating unit 122 detects the corresponding hue adjustment weight WH in the hue weight check table 122a based on the hue value of the image data, and the multiplier 122b corrects the image data difference amount based on the hue adjustment weight WH. Therefore, in the present embodiment, the corrected image data difference amount (ΔR, AGr, ΔΒ') can be calculated using the formula (2). [△R,AG' Gj Bj· r OD bbbb Γ n& b aaa ___ •Wt (2) For example, if you want to adjust the hue angle of the image data, and the image data is classified in the red area, for example, the above classification unit In the region 1 of 111, among the image data difference amounts calculated by the calculation unit 113, ΔΙΙ and ΔΒ are both 0, and only ΔG has a value. Please refer to FIG. 1 , which illustrates adjusting the hue angle of the image data according to an embodiment of the present invention to perform weight adjustment 1356640 .. f .

" TW3279PA 4 ' 前之示意圖。如第IB圖所示,假設被調整之色相區域定 義在Ha及Hb之間,則調整後區域内之色相角係為固定 值,例如為區域内所有的色相角增加5度,如曲線11所 示。如此一來,由於調整區域外之色相值不變,色相值在 氏及Hb兩點上會產生不連續。請參照第1C圖,其繪示依 照本發明實施例一調整影像資料之色相角在進行權重調 整後之示意圖。如第1C圖所示,在進行權重調整後,由 於在私及Hb兩點的權重設定為0,因此色相值在這兩點 • 上不會進行調整,使整體影像之色相變化得以連續。而在 Ha及Hb的範圍内係根據不同之色相值進行權重調整,使 影像在色彩變化上表現出更多細節。權重可以如曲線12 做非線性調整;也可以如曲線13做分段線性調整,且左 右呈不對稱之變化;或是如曲線14做非線性調整,且左 右呈不對稱之變化。但是所有的色相權重皆大於或等於0。 調整模組130用以根據修正後之影像資料差異量(△ R’,AG’,ΔΒ’),調整影像資料(R^Gi,:^)。本實施例中, • 調整模組130為一加法器,係如公式(3)所示,將影像資料 差異量(ΔΙΙ’,Z\G’,ΔΒ’)與影像資料(R^GbBi)相加,得 到調整後之影像資料(R^G^B。)。 [R0 G0 B0] = [R, Gi BJ· br bB bu •WH+[Ri G, Bj (3) 上述之影像色彩調整裝置100可以是以電腦程式語 言完成之程式軟體,也可以特殊應用積體電路(application specific integrated circuit, ASIC),或以可程式化邏輯閘陣 11 Π56640 1 ." TW3279PA 4 ' before the schematic. As shown in Figure IB, assuming that the adjusted hue region is defined between Ha and Hb, the hue angle in the adjusted region is a fixed value, for example, increasing the hue angle of all regions in the region by 5 degrees, as shown by curve 11. Show. As a result, since the hue value outside the adjustment area does not change, the hue value will be discontinuous at two points of H and Hb. Please refer to FIG. 1C, which is a schematic diagram of adjusting the hue angle of the image data according to the embodiment of the present invention after performing weight adjustment. As shown in Fig. 1C, after the weight adjustment, since the weights at the private and Hb points are set to 0, the hue value is not adjusted at these two points, so that the hue change of the entire image is continuous. In the range of Ha and Hb, the weight adjustment is performed according to different hue values, so that the image shows more details on the color change. The weight can be adjusted nonlinearly as shown in curve 12; it can also be segmentally linearly adjusted as curve 13, and the left and right are asymmetrical changes; or as curve 14 is nonlinearly adjusted, and the left and right are asymmetrical. But all hue weights are greater than or equal to zero. The adjustment module 130 is configured to adjust the image data (R^Gi, :^) according to the corrected image data difference amount (ΔR', AG', ΔΒ'). In this embodiment, the adjustment module 130 is an adder, and the image data difference amount (ΔΙΙ', Z\G', ΔΒ') is compared with the image data (R^GbBi) as shown in the formula (3). Add, get the adjusted image data (R^G^B.). [R0 G0 B0] = [R, Gi BJ· br bB bu •WH+[Ri G, Bj (3) The above image color adjustment device 100 can be a program software completed in a computer programming language, or a special application integrated circuit. (application specific integrated circuit, ASIC), or as a programmable logic gate 11 Π56640 1 .

_ TW3279PA 4 • 列(field programmable gate array, FPGA)建構完成。 請參照第2圖,其繪示依照本發明實施例一之影像色 彩調整方法之流程圖,並請同時參照第1A圖之元件標 號。首先,如步驟201所示,根據輸入之影像資料 (R^GJi),差異量產生模組110產生一組影像資料差異量 (△R,Z\G,AB)。其中,影像資料(R^G^Bi)係包括紅色影像 資料Ri、藍色影像資料〇彳與綠色影像資料Bi。其中,步 驟201更可細分為下列步驟:首先,經由分類單元111分 • 類影像資料,以輸出對應影像資料(R^G^Bi)之一 索引值(index)至調整參數產生單元112,索引值對應一組 調整參數。接著,計算單元113根據調整參數及影像資料 (1^丨,;^),計算出影像資料差異量(/\11,/\0,/\;6)。而當影 像資料對應多個索引值時,步驟201更可細分為下列步 驟:首先,分類單元111分類影像資料(RbG^Bi),以輸出 影像資料(I^Gi,:^)所對應之多個索引值,各索引值對應一 組調整參數。接著,調整參數產生單元112根據各索引值 • 對應之調整參數,產生一組綜合調整參數。然後,計算單 元113根據綜合調整參數及影像資料(I^G^Bi),計算出影 像資料差異量(ΔΙΙ,ΔΟ,ΔΒ)。 接著,如步驟202所示,修正模組120根據影像資料 (R^G^Bi)所對應之色相值、彩度值及明度值至少三者之 一,產生至少一調整權重。本實施例中修正模組120係根 據色相值產生調整權重WH。其中,步驟202更可細分為 下列步驟:首先,轉換單元121計算對應影像資料 12 1356640_ TW3279PA 4 • The field programmable gate array (FPGA) is constructed. Referring to FIG. 2, a flow chart of an image color adjustment method according to a first embodiment of the present invention is shown, and the component number of FIG. 1A is also referred to. First, as shown in step 201, based on the input image data (R^GJi), the difference amount generation module 110 generates a set of image data difference amounts (ΔR, Z\G, AB). Among them, the image data (R^G^Bi) includes red image data Ri, blue image data 〇彳 and green image data Bi. The step 201 is further subdivided into the following steps: First, the image data is classified by the classifying unit 111 to output an index value (index) of the corresponding image data (R^G^Bi) to the adjustment parameter generating unit 112, and the index The value corresponds to a set of adjustment parameters. Next, the calculation unit 113 calculates the image data difference amount (/\11, /\0, /\; 6) according to the adjustment parameter and the image data (1^丨, ;^). When the image data corresponds to multiple index values, step 201 can be further subdivided into the following steps: First, the classification unit 111 classifies the image data (RbG^Bi) to output the image data (I^Gi, :^) correspondingly. Index values, each index value corresponds to a set of adjustment parameters. Next, the adjustment parameter generation unit 112 generates a set of comprehensive adjustment parameters according to the adjustment parameters corresponding to the respective index values. Then, the calculation unit 113 calculates the image data difference amount (ΔΙΙ, ΔΟ, ΔΒ) based on the comprehensive adjustment parameter and the image data (I^G^Bi). Next, as shown in step 202, the correction module 120 generates at least one adjustment weight according to at least one of a hue value, a chroma value, and a brightness value corresponding to the image data (R^G^Bi). In the present embodiment, the correction module 120 generates an adjustment weight WH based on the hue value. The step 202 is further subdivided into the following steps: First, the converting unit 121 calculates the corresponding image data 12 1356640

. TW3279PA 鑕 • · 之色相值、彩度值及明度值至少其中之一。接著,第一權 重產生單元122根據計算所得之色相值產生色相調整權重 WH。 然後,如步驟203所示’修正模組120根據調整權重, 修正影像資料差異量(^!1,^(},八則。本實施例中,係以修 正模組120中第一權重產生單元丨22之乘法器122b,將影 像資料差異量(△&△〇,△ B)乘上色相調整權重Wh,輸出 修正之影像資料差異量(^R,,△〇,,ΔΒ,)至調整模組 • 130。 接著,如步驟204所示,調整模組丨3〇根據修正後之 影像資料差異量(△ R’,△ 〇,,△ Β,),調整影像資料 (RbGJi),並輸出一調整後之影像資料(r〇,g〇,b。)。 實施例二 請參照第3A圖,其繪示依照本發明實施例二的一種 影像色彩調整裝置之方塊圖。影像色彩調整裝置2〇〇與實 •施例一之影像色彩調整裝置1〇〇的不同之處,在於修正模 組的結構。其餘與實施例一相同之元件繼續沿用其標號, 不再贅述。 修正模組120a更包括一第二權重產生單元ι23,用 以根據所得之色相值、彩度值及明度值其中之另一產生一 第二調整權重,並根據第二調整權重修正由第一權重產生 單元122修正後之影像資料差異量(Δκ,,△〇,,△ Β’)。本實施例中,第二權重產生單元123根據彩度值產 13 1356640TW3279PA 锧 • · At least one of the hue value, chroma value, and brightness value. Next, the first weight generation unit 122 generates a hue adjustment weight WH based on the calculated hue value. Then, as shown in step 203, the correction module 120 corrects the image data difference amount according to the adjustment weight (^!1, ^(}, eight. In this embodiment, the first weight generation unit in the correction module 120 is used. The multiplier 122b of 丨22 multiplies the image data difference amount (Δ& Δ〇, ΔB) by the color phase adjustment weight Wh, and outputs the corrected image data difference amount (^R, Δ〇, ΔΒ,) to the adjustment. Module • 130. Next, as shown in step 204, the adjustment module 丨3〇 adjusts the image data (RbGJi) according to the corrected image data difference amount (Δ R', Δ 〇, Δ Β,), and outputs An adjusted image data (r〇, g〇, b.). Embodiment 2 Please refer to FIG. 3A, which is a block diagram of an image color adjusting device according to Embodiment 2 of the present invention. Image color adjusting device 2 The difference between the image color adjustment device and the image color adjustment device 1 is the structure of the correction module. The rest of the components of the first embodiment continue to use the same reference numerals and will not be described again. A second weight generating unit ι23 is included for And generating a second adjustment weight according to the other one of the obtained hue value, the chroma value and the brightness value, and correcting the image data difference amount (Δκ, Δ〇) corrected by the first weight generating unit 122 according to the second adjustment weight. , Δ Β '). In this embodiment, the second weight generating unit 123 produces 13 1356640 according to the chroma value.

* TW3279PA « •. 生第二調整權重Ws。其中,第二權重產生單元123包括 係包括彩度權重查對表123a及乘法器123b,因此第二權 重產生單元123根據影像資料之彩度值。在彩度 權重查對表123a查出對應之彩度調整權重Ws後,乘法器 123b根據彩度調整權重Ws修正影像資料差異量(ΔΙΙ’, △ G’,ΔΒ’)。因此,本實施例可使用公式(4)計算修正後 之影像資料差異量(AR,’,AG’ ’ ,ΔΒ’,)。 [△R* AGn ΔΒ〃] = [Ι^ Gi Bj· _ar br Cr] ag bg cg .WH.WS (4) _ab bb cb_ 請參照第3B圖,其繪示依照本發明實施例二調整影 像資料之彩度在進行權重調整前之示意圖。舉例來說,如 果要調整影像資料之彩度,如第3B圖所示,令彩度值的 範圍為(〇,1),且假設以未經權重調整之影像參數差異量調 整影像參數之彩度的結果為彩度增加0.5,如曲線21所 示。如此一來,原來彩度大於0.5的區域都會飽和,使得 影像色彩失去層次感。另外,原先無彩度(彩度為〇)的 區域,如果也直接增加0.5,則會產生原先無色彩的區域 具有色彩。請參照第3C圖,其繪示依照本發明實施例二 調整影像資料之彩度在進行權重調整後之示意圖。如第3 C 圖所示,在進行彩度權重調整後,由於設定彩度〇時權重 為0,並設定彩度1時權重為1,因此彩度值在這兩點上 不會進行調整,不會影像到原來無色彩及飽和的區域,且 使色彩呈現出更多層次。權重可以如曲線22做線性調整; 也可以如曲線23做分段線性調整;或是如曲線24做非線 14 1356640* TW3279PA « •. The second adjustment weight Ws. The second weight generating unit 123 includes a chroma weight check table 123a and a multiplier 123b. Therefore, the second weight generating unit 123 is based on the chroma value of the image data. After the chroma weight check table 123a finds the corresponding chroma adjustment weight Ws, the multiplier 123b corrects the image data difference amount (ΔΙΙ', ΔG', ΔΒ') based on the chroma adjustment weight Ws. Therefore, in the present embodiment, the corrected image data difference amount (AR, ', AG' ', ΔΒ',) can be calculated using the formula (4). [△R* AGn ΔΒ〃] = [Ι^ Gi Bj· _ar br Cr] ag bg cg .WH.WS (4) _ab bb cb_ Please refer to FIG. 3B, which illustrates adjusting image data according to the second embodiment of the present invention. The chroma is a schematic diagram before weight adjustment. For example, if you want to adjust the chroma of the image data, as shown in Figure 3B, the range of the chroma value is (〇, 1), and it is assumed that the color of the image parameter is adjusted by the amount of image parameter difference without weight adjustment. The result of the degree is a chroma increase of 0.5, as shown by curve 21. As a result, the original area with a chroma of more than 0.5 will be saturated, which will make the image color lose its layering. In addition, if the area with no chroma (chroma is 〇) is directly increased by 0.5, the original colorless area will be colored. Please refer to FIG. 3C, which is a schematic diagram of adjusting the chroma of the image data after performing weight adjustment according to the second embodiment of the present invention. As shown in Figure 3 C, after the chroma weight adjustment is performed, since the weight is set to 0 when the chroma is set and the weight is 1 when the chroma 1 is set, the chroma value will not be adjusted at these two points. It does not image the original colorless and saturated areas, and makes the color appear more layers. The weight can be linearly adjusted as shown in curve 22; it can also be segmented linearly as curve 23; or as curve 24 as a line 14 1356640

TW3279PA 性調整。 本實施例中,調整模組130用以根據修正後之影像資 料差異量(△ R’ ’,△ G’ ’,△ B’ ’),調整影像資料 (R^GbBi),進行如公式(5)所示之運算,得到調整後之影像 資料(R^G^B。)。 [R。G。BoMh Gi Bi]· Γ e b aaa Γ 6 υ b •WH.Ws+h Gi Bi] (5) 至於本實施例之影像色彩調整方法,與實施例一不同 之處,在於根據轉換單元121計算所得之彩度值產生一第 二調整權重Ws。因此,步驟203更包括根據第二調整權 重Ws,修正根據色相調整權重WH修正之影像資料差異量 (△R,,AG’,ΔΒ’)。 此外,本實施例雖以影像參數之色相及彩度做對應之 權重修正,亦可以色相及明度做對應之權重修正。 實施例三 請參照第4Α圖,其繪示依照本發明實施例三的一種 影像色彩調整裝置之方塊圖。影像色彩調整裝置300與實 施例二之影像色彩調整裝置200的不同之處,在於修正模 組的結構。其餘與實施例二相同之元件繼續沿用其標號, 不再贅述。 修正模組120b更包括一第三權重產生單元124,用 以根據所得之色相值、彩度值及明度值剩餘之一產生一第 三調整權重,並根據第三調整權重修正由第二權重產生單 15 1356640TW3279PA adjustment. In this embodiment, the adjustment module 130 is configured to adjust the image data (R^GbBi) according to the corrected image data difference amount (ΔR' ', ΔG' ', △ B' '), and perform the formula (5). The operation shown is to obtain the adjusted image data (R^G^B.). [R. G. BoMh Gi Bi]· Γ eb aaa Γ 6 υ b •WH.Ws+h Gi Bi] (5) The image color adjustment method of the present embodiment is different from the first embodiment in that it is calculated according to the conversion unit 121. The chroma value produces a second adjustment weight Ws. Therefore, the step 203 further includes correcting the image data difference amount (ΔR, AG', ΔΒ') corrected according to the hue adjustment weight WH according to the second adjustment weight Ws. In addition, although the weight correction of the hue and chroma of the image parameter is performed in this embodiment, the corresponding weight correction can be performed on the hue and the brightness. Embodiment 3 Referring to Figure 4, a block diagram of an image color adjusting device according to a third embodiment of the present invention is shown. The image color adjustment device 300 differs from the image color adjustment device 200 of the second embodiment in the structure of the correction module. The rest of the components that are the same as those in the second embodiment continue to use the same reference numerals and will not be described again. The correction module 120b further includes a third weight generating unit 124, configured to generate a third adjustment weight according to one of the obtained hue value, the chroma value and the brightness value, and generate the second weight according to the third adjustment weight correction. Single 15 1356640

TW3279PA 元123修正後之影像資料差異量(△ r’,,△ g,,,△ B’ ’)。也就是說’第三權重產生單元124根據明度值產 生第三調整權重Wv。其中,第三權重產生單元124包括 係包括明度權重查對表124a及乘法器124b,因此第三權 重產生單元124根據影像資料(&,(^,8〇之明度值,在明度 權重查對表124a查出對應之明度調整權重Wv後’乘法器 124b根據明度調整權重wv修正影像資料差異量(ar,’ △ G,,,ΔΒ’,)。因此,本實施例可使用公式(6)計算修 正後之影像資料差異量(△ R,,,,△ G,,,,△ B,,,)。 , [△Rm ag™ Gi Bj]. r e b b b b Γ s b aaa wH-ws-wv (6) 請參照第4B圖,其繪示依照本發明實施例三調整影 像資料之明度在進行權重調整前之示意圖。舉例來說,如 果要調整影像資料之明度,如第4B圖所示,令明度值的 範圍為(0,1),且假設以未經權重調整之影像參數差異量調 整〜像參數之彩度的結果為明度增加0.5 ,如曲線31所 不。如此一來,原來明度大於0.5的區域都會飽和,使得 影像失去亮度變化的層次感。另外,原先黑色(明度為〇) ,區域,如果也直接增加〇·5,則原先黑色的區域會具有 =度三明參照第4C圖,其繪示依照本發明實施例三調整 ,負料之明度在進行權重調整後之示意圖。如第圖 斤八在進行明度權重調整後,由於設定明度〇時權重為 並又疋明度1時權重為1,因此明度值在這兩點上不會 1356640TW3279PA Element 123 corrected image data difference (Δ r',, Δ g,,, Δ B' '). That is to say, the 'third weight generating unit 124 generates the third adjustment weight Wv based on the brightness value. The third weight generating unit 124 includes a brightness weighting check table 124a and a multiplier 124b. Therefore, the third weight generating unit 124 checks the brightness weight according to the image data (&, (8, brightness value of 8〇). After the table 124a finds the corresponding brightness adjustment weight Wv, the multiplier 124b corrects the image data difference amount (ar, 'ΔG,,, ΔΒ') according to the brightness adjustment weight wv. Therefore, the present embodiment can use the formula (6). Calculate the corrected amount of image data (△ R,,,, △ G,,,, △ B,,,)., [△Rm agTM Gi Bj]. rebbbb Γ sb aaa wH-ws-wv (6) Please refer to FIG. 4B, which is a schematic diagram of adjusting the brightness of the image data before performing the weight adjustment according to the third embodiment of the present invention. For example, if the brightness of the image data is to be adjusted, as shown in FIG. 4B, the brightness value is adjusted. The range is (0, 1), and it is assumed that the image parameter difference is adjusted without weight adjustment. The result of the chroma of the parameter is a brightness increase of 0.5, as shown by curve 31. Thus, the original brightness is greater than 0.5. The area will be saturated, making the image Loss of the layering of the brightness change. In addition, the original black (lightness is 〇), region, if directly increased 〇·5, the original black area will have = degree three Ming with reference to Figure 4C, which illustrates an embodiment in accordance with the present invention. The third adjustment, the brightness of the negative material is after the weight adjustment. If the weight is adjusted after the brightness is set, the weight is 1 because the weight is 1 and the brightness is 1 when the brightness is set. Point will not be 1356640

TW3279PA 進行調整,不會影響到原來黑色及亮度飽和的區域,且使 影像之亮度呈現出更多層次。權重可以如曲線32做線性 調整;也可以如曲線33做彎曲性調整;或是如曲線34做 非線性調整。 本實施例中,調整模組130用以根據修正後之影像資 料差異量(Z\R’ ’ ’,Z\G’ ’ ’,ΔΒ’ ’ ’),調整影像資 料(11丨,〇13丨),進行如公式(7)所示之運算,得到調整後之影 像資料(11。,0。3。)。The TW3279PA is adjusted so that it does not affect the original black and saturated areas of the image, and the brightness of the image is more horizontal. The weight can be adjusted linearly as curve 32; it can also be bent as curve 33; or as curve 34 for nonlinear adjustment. In this embodiment, the adjustment module 130 is configured to adjust the image data according to the corrected image data difference amount (Z\R' ' ', Z\G' ' ', ΔΒ' ' '), (11丨, 〇13丨) ), performing the operation as shown in the formula (7) to obtain the adjusted image data (11., 0.3).

[R0 G0 BoHh Gi Bj· ag[R0 G0 BoHh Gi Bj· ag

Cr bg cg bb cb •w„-ws.wv+[r, G, Bj (7) 至於本實施例之影像色彩調整方法,與實施例二不同 之處,在於根據轉換單元121更根據計算所得之明度值產 生一第三調整權重Wv。因此,步驟203更包括根據第三 調整權重Wv,修正根據彩度調整權重Ws修正之影像資料 差異量(ΔΙΙ’ ’ ,AG’ ’ ,ΔΒ’ ’ )。Cr bg cg bb cb •w„-ws.wv+[r, G, Bj (7) The image color adjustment method of the present embodiment differs from the second embodiment in that the brightness is calculated according to the conversion unit 121. The value produces a third adjustment weight Wv. Therefore, step 203 further includes correcting the image data difference amount (ΔΙΙ' ', AG' ', ΔΒ' ') corrected according to the chroma adjustment weight Ws according to the third adjustment weight Wv.

本發明上述實施例所揭露之影像調色方法及影像調 色裝置,係以包含紅色影像資料、綠色影像資料及藍色影 像資料之影像參數所對應之色相、彩度及明度,用以對所 欲調整之影像資料差異量進行權重修正,使影像在色彩變 化、色彩層次及亮度層次上呈現更細敏的變化,並且不會 因為調整而產生色相、彩度及亮度局部不連續的問題。且 本發明上述實施例可以在RGB空間直接進行色彩調整而 不需進行色彩空間轉換,可以節省大量複雜運算,提昇色 彩演算之速度。 17 1356640 .The image coloring method and the image coloring device disclosed in the above embodiments of the present invention are used for the hue, chroma and lightness corresponding to the image parameters including the red image data, the green image data and the blue image data. The amount of image data to be adjusted is weighted and corrected, so that the image exhibits more sensitive changes in color change, color level and brightness level, and there is no problem of partial discontinuity of hue, chroma and brightness due to adjustment. Moreover, the above embodiment of the present invention can directly perform color adjustment in the RGB space without performing color space conversion, which can save a lot of complicated operations and improve the speed of color calculation. 17 1356640 .

'_ TW3279PA « * 綜上所述,雖然本發明已以較佳實施例揭露如上,然 其並非用以限定本發明。本發明所屬技術領域中具有通常 知識者,在不脫離本發明之精神和範圍内,當可作各種之 更動與潤飾。因此,本發明之保護範圍當視後附之申請專 利範圍所界定者為準。 1356640'_ TW3279PA « * In summary, although the invention has been described above by way of a preferred embodiment, it is not intended to limit the invention. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the invention. Therefore, the scope of the invention is defined by the scope of the appended claims. 1356640

TW3279PA . 【圖式簡單說明】 第1A圖繪示依照本發明實施例一的一種影像色彩調 整裝置之方塊圖; 第1B圖繪示依照本發明實施例一調整影像資料之色 相角在進行權重調整前之吒意圖; 第1C圖繪示依照本發明實施例一調整影像資料之色 相角在進行權重調整後之示意圖; 第2圖繪示依照本發明實施例一之影像色彩調整方 • 法之流程圖; 第3A圖繪示依照本發明實施例二的一種影像色彩調 整裝置之方塊圖; 第3B圖繪示依照本發明實施例二調整影像資料之彩 度在進行權重調整前之示意圖; 第3C圖繪示依照本發明實施例二調整影像資料之彩 度在進行權重調整後之示意圖; 第4A圖繪示依照本發明實施例三的一種影像色彩調 •整裝置之方塊圖; 第4B圖繪示依照本發明實施例三調整影像資料之明 度在進行權重調整前之示意圖;以及 第4C圖繪示依照本發明實施例三調整影像資料之明 度在進行權重調整後之示意圖。 【主要元件符號說明】 11、12、13、14、2卜 22、23、24、3卜 32、33、34 : 19 1356640TW3279PA. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1A is a block diagram of an image color adjustment device according to a first embodiment of the present invention; FIG. 1B is a diagram showing adjustment of a hue angle of image data for weight adjustment according to an embodiment of the invention; The first embodiment shows a schematic diagram of adjusting the hue angle of the image data after the weight adjustment according to the embodiment of the present invention; and FIG. 2 is a flow chart of the image color adjustment method according to the first embodiment of the present invention. FIG. 3A is a block diagram of an image color adjustment apparatus according to a second embodiment of the present invention; FIG. 3B is a schematic diagram of adjusting the chroma of the image data before weight adjustment according to the second embodiment of the present invention; The figure shows a schematic diagram of adjusting the chroma of the image data after the weight adjustment according to the second embodiment of the present invention; FIG. 4A is a block diagram of an image color adjusting device according to the third embodiment of the present invention; A schematic diagram of adjusting the brightness of the image data before performing the weight adjustment according to the third embodiment of the present invention; and FIG. 4C is a diagram showing the third embodiment of the present invention. After a schematic view of carrying out the whole image data of the right to re-adjust. [Explanation of main component symbols] 11, 12, 13, 14, 2 Bu 22, 23, 24, 3 Bu 32, 33, 34 : 19 1356640

TW3279PA 曲線 100、200、300 :影像色彩調整裝置 110 : 差異量產生模組 111 : 分類單元 112 : 調整參數產生單元 113 : 計算單元 120、 120a、120b :修正模組 121 : 轉換單元 122 : 第一權重產生單元 122a :色相權重查對表 122b 、123b、124b :乘法器 123 : 第二權重產生單元 123a :彩度權重查對表 124 : 第三權重產生單元 124a :明度權重查對表 130 : 調整模組 20TW3279PA curve 100, 200, 300: image color adjustment device 110: difference amount generation module 111: classification unit 112: adjustment parameter generation unit 113: calculation unit 120, 120a, 120b: correction module 121: conversion unit 122: first Weight generating unit 122a: hue weight check table 122b, 123b, 124b: multiplier 123: second weight generating unit 123a: chroma weight check table 124: third weight generating unit 124a: brightness weight check table 130: adjustment Module 20

Claims (1)

1356640 . TW3279PA - 十、申請專利範圍: 1. 一種調整影像色彩之方法,用以調整至少一組影 像資料,包括: (a) 根據該組影像資料,產生一組影像資料差異量,該 組影像資料係包括紅色影像資料、藍色影像資料與綠色影 像資料; (b) 根據該組影像資料所對應之一色相值、一彩度值 及一明度值至少三者之一,產生至少一調整權重; • (c)根據該調整權重,修正該組影像資料差異量;以及 (d)根據該組修正後之影像資料差異量,調整該組影 像資料。 2. 如申請專利範圍第1項所述之方法,其中該步驟 (a)更包括: 分類該組影像資料,以輸出對應該組影像資料之一索 引值(index),該索引值對應一組調整參數; 根據該組調整參數及該組影像資料,計算出該影像資 •料差異量。 3. 如申請專利範圍第1項所述之方法,其中該步驟 (a)更包括: 分類該組影像資料,以輸出該組影像資料所對應之複 數個索引值,各該索引值對應一組調整參數; 根據各該索引值對應之該組調整參數,產生一組綜合 調整參數;以及 根據該組綜合調整參數及該組影像資料,計算出該組 21 1356640 TW3279PA 影像資料差異量。 (二申請專利範圍第丨項所述之方法,其中該步驟 度值狀耗㈣、_度值及該明 根據^算所狀耗相值、該做餘_度值至少 八中之一產生該至少一調整權重。 5.如申請專利範圍第4項所述之方法,更包括: 根所狀耗相值、㈣度值及剌度值 之另一產生一第二調整權重; 、T 其中步驟(c)更包括: 組影差第整權重’修正根據該調整權重修正之該 6.如申請專利範圍第5項所述之方法,更包括. 鄉聽及糾度值其中 其中步驟(c)更包括: 根據該第三調整權重,修正根據該第二調 之該組影像資料差異量。 重t正 二.-種調整影像色彩之裝置’用 像貧料,包括: 夕組衫 一差異量產生模組’用以根據該組影 :影像資料差異量,該組影像資料係包括紅色:像=-i色影像資料與綠色影像資料; ’貝科、 22 1356640 , I « '· TW3279PA * 一修正模組,用以根據該組影像資料所對應之一色相 值、一彩度值及一明度值至少三者之一,產生^少一調整 權重,並根據該調整權重修正該組影像資 一調整模組,用以根據修正後之該組影像 量,調整該組影像資料。 8.如申請專利範圍第7項所述之裝置,其中該差異 量產生模組包括: ' & ―分類單元,肋分類該組影像資料,並輸出該組影 • 像s貝料所對應之至少一第一索引值; 調整參數產生單元,用以儲存複數組調整參數,並 根據該分類單元所輸出之該至少一第一索引值,輸出一組 對應該第一索引值之調整參數; -計算單元’用以根據賴整參數產生單元所輸出之 ^整/數以及該組影像資料,計算出該組影像資料差異 量0 、 9.如申請專利範圍第8項所述之裝置,其中該每一 整參數包括彩度調整參數、明度難參歧色相調整 你次I如申請專利範圍第8項所述之裝置,其中該組影 對應於-第二索引值,該第二索引值對應該些組 射之另―’該調整參數產生單元根據該第一索 外笪」第—索弓1值’產生並輸出—組综合調整參數,該 :早讀據該域合難參數以及該組影像資料,計算 出該組影像資料差異量。 23 1356640 .. TW3279PA 1 1 ‘如申請專利範圍第7項所述之裝置,其中該修正 模組包括: 一轉換單元,用以根據該影像資料轉換出對應之該色 相值、該彩度值及該明度值至少其中之一;以及 一第一權重產生單元’用以根據該色相值、該彩度值 及該明度值至少其中之一產生該至少一調整權重,並根據 該調整權重修正該組影像資料差異量。1356640 . TW3279PA - X. Patent Application Range: 1. A method for adjusting the color of an image to adjust at least one set of image data, comprising: (a) generating a set of image data differences based on the set of image data, the set of images The data system includes red image data, blue image data, and green image data; (b) generating at least one adjustment weight according to one of a hue value, a chroma value, and a brightness value corresponding to the image data of the group. (c) correcting the difference in the image data according to the adjustment weight; and (d) adjusting the image data according to the corrected image data difference of the group. 2. The method of claim 1, wherein the step (a) further comprises: classifying the set of image data to output an index value corresponding to one of the group image data, the index value corresponding to a group Adjust the parameters; Calculate the difference between the image material and the material according to the set of adjustment parameters and the image data of the group. 3. The method of claim 1, wherein the step (a) further comprises: classifying the set of image data to output a plurality of index values corresponding to the set of image data, each index value corresponding to a group Adjusting parameters; generating a set of comprehensive adjustment parameters according to the set of adjustment parameters corresponding to the index values; and calculating the difference amount of the 21 1356640 TW3279PA image data according to the set of comprehensive adjustment parameters and the set of image data. (2) The method of claim 2, wherein the step value consumption (four), the _degree value, and the quotation are based on one of the consumption phase values and the remaining _degree value is at least one of eight At least one adjustment weight. 5. The method according to claim 4, further comprising: the root consumption phase value, the (four) degree value and the twist value another generating a second adjustment weight; (c) Further includes: Groups of the total weights of the 'correction' according to the adjustment weights. 6. The method described in item 5 of the scope of the patent application, including: the township listening and correction values, of which step (c) The method further includes: correcting the difference amount of the image data according to the second adjustment according to the third adjustment weight. The weight t is two. The device for adjusting the color of the image is used to reduce the amount of the image, including: The module 'is used according to the group image: the amount of image data difference, the group of image data includes red: like =-i color image data and green image data; 'Beko, 22 1356640, I « '· TW3279PA * one correction a module for corresponding to the image data of the group One of a color phase value, a chroma value, and a brightness value is generated by one of the adjustment weights, and the image image adjustment module is corrected according to the adjustment weight for using the corrected image amount of the group 8. The apparatus of claim 7, wherein the difference quantity generation module comprises: ' & - a classification unit, the ribs classify the group of image data, and output the group of images. The at least one first index value corresponding to the s shell material; the adjustment parameter generating unit configured to store the complex array adjustment parameter, and output a set corresponding to the first index value according to the at least one first index value output by the classification unit The adjustment parameter of the index value is used to calculate the difference amount of the image data of the group according to the integer/number outputted by the parameter generation unit and the image data of the group. The device, wherein the each parameter comprises a chroma adjustment parameter, a brightness difficulty, a phase adjustment, and a device according to item 8 of the patent application scope, wherein the group shadow corresponds to - second An index value, the second index value corresponding to the other group of shots - the adjustment parameter generating unit generates and outputs a set of comprehensive adjustment parameters according to the first outer looper - the first set of adjustment parameters, the: According to the complication parameter of the domain and the image data of the group, the difference of the image data of the group is calculated. 23 1356640 .. TW3279PA 1 1 'The device of claim 7, wherein the correction module comprises: a conversion a unit, configured to convert, according to the image data, a corresponding one of the hue value, the chroma value, and the brightness value; and a first weight generating unit to use the hue value, the chroma value, and the At least one of the brightness values generates the at least one adjustment weight, and the set of image data difference amounts is corrected according to the adjustment weight. 12. 如申請專利範圍第η項所述之裝置,其中該第 一權重產生單元根據該色相值產生該調整權重。 13. 如申請專利範圍第u項所述之裝置,其中該轉 換單元更根據該影像資料轉換出對應之該色相值、'該=度 值及該明度值其中之另一,該修正模組包括: 人以 一第二權重產生單元,用以根據所得之該色相值、該 彩度值及該明度值其中之另m調整㈣,並根 據該第二調整權重修正由該第—權重產生單元修 該組影像資料差異量。 如申請專利範圍第13項所述之褒置,其 二權重產生單元根據該彩度值產生該第二調整權重。 15.如申請專利範圍第13項所述之裝置 ㈣ 換單元更根擄該影像資料轉換出對應之純、、^ 值及該明度值其中剩餘之―,該修正模組包括:度 根軸狀料相值、該 心度值及_度值其巾_之_產生 根據該第三調整權重修正由 一整權重,並 茨第一權重產生單元修正後 24 1356640 · TW3279PA • 之該組影像資料差異量。 16.如申請專利範圍第15項所述之裝置,其中該第 三權重產生單元根據該明度值產生該第三調整權重。12. The apparatus of claim n, wherein the first weight generating unit generates the adjustment weight based on the hue value. 13. The device of claim 5, wherein the conversion unit further converts the corresponding hue value, the value of the degree, and the brightness value according to the image data, the correction module includes The second weight generating unit is configured to adjust (4) according to the obtained hue value, the chroma value and the brightness value, and correct the second weight adjustment unit by the first weight generating unit The amount of difference in the image data of this group. According to the device described in claim 13, the second weight generating unit generates the second adjustment weight according to the chroma value. 15. The device according to claim 13 of the patent application (4), the unit further includes: the image data is converted into a corresponding pure, ^ value and the remaining of the brightness value, the correction module comprises: a root axis The material phase value, the heart rate value, and the _degree value are generated according to the third adjustment weight, and the image data difference is corrected by the first weighting unit and the first weight generating unit 24 1356640 · TW3279PA the amount. 16. The apparatus of claim 15, wherein the third weight generating unit generates the third adjustment weight based on the brightness value. 2525
TW97115604A 2008-04-28 2008-04-28 Method and device for modulating image color TWI356640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97115604A TWI356640B (en) 2008-04-28 2008-04-28 Method and device for modulating image color

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97115604A TWI356640B (en) 2008-04-28 2008-04-28 Method and device for modulating image color

Publications (2)

Publication Number Publication Date
TW200945910A TW200945910A (en) 2009-11-01
TWI356640B true TWI356640B (en) 2012-01-11

Family

ID=44869889

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97115604A TWI356640B (en) 2008-04-28 2008-04-28 Method and device for modulating image color

Country Status (1)

Country Link
TW (1) TWI356640B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201503051A (en) 2013-07-02 2015-01-16 Novatek Microelectronics Corp Image processing method and anti-saturation method for image data and image processing device
TW201839717A (en) * 2017-04-19 2018-11-01 睿緻科技股份有限公司 Image stitching method and image stitching device

Also Published As

Publication number Publication date
TW200945910A (en) 2009-11-01

Similar Documents

Publication Publication Date Title
JP4773594B2 (en) Color image processing method, color image processing apparatus, and liquid crystal display device
JP5430068B2 (en) Display device
JP2004538523A5 (en)
CN110197463A (en) High dynamic range image tone mapping method and its system based on deep learning
JP2010250331A (en) Color display device, color compensation method, color compensation program
WO2010131499A1 (en) Image processing device and image processing method
US10733957B2 (en) Method and system for display color calibration
JP2013195605A (en) Image processing device and image processing method
TW548954B (en) Efficient method of computing gamma correction tables
CN108933933A (en) A kind of video signal processing method and device
CN112992059B (en) Method and related device for adjusting Gamma of OLED display screen
JP5618574B2 (en) Adjustment method and display device
TWI356640B (en) Method and device for modulating image color
CN112750086A (en) Image processing method and device, electronic equipment and storage medium
CN113590071A (en) Image processing method, apparatus, computer device and medium based on dithering
TW201342879A (en) Extended range color space
JP6035940B2 (en) Image processing apparatus, display apparatus, and image processing method
JP2005134866A (en) Color display device, color compensation method, and color compensation program
TWI523500B (en) Dynamic range compression method for image and image processing device
JP3935802B2 (en) Multi-projection system and correction data acquisition method in multi-projection system
US20060279811A1 (en) Method for adjusting colors of image
JP2014033361A (en) White balance adjustment device, display device, white balance adjustment method and program
JP2007324665A (en) Image correction apparatus and video display apparatus
US8630488B2 (en) Creating a duotone color effect using an ICC profile
JP7313287B2 (en) Method and apparatus for displaying images on dual display panel

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees