JPS61128680A - Image data noise removing device - Google Patents

Image data noise removing device

Info

Publication number
JPS61128680A
JPS61128680A JP59250201A JP25020184A JPS61128680A JP S61128680 A JPS61128680 A JP S61128680A JP 59250201 A JP59250201 A JP 59250201A JP 25020184 A JP25020184 A JP 25020184A JP S61128680 A JPS61128680 A JP S61128680A
Authority
JP
Japan
Prior art keywords
data
circuit
value
intermediate value
average value
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP59250201A
Other languages
Japanese (ja)
Inventor
Makoto Ishii
石井 眞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP59250201A priority Critical patent/JPS61128680A/en
Publication of JPS61128680A publication Critical patent/JPS61128680A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To remove an impulse noise by outputting an output data of an intermediate value selecting circuit as it is when an output of the intermediate value selecting circuit coincides with a data of a center position of an operating area and outputting an average value of an average value calculating circuit when they do not coincide with each other. CONSTITUTION:An unit data delay circuit 1 and an unit line delay circuit 2 extract an operation area of 3X3. The data in the extracted operating area is all except for a data e at a center position of an operating area inputted to an average value calculating circuit 3 and an extremum detecting circuit 4. A maximum value k and a minimum value l detected in the circuit 4 are inputted to an intermediate value selecting circuit 5 together with the data e, the intermediate value is selected and a signal p is obtained. The signal p is inputted together with an intermediate value j of the output of the data e and of the circuit 3 to a data selecting circuit 6. If the data e is larger or smaller than any other data in all the operating areas, it is judged that the data is disturbed by an impulse noise and it is replaced by an average value of other data in other operating area and in another cases, the data is not receive any change.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、電気信号に置き換えられた画像データの画像
処理技術分野に関し、特に画像データ内に発生したイン
パルス性ノイズの除去技術に関する0 〔従来の技術〕 従来、この種の画像データ内に含まれるインパルス性ノ
イズの除去装置としてはメディアンフィルタを使用した
ものが一般的である。第2図に3×3の操作領域を持っ
たメディアンフィルタの一般的構成例を示す。第2図に
おいて入力信号iには、第3図に示すような走査シーケ
ンスで画像データが順次送られてくるものとする。第2
図において、1は単位データ遅延回路、2は単位行遅延
回路で、各々1回前のデータ及び1行前のデータを保持
するとすると、入力信号iに第3図内画像データi′が
与られた場合、中間値選択回路5の入力データa、b、
・・・、iは第3図中のa′、b′、・・・。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to the technical field of image processing of image data replaced with electrical signals, and particularly relates to a technique for removing impulsive noise generated in image data. [Technology] Conventionally, a device using a median filter has generally been used as a device for removing impulsive noise contained in this type of image data. FIG. 2 shows a general configuration example of a median filter having a 3×3 operation area. In FIG. 2, it is assumed that image data is sequentially sent to the input signal i in a scanning sequence as shown in FIG. Second
In the figure, 1 is a unit data delay circuit, and 2 is a unit row delay circuit, each of which holds the previous data and the data of the previous row.The image data i' in Fig. 3 is applied to the input signal i. In this case, the input data a, b,
..., i is a', b', ... in Fig. 3.

i′となり、操作領域が抽出されたことになる0中間値
選択回路5は入力信号を大きさの順に並べてその真ん中
の値(中間値、第2図の場合は5番目に大きな値)を出
力する0この出力データをもって、操作領域の中央位置
データet″置換するのがメディアンフィルタを利用し
た画像データノイズ除去装置である。
i', and the operation region has been extracted.0 The intermediate value selection circuit 5 arranges the input signals in order of magnitude and outputs the middle value (intermediate value, the fifth largest value in the case of Fig. 2). An image data noise removal device using a median filter uses this output data to replace the central position data et'' of the operation area.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、メディアンフィルタを利用した画像デー
タノイズ除去装置においてはインパルス性ノイズは確か
に効果的に除去されるが、ノイズ以外の情報、特に画像
内に存在する物体の辺縁に関する情報も変更させられて
しまうという欠点、更に中間値選択回路を簡単なノ・−
ドウエア構成で実現することが困難であるという欠点が
ある0臀に前者の欠点は、ノイズを全く含まない第4図
に示した画像データに3×3のメディアンフィルタを操
作すると、第5図の如く変更させられてしまうことから
容易に類推することができる。
However, although impulsive noise is certainly effectively removed by an image data noise removal device using a median filter, information other than noise, especially information regarding the edges of objects present in the image, is also changed. The drawback is that the intermediate value selection circuit can be easily stored.
The disadvantage of the former method is that it is difficult to realize with a hardware configuration.The disadvantage of the former method is that when a 3×3 median filter is applied to the image data shown in FIG. 4, which does not contain any noise, the image shown in FIG. It can be easily inferred from the fact that it is changed as follows.

本発明はインパルス性ノイズの除去効果を保ったまま前
記2点の欠点金取シ除いた画像データノイズ除去装置を
提供することを目的としたものである。
SUMMARY OF THE INVENTION An object of the present invention is to provide an image data noise removal device that eliminates the above two drawbacks while maintaining the impulsive noise removal effect.

〔問題点を解決するための手段〕[Means for solving problems]

本発明になる画像データノイズ除去装置は、2次元的な
拡がりヲ持つ画像データ配列から、比較的小さなm x
 nの操作領域内データを全画面にわたって連続して抽
出するデータ抽出回路と、その抽出回路によって抽出さ
れたデータのうち、操作領域の中央位置のデータを除く
m x n −1個のデータの平均値を求める平均値演
算回路、及びそれらm X n −1個のデータの中か
ら最大値と最小値を検出する極値検出回路並びに検出さ
れた最大値と最小値及び前記操作領域中央位置データの
3個のデータ内から中間の値を選択する中間値選択回路
、更に中間値選択回路の出力と操作領域中央位置データ
が一致するときは中間値選択回路の出力データをそのま
ま出力し、一致しないときは平均値演算回路によって求
められた平均値を出力するデータ選択回路を有している
The image data noise removal device according to the present invention has a relatively small m x
A data extraction circuit that continuously extracts n data in the operation area over the entire screen, and an average of m x n -1 pieces of data extracted by the extraction circuit, excluding data at the center position of the operation area. An average value calculation circuit that calculates the value, an extreme value detection circuit that detects the maximum value and minimum value from among the m x n -1 data, and the detected maximum value and minimum value and the operation area center position data. An intermediate value selection circuit that selects an intermediate value from among three pieces of data; furthermore, when the output of the intermediate value selection circuit and the operation area center position data match, the output data of the intermediate value selection circuit is output as is; when they do not match, the output data of the intermediate value selection circuit is output as is; has a data selection circuit that outputs the average value determined by the average value calculation circuit.

〔実施例〕〔Example〕

次に本発明について図面を参照しで説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

単位データ遅延回路1及び単位行遅延回路2は、従来実
施例の説明で述べたように3X3の操作領域を抽出する
。抽出された操作領域内データは操作領域中央位置のデ
ータeを除いて全て平均値演算回路3、及び極値検出回
路4へ入力される。極値検出回路4で検出された最大値
にと最小値tは操作領域中央位置データeとともに中間
値選択回路5へ入力され中間値が選ばれて信号pとなる
The unit data delay circuit 1 and the unit row delay circuit 2 extract a 3×3 operation area as described in the description of the conventional embodiment. All of the extracted data within the operation area, except for data e at the center position of the operation area, are input to the average value calculation circuit 3 and the extreme value detection circuit 4. The maximum value and minimum value t detected by the extreme value detection circuit 4 are input to the intermediate value selection circuit 5 together with the operation area center position data e, and the intermediate value is selected and becomes the signal p.

ここでデータeがインパルス性ノイズによって乱されて
いないなら p=e もし、乱されていれば p箒e となることは容易に理解できる。中間値選択回路5の出
力pはデータe及び平均値演算回路3の出力データであ
る平均値jとともにデータ選択回路6に入力され、もし
p=eであれば出力信号qはq=p(=e) と決定され、もしpieならば q=j と決定される。
Here, it is easy to understand that if the data e is not disturbed by impulsive noise, p=e, and if it is disturbed, then p=e. The output p of the intermediate value selection circuit 5 is inputted to the data selection circuit 6 together with the data e and the average value j which is the output data of the average value calculation circuit 3. If p=e, the output signal q is q=p(= e) is determined, and if pie, q=j is determined.

即ち、本発明の実施例においては操作領域の中央位置の
データがその他の全ての操作領域内データのどのデータ
よりも大きいかあるいは小さければそのデータはインパ
ルス性ノイズによって乱されていると判断されてその他
の全ての操作領域内データの平均値によって置換され、
それ以外のときは、操作領域中央位置データは何ら変更
を受けないことになる。
That is, in the embodiment of the present invention, if the data at the center position of the operation area is larger or smaller than any of the other data in the operation area, that data is determined to be disturbed by impulsive noise. Replaced by the average value of all other operating area data,
In other cases, the operation area center position data will not be changed at all.

〔発明の効果〕〔Effect of the invention〕

以上説明したように第1図の如き構成から得られる出力
信号q’を順次新たな画像データとして定義してゆくこ
とによシ、画像内に本来存在する物体の辺縁に関する情
報を損うことなしに、インパルス性ノイズのみを効果的
に取り除く画像データノイズ除去装置を比較的簡単なハ
ードウェアで実現できる効果がある。
As explained above, by sequentially defining the output signal q' obtained from the configuration shown in FIG. 1 as new image data, information regarding the edge of the object that originally exists in the image is lost. There is an advantage that an image data noise removal device that effectively removes only impulsive noise can be realized with relatively simple hardware.

尚、ハードウェア規模の低減効果については、第2図の
従来実施例においてはm x n個の入力データを大き
さの順に並べる中間値選択回路が必要であるのに比し、
本発明による第1図では、m及びnの値に無関係に常に
3個の入力データを取扱う中間値選択回路でよいこと、
及び第1図の実施例で新九に必要となる平均値演算回路
、極値検出回路、データ選択回路はかなり小規模なハー
ドウェアで実現できることからその低減効果は明らかで
ある。
Regarding the effect of reducing the hardware scale, compared to the conventional embodiment shown in FIG. 2, which requires an intermediate value selection circuit that arranges m x n input data in order of size.
In FIG. 1 according to the present invention, an intermediate value selection circuit that always handles three input data irrespective of the values of m and n is sufficient;
In the embodiment shown in FIG. 1, the average value calculation circuit, extreme value detection circuit, and data selection circuit required for the new nine can be realized with considerably small-scale hardware, so the reduction effect is obvious.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明による画像データノイズ除去装置の一実
施例を示すブロック図、第2図は従来一般的であったメ
ディアンフィルタを用いた画像データノイズ除去装置の
一実施例を示すブロック図、第3図は第1図及び第2図
の実施例を示す上で前提となっている画像データの走査
シーケンスを示す図、第4図及び第5図は、従来のメデ
ィアンフィルタによる装置の本質的欠点を示すための図
で、各々処理前、処理後の画像データを表わす図である
0 1・・・・・・単位データ遅延回路、2・・・・・・単
位行遅延回路、3・・・・・・平均値演算回路、4・・
・・・・極値検出回路、5・・・・・・中間値選択回路
、6・・・・・・データ選択回路。 代理人 弁理士  内 原   晋 茅1個 r −−−$拉ア”−グ叙口許 ¥21
FIG. 1 is a block diagram showing an embodiment of an image data noise removal device according to the present invention, and FIG. 2 is a block diagram showing an embodiment of an image data noise removal device using a conventionally common median filter. FIG. 3 is a diagram showing the scanning sequence of image data, which is a prerequisite for showing the embodiments of FIGS. 1 and 2. FIG. 4 and FIG. This is a diagram to show the defects, and is a diagram showing image data before and after processing, respectively. 0 1... Unit data delay circuit, 2... Unit row delay circuit, 3... ...Average value calculation circuit, 4...
. . . Extreme value detection circuit, 5 . . . Intermediate value selection circuit, 6 . . . Data selection circuit. Agent: Patent attorney Shin-cho Uchihara (1 piece) ---$21

Claims (1)

【特許請求の範囲】[Claims] 2次元的な拡がりを持つ画像データの配列から、比較的
小さなm×nの操作領域内データを全画面にわたって連
続して抽出するデータ抽出回路と、その抽出回路によっ
て抽出されたデータのうち、操作領域の中央位置のデー
タを除くm×n−1個のデータの平均値演算回路、及び
それらm×n−1個のデータの中から最大値と最小値を
検出する極値検出回路、並びに検出された最大値と最小
値及び前記操作領域中央位置データの3個のデータ内か
ら中間の値を選択する中間値選択回路、更に中間値選択
回路の出力と操作領域中央位置データが一致するときは
中間値選択回路の出力データをそのまま出力し、一致し
ないときは平均値演算回路によって求められた平均値を
出力するデータ選択回路を含むことを特徴とする画像デ
ータノイズ除去装置。
A data extraction circuit that continuously extracts data within a relatively small m×n operation area over the entire screen from an array of image data that has a two-dimensional spread; An average value calculation circuit for m×n−1 data excluding data at the center position of the area, and an extreme value detection circuit for detecting the maximum value and minimum value from among the m×n−1 data, and detection An intermediate value selection circuit selects an intermediate value from among the three data of the maximum value and minimum value and the operation area center position data, and furthermore, when the output of the intermediate value selection circuit and the operation area center position data match, An image data noise removal device comprising a data selection circuit that outputs the output data of the intermediate value selection circuit as is, and outputs the average value obtained by the average value calculation circuit when the data do not match.
JP59250201A 1984-11-27 1984-11-27 Image data noise removing device Pending JPS61128680A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59250201A JPS61128680A (en) 1984-11-27 1984-11-27 Image data noise removing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59250201A JPS61128680A (en) 1984-11-27 1984-11-27 Image data noise removing device

Publications (1)

Publication Number Publication Date
JPS61128680A true JPS61128680A (en) 1986-06-16

Family

ID=17204324

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59250201A Pending JPS61128680A (en) 1984-11-27 1984-11-27 Image data noise removing device

Country Status (1)

Country Link
JP (1) JPS61128680A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8155472B2 (en) 2007-08-21 2012-04-10 Nikon Corporation Image processing apparatus, camera, image processing program product and image processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8155472B2 (en) 2007-08-21 2012-04-10 Nikon Corporation Image processing apparatus, camera, image processing program product and image processing method

Similar Documents

Publication Publication Date Title
JP2009503683A (en) Processor and method with instructions based on parallel median filtering
CN103425973A (en) Method and apparatus for performing enhancement processing on text-containing image, and video display device
KR100298327B1 (en) Method and Apparatus for high speed Convolution
JPS61128680A (en) Image data noise removing device
JP2006303581A (en) Noise-eliminating device and program for the noise-eliminating device
JPH0918746A (en) Noise elimination circuit
JPH07184085A (en) Video signal processing unit
JPH04141158A (en) Ultrasonic image processor
JPH11203467A (en) Display and its method
JPH07334683A (en) Moving object detector
US5237656A (en) Image processing apparatus using look-up tables
JPH0766993A (en) Edge emphasis device
JP2574563B2 (en) filter
JPS58169281A (en) Generator for fringed pattern
JPH01240984A (en) Digital image processor
JPS61143885A (en) Linear picture producer
JPH02196381A (en) Image target detector
JPS6195162U (en)
JPS63198169A (en) Image processor
JPH05266191A (en) Objective image extracting device
JPS6365778A (en) Picture identification system
JPS62284484A (en) Mask mobile type contour extraction circuit
JPS63254578A (en) Pattern recognition device
JPH0225223B2 (en)
JPS6240593A (en) Number of objects and holes counting system