TW576103B - Accelerative noise filtering method for image data - Google Patents

Accelerative noise filtering method for image data Download PDF

Info

Publication number
TW576103B
TW576103B TW91122567A TW91122567A TW576103B TW 576103 B TW576103 B TW 576103B TW 91122567 A TW91122567 A TW 91122567A TW 91122567 A TW91122567 A TW 91122567A TW 576103 B TW576103 B TW 576103B
Authority
TW
Taiwan
Prior art keywords
pixel
value
adjacent
image data
pixels
Prior art date
Application number
TW91122567A
Other languages
Chinese (zh)
Inventor
Chui-Kuei Chiu
Original Assignee
Veutron 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 Veutron Corp filed Critical Veutron Corp
Priority to TW91122567A priority Critical patent/TW576103B/en
Application granted granted Critical
Publication of TW576103B publication Critical patent/TW576103B/en

Links

Description

576103576103

五、發明說明(1) 5 - 1發明領域 本發明係有關於一種影像資料處理技術;特別是 於一種可快速有效濾除影像資料雜訊之方法。 關 5 - 2發明背景: 當今使用影像資料編碼方式執行影像資料壓縮,係 得影像資料的預先處理(prepr〇cessing)及後續處理( post-processing)更顯得重要。 在影像資料處理技術中,已有一些影像資料的雜訊過 遽方法被發展出來’例如中間值過濾方法(m e d i a n f丨1七° )、修飾化剪裁曲面平均值過濾方法(MTM f i lter)( Γ modified trimmed mean filter)、FIR-中間值混合過淚 方法(FMH filter)(FIR-median hybrid filter)及邊緣保 留平滑化過濾方法(edge preserving smoothing 等。 Γ 中間值過濾方法(m e d i a n f i 11 e r )係為一種非線性還 原技術,其係在保留邊緣影像下,過濾影像中的脈衝式雜 訊。一般而言,二維的中間值過濾方法係使用到包含欲執 行雜訊過濾的一像素的一 3 X 3或5 X 5的矩形屏蔽(mask) 。在中間值雜訊過濾方法中,每一像素的灰階值係被此像 第5頁 y/bW3V. Description of the invention (1) 5-1 Field of the invention The present invention relates to an image data processing technology; in particular, a method for quickly and effectively filtering out image data noise. OFF 5-2 Background of the Invention: Currently, image data encoding is used to perform image data compression, which makes pre-processing and post-processing of image data even more important. In the image data processing technology, there have been some noise-improved methods of image data, such as the median filtering method (medianf17 °), the modified trimming surface average filtering method (MTM filter) (Γ modified trimmed mean filter), FIR-median hybrid filter (FIR-median hybrid filter), and edge preserving smoothing (edge preserving smoothing, etc.) Γ The median filter method (medianfi 11 er) is A non-linear reduction technique that filters impulse noise in an image while preserving edge images. Generally speaking, a two-dimensional median filtering method uses a 3 X containing one pixel to perform noise filtering. 3 or 5 X 5 rectangular mask. In the median noise filtering method, the grayscale value of each pixel is treated like this. Page 5 y / bW3

第6頁 576103 五、發明說明(3) '~ - ^ 據影像區域的特性選擇適當的屏蔽(mask)。首先係 二種多邊形屏蔽(p〇lyg〇nal mask),並計算每一屏蔽 像素之像素值變化程度。然後,選擇像素值變化程 U的屏蔽,以執打平均值過渡方法。藉此方法’在保 像的情況下’可達到抑制雜訊的目的。但此邊緣 ,/千滑化過遽方法的一缺點係會損失細部紋路 flne texture)。 冬 德冬ί述傳統技術使用所選擇的屏蔽(mask)中的所有像素 種ί ΐ Ϊ值取代欲執行雜訊過據的像素像素值。已知的二 素平均值的方法係選擇與-欲執行雜訊過渡的像 =目鄰八個像素x、y、2、a、。、d、级 每的—像 ^像素與像素⑽像素值差值絕對值 於一標準偏差值時,此相鄰像素係:捨棄 值不大於二异中。相鄰像素之差值絕對 π i: ^/ 夺’此相鄰像素係代入平均值過、廣 κ异 因此,會有 b,=aVg(Xyzabcdef)、b,=a二 = 會遇❹母為9、8、7等情況。,例 一田1冢素千均值係b =avg(xyzabcdef), 運异之每一相鄰像素之分母係為9。因此,不总佶用=濾 、軟體或結合硬體與軟體實施' 用更體 運算過程變得複雜及耗時間。 、,慮運算,皆會使得 第7頁 、發明說明(4) 服上ίΐ知—種影像資料雜訊過渡…其可克 訊過濾運算。,、,並可快速有效地執行影像資料的雜 …3發明目的及概述·· 本發明之主要目的筏 ^ ^ 過據方法,i㈣擇η 料算之影像資料 一像音4擇與—中心點像素(欲執行雜訊過濾之 一相鄰像幸盘子由或X字型關係之四相鄰像素,並根據此每 像辛心點像素之像素值近似程度,…相鄰 = 鄰像素像素值代入雜訊過滤運算中, 可簡化並/ Ϊ 以取代中心點像素之像素值。藉此, W ^ 、衫像資料的雜訊過濾處理過程。Page 6 576103 V. Description of the invention (3) '~-^ Select an appropriate mask according to the characteristics of the image area. First, two types of polygonal masks are used, and the degree of change in pixel value of each masked pixel is calculated. Then, the mask of the pixel value change range U is selected to implement the average value transition method. In this way, the purpose of suppressing noise can be achieved 'in the case of image preservation'. However, one disadvantage of this edge / smoothing method is the loss of fine texture (flne texture). Dong Dedong describes the traditional technique of using all the pixels in the selected mask to replace the pixel value of the pixel for which noise data is to be performed. The known method of two-element average is to select the image to perform noise transition = the eight pixels x, y, 2, a, adjacent to the target. , D, level of each-the absolute value of the difference between the pixel value and the pixel value is at a standard deviation value, the adjacent pixel system: the discard value is not more than two different. The absolute value of the difference between adjacent pixels is π i: ^ / '' This adjacent pixel is substituted for the average value, which is too wide. Therefore, there will be b, = aVg (Xyzabcdef), b, = a, two = will encounter the mother as 9, 8, 7 and so on. For example, the average value of a field and a thousand primes is b = avg (xyzabcdef), and the denominator of each adjacent pixel is 9. Therefore, it is not always necessary to use filtering, software, or a combination of hardware and software implementation. The use of more complex computing processes becomes complicated and time-consuming. ,, And calculations will make the page 7 、 Invention description (4) Serve ΐ—a kind of noisy transition of image data ... its filter filtering operation. ,, and can quickly and effectively perform the miscellaneous of the image data ... 3 Purpose and summary of the invention ... The main purpose of the present invention ^ ^ According to the method, i㈣choose η the calculated image data-an audiovisual 4 selection and-center point Pixels (to perform noise filtering, one of the adjacent pixels, or four adjacent pixels in an X-shape relationship, and according to the approximate value of the pixel value of each pixel at the heart point, ... adjacent = adjacent pixel pixel values In the noise filtering operation, the pixel value of the central point pixel can be simplified and / Ϊ replaced. In this way, the noise filtering process of W ^ and shirt image data is processed.

本發明$ H Q 雜訊過濾方法,:上Ϊ係提供一種可加速計算之影像資料 concept),、 八係採用二值化值的概念(b i nar y i ndex 四相鄰像素ί Ϊ定與中心f像素成十字型或x字型關係之 藉此,可簡^厂sfL過渡運算中的權重(weighting)大小, 曰 9化影像資料的雜訊過濾運算。 本發明夕 雜訊過濾方、去又一目的係提供一種可加速計算之影像資料 戍,其可使用於處理原始影像資料。 第8頁 576103 五 '發明說明(5) 影像資 從影像 以及 關係之 鄰像素 準偏差 此相鄰 差值絕 之二值 之二值 出的一 素之像 料雜訊 資料中 從影像 四個相 之像素 值的大 像素相 對值大 化值設 化值之 計算式 素值: 所述之目的’本發明提供一種可加 過濾方法。本發明方法包括提供$ 2异之 選擇欲過濾雜訊之一像素做為二二:及 資料中選擇與中心點像素成十字型或’χ $素 鄰像素。計算中心點像素與所選擇的一 值差值絕對值,並比較此差值絕對值與一= 小。當此差值絕對值不大於標準偏差值時= 應之一位元之二值化值設定為”丨",及當此 於標準偏差值時,此相鄰像素相應之一位元 定為"0 ",藉以獲得一包含此四個相鄰像素 一四位7C對映表。根據此四位元對映表推衍 (I )’ S十异出一新的像素值以取代中心點像 Χο Σ KiXi Σ Ki (i) /、中,X〇代表中心點像素之像素值及W代表新的像素值 ,Xi (1 = 1〜4)代表每一相鄰像素之像素值,χ係屬於中心 點像素Χ〇所屬之掃描線之前一條掃描線,^及Χ3係屬於 第9頁 576103 五、發明說明(6) 中心點像素X。所屬之掃描 屬之掃描線之後一條掃描線良X4係屬於中心點像素X所 及此些相鄰像素中任—個夕1 1 _〜4 )係為中心點像素 之二值化值設為"〇"時,龙4以權係數,當相鄰像素之位元 之二值化值設為"1,,之此二σ ^係數Κ係為0,及具有位元 本發明濾、除影*資料雜' 目^像素具有才目#的加權係數 像素像素值料似程度像㈣素值與此中心點 像素雜訊過itH日寺的權=疋:一相鄰像素於執行中心點 鄰像素像素值之權重平』f ’·气而以中心點像素與此四相 像素值,取代中心點 =1 Jht'd —age),求得·:新 並加速影像資料的雜訊精本發明方法’可簡化 本發明之目的及諸客很TOI , 1 B日„ A ^ 居夕優點藉由以下具體實施例之詳細 5兒明,並參照所附圖式,將趨於明瞭。 5 - 4具體實施例之詳細說明·· 本發明提供-種可加速計算之影像資料過濾方法,其 法k擇與一中心點像素target pixe㈠(欲執行雜訊過 L )成十子型或X字型關係的四個相鄰像素,並根據此些相 鄰像素與中心點像素的像素值近似程度,進一步從此四個 相鄰像素中選擇適當的相鄰像素代入雜訊過濾運算(noi se filtering computation),以獲得一新像素值,以取代 576103 五 中 、發明說明(7) 心點像| I & 用 到 μ如像素值。此新像素值係中心點像素像素值與代 …°,异之相鄰像素像素值之權重平均(weighted =二§:: f本發明方法可使雜訊過濾運算簡化至僅需使The $ HQ noise filtering method of the present invention: the upper system provides an image data concept that can speed up the calculation, and the eight systems use the concept of binarization (bi nar yi ndex four adjacent pixels) and the center f pixel By forming a cross-shaped or x-shaped relationship, the weighting in the sfL transition operation can be simplified, and the noise filtering operation of the image data can be simplified. The present invention is directed to the purpose of noise filtering and to achieve another purpose. It provides a kind of image data which can accelerate the calculation, which can be used to process the original image data. Page 8 576103 Five 'Description of the Invention (5) The quasi deviation of the image data from the adjacent pixels of the image and the relationship is absolutely two. The value of the two-valued one-prime image noise data is calculated from the large pixel relative value of the four phases of the image, the large pixel relative value, the large value, and the set value. The prime value is as follows: The purpose of the invention is to provide a Add a filtering method. The method of the present invention includes providing $ 2 different selection of one pixel to be filtered as the second two: and selecting a cross-shaped or 'χ $ prime neighbor pixel' from the center pixel in the data. Calculating the center point image The absolute value of the difference between the selected value and the absolute value of the difference is compared with one = small. When the absolute value of the difference is not greater than the standard deviation value, the binary value of one bit should be set to "丨", and when this is the standard deviation value, a corresponding bit of this adjacent pixel is determined as " 0 ", so as to obtain a 7C mapping table containing a four-bit of the four adjacent pixels. The bitmap table deduces that (I) 'S has a different pixel value to replace the center point image, such as Xο Σ KiXi Σ Ki (i) /, where X〇 represents the pixel value of the center point pixel and W represents the new Xi (1 = 1 ~ 4) represents the pixel value of each adjacent pixel, χ belongs to the scan line before the scan line to which the central point pixel X〇 belongs, and ^ and χ3 belong to page 9 576103 V. Description of the Invention (6) The center point pixel X. The scan line after the scan line to which it belongs belongs to a good scan line X4 belongs to the center point pixel X and any of these adjacent pixels—Ge Xi 1 1 _ ~ 4) as the center When the binarization value of a dot pixel is set to " 〇 ", Dragon 4 uses a weight coefficient, and when the binarization value of a neighboring pixel is set to & q uot; 1, where the two σ ^ coefficients K are 0, and have the bits of the present invention to filter, remove shadows * data miscellaneous 目 ^ pixels have a weighting coefficient of 才 目 # pixel pixel value is similar to the pixel value The noise of this center point pixel has passed itH Risi's weight = 疋: An adjacent pixel performs the weighting of the pixel value of the center point adjacent pixel flat f "· 'and replaces the center with the center point pixel and the four-phase pixel value. Point = 1 Jht'd —age), find :: New and accelerated noise of the image data refined method of the present invention 'simplifies the purpose of the present invention and customers are very TOI, 1 B day „A ^ Ju Xi advantage by The detailed description of the following specific embodiments will be made clear with reference to the accompanying drawings. 5-4 Detailed description of specific embodiments. The present invention provides a method for filtering image data that can accelerate calculation. The method k selects a target pixel pixe㈠ (to perform noise over L) into ten subtypes or X. Four adjacent pixels in a font relationship, and based on the similarity between the pixel values of these neighboring pixels and the center point pixel, further select appropriate neighboring pixels from the four neighboring pixels to perform noise filtering operations. computation) to obtain a new pixel value in place of 576103 Five, Invention Description (7) Heart image | I & uses μ as pixel value. This new pixel value is the center pixel pixel value and the generation ... °, the weighted average of the pixel values of adjacent pixels (weighted = 2 § :: f) The method of the present invention can simplify the noise filtering operation to only

Sh 1 f t )及加法(add )模式,即在硬體上僅需使用 移位暫存器彳f + · 、 丨牡硬篮上僅而便用 來,使得1恭B曰register)及加法器(adder)。如此 為簡[可明“:口:雜訊過據運算較傳統技術更 予以由以下較佳具體實施例,配合所附圖式,將 第ΔΗ及第Β圖係根據本發明一較佳jl if f ^ > 影像資料雜訊過滤方法的流程圖,U =之 ,供影像資料夕從此影像資料中選擇-中;點;i2(’a targetplXel),即欲執行雜訊過濾之一 (a t〇 be fUtered)。接著,在步驟1 0 3,參昭第二 及P。相鄰傻上气 個相鄰像素pi、P2 3及P4相郇像素P !係屬於中心點像辛p所 1 2 ^ ^ ^ p 2 ^ p 3 „ ^ ^ ^ 所屬之知扣,’其中相鄰像素p2係為 J。 係屬於中心點像素PQ所屬掃描線的後—條掃描線象素h 接著,在步驟1 〇 4,計算中心點像素p G與每 被Sh 1 ft) and add (add) mode, that is, only the shift register 彳 f + ·, 丨 is used on the hardware, and it is only used to make the 1) register and the adder. (Adder). It ’s so simple. [可 明 “: 口: Noise data calculation is better than the traditional technology by the following preferred embodiments. In conjunction with the drawings, the ΔΗ and Β diagrams are a preferred jl if according to the present invention. f ^ > Flow chart of image data noise filtering method, U =, for image data to choose from this image data-mid; point; i2 ('a targetplXel), which is one of the noise filtering to be performed (at〇 be fUtered). Next, in step 103, see the second and P. The adjacent pixels are adjacent pixels pi, P2 3 and P4. The pixels P! belong to the center point like Xin p. 1 2 ^ ^ ^ p 2 ^ p 3 ^ ^ ^ ^ The knowledge of which belongs, 'where the adjacent pixel p2 is J. Is the scan line pixel h after the scan line to which the central point pixel PQ belongs. Next, in step 104, calculate the central point pixel p G and each pixel

第11頁 576103 五、發明說明(8) 為 象素1V2?3〜之像素值差值絕對值。在步 準=,比較母:?選?相鄰像素之差值絕對值與-標 、 值的大小。s差值絕對值不大於標準偏差值時,此 相鄰像素相應之一位元之二值化值(binary value)設定 1 ”(步驟1 0 6 )。當差值絕對值大於標準偏差值時 ’此相鄰像素相應之一位元之二值化值設定為"〇"(步驟 07)。接著,在步驟108,根據步驟105至1〇 7產生的結果,建立一包含此四個相鄰像素Ρ!、Ρ2、ρ3及 Ρ4之二值化值之一四位元對映表(a 4-bit mapping table)。參照第三圖所示之表一,此四位元對映表係滿 足表 所示十六個例子中的一個例子。也就是說,此四個 相鄰像素p r p 2、p 3及p 4的四位元二值化值組合可以為表 一所示的十六種情況中任一種,即例一至例十五。 根據此四位元對映表推衍出計 &著,在步驟1 〇 算式(I): Σ KiXiPage 11 576103 V. Description of the invention (8) is the absolute value of the difference between the pixel values of the pixels 1V2? 3 ~. At step =, compare mother:? selected? The magnitude of the absolute value of the difference between adjacent pixels and the-standard and value. When the absolute value of the difference is not greater than the standard deviation, the binary value corresponding to one bit of this adjacent pixel is set to 1 ”(step 1 0 6). When the absolute value of the difference is greater than the standard deviation 'The binarized value of the corresponding one bit of this adjacent pixel is set to " 〇 " (step 07). Then, in step 108, based on the results generated in steps 105 to 107, a four-bit value is established to include the four A 4-bit mapping table of the binarized values of the neighboring pixels P !, P2, ρ3, and P4. Refer to Table 1 shown in the third figure, this four-bit mapping table It satisfies one of the sixteen examples shown in the table. That is, the four-bit binarization value combination of the four neighboring pixels prp 2, p 3, and p 4 can be sixteen as shown in table 1. Either of these cases, namely Example 1 to Example 15. Based on this four-bit mapping table, a calculation & work is performed, and in step 10, formula (I): Σ KiXi

Xo1—- Σ Ki i=0 其中, (Ο X〇代表中心點像素之像素值及XG,代表欲取代X◦的Xo1—- Σ Ki i = 0 where (0 X〇 represents the pixel value of the center point pixel and XG, and represents the one that wants to replace X◦

第12頁 576103 五、發明說明(9) '~ :新像素值,Xi (i =卜4)代表被選擇的每一相鄰像素之像 素值,X!、χ2、χ3及χ4分別為相鄰像素Ρι、p2、匕及p4 ^像素值,K i (1 - 〇〜4 )係為中心點像素p及此四個相鄰像 素p,、P2、P3及P4中任一個之加權係數(weighting ,當其中一相鄰像素之位元之二值化值設 ^ "時,其加權係數Ki係為〇,及具有位元二值化值設 ,1之此些相鄰像素具有相等的加權係數。第四圖所示 之表一係,„,員不對映至表一之每一種例子的中心點 如表二之例一所示,當每一;二權係數組合關係。 時,*心點像素之加權係數K素,…值為”。" 、P、P及P * /數係4丨。當此四個相鄰像素p丨 、p2、p3及P4中—相鄰像素之二 甘^ 相鄰像素之二值化值為"。"時,中1 ’其餘三個 & " 1 ”夕士 *日迷κ 7多主 γ ^點像素及具二值化值 為i之此相鄰像素之加權係數皆為值 二、四及八。當此四個相鄰像 录一之例一、 像素之二值化值為";r,及其餘、一 1 2僅3及匕中二相鄰 1 / Φ心點禮去d 相鄰像素之加權係數皆為 1/4及中'點像素Ρ〇之加權係數為 数白為 五、六、九、十、十二及十三。 〃录一之例二、 化值ίνΛ鄰餘像素广、Ρ2、Ρ3及中—相鄰像素之-值 化值為0及八餘二個相鄰像素之二 ,值 擇具二值化值為"1"之1中二j日撕* 值马1時,即選 ,其中此二相鄰像素之加權係數皆為、二 576103 五 加 、發明說明(10) 及 與 權係數為1 / 2,參表二之例 表二’較佳於具二值化值^七^一及十四。參照表一 中心點像素屬於相同掃=三個相鄰像素中選擇 算式U)運算。例如例七所_描線的二相鄰像素,代入計 中’係選擇二相鄰像素p月、—個相鄰像素p 2、P3及p 4 此二相鄰像素p 2及p 2 3代入計算式(I)運算,並且 的加權係數為1/2。“像資H係數皆為"4及中心點像素 常沿著帶動掃描頭的步進掃描器擷取而得時,通 模糊(biurring)現象。在此$動方向的像素較容易產生 、P2、Pa及P4中係三個相鄰^下,當此四個相鄰像素p〗 ,1"時,則較佳可選擇二相鄰去1、h及P4具二^值化值 運算,並且此二相鄰像素p : 3及p 4代入計算式(I ) 點像素P 0之加權係數為3 4之加權係數皆為1 / 4及中 此四個相鄰像素p 1、p 2、p 。再者,參例十四所示,當 及P4具二值化值”^”時2, 3及中係三個相鄰像素P!、P2 代入計算式(I)運算,、並^較佳可選擇二相鄰像素Pi及P2 數皆為1/4及中心Z像素p此二相鄰像素P!及P2之加權係 相鄰像素Pr p2、p3及^ G t加權係數為1/2。當此四個 ’T時,每-相鄰像素之加權^數相鄰像素之二值化值為 之加權係數為i / 2,彖例^糸為1 / 8及中心點像素P 0 〆n 丁五所示。 接著,在步驟1 1 〇 ,奸 =計算以υ計算出新//值此四位元對映表所推街出 像素值X。。接下來,在 ” χ。,以取代中心點像素 〜驟1 1 1,決定下-像素是否Page 12 576103 V. Description of the invention (9) '~: new pixel value, Xi (i = Bu 4) represents the pixel value of each selected adjacent pixel, X !, χ2, χ3, and χ4 are adjacent Pixels P1, P2, D2, and P4 ^ pixel values, K i (1-0 ~ 4) is the weighting coefficient of the center point pixel p and any of the four adjacent pixels p, P2, P3, and P4 (weighting When the bit binarization value of one of the neighboring pixels is set to ^ ", its weighting coefficient Ki is 0, and the bit binarization value is set, and these neighboring pixels of 1 have equal weighting. Coefficients. The first table shown in the fourth figure, „, the members do not map to the center point of each example of Table 1, as shown in Example 1 of Table 2, when each; two weight coefficient combination relationship. The weighting factor K of the point pixel, ... is the value ".", P, P, and P * / number system 4 丨. When the four adjacent pixels p 丨, p2, p3, and P4-two of adjacent pixels Gan ^ The binarization value of the neighboring pixels is "quote.", When the middle 1 'the remaining three & " 1 "Xishi * Rime κ 7 multi-primary γ ^ point pixels and the binarization value weight of this neighboring pixel The coefficients are all values two, four, and eight. When the four adjacent images are recorded as example one, the pixel binarization value is " r, and the rest, one, one, two, and only two and three adjacent ones. / The weighting coefficients of the adjacent pixels are 1/4 and the weighting coefficients of the intermediate pixel P0 are five, six, nine, ten, twelve, and thirteen. 〃 录 一 之Example 2: The value of ννΛ adjacent residual pixels is wide, P2, P3, and the middle-adjacent pixels-the value of the two adjacent pixels is 0 and two of the eight adjacent pixels. The value of the selected value is the value of "1". No. 1 in the second j day * when the value of 1 is selected, the weighting coefficients of these two adjacent pixels are all, two 576103 five plus, invention description (10), and sum coefficient is 1/2, see Table 2 For example, Table 2 'is better than having binarized values ^ 7 ^ 1 and 14. Refer to Table 1. The center point pixel belongs to the same scan = the selection formula U in three adjacent pixels. Two adjacent pixels are substituted into the calculation. 'The two adjacent pixels p, one adjacent pixel p 2, P3, and p 4 are selected. The two adjacent pixels p 2 and p 2 3 are substituted into the calculation formula (I), and The weighting factor is 1/2. "The H coefficients of the image data are all" 4 "and the center point pixels are often captured along the stepping scanner that drives the scanning head, which leads to the phenomenon of biurring. Pixels in this direction are easier to generate, and P2, Pa, and P4 are three adjacent ^. When the four adjacent pixels are p, 1 ", it is better to choose two adjacent to 1, h and P4 have binary values, and the two neighboring pixels p: 3 and p 4 are substituted into the calculation formula (I). The weighting coefficient of the pixel P 0 is 3. The weighting coefficients of both 4 are 1/4 and this. Four adjacent pixels p 1, p 2, p. Furthermore, as shown in Reference Example 14, when P4 has a binarized value "^", 2, 3 and middle three adjacent pixels P !, P2 are substituted into the calculation formula (I), and ^ is better The two adjacent pixels Pi and P2 can be selected to be 1/4 and the center Z pixel p. The weight of the two adjacent pixels P! And P2 is that the adjacent pixels Pr p2, p3, and ^ G t have a weighting factor of 1/2. For these four 'T's, the weighted coefficient of each-adjacent pixel is the weighting coefficient of the binarization value of the adjacent pixel is i / 2, for example, ^ 糸 is 1/8 and the center point pixel P 0 〆n Ding Wu. Next, in step 1 1 0, the calculated pixel value X is calculated by calculating the new // value of this four-bit mapping table with v. . Next, replace the center point pixel at "χ." ~ Step 1 1 1 to determine whether the next-pixel is

第14頁 576103 五、發明說明(11) 欲執行雜訊過濾運算(noise filtering computation) 。若欲繼續進行影像資料雜訊過濾運算,則進入步驟1 1 2 ,移位至下一像素,重覆步驟1 0 2至1 1 1 。若欲結 束影像資料雜訊過濾運算,則進入步驟1 1 3。 據上述,本發明在硬體上僅需要使用到移位暫存器及 加法器即可執行影像資料雜訊過濾運算。因此,本發明方 法可降低硬體架構的複雜度,並且不管在硬體上、軟體上 或硬體與軟體結合下實施本發明方法,皆可明顯縮短運算 時間。 參照第二B圖,本發明另一較佳具體實施例中,係選 擇與中心點像素P 〇成X字型關係的四個相鄰像素P r P 2、P 3 及P 4。除此之外,此一較佳具體實施例的影像資料雜訊 運算步驟流程係相同於步驟1 0 1至1 1 3。 以上所述僅為本發明之具體實施例而已,並非用以限 定本發明之申請專利範圍;凡其它未脫離本發明所揭示之 精神下所完成之等效改變或修飾,均應包含在下述之申請 專利範圍内。Page 14 576103 V. Description of the invention (11) Noise filtering computation is to be performed. To continue the noise filtering operation of the image data, proceed to step 1 1 2, shift to the next pixel, and repeat steps 10 2 to 1 1 1. To end the noise filtering operation of the image data, proceed to step 1 1 3. According to the above, the present invention only needs to use a shift register and an adder on the hardware to perform image data noise filtering operations. Therefore, the method of the present invention can reduce the complexity of the hardware architecture, and whether the method of the present invention is implemented on hardware, software, or a combination of hardware and software, can significantly reduce the computing time. Referring to FIG. 2B, in another preferred embodiment of the present invention, four adjacent pixels P r P 2, P 3, and P 4 in an X-shaped relationship with the center point pixel P 0 are selected. In addition, the image data noise calculation steps in this preferred embodiment are the same as steps 101 to 113. The above are only specific embodiments of the present invention, and are not intended to limit the scope of patent application for the present invention; all other equivalent changes or modifications made without departing from the spirit disclosed by the present invention should be included in the following Within the scope of patent application.

第15頁 576103 圖式簡單說明 第一 A圖及第一 B圖係根據本發明一較佳具體實施例之 影像資料雜訊過濾方法的步驟流程圖; 第二A圖係例示第一圖之較佳具體實施例中所選擇的 一屏蔽(mask); 第二B圖係例示本發明另一較佳具體實施例中所選擇 的另一屏蔽(mask); 第三圖係本發明影像資料雜訊過濾方法中採用的一四 位元對映表;及 第四圖係本發明影像資料雜訊過濾方法中的一中心點 像素及其四個相鄰像素的加權係數組合關係表。 主要部份之代表符號: 1 0 1〜1 1 3 影像資料雜訊過濾方法之流程步驟 第16頁The 576103 diagram on page 15 briefly illustrates that the first diagram A and the first diagram B are flowcharts of steps in a method for filtering image data noise according to a preferred embodiment of the present invention; the second diagram A illustrates the comparison of the first diagram A mask selected in the preferred embodiment; the second diagram B illustrates another mask selected in another preferred embodiment of the present invention; the third diagram is the noise of the image data of the present invention A four-bit mapping table used in the filtering method; and the fourth diagram is a weighting coefficient combination relationship table of a central pixel and its four adjacent pixels in the image data noise filtering method of the present invention. Main symbols: 1 0 1 ~ 1 1 3 Process steps of image data noise filtering method Page 16

Claims (1)

576103 六、申請專利範圍 1. 一種可加速計算之影像資料雜訊過滤方法,其包括 提供影像資料; 從該影像資料中選擇欲過濾雜訊之一像素做為一中心 點像素; 從該影像資料中選擇與該中心點像素成十字型關係之 四個相鄰像素; 計算該中心點像素與每一該相鄰像素之像素值差值絕 對值; 比較該差值絕對值與一標準偏差值,當該差值絕對值 不大於該標準偏差值時,該相鄰像素相應之一位元之二值 化值設定為π 1π,當該差值絕對值大於該標準偏差值時, 該相鄰像素相應之一位元之二值化值設定為π οπ,藉以獲 得一包含該四個相鄰像素之該等二值化值之一四位元對映 表;及 根據該四位元對映表推衍出的一計算式(I ),計算出 一新的像素值以取代該中心點像素之像素值:576103 6. Application patent scope 1. An image data noise filtering method capable of accelerating calculation, which includes providing image data; selecting one pixel of the noise to be filtered as a center point pixel from the image data; and from the image data Select four adjacent pixels that have a cross-shaped relationship with the center point pixel; calculate the absolute value of the pixel value difference between the center point pixel and each of the adjacent pixels; compare the absolute value of the difference with a standard deviation, When the absolute value of the difference is not greater than the standard deviation, the binarization value of a corresponding bit of the adjacent pixel is set to π 1π. When the absolute value of the difference is greater than the standard deviation, the adjacent pixel The corresponding binarization value of one bit is set to π οπ to obtain a four-bit mapping table containing the binarization values of the four adjacent pixels; and according to the four-bit mapping table A formula (I) is derived to calculate a new pixel value to replace the pixel value of the pixel at the center point: Σ KiXi V , i=〇 AO = /、、申請專利範圍 其 素 於 中 中,代表該中心w 值,L α=ι〜4)抑//象素之像素值及Xfl,代表該新的像 該中心點像素X母—該相鄰像素之像素值,X丨係屬 |係屬於該中心點°德i之掃描線之前一條掃描線,L及 心點像素xG所屬之斤所屬之該掃描線,L係屬於該 為該中心點後去/描線之後一條掃描線,K i ( i = 〇〜4 ) 當該相鄰像素之嗲°亥等相鄰像素中任一個之加權係數, 係數K i係為〇,及值化值設為"時,其該加權 等相鄰像素呈有;二f 4位元之二值化值設為,| 1"之該 一有相4的加權係數。 2 ·如申5青專利範圍第1 雜訊過據方法,其中上述之= :算之影像資料 "時,該中心點像素之加權係數:為鄰丨像素之二值化值為"。 3 ·如申5青專利範圍第1 jg张 雜訊過渡方法,其中上述之四相之影像資料 二值化值為” r及其餘該三個象素之—$相鄰像素之 ’該中心點像素及具二值化值之二值化值為"〇"時 係數皆為1/2。 1之該相鄰像素之加權 4·如申請專利範圍第1項所 雜訊過濾方法,其中上述之四相:=速計算之影像資料 之二值化值為"丨”及其餘二該等 素之二該等相鄰像素 相鄰像素之二值化值為"〇,, 第18頁 576103Σ KiXi V, i = 〇AO = / 、, the scope of patent application is in the middle and middle, which represents the value of the center w, L α = ι ~ 4), the pixel value of the pixel and Xfl, which represents the new image The center point pixel X mother-the pixel value of the adjacent pixel, X 丨 belongs to | It belongs to the scan line before the scan line at the center point de i, L and the scan line to which the pixel xG belongs , L is a scanning line after going to the center point / tracing line, K i (i = 〇 ~ 4), when the neighboring pixel is a weighting coefficient of any adjacent pixel such as 等 °, the coefficient K i When the value is 0, and the value is set to ", the adjacent pixels of the weighting and so on are present; the value of the two f 4 bits is set to, and the one of | 1 " has a weighting coefficient of phase 4. 2 · If you apply for the No. 1 noise data method in the scope of the 5th Patent, where the above =: calculated image data ", the weighting coefficient of the center pixel: is the binarized value of the neighboring pixels ". 3. The 1st jg Zhang Noise transition method in the scope of the 5th patent of Rushen, in which the binarization value of the above-mentioned four-phase image data is "r" and the center point of "$ adjacent pixels of the remaining three pixels" The pixel and the binarized value of the binarized value are " 〇 " when the coefficients are both 1/2. The weight of the adjacent pixel is 1. The noise filtering method as described in item 1 of the patent application range, where The above-mentioned four phases: = The binarized value of the image data calculated by the speed calculation is " 丨 " and the remaining two elements are the binarized values of the neighboring pixels and the neighboring pixels are " 〇, 18th Page 576103 〕/61 〇3 、、申請專利範圍 ___一 雜訊過濾方法,1 φ ' ^值化值為” 〇”及苴象素之一该專相鄰像素 1時,選擇具二信;:餘二個f #相鄰像素之二值化值為 丨刀建移動方向之—#松 汗,口者该掃描器之一步谁 其中-兮堂 之一该專相鄰像素代入該外笪+ γ τ、,進 甲—该等相鄰像紊夕4 ρ尨鮮th °哀彳异式(ί )運算, I之加權係數為1/2。’、 σ隹,、白為1/4及該中心點像素 |括·· 可加速什异之影像資料雜訊過濾方法,其包 提供影像資料; 從該影像資料中選擇欲過濾雜訊之一僮去 點像素; 像素做為一中心 型關係之 值絕 從該影像資料中選擇與該中 四個相鄰像素; 』像素成X字 。十。亥中心點像素與每一該相鄰 對值; 并丨1豕京之像素值差 值絕對值 化值設定為"丨",當該差值絕對值大於該標準位元之二值 該相鄰像素相應之一位元之二值化值設定為"〇",值寺 得一包含該四個相鄰像素之該等二值化值之 表;及 比較該差值絕對值與一標準偏差值,當誃 不大於該標準偏差值時,該相鄰像冬*丄 藉以獲 四位元對映 根據該四位元對映表推衍出的一古4·瞀,τ J 〇丁异式(I ),外笪屮 新的像素值以取代該中心點像素之像素值. °T异〕 / 61 〇3, patent application scope ___ a noise filtering method, 1 φ '^ value is "〇" and one of the pixels adjacent to the special adjacent pixel 1, choose to have two letters ;: The remaining two f # the binarization of neighboring pixels is the direction of the movement of the knife — # 松 汗, who is one step of the scanner, who is-one of the Xitang, the neighboring pixels are substituted into the nephew + γ τ ,, A—The adjacent image turbulence 4 ρ 尨 th th th 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 彳 for different formula (ί) operation, I's weighting coefficient is 1/2. ', Σ 隹, and white are 1/4 and the center point pixels | including ... can speed up the different image data noise filtering methods, which includes image data; select one of the noises to be filtered from the image data The child goes to the point of the pixel; the pixel as a value of a central relationship must be selected from the image data and the four adjacent pixels in the image; ten. The pixel at the center point and each adjacent pair of values; and the absolute value of the difference between the pixel values is set to " 丨 ", when the absolute value of the difference is greater than two values of the standard bit, The binarization value of the corresponding one bit of the adjacent pixel is set to "quota", and the value can be obtained from a table containing the binarization values of the four neighboring pixels; and the absolute value of the difference is compared with A standard deviation value. When 誃 is not greater than the standard deviation value, the adjacent image Dong * 丄 is used to obtain a four-bit map. A ancient 4 · 古, τ J 〇 derived from the four-bit map. Ding Yi (I), a new pixel value to replace the pixel value of the pixel at the center point. ° T 异 576103 六、申請專利範圍 Σ KiXi Xo'—- Σ Ki i=0 其中,X 〇代表該中心點像素之像素值及X 〇’代表該新的像 素值,X i (i = :1〜4 )代表每一該相鄰像素之像素值,X i係屬 於該中心點像素X 〇所屬之掃描線’之前一條掃描線,X 2及 X孫屬於該中心點像素X。所屬之該掃描線,X 4係屬於該 中心點像素X 0所屬之掃描線之後一條掃描線,K i (i = 0〜4 ) 係為該中心點像素及該等相鄰像素中任一個之加權係數, 當該相鄰像素之該位元之二值化值設為"0π時,其該加權 係數K i係為0,及具有該等位元之二值化值設為π Γ之該 等相鄰像素具有相等的加權係數。 11.如申請專利範圍第1 0項所述之可加速計算之影像資 料雜訊過濾方法,其中上述之每一相鄰像素之二值化值為 π 0π時,該中心點像素之加權係數係為1。 1 2.如申請專利範圍第1 0項所述之可加速計算之影像資 料雜訊過濾方法,其中上述之四相鄰像素之一該相鄰像素576103 VI. Patent Application Range Σ KiXi Xo '—- Σ Ki i = 0 Where X 〇 represents the pixel value of the center point pixel and X 〇' represents the new pixel value, X i (i =: 1 ~ 4) Representing the pixel value of each adjacent pixel, X i belongs to the scan line before the scan line to which the central point pixel X 〇 belongs, and X 2 and X grandson belong to the central point pixel X. The scanning line to which X 4 belongs belongs to the scanning line following the scanning line to which the central point pixel X 0 belongs, and K i (i = 0 ~ 4) refers to any one of the central point pixel and the adjacent pixels. Weighting coefficient, when the binarization value of the bit of the adjacent pixel is set to " 0π, the weighting coefficient K i thereof is 0, and the binarization value of the bit having the bits is set to π Γ The adjacent pixels have equal weighting factors. 11. The method for accelerating calculation of image data noise filtering according to item 10 of the scope of patent application, wherein when the binarization value of each adjacent pixel is π 0π, the weighting coefficient of the center pixel is Is 1. 1 2. The image data noise filtering method with accelerated calculation as described in item 10 of the scope of patent application, wherein one of the four adjacent pixels described above is the adjacent pixel 第21頁 素之二值 之該相鄰 576103 六、申請專利範圍 之二值化值為’’ 1"及其餘該三個相鄰像 時’該中心點像素及具二值化值為” 1,, 權係數皆為1 / 2。 1 3 ·如申請專利範圍第丨〇項所述之可加速計 料雜訊過濾方法,其中上述之四相鄰像素之二 素之一值化值為π 1 ”及其餘二該等相鄰像素之二 π 0"時,具二值化值為"丨”之二該等相鄰像素之 為1 / 4及該中心點像素之加權係數為1 / 2。 14·如申請專利範圍第1〇項所述之可加速計 料雜όίΐ過渡方法,其中上述之四相鄰像素之一 素之二值化值為” 〇,,及其餘三個該等相鄰像素之 為1時,選擇具二值化值為"1 π之其中二該等 入該計算式(I)運算,其中二該等相鄰像素之加 為1 / 4及該中心點像素之加權係數為i 2。 1 5 ·如申請專利範圍第丨4項所述之可加速 料雜訊過濾方法,其中上述被選擇代入該瞀 之二該等相鄰像素係屬於該中,。、點像素^屬^ 化值為lf 〇,, 像素之加 「之影像資 《等相鄰像 值化值為 7權係數皆 「之影像資 $等相鄰像 '一值化值 3鄰像素代 權係數皆 之影像資 (I)運算 掃描線。 之影像資 該相鄰像On page 21, the binary value of the adjacent 576103 6. The binary value of the patent application range is `` 1 '' and the remaining three adjacent images are 'the pixel of the center point and the binary value is 1' , And the weight coefficients are all 1/2. 1 3 · The accelerating noise filtering method as described in item 丨 0 of the patent application scope, wherein the value of one of the two primes of the four adjacent pixels is π 1 ”and the other two adjacent pixels, π 0 ", the binarized value is " 丨", the two adjacent pixels are 1/4, and the weighting coefficient of the center point pixel is 1 / 2. 14. The method for accelerating the calculation of miscellaneous materials as described in item 10 of the scope of the patent application, wherein the binarization value of one of the four adjacent pixels is "0", and the remaining three such When the neighboring pixels are 1, two of the binarized values " 1 π are selected to be entered into the calculation formula (I) operation, where the sum of the two neighboring pixels is 1/4 and the center point The weighting coefficient of a pixel is i 2. 1 5 · The accelerated noise filtering method as described in item 4 of the scope of the patent application, wherein the two adjacent pixels selected to be substituted in the above belong to this method. The value of the point pixel ^ belongs to ^. The pixel value plus "image data" and other adjacent image values are equal to 7 weight coefficients. "Image data $ and other adjacent images' value are 3 adjacent pixels." Scanning lines of image data (I) calculation lines with all weight coefficients. Image data of the adjacent image 576103 六、申請專利範圍 1 / 8及該中心點像素之加權係數為1 / 2 1 7·如申請專利範圍第10項所述之可加速計算之影像資 料雜訊過濾方法,其中上述之彩像資料係為一撫 = 取。 ~描器所擷 1 8·如申請專利範圍第1 7項所述之可加速 料雜訊過濾方法,其中上述之四相鄰像素之二,之影像資 素之二值化值為” 〇”及其餘三個該等相—該等相鄰像 為Π 1 Π時,選擇具二值化值為"1 ”之二值化值 進馬達移動方向之二該等相 非沿著該掃描器之一步 ,其中二該等相鄰像素之加/素代入該計算式(I )運算 素之加權係數為1 / 2。 係數皆為1 / 4及該中心點像576103 VI. The scope of patent application is 1/8 and the weighting coefficient of the center point pixel is 1/22. 7 · Accelerated calculation of image data noise filtering method as described in item 10 of the scope of patent application, in which the above-mentioned color image The data is a stroke = take. ~ Acquired by the scanner 18 · The accelerated noise filtering method as described in item 17 of the scope of the patent application, wherein the above two adjacent pixels and the binarization value of the image element are "0" And the remaining three such phases—when the adjacent images are Π 1 Π, the two phases with the binarized value " 1 "are selected to enter the motor moving direction. These phases are not along the scanner. One step, in which the addition / prime of two adjacent pixels is substituted into the calculation formula (I). The weighting coefficient of the operator is 1/2. The coefficients are all 1/4 and the center point image.
TW91122567A 2002-09-30 2002-09-30 Accelerative noise filtering method for image data TW576103B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW91122567A TW576103B (en) 2002-09-30 2002-09-30 Accelerative noise filtering method for image data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW91122567A TW576103B (en) 2002-09-30 2002-09-30 Accelerative noise filtering method for image data

Publications (1)

Publication Number Publication Date
TW576103B true TW576103B (en) 2004-02-11

Family

ID=32734246

Family Applications (1)

Application Number Title Priority Date Filing Date
TW91122567A TW576103B (en) 2002-09-30 2002-09-30 Accelerative noise filtering method for image data

Country Status (1)

Country Link
TW (1) TW576103B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8204334B2 (en) 2006-06-29 2012-06-19 Thomson Licensing Adaptive pixel-based filtering
US8467626B2 (en) 2006-09-29 2013-06-18 Thomson Licensing Automatic parameter estimation for adaptive pixel-based filtering

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8204334B2 (en) 2006-06-29 2012-06-19 Thomson Licensing Adaptive pixel-based filtering
US8467626B2 (en) 2006-09-29 2013-06-18 Thomson Licensing Automatic parameter estimation for adaptive pixel-based filtering

Similar Documents

Publication Publication Date Title
KR102620105B1 (en) Method for upscaling noisy images, and apparatus for upscaling noisy images
JP4162610B2 (en) Method for generating a resolution-enhanced image using multiple low-resolution images
Chan et al. An iterative procedure for removing random-valued impulse noise
JP4681608B2 (en) Method and apparatus for image processing
Nair et al. A new fuzzy-based decision algorithm for high-density impulse noise removal
JP2002269556A (en) Method for removing noise from digital image based on multiresolution
JP2008508750A (en) Apparatus and method for adaptive 3D noise reduction
JPH04501628A (en) Computer-based digital image noise reduction method based on overlapping plane approximation
TWI314301B (en) Adaptive image sharpening method
Ponomaryov Real-time 2D–3D filtering using order statistics based algorithms
TW576103B (en) Accelerative noise filtering method for image data
US20040062449A1 (en) Accelerative noise filtering method for image data
Shao et al. Optimization of partition-based weighted sum filters and their application to image denoising
JP5617426B2 (en) Jaggy mitigation processing apparatus and jaggy mitigation processing method
Bareja et al. An improved iterative back projection based single image super resolution approach
Bharathi et al. A new hybrid approach for denoising medical images
Moses et al. Adaptive edge-based bi-cubic image interpolation
Verma et al. Hybrid Model Approach for Impulsive Noise Removal Image Enhancement Techniques
Borraa An Efficient Shape Adaptive Techniques for the Digital Image Denoising
JP6686122B1 (en) Image processing apparatus, image processing method and program
Chen et al. Image reconstruction based on combination of wavelet decomposition, inpainting and texture synthesis
JP5934019B2 (en) Gradation restoration device and program thereof
CN103325097B (en) The most inverse halftoning method of half tone image
Sharma et al. Enriched Fuzzy and L* A* B based Mix Contrast Limited Adaptive Histogram Equilization
Wu et al. Image denoising using local adaptive least squares support vector regression