TW528983B - Dithering process device and method in image process and computer graphic system - Google Patents

Dithering process device and method in image process and computer graphic system Download PDF

Info

Publication number
TW528983B
TW528983B TW90122528A TW90122528A TW528983B TW 528983 B TW528983 B TW 528983B TW 90122528 A TW90122528 A TW 90122528A TW 90122528 A TW90122528 A TW 90122528A TW 528983 B TW528983 B TW 528983B
Authority
TW
Taiwan
Prior art keywords
value
bit
image data
pixel
difference
Prior art date
Application number
TW90122528A
Other languages
Chinese (zh)
Inventor
Chung-Yen Lu
Hai-Wei Wang
Original Assignee
Silicon Integrated Sys 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 Silicon Integrated Sys Corp filed Critical Silicon Integrated Sys Corp
Priority to TW90122528A priority Critical patent/TW528983B/en
Application granted granted Critical
Publication of TW528983B publication Critical patent/TW528983B/en

Links

Landscapes

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

Abstract

The present invention discloses a dithering method for converting N-bit digital image data into M-bit digital image data, where N-M=K, K > 0. The method can be applied to a dithering method in the image process system and computer graphic system. For example, the present method can convert the N-bit red color value of each pixel into N-bit red color value only when there is very small or no color deviation. The present method is based on the difference between the image data of the most significant n bit and the least significant n bit of the pixel to provide a predicted standard, where n=k in the best condition. In addition, the present invention also discloses a dithering device for converting N-bit digital image data into M-bit digital image data, where N-M=K, K > 0. A subtracting operation device included in the device is provided to obtain a difference by subtracting the least significant n bit from the most significant n bit of the pixel of the N-bit image data.

Description

528983528983

【發明之應用範圍】 本發 '係有關於—種將—數位影像之N位元影像資料 、至Μ位7〇影像資料的顫動混色)方法,其 N M=K,而K>0,特別的是該方法是應用在電腦繪圖或者 影像處理的顫動混色程序(dithering process)中,來 解決影像偏差的問題。 【發明之相關技術及背景】 電腦繪圖或是影像處理中常常會將高色階(high precision)的影像轉成低色階的影像,一般而言,處理 益是能夠處理高色階影像資料的,但是接下來的儲存裝f 或是顯示裝置必須要配合的上’然而,有時卻必須要限制 在低色階標準中’這就是為什麼影像處理器大都被設計成 可支援不同色階顯示標準,如24位元(bit )的真實色彩 模j (true c〇l〇r f0rmat )和16位元(Mt )的高色階色 彩才莫式(In gh color f0rmat )的原因,因此,將24位元 的貝料轉換成1 6位兀的資料以利於儲存或是顯示之轉換動 作’是常常被使用的。 24位元的真實色彩模式中有8位元是代表紅色、8位元 是代表綠色、8位元是代表藍色,而16位元的高色階色彩籲 模式中則分別以5位元、6位元以及5位元來代表紅色、綠 色以及藍色’目此’當要將—個24位元的真實色彩模式的 像素轉換成16位元的高色階色彩模式時,便需要應用如第 一圖中所示的8位元轉5位元以及8位元轉6位元的換算法。[Scope of application of the invention] The present invention is about a kind of N-bit image data of a digital image, and a flutter color mixing to M-bit 70 image data) method, where NM = K, and K > 0, special This method is applied to the dithering process of computer graphics or image processing to solve the problem of image deviation. [Related Technology and Background of the Invention] In computer graphics or image processing, high-precision images are often converted to low-level images. Generally speaking, the processing benefits are capable of processing high-level image data. , But the next storage device or display device must be compatible. However, sometimes it must be limited to low-level standards. This is why most image processors are designed to support different color-level display standards. For reasons such as 24-bit (true) color true mode j (true c0l0r f0rmat) and 16-bit (Mt) high-level color invariants (In gh color f0rmat), therefore, 24 The conversion of bit materials into 16-bit data to facilitate storage or display is often used. In the 24-bit true color mode, 8-bit is red, 8-bit is green, 8-bit is blue, and 16-bit high-level color mode uses 5-bit, 6-bit and 5-bit to represent red, green, and blue 'for now' When you want to convert a 24-bit true color mode pixel into a 16-bit high-level color mode, you need to apply The conversion algorithm of 8-bit to 5-bit and 8-bit to 6-bit shown in the first figure.

528983 五、發明說明(2) 習知已有截斷法(truncat i on me thod )和環繞法 (rounding method )應用於上述的換算法中,但運用單 純的截斷法和環繞法由於最後的影像中會產生馬赫帶狀效 應(Mach banding effect)而不太受重用,其中上述的 馬赫帶狀效應會使邊界產生色階差(intensity gap), 也就是色階值的大小與變化量有不連續性的情形,此狀況 以目視就可以看得出來;為了避免馬赫帶狀效應,習知已 f :種顫動混色方式來改善上述之情況,該顫動混色方式 、口疋先以截斷法所得的色階值(c〇1〇r value )與一顫動 混色值結合運算,其中該顫動混色值是隨著該像素的位置 =同而變化的,第二A圖至第二〇圖中所呈現的是三個分別 自πι位兀針對減少2位元、3位元與4位元時的顫動混色陣列 dither matrix)與顫動混色表(dither table),其 % 與j分別表示該像素之X方向與Y方向之座標除以m之 後所剩的餘數值,表示成1 = (乂 m〇d m),卜(y m〇d…。 根據顫動混色表的使用,將一些亂數值(rand〇m =此)_加入像素中後,這些顫動混色效應會將輪廓打 i夾:U動混色表中的亂數則是由不同的演算法計算 2二右正個圖片都加入這項的顫動混色效應,其色階 值所造成的邊界將會被柔化。 /、巴1白 處理一 係應用 首先, 傻IΪ參閱/三圖,該圖為習知顫動混色方法中 於脾έ 8:兀轉換成5位元之換算法的功能方塊圖 將t ί自真實色彩模式㈣成高解析色彩模式 :像素之座;f示值(也就是又與乂)輸入功能方塊中528983 V. Description of the invention (2) It is known that the existing truncation method (truncat i on me thod) and the rounding method (rounding method) are applied to the above-mentioned conversion algorithm, but the simple truncation method and rounding method are used because the final image will be Mach banding effect is generated but is not very reused. The above-mentioned Mach banding effect will cause an intensity gap at the boundary, that is, there is a discontinuity in the magnitude and change of the gradation value. This situation can be seen visually; in order to avoid the Mach band effect, it has been known that f: a kind of dithering color mixing method to improve the above situation, the dithering color mixing method, the color scale value obtained by the truncation method ( c〇1〇r value) combined with a dithering color mixing value, where the dithering color mixing value changes with the position of the pixel = the same, the three figures shown in the second A to 20 Since the bit position is to reduce dither matrix and dither table when 2-bit, 3-bit and 4-bit are reduced, its% and j represent the coordinates of the X direction and Y direction of the pixel, respectively. The remaining value after m is expressed as 1 = (乂 m〇dm), bu (ym〇d ...) According to the use of the dithering color mixing table, add some random values (rand〇m = this) _ after adding to the pixel These flutter color mixing effects will clip the outline: the random numbers in the U color mixing table are calculated by different algorithms. The right and right pictures are added to this flutter color mixing effect, which is caused by the color level value. Boundary will be softened. /, Ba 1 white processing is a series of applications. First, silly I Ϊ refer to / 3 pictures, which are the functions of the conventional tremor blending method. The block diagram transforms t from the true color mode into a high-resolution color mode: the seat of the pixel; the f value (that is, and 乂) is entered into the function block

528983 五、發明說明(3) 如第二B圖中所述之D3的顫動混色表中查出一比對值 (threshold value) T,於功能方塊32中,將該比對值與 該像素的8位元色階值(R [ 7 : 〇 ])的最低3位元(R [ 2 ·· 0 ]) 之值比較後,來決定一進位值(carry value),若是最 低3位元(R [ 2 : 0 ])之值大於該比對值,則其進位值設為 1,於功能方塊33中,該像素中8位元色階值(R [ 7 : 0 ])的 最高5位元(R [ 7 : 3 ])之值便加上1,然後表示成一暫時值 (Tmp[5 : 0]);相反的,若是最低3位元(R[2 ·· 0])之值 小於或等於該比對值,該像素中8位元色階值(R [ 7 : 〇 ]) 的最咼5位元(R[7:3])之值便加上〇,也就是說,該像素 中8位元色階值(R [ 7 : 0 ])的最高5位元(r [ 7 : 3 ])之值直 接表示成一暫時值(Tmp[5 : 0]);在功能方塊34中,再更 進一步將該暫時值以溢位處理法(clamp 〇perati〇n)轉 換成該像素最終所需之5位元色階值;上述之溢位處理法 中,,若是該暫時值大於3 1時,該經過顫動混色的色階值 (R’ [ 4 : 0 ])即設定成3 1,否則經過顫動混色的色階值 (R’ [4:〇])就等於該暫時值(Tmp[5:〇]),上述 是說明當暫時值加上進位值而產生溢位之後,使一 5二 =值(Tmp[4:〇])變成一6位元暫時值( ; 的處理狀況。 」’日守 請參閱第四圖,$圖所示類似第三. =法’處理-像素之8位元轉換成6位元之換算法色 塊圖,係應用於將綠色自真實色彩模式轉換 j =方 模式。同樣地,先將一像+ 、问解析色彩 肘像素之座標值(也就是X與y )輸入528983 V. Description of the invention (3) Find a comparison value T in the dithering color mixing table of D3 described in the second figure B. In function block 32, compare the comparison value with the pixel's The value of the lowest 3 bits (R [2 ·· 0]) of the 8-bit color gradation value (R [7: 〇]) is compared to determine a carry value. If the value is the lowest 3 bits (R [2: 0]) is greater than the comparison value, its carry value is set to 1, in function block 33, the highest 5 bits of the 8-bit color scale value (R [7: 0]) in the pixel The value of (R [7: 3]) is increased by 1, and expressed as a temporary value (Tmp [5: 0]); Conversely, if the value of the lowest 3 bits (R [2 ·· 0]) is less than or Equal to the comparison value, the value of the last 5 bits (R [7: 3]) of the 8-bit color scale value (R [7: 〇]) in the pixel is added to 0, that is, the pixel The value of the highest 5 bits (r [7: 3]) of the 8-bit color gradation value (R [7: 0]) is directly expressed as a temporary value (Tmp [5: 0]); in function block 34, Furthermore, the temporary value is converted into a 5-bit color finally required by the pixel by using a clamp 〇perati〇n method. In the above overflow processing method, if the temporary value is greater than 31, the color level value (R '[4: 0]) after the dithering is set to 3 1, otherwise the color level after the dithering is mixed The value (R '[4: 〇]) is equal to the temporary value (Tmp [5: 〇]). The above is to explain that when the temporary value adds a carry value and an overflow occurs, make 52 = value (Tmp [4 : 〇]) becomes a 6-bit temporary value (;; processing status. "" Rishou please refer to the fourth figure, $ diagram is similar to the third. = Law "processing-8-bit pixels are converted into 6-bit The color block diagram of the conversion algorithm is used to convert green from the true color mode to j = square mode. Similarly, first input an image +, and the coordinate values (ie, X and y) of the elbow pixels to resolve the color

528983 五、發明說明(4) 力月b方塊41中’自如第二a圖中所述之j)2的顫動混色表中 查出一比對值(threshold vaiue ) τ,於功能方塊42中, 將該比對值與該像素的8位元色階值(G [ 7 ·· 〇 ])的最低2位 元(G [ 1 : 〇 ])之值比較後,決定出一進位值( v^lue) ’若疋最低2位元(G[1:〇])之值大於該比對值 時,則其進位值設為1,在功能方塊43中,該像素中8位元 的色階值(G [ 7 ·· 0 ])的最高6位元(G [ 7 ·· 2 ])之值便加上 1,然後表示成一暫時值(Tmp[6:〇]);相反的,若是最 低2位tl ( G [ 1 : 〇 ])之值小於等於該比對值,該像素中8位 疋色階值(R [ 7 : 0 ])的最高6位元(G [ 7 : 2 ])之值便加上 ,也就是說,該像素中8位元的色階值(G [ 7 : 〇 ])的最 位·元(G[7.2])之值直接表示成一暫時值(Tmp[6:〇] ’於功能方塊44中,再更進一步將該暫時值以溢位處理 轉換成該像素最終所需之6位元的色階值;i述之溢位 : 該暫時值大於63時,該經過顫動混色的色 \ ])即没定成63,否則經過顫動混色的色階 暫時,加上進位值而產生溢位之後,使-“立 :“;=。[5:°])變成-7位元暫時值(T·。])· 動-:Ϊ第ϋ或第四圖的換算法相反的做法稱之逆顫 Γ常被使用在將高色階色彩模式轉換成 ”貝色如杈式。一般的逆顫動混 “时㈣“塊51_圖巾所述,^528983 V. Description of the invention (4) A comparison value (threshold vaiue) τ is found in the free-vibration color mixing table of j) 2 in block 41 of Liyue b. 41, in function block 42, After comparing the comparison value with the value of the lowest 2 bits (G [1: 〇]) of the 8-bit color scale value (G [7 ·· 〇]) of the pixel, a round value (v ^ lue) 'If the value of the lowest 2 bits (G [1: 〇]) is greater than the comparison value, the carry value is set to 1. In function block 43, the 8-bit color scale value in the pixel (G [7 ·· 0]) The value of the highest 6 bits (G [7 ·· 2]) is increased by 1 and then expressed as a temporary value (Tmp [6: 〇]); on the contrary, if it is the lowest 2 The value of bit tl (G [1: 〇]) is less than or equal to the comparison value, and the value of the highest 6 bits (G [7: 2]) of the 8-bit chroma value (R [7: 0]) in the pixel is The value is added, that is, the value of the most significant bit (G [7.2]) of the 8-bit color scale value (G [7: 〇]) in the pixel is directly expressed as a temporary value (Tmp [6: 〇] 'In function block 44, the temporary value is further converted into the final required 6 of the pixel by overflow processing. The value of the color level of the element; the overflow of the above description: When the temporary value is greater than 63, the color of the dithered color \]) is not set to 63, otherwise the color level of the dithered color is temporarily added to the carry value and overflow occurs. After the bit, make-"Li:"; =. [5: °]) becomes a temporary value of -7 bits (T ·.]). Dynamic-: The first or the fourth image conversion algorithm is called the inverse dither. Γ is often used for high-level color The mode is converted to "beige-like". The general inverse chatter is mixed with "time" as described in block 51_.

第8頁 528983 五、發明說明(5) 位S 第五A圖中,將原本高色階色彩模式中5位元 、色階值(R’ [ 4 : 0 ])直接當作真實色彩模式中最高5位元 :色&階值U’’ [7:3]),再將5位元色階值中的最低3位元 階值,(R’ [4:2])當成真實色彩模式中最低3位元的色階 值-(R’’[2:〇]),上述兩值組合回復成真實色彩模式的8 位元色階值(R [ 7 : 0 ]);同樣的,在第五β圖中,先將 原本高色階色彩模式中6位元的色階值(G,[ 5 : 〇 ])直接當 作真貫色彩模式中最高6位元的色階值(Q,,「7 · 2 ί〉 直 «位元色階值中的最高2位元色階值(U]2U 貫色彩模式中又2位元的色階值(G,,[丨:〇 ]),上述兩值 組合回復成真貫色彩模式的8位元色階值(G,,[ 7 : 〇 ])。 上述所提出的顫動混色方法比起原先直接以截斷法來 處理色階轉換,已獲得較佳的視覺品質,然而,在電腦繪 圖的應用中,被顫動混色處理後的影像卻常常需要再被逆 頦動混色處理,之後再度被顫動混色處理,如習知般所述 的逆顫動混色方法是附加一段高階色階的位元到已被顫動 混色的色階值中’來將像素自低色階轉換成為高色階,但 很糟糕的是,像這樣一再地重複顫動混色以及逆顫動混色 的過程中’最後所得的影像中的某些點會出現有太過紅、 太過綠’甚至太過藍的現象,這就是產生所謂的色彩誤差 問題(color deviation ) 〇 以下說明習知的顫動混色方法如何產生色彩誤差問 題··假设有某一點像素已經被顫動混色與逆顫動混色數 次,該像素之色階位元數目設為N,已被顫動混色的位元Page 8 528983 V. Description of the invention (5) Bit S In the fifth A chart, the 5-bit and color gradation values (R '[4: 0]) in the original high color gradation color mode are directly used as the true color mode. The highest 5 bits: color & step value U '' [7: 3]), and then the lowest 3 bit step value of the 5 bit color step value, (R '[4: 2]) as the true color mode The lowest 3-bit color-gradation value-(R '' [2: 〇]). The combination of the above two values returns to the 8-bit color-gradation value (R [7: 0]) of the true color mode; similarly, in In the fifth β image, the 6-bit color gradation value (G, [5: 〇]) in the original high-level color mode is directly used as the highest 6-bit color gradation value (Q, , "7 · 2 ί> The highest 2-bit color-gradation value (U) 2U-color mode and the 2-bit color-gradation value (G ,, [丨: 〇]), The combination of the above two values returns an 8-bit color gradation value (G ,, [7: 〇]) of the true consistent color mode. The above-mentioned dithering color mixing method has directly obtained the gradation conversion by using the truncation method. Better visual quality, however, in computer graphics applications, The image after the dithering process often needs to be inversely dithered, and then it is dithered again. The conventional method of inverse dithering is to add a bit of high-order color levels to the dithered color. In the color scale value, 'to convert the pixels from low color scale to high color scale, but it is very bad that some of the points in the final image will appear in the process of repeating the process of dithering and inverse dithering repeatedly like this. There is a phenomenon of too red, too green, or even too blue. This is what causes the so-called color deviation. The following explains how the conventional dithering method produces color error problems. · Suppose there is a pixel at a certain point. Dithered color mixing and inverse dithering color mixing several times, the number of color level bits of this pixel is set to N, the bits that have been dithered color mixing

528983 五、發明說明(6) 根據該像素的位置’經由-個顫動混色表 τ此外 處理之德/ 、二始的色階值没為乙,經過k次顫動混色 ^ ^ ^ ,θ ρ&值設為L,該像素經過k次顫動混色處理 A _ ”。 Μ之取低η位元的值,故可得知p - P f過習知逆顫動混色的方法,可得+ ,這表 Uk_;在第一次的顫動混色程序中,如果P。大於T,則 可ίν1 v°=與Il=M8+Hl,那表示Pl=Hl ;如果Pl大於τ ’則論 那::1 1。這樣很容易可以證-定是大於等於H1,筹 H r如果Hl大於T,Hk就會大於了,同時pk也會大於T, ^目Θ^Λ二1k也隨之增加,最後,我們會發現某些點開始 出現不協調的顏色,即產生色彩誤差。而如何改善此— 用手段之缺失,係為發展本案之主要目的。 【發明概述】 因此,本發明的主要目的在提供一種方法與裝置, 關於將數位影像之N位元影像資料轉換至M位元影像資料/、 而其中Ν-Μ = κ,而κ>0,來解決影像偏差的問題。 本發明所提供第一種實施概念是一種將數位影像之^ 位元影像資料轉換至Μ位元影像資料的顫動混色 (dithering )方法,其中Ν-Μ = κ,而κ>〇 ;該方法包含下 列步驟··執行第一運算將數位影像資料之像素之~位元 528983528983 V. Description of the invention (6) According to the position of the pixel 'through a dithering color mixing table τ, the gradation value of the second / first step is not B, after k times of dithering color mixing ^ ^ ^, θ ρ & value Set it to L, this pixel undergoes k dithering process A _ ". The value of M is the lower η bit value, so we can know that p-P f is over the conventional method of inverse dithering, and we get +, which is Uk_ ; In the first dithering color mixing program, if P. is greater than T, then ν1 v ° = and Il = M8 + Hl, that means Pl = Hl; if Pl is greater than τ ', then that :: 1 1. This It ’s easy to prove that if H1 is greater than or equal to H1, if Hl is greater than T, Hk will be greater than pk, and pk will be greater than T. ^ 目 Θ ^ Λ2k will also increase. Finally, we will find that These points start to appear inconsistent colors, that is, color errors. How to improve this — the lack of means is the main purpose of developing this case. [Summary of the Invention] Therefore, the main purpose of the present invention is to provide a method and device, Regarding the conversion of N-bit image data of digital images to M-bit image data /, where N-M = κ, And κ> 0, to solve the problem of image deviation. The first implementation concept provided by the present invention is a dithering method for converting ^ bit image data of a digital image into M bit image data, where N- Μ = κ, and κ >〇; The method includes the following steps: Execute the first operation to convert the bit of the digital image data to the bit 528983

中,獲得N位元影像資料中之最心位元與最低n位元之間 的一差值;再執行第二運算將像素之座標值轉換成一比對 值;比較差值與比對值後;當差值之絕對值不大於比對值 時]將像素之Ν位元影像資料之最高Μ位元設定為像素之μ 位兀影像資料;當差值之絕對值大於該比對值且差值為一 正數時,將像素之Ν位元影像資料之最高%位元加上第一數 值後當作像素之Μ位元影像資料;最後,當差值之絕對值 大於比對值-且差值為一負數時,將像素之Ν位元影像資料 之最高Μ位元減上第二數值後當作像素之Μ位元影像資料。 根據上述構想,顫動混色的方法中i η Ν / ·,且魏 η^Κ 。 根據上述構想,顫動混色的方法中之第一數值盥第二 數值相等,且皆等於為1。 / 根據上述構想,顫動混色的方法中更進一步包含一步 驟:將Ν位元影像資料之最高1位元與第一數值之和盥(2Μ -1)作比較,若上述之和大於(2LD,則將(2Μ —η當;f乍像素 之Μ位元影像資料。 根據上述構想,顫動混色的方法中更進一步包含一步 驟··將Ν位元影像資料之最高Μ位元與第二數值之差與〇作 比較,若上述之差小於0,則將〇當作像素之該Μ位元影像籲 資料。 根據上述構想’顧動混色的方法中所述之第一管包 含一減法運算;而所述之第二運算包含一顫動混色運; (dithering operation ) °A difference between the most significant bit and the lowest n bits in the N-bit image data is obtained; then a second operation is performed to convert the pixel coordinate value to a comparison value; after comparing the difference value and the comparison value When the absolute value of the difference is not greater than the comparison value] set the highest M bit of the N-bit image data of the pixel to the μ-bit image data of the pixel; when the absolute value of the difference is greater than the comparison value and the difference When the value is a positive number, the highest% bit of the N-bit image data of the pixel is added to the first bit value as the M-bit image data of the pixel; finally, when the absolute value of the difference is greater than the comparison value-and the difference is When the value is a negative number, the highest M bit of the N-bit image data of the pixel is reduced by a second value, and the M bit image data of the pixel is used. According to the above conception, in the method of flutter color mixing, i η N / ·, and Wei η ^ κ. According to the above-mentioned concept, the first value and the second value in the method of dithering and color mixing are equal and both are equal to 1. / According to the above concept, the method of dithering color mixing further includes a step: comparing the highest 1 bit of the N-bit image data with the sum of the first value (2M -1). If the above sum is greater than (2LD, Then (2M-n); f-bit M-bit image data. According to the above conception, the method of dithering and color mixing further includes a step... The highest M-bit of the N-bit image data and the second value. The difference is compared with 0. If the above difference is less than 0, then 0 is regarded as the M-bit image data of the pixel. According to the above conception, the first tube described in the method of mixing colors includes a subtraction operation; and The second operation includes a dithering operation; (dithering operation) °

第11頁 528983 五、發明說明(8) 根據上述構想,顫動混色的方法中所述之該像素之影 像資料係根據像素之紅色、綠色與藍色之色階值而轉換 的;更進一步,上述之步驟係可以應用至數位影像之其它 像素中,並完成將數位影像之N位元影像資料轉換成μ位元 影像資料。 本發明所提供第二種實施概念是 ^ 頭黑 混色程序(dithering process)的裝置,係用於將數位 景> 像之N位元影像資料轉換至μ位元影像資料,其中 Ν-Μ = Κ,而Κ>0 ;該裝置至少包含一減法運算裝置,用於將 像素之Ν位元影像資料之最高η位元減去其最低^位元之 後,得到差值;一比對值產生裝置,用於將像素之座標f 後得到一比對值;—比較運算裝置電連接於;法 運异衣置與比對值產生裝置,用於比較差值與比對值·合 ΐΐΐ絕:ΐ不大於比對值時,比較運算裝置輸出第丄i 制^唬,备差值之絕對值大於比對值且差值為一 比較運算裝置輸出第二控制信號;當差二’ 二值且差值為一負數時,比較運算裝置輪 :上ΐϊ:計算裝置電連接於比較運算裝置,計i裝i依 當成像素之Μ位元影像資料輸出;計;位& 控制信號將像素之M位元影像資料之;ί置依據上述第二· ,當成像素之Μ位元影像資料輸出;:曾裝70加上第-數 弟二控制信號將像素之Μ位元影像資料之;: '據上述— -數值後當成像素之Μ位元影像資料輪出。问*兀減去第Page 11 528983 V. Description of the invention (8) According to the above idea, the image data of the pixel described in the method of dithering color mixing is converted according to the red, green and blue color level values of the pixel; further, the above The steps can be applied to other pixels of the digital image, and the N-bit image data of the digital image is converted into μ-bit image data. The second implementation concept provided by the present invention is a device for a dithering process, which is used to convert N-bit image data of a digital scene > image to μ-bit image data, where N-M = Κ, and κ> 0; the device includes at least a subtraction device for subtracting the highest n bits of the N-bit image data of the pixel from its lowest n bits to obtain a difference; a comparison value generating device , Used to obtain a comparison value after the pixel coordinate f;-a comparison operation device is electrically connected to; a method for generating different values and a comparison value generation device for comparing the difference and the comparison value. When it is not greater than the comparison value, the comparison operation device outputs the 丄 ith system, the absolute value of the difference value is greater than the comparison value, and the difference value is a comparison operation device, and the second control signal is output; when the difference is two, the difference value and the difference value When it is a negative number, the comparison operation device wheel: the upper part: the calculation device is electrically connected to the comparison operation device, and the calculation device is outputted as the M-bit image data of the pixel; the calculation bit & control signal converts the M bit of the pixel The image data is based on the second above. M-bit image data output as pixels ;: M-bit image data of pixels was installed with 70 plus the second-most control signal; 'According to the above--the value of the M-bit image data wheel of pixels Out. Ask *

528983 五、發明說明(9) 根據上述構想,應用於執 進一步包含溢位處理裝置,雷=二一轾序的裝置中更 素之Μ位元影像資料之值與(以—丨异裝置,用於將像 位元影像資料之值大於(2m〜丨),3 % 啟,右上述之Μ 調整運算;若上述位元旦彡、处理裝置執行第一 理裝置執行第二調整運t在像太\料之值小於〇,則溢位處 像素之μ位元影像資料#代而上第逑之影像資料之值成為 Μ位元影像資::::為;ί:'整運算係將〇替代上述之 根攄上、像素之Μ位元影像資料。 根據上述構想,應用於執行顫 述之比對值產生裝置中包含-顫動混色i=her=r ),用於對應像素之座標值產生比對值·上、f e 知所述的顫動混色表來達成產生比對值’…以應用習 【實施例說明】 請先參閱第六圖,本圖為本發明應用於一 ί二=松式轉換成高色階色彩模式。該裝置包含減法運 鼻衣置11、比對值產生裝置丨2、比較運算裝置丨3、 置14以及溢位處理裝置15,#中,比對值產生裝置12:‘ /個可以減少3位元的顫動混色表(D3 ) 〇 ^先’將一像素之座標值(也就是\與7 )輸入比對值 虞生裝置12中,自如第二B圖中所述之D3的顫動混色表中 查出比對值(threshold value)T,同時,將該像素的 第13頁 ^28983 、發明說明(10) " '' 色階值之最高3位元(R[7:5])與最低3位元(R[2:〇])經 f減法運算裝置1丨之後,得到一差值(D [ 3 : 〇 ]),該差值 與比對值T經過比較運算裝置丨3比對之後,輸出一運算值 a( 〇P [1 : 0 ]);如果上述差值(D [ 3 : 0 ])之絕對值小於或 $於比對值T時,運算值(OP[1:〇])將設為〇,這表示不 需要有任何的改變;相反的,若是差值(D [ 3 : 〇 ])之絕對 值大於比對值T時,運算值(0P [丨:〇 ])將會根據差值 (D [ 3 ·· 〇 ])的符號而定,當差值(D [ 3 : 〇 ])之符號為正 (positive )時運算值(〇P[1 :〇])即設為1 ;相反的,當 差值(D[3:0])之符號為負(negative)時運算值 (〇P[ 1 : 0])即設為2 ;當上述運算值(〇p[丨·· 〇])決定了學 之後’一暫時值(Tmp[5 : 〇])就可以被計算 置14中所計算的方程式如下所示: ^528983 V. Description of the invention (9) According to the above idea, it should be applied to the value of the more plain M-bit image data in the device which further includes an overflow processing device, Ray = two one sequence, and (with-different device, use If the value of the image data of the pixel is greater than (2m ~ 丨), 3% is enabled, and the above-mentioned M adjustment operation is performed; if the above-mentioned bit is changed, the processing device executes the first processing device and performs the second adjustment. If the value of the material is less than 0, the value of the μ bit image data # of the pixel at the overflow is replaced by the value of the image data of the first bit becomes the M bit image data ::::; Based on the above-mentioned idea, the M-bit image data of the pixel. According to the above idea, the comparison value generating device for performing dithering includes-dithering color mixing i = her = r), and is used for generating the comparison of the coordinate values of corresponding pixels. Value, up, and down, to achieve the comparison value according to the dithering color mixing table described above ... To apply the practice [explanation of the embodiment] Please refer to the sixth diagram, this diagram shows the application of the present invention to a two = loose conversion into High-level color mode. The device includes a subtraction nosepiece set 11, a comparison value generating device 丨 2, a comparison operation device 丨 3, a setting 14, and an overflow processing device 15, #. Among them, the comparison value generating device 12: '/ one can reduce 3 bits Yuan's dithering color mixing table (D3) 〇 ^ 'First, input the coordinate value of one pixel (that is, \ and 7) into the comparison value Yusheng device 12, as shown in the second dithering D3's dithering color mixing table. Find the comparison value (threshold value) T, meanwhile, the highest 3 bits (R [7: 5]) and lowest of the color scale value of the pixel on page 13 ^ 28983, invention description (10) " '' After 3 bits (R [2: 〇]) are passed through f subtraction operation device 1 丨, a difference value (D [3: 〇]) is obtained, and the difference value and comparison value T are compared with the comparison operation device 丨 3. , Output an operation value a (〇P [1: 0]); if the absolute value of the difference (D [3: 0]) is less than or equal to the comparison value T, the operation value (OP [1: 〇] ) Will be set to 0, which means that no change is necessary; on the contrary, if the absolute value of the difference (D [3: 〇]) is greater than the comparison value T, the calculated value (0P [丨: 〇]) will be Will be based on the sign of the difference (D [3 ·· 〇]) Depending on the number, when the sign of the difference (D [3: 〇]) is positive, the calculated value (〇P [1: 〇]) is set to 1; on the contrary, when the difference (D [3: When the sign of 0]) is negative, the operation value (〇P [1: 0]) is set to 2; when the above operation value (〇p [丨 ·· 〇]) determines the 'a temporary value ( Tmp [5: 〇]) can be calculated as shown in Equation 14 below: ^

Tmp [5 : 0] R[7:3] if OP = 〇 r[7:3] + 1 if 〇P zz 1 、R[7:3]-1 if OP =2 该暫日τγ值(Tmp[5:〇])再經過溢位處理裝置I〗,來調整成 5位元的色階值,其調整方程式如下所示: R,[4:0] 31 if Tmp[5:〇]> 31 · 0 if Tmp[5:〇]< 〇 、Tmp[5:〇] 其它 之後’若有需要將高色階色彩模式轉換成真實色彩模 式,則可以芩考第五A圖所述之逆顫動混色的方法來將影Tmp [5: 0] R [7: 3] if OP = 〇r [7: 3] + 1 if 〇P zz 1, R [7: 3] -1 if OP = 2 τγ value (Tmp [ 5: 〇]) and then adjust it to a 5-bit color gradation value through the overflow processing device I. The adjustment equation is as follows: R, [4: 0] 31 if Tmp [5: 〇] > 31 · 0 if Tmp [5: 〇] < 〇, Tmp [5: 〇] After others, 'If there is a need to convert the high-level color mode to the true color mode, you can consider the inverse flutter described in Figure 5A Color mixing method

第14頁 528983Page 14 528983

五、發明說明(11) 像回復。 第七圖中顯示本發明應用於一像素將8位元轉6位元的 較佳實施例之顫動混色方法與弟六圖所述相似,係應用於 將綠色色階自真實色彩模式轉換成高色階色彩模式。先將 一像素之座標值(也就是X與y)輸入功能方塊71中,對廡 自如第二A圖中所述之D2的顫動混色表中決定出一比對值 (threshold value) T ’同時’將該像素的色階值之最高 2位元(R[7:6])與最低2位元(R[1:0])經過功能方塊^ 之相減後’得到一差值(D [ 2 · 0 ]) ’該差值與比對值τ輸 入功能方塊7 3經過比對之後,輸出一運算值(〇p [丨:〇 ] );如果差值(D [ 2 ·· 0 ])之絕對值小於或等於比對值了 _ 時,運算值(0P[ 1:0])將設為〇,這表示不需要有任何的 改變;相反的,若是差值(D [ 2 : 0 ])之絕對值大於比對值 T時,運算值(OP[1:〇])將會根據差值(d[2:〇])的符號 而定’當差值(D[2:0])之符號為正(p0siHve)時運管 值(OP[1:0])即設為1 ;相反的,當差值(j)[2:〇])之符 號為負(negative)時運算值(〇P[l:〇])即設為2 ;合上 述運算值(〇P[1:〇])決定了之後,一暫時值(Tmp[ 6 : 〇 ] )就可以透過功能方塊7 4被什异出來,此過程之計算的方 程式如下所示: | G[7:2] if OP =〇5. Description of the invention (11) Like reply. The seventh figure shows the preferred embodiment of the present invention applied to a pixel that converts 8-bit to 6-bit. The dithering color mixing method is similar to that described in the sixth figure, and is used to convert the green color level from the real color mode to high. Levels color mode. First enter the coordinate value of a pixel (that is, X and y) into the function block 71, and determine a threshold value T ′ from the dithering color mixing table of D2 as described in the second A figure. At the same time, 'Subtract the highest 2 bits (R [7: 6]) and the lowest 2 bits (R [1: 0]) of the pixel's color scale value from the function block ^' to obtain a difference (D [ 2 · 0]) 'The difference value and the comparison value τ are input into the function block 7 3 After comparison, an operation value (〇p [丨: 〇]) is output; if the difference value (D [2 ·· 0]) When the absolute value is less than or equal to the comparison value _, the calculated value (0P [1: 0]) will be set to 0, which means that no change is necessary; on the contrary, if the difference (D [2: 0] When the absolute value of) is greater than the comparison value T, the calculated value (OP [1: 〇]) will be determined according to the sign of the difference (d [2: 〇]). 'When the difference (D [2: 0]) When the sign is positive (p0siHve), the value of the fortune management (OP [1: 0]) is set to 1; on the contrary, when the sign of the difference (j) [2: 〇]) is negative, the operation value ( 〇P [1: 〇]) is set to 2; after the above calculation value (〇P [1: 〇]) is determined, a temporary value (Tmp [6: 〇] ) Can be different through function block 7 4. The calculation formula of this process is as follows: | G [7: 2] if OP = 〇

Tmp [6:0] = jG[7:2] + l if OP = 1 、G[7:2] —1 if 〇P =2Tmp [6: 0] = jG [7: 2] + l if OP = 1, G [7: 2] —1 if 〇P = 2

528983 五、發明說明(12) — 其顫動混色之值是透過暫時值(Tmp [ 6 : 〇 1、^ 塊75之溢位處理後而得來的,其方程式如下於〜 此万 1尸汀示: 63 if Tmp[6:〇]>63528983 V. Description of the invention (12) — The value of the flutter color mixture is obtained by processing the temporary value (Tmp [6: 〇1, ^ Block 75 overflow), and its equation is as follows: : 63 if Tmp [6: 〇] > 63

Gr[5:〇]- 0 if Tmp[6:〇]<0Gr [5: 〇]-0 if Tmp [6: 〇] < 0

Tmp[6:〇] 其它 根據上述的實施例,可以了解本發明所福命 色方法是依據Wh + ι、或vVy其中^各!顏動, 準則而來的,而逆顫動混色方法則是應用習知的的換算 發明之顫動混色方法是先計算出與,然德盘' 本 “、、1^比對· τ 比較之後決定出其顫動混色值在計算時是「 1」或者是「維持不變」。 」、「減$ 在每一個換算準則中可以明顯看出p 逆顫動混色方法而來的,也就是說,在第1^ ^欠顫'"動、、曰色统的 後’其差值將會變成0 ’換言之’即是p「Hk = 〇,心之 ,沒有任何改變,Ik+1將還是等於Ik,顫動混色誤差值表 UUher error)就不會擴大,當然, 以避免了。如此將可有效達成本案之主要目的差門通就可 以上所述僅為本發明之較住每 係用來說明而非用以限定本:二::貫:例僅 專利範圍所作之均等圍所界定。凡依本發明.申f 圍。 寺文化與修飾’皆應屬本發明之涵蓋範 528983 圖式簡單説明 [圖式簡單說明】 第〆圖顯示在習知電腦繪圖中,痒用吉g無、日A立广收 真實色彩模式之數位影像=動ί色程序將-的方塊示意圖。“象轉換成焉色階色彩模式 第 第三圖 二Α圖圖顯示三種顫動混色陣列或是顫動混色 :之範:,分別應用於去除2位元(D2)、去除3 4兀(D3 )以及去除4位元(D4 )之轉換法。 =習知顫動混色程序中,處理一像素自8位元轉換 第四圖 換异、法的功㊣方塊® ’係應用於將紅色 …貝色衫模式轉換成高解析色彩模式 :習知顫動混色程序中,處理一像素 y 成6位兀之換算法的功能 符俠 ^ ή # ^ ^ ^ 力月匕方塊圖,其中應用於將綠 ί Λβ 式轉換成高解析色彩模式。 弟五Α圖以及第五β圖分別焱楚一 m _ ^ & ^ 為第二圖以及苐四圖中所述之 ^ a動 '此色程序之逆顫動混色程序。 第六圖為本發明處理一像♦白s办士絲说』r 方法與裝置的,ί Ϊ 轉換成5位元之轉換 第七圖 真實色私# ί貫施例,其中應用於將紅色自 Α 士/果式轉換成高解析色彩模式。 為本發明處理_ 方法盥裝置& π 轉換成6位元之轉換 直實i ,取佳實施例,其中應用於將綠色自籲 一只色形軼式轉換成高解析色彩模式。 【圖式符號說明】 11 減法運算裝置 第17頁 528983Tmp [6: 〇] Others According to the above embodiments, it can be understood that the method of blessing color according to the present invention is based on Wh + ι, or vVy, which is based on the criteria of the color movement, and the inverse flutter color mixing method is applied The conventional conversion invention of the dithering color mixing method is to first calculate and compare with the "pan", "1", 1 ^ comparison · τ and determine whether the dithering coloration value is "1" or "maintaining change". "," Minus $ In each conversion criterion, it can be clearly seen that p is derived from the inverse dithering color mixing method, that is, the difference between the 1st and ^ undertremor 'and "after the color system" Will become 0 'in other words', that is, p "Hk = 〇, without any change, Ik + 1 will still be equal to Ik, and the flutter color mixing error value table (UUher error) will not be expanded, of course, to avoid. So The main purpose of effectively achieving the case can be described above. It is only for comparison of the present invention. Each series is used to explain rather than to limit the book. .Everything according to the present invention. The temple culture and decoration should belong to the scope of the present invention. 528983 Simple illustration of the diagram [Simplified illustration of the diagram] The first picture is shown in the conventional computer drawing. Digital image of Hitachi wide-receive true color mode = block diagram of the color program. "The image is converted to the color mode of color scale. The third and second picture A shows three kinds of dithered color mixing array or dithered color mixing: Norm: applied to remove 2 bits (D2) and remove 3 4 (D3) and a conversion method for removing 4 bits (D4). = In the known dithering color mixing program, the process of processing one pixel from 8-bit conversion of the fourth image, and the method of changing the method ® is used to convert the red ... shell shirt mode into a high-resolution color mode: the known dithering color mixing In the program, a function symbol that handles a pixel y into a 6-bit conversion algorithm Xia Xia # ^ # ^ ^ ^ A block diagram of the power moon, which is used to convert the green Λ β form into a high-resolution color mode. The fifth image A and the fifth β image are respectively a m _ ^ & ^ are described in the second image and the fourth image ^ a movement 'the inverse dithering color mixing program of this color program. The sixth figure is a method and device for processing a similar image in the present invention. The method and device for converting ί 5 into a 5-bit conversion is shown in the seventh picture. Α Taxi / Fruit conversion to high-resolution color mode. This is the method of the present invention. Method & π conversion into 6-bit conversion straight real i, which is a preferred embodiment, which is used to convert green color to a high-resolution color mode. [Illustration of Symbols] 11 Subtraction Device Page 17 528983

第18頁Page 18

Claims (1)

528983 六、申請專利範圍 【申請專利範圍】 種將數位影像之一 N位元影像資料隸施$ M彳-旦/多 資料的顫動混色(di th ·,、、"轉奐至Μ位兀衫像 m兮古土 6入( g)的方法’其中Ν-Μ=κ,而 Κ > 0,该方法包含下列步驟: 將該數位影像眘袓# 你i 瞀,用Γΐ 像素之N位元中執行一第一運 L位-夕獲传位元影像資料中之最心位元與最 低η位το之間的一差值; 取 執算將該像素之座標值轉換成-比對值; 比車父该差值與該比對值; 當該差值之絕對值不大於該比對值時 Ν位元^資料之最高Μ位元設定為該像素^位元 影像育料; 當該差值之絕對值大於該比對值且該差值為一正數 時:將該像素之該Ν位元影像資料之最高Μ位元加上 一第一數值後當作該像素之Μ位元影像資料•,以及 當該差值之絕對值大於該比對值且該差值為一負數 時々’將該像素之該Ν位元影像資料之最高Μ位元減上 一第一數值後當作該像素之Μ位元影像資料。 2 ·如申請專利範圍第1項所述之顫動混色的方法,苴中i ^ “(N/2)。 — 3·如申請專利範圍第1項所述之顫動混色的方法,其中 η二Κ。 ’、528983 6. Scope of patent application [Scope of patent application] Kind of N-bit image data of one digital image is subject to $ M 彳 -D / multi-data dithering (di th · ,, " transfer to M position A shirt-like method of ancient soil 6 into (g) 'where N-M = κ, and κ > 0, the method includes the following steps: the digital image carefully ## i i 用, using Γ 之 N-th pixel A difference between the most significant bit and the lowest n bit το in the image data of the first L-bit-transmitted bit image data; take a calculation to convert the coordinate value of the pixel into a -comparison value ; Compare the difference between the driver and the comparison value; when the absolute value of the difference is not greater than the comparison value, the highest M bit of the N bit ^ data is set to the pixel ^ bit image breeding; when the When the absolute value of the difference is greater than the comparison value and the difference is a positive number: add a first value to the highest M bit of the N-bit image data of the pixel as the M-bit image of the pixel Data •, and when the absolute value of the difference is greater than the comparison value and the difference is a negative number, 'the N bit of the pixel The highest M bit of the image data is subtracted by a first value from the M bit image data of the pixel. 2 · The method of flutter color mixing as described in item 1 of the patent application range, i ^ "(N / 2). — 3. The method of flutter color mixing as described in item 1 of the scope of the patent application, wherein η 二 Κ. ', 第19頁 528983 六、申請專利範圍 4. 如申請專利範圍第1項所述之顫動混色的方法,其中所 述之該第一數值為1 ;所述之該第二數值亦為1。 5. 如申請專利範圍第1項所述之顫動混色的方法,其中其 中更進一步包含一步驟:將該N位元影像資料之最高Μ位 元與該第一數值之和與一值(2Μ-1 )作比較,若上述之和 大於該值(2Μ-1),則將該值(2Μ-1)當作鵁像素之該Μ位元 影像資料。 6. 如申請專利範圍第1項所述之顫動混色的方法,其中更 進一步包含一步驟:將該Ν位元影像資料之最高Μ位元與 該第二數值之差與0作比較,若上述之差小於0,則將0 當作該像素之該Μ位元影像資料。 7. 如申請專利範圍第1項所述之顫動混色的方法,其中所 述之第一運算包含一減法運算。 8. 如申請專利範圍第1項所述之顫動混色的方法,其中戶& 述之第二運算包含一顫動混色運算。 ® 9.如申請專利範圍第1項所述之顫動混色的方法,其中所 述之該像素之該影像資料可以係該像素之紅色、綠色與 藍色之色階值所組合而成。Page 19 528983 VI. Patent application scope 4. The method of flutter color mixing as described in item 1 of the patent application scope, wherein the first value mentioned is 1; the second value mentioned is also 1. 5. The method of flutter color mixing according to item 1 of the scope of patent application, wherein it further comprises a step: the sum of the highest M bit of the N-bit image data and the first value and a value (2M- 1) For comparison, if the above-mentioned sum is greater than the value (2M-1), the value (2M-1) is regarded as the M-bit image data of a pixel. 6. The method of flutter color mixing according to item 1 of the scope of patent application, further comprising a step of comparing the difference between the highest M bit of the N-bit image data and the second value with 0, if the above If the difference is less than 0, 0 is regarded as the M-bit image data of the pixel. 7. The method of flutter color mixing according to item 1 of the scope of patent application, wherein the first operation includes a subtraction operation. 8. The method of dithering color mixing as described in item 1 of the scope of patent application, wherein the second operation described by the user includes a dithering color mixing operation. ® 9. The method of dithering color mixing according to item 1 of the scope of patent application, wherein the image data of the pixel can be a combination of the pixel's red, green, and blue color level values. 第20頁 528983 六、申請專利範圍 —- 1 〇 ·如申清專利範圍第9項所述之顫動混色的方法,其中所 述之步驟係可以應用至該數位影像之其它像素中,並完 成將該數位影像之N位元影像資料轉換成M位元影像資70 料0 、 顫動混色程序的裝置,係用於將 11 · 一種應用於執行 數位影像之N位元影像資料轉換至位元影像資料,其中 N-M = K,而KM);該裝置至少包含: 、 八 減,運异裝置,係用於將一像素之N位元影像資料 之隶南η位元減去其最低^位元之後,得到一差值· 一比對值產生裝置,係用於將該像素之座標值透運 算後得到一比對值; & -比較運算裝置,電連接於該減法運算裝置與該比對 值產生裝置,係用於比較該差值與該比對值;當該 差值之絕對值不大於該比對值時,該比較運瞀 輸出一第一控制信號;當該差值之絕對值大:^ 對值且該差值為一正數時,該比較運算裝置一 第二控制信號;當該差值之絕對值大於該比= 該差值為一負數時,該比較運算裝置輸 ^ 制信號;以及 弟.二控 一計算裝置,電連接於該比較運算裝置,該 依據該第-㉟制信號會將該像素之心元影像^置 之取南Μ位兀當成該像素之Μ位元影像資料輪出、;^亥Page 20 528983 VI. Application scope of patents-1 〇 · The method of dithering color mixing as described in item 9 of the scope of patent application, where the steps described can be applied to other pixels of the digital image, and complete the The N-bit image data of the digital image is converted into M-bit image data. The device is used for converting 11-bit N-bit image data to digital image data. , Where NM = K, and KM); The device includes at least: 八, 减, the difference device, which is used to subtract the lowest ^ bit from the southern n bit of the one-bit N-bit image data, Obtain a difference and a comparison value generating device, which is used to obtain a comparison value after calculating the coordinate value of the pixel; &-a comparison operation device, which is electrically connected to the subtraction operation device and generates the comparison value A device for comparing the difference with the comparison value; when the absolute value of the difference is not greater than the comparison value, the comparison operation outputs a first control signal; when the absolute value of the difference is large: ^ Logarithmic and the difference is positive When the number is counted, the comparison operation device has a second control signal; when the absolute value of the difference is greater than the ratio = the difference value is a negative number, the comparison operation device outputs a signal; and the two-control-one calculation device, It is electrically connected to the comparison operation device, and according to the first control signal, the heart element image of the pixel is set to the south M bit, and the M bit image data of the pixel is rotated out. 528983528983 計算裝置依據該第二护 影像資料之最高Μ位元二/ 該像素之对位元 素…影像資:ς:上;二:;值後當成該像 控制信號合將兮僮I,出,°玄汁异装置依據該第三 市J松琨a將3亥像素位元影 田 減去一第二數值後去I 貝枓之取鬲Μ位元 出。 值n亥像素之μ位元影像資料輪 12.如申請專利範圍第η項所述之行 程序的裝置,該裝置更進_步包含·钒仃a動此色 處理裝置,,電連接於該計算裝置,係用於將該 象素之Μ位TG影像貧料之值與一值(2M —丨)或〇作比 較,若上述之Μ位元影像資料之值大於該值(2M —1 ),則該溢位處理裝置執行一第一調整運算;若 上述之Μ位元影像資料之值小於〇,則該溢位處理 置執行一第二調整運算。 ^ 1 3.如申請專利範圍第丨2項所述之應用於執行一顫動混色 程序的裝置,其中所述之第一調整運算係將(2Μ —丨)替代 上述之Μ位元影像資料之值成為該像素之μ位元影像資 料。 、、 1 4 ·如申请專利範圍第1 2項所述之應用於執行一顏動混色 程序的裝置,其中所述之第二調整運算係將〇替代上述 之Μ位元影像資料之值成為該像素之Μ位元影像資料。The computing device is based on the highest M bit 2 of the second image data / alignment element of the pixel ... image data: ς: upper; second:; after the value is regarded as the control signal of the image together, I, out, ° The juice difference device subtracts a second value from the 3 Hai pixel bit shadow field according to the third city J Song 琨 a, and then goes to I to get the 鬲 M bit. Μ-bit image data wheel with value of n Hai pixels 12. The device for performing the procedure as described in item η of the patent application scope, the device further includes a vanadium 仃 a moving the color processing device, which is electrically connected to the The computing device is used to compare the value of the M-bit TG image of the pixel with a value (2M- 丨) or 0. If the value of the above-mentioned M-bit image data is greater than the value (2M-1) , The overflow processing device performs a first adjustment operation; if the value of the M-bit image data is less than 0, the overflow processing device performs a second adjustment operation. ^ 1 3. The device for performing a dithering color mixing program as described in item 丨 2 of the scope of patent application, wherein the first adjustment operation is to replace (2M — 丨) the value of the above M-bit image data It becomes the μ-bit image data of the pixel. ·· 1 · The device for performing a color-mixing program as described in Item 12 of the scope of the patent application, wherein the second adjustment operation is to replace the value of the above-mentioned M-bit image data with the value of 0 M-bit image data of pixels. 528983528983 1 5·如申請專利範圍第丨1項所述之應用於執行一顫動浯 程序的裝置,其中所述之比對值產生裝置中包含一 混色表(dither table),係用於對應該像素之座1值 產生該比對值。 1 6.如申請專利範圍第11項所述之應用於執行一顫動混色 程序的裝置,其中。 1 7 ·如申請專利範圍第11項所述之應用於執行一顫動混色^ 私序的裝置,其中n = K。 1 8 ·如申请專利範圍第11項所述之應用於執行,顫動心色 程序的裝置,其中所述之該第一數值為1 ;戶斤述之癌第 二數值亦為1。 1 9·如申請專利範圍第1 1項所述之應用於執行〆顫動冰y蟑 程序的裝置,其中所述之該像素之該影像資料町以係 像素之紅色、綠色與藍色之色階值所組合而成。 ·15. The device for performing a dithering program as described in item 1 of the scope of patent application, wherein the comparison value generating device includes a dither table, which is used to correspond to pixels. A value of 1 produces this comparison. 1 6. The device for performing a dithering color mixing program as described in item 11 of the scope of patent application, wherein. 1 7 · The device described in item 11 of the scope of patent application is applied to a device that performs a dithered color mixing ^ private sequence, where n = K. 1 8 · The device for applying and performing the tremor heart color program as described in item 11 of the scope of the patent application, wherein the first value described is 1; the second value of the cancer described by the household is also 1. 19. The device for performing the trembling ice y cockroach procedure as described in item 11 of the scope of the patent application, wherein the image data of the pixel is the red, green, and blue color levels of the pixel Values. · 第23頁Page 23
TW90122528A 2001-09-12 2001-09-12 Dithering process device and method in image process and computer graphic system TW528983B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW90122528A TW528983B (en) 2001-09-12 2001-09-12 Dithering process device and method in image process and computer graphic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW90122528A TW528983B (en) 2001-09-12 2001-09-12 Dithering process device and method in image process and computer graphic system

Publications (1)

Publication Number Publication Date
TW528983B true TW528983B (en) 2003-04-21

Family

ID=28450634

Family Applications (1)

Application Number Title Priority Date Filing Date
TW90122528A TW528983B (en) 2001-09-12 2001-09-12 Dithering process device and method in image process and computer graphic system

Country Status (1)

Country Link
TW (1) TW528983B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7940281B2 (en) 2006-12-28 2011-05-10 Mstar Semiconductor, Inc. Dithering method and related dithering module and liquid crystal display (LCD)
US8284217B2 (en) 2006-01-27 2012-10-09 Au Optronics Corp. Method for generating a dynamic index

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8284217B2 (en) 2006-01-27 2012-10-09 Au Optronics Corp. Method for generating a dynamic index
US7940281B2 (en) 2006-12-28 2011-05-10 Mstar Semiconductor, Inc. Dithering method and related dithering module and liquid crystal display (LCD)

Similar Documents

Publication Publication Date Title
TWI289274B (en) Method and apparatus for converting from a source color space to a target color space
CN1097793C (en) Method and apparatus for performing color space conversion using blend logic
US5408267A (en) Method and apparatus for gamma correction by mapping, transforming and demapping
JP2610095B2 (en) Image display apparatus and method
JPH08241407A (en) Spatial filter processing system of digital color image
US6758574B1 (en) Conversions between standard color spaces
US7813003B2 (en) Method and apparatus of color conversion
US6774953B2 (en) Method and apparatus for color warping
US5285271A (en) Digital color matrixing circuit
TW528983B (en) Dithering process device and method in image process and computer graphic system
JPS607285A (en) Television signal processing system
US6934411B2 (en) Method and apparatus for RGB color conversion that can be used in conjunction with lossless and lossy image compression
US6954214B2 (en) Efficient perceptual/physical color space conversion
JP2004274742A (en) Color correction
CN111311711B (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
US6731299B2 (en) Apparatus and method for dithering in image processing and computer graphics systems
US20080068661A1 (en) Method for dithering image data
JP2001238091A (en) Nonlinear color gamut compression apparatus and method using multiple convergence points
CN100472602C (en) Gamma correction method and circuit, image processing device and display device
JPS62200889A (en) Encoding or/and decoding device for color video signal
US6646761B1 (en) Efficient under color removal
CN114004774A (en) Rapid color sketch image generation algorithm
CN113194316B (en) Image encoding and decoding method and device
JP2003316343A (en) Gradation control device and method
KR100602249B1 (en) Image processing apparatus and processing method thereof

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent
MM4A Annulment or lapse of patent due to non-payment of fees