JPH01184587A - Two-dimensional median filter - Google Patents

Two-dimensional median filter

Info

Publication number
JPH01184587A
JPH01184587A JP63011365A JP1136588A JPH01184587A JP H01184587 A JPH01184587 A JP H01184587A JP 63011365 A JP63011365 A JP 63011365A JP 1136588 A JP1136588 A JP 1136588A JP H01184587 A JPH01184587 A JP H01184587A
Authority
JP
Japan
Prior art keywords
maximum value
memory
image signal
output
minimum 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
JP63011365A
Other languages
Japanese (ja)
Inventor
Masakatsu Yamashina
山品 正勝
Ichiro Tamiya
一郎 民谷
Hidenobu Harasaki
原崎 秀信
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 JP63011365A priority Critical patent/JPH01184587A/en
Publication of JPH01184587A publication Critical patent/JPH01184587A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To perform a fast processing with a simple circuit by detecting the maximum value of an image element signal in a processing targeted area, and executing a procedure to replace the value of an image element having the maximum value by the minimum value. CONSTITUTION:A digital image signal stored in an image signal memory 11 is supplied to a maximum value detector 12 in time series. The maximum value detector 12 detects the maximum value in the digital image signal, and also, detects the input order of the value. The input order detected at the maximum value detector 12 is supplied to a selector 13 in an address generation circuit 16. The selector 13 selects the signal of a counter 4 at the time of executing the detection of the maximum value, and the memory address of the maximum value is generated by an adder 15. The minimum value is written on a generated address. By repeating such operation, an image element with a large value can be eliminated.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はディジタル画像処理において複数個の画素信号
の中から、その中央の大きさの値を有する画素信号を抽
出する2次元メジアンフィルタに関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a two-dimensional median filter for extracting a pixel signal having a central magnitude value from a plurality of pixel signals in digital image processing.

(従来の技術) 従来、値の異なる一定個数の複数の画素信号からその中
央の大きさの値(メジアン)を有する信号を抽出するた
めに、これらの複数の画素信号をその値の大小の順に並
べるソーティング回路が使用され、これにより複数の信
号の大小順位を求めてその中央の値の画素信号を抽出し
ている。このためのソーティング回路として、順次送ら
れてくるデータを毎回ソーティングして一つの順序列と
して抽出したのち中央の値を抽出する方法がある。同手
法では処理時間が長くなり特に高速処理を必要とする実
時間動画像処理への適用が難しい。そこでヒストグラム
を作成して2次元メジアンフィルタを実時間処理する手
法が提案されている。(アイトリプルイー トランザク
ションズオン アコースティック スピーチ アンド 
シグナル プロセシング(IE’ Trans、 on
 Acoustics、 5peech、and Si
gnal Processing)vol、As5P−
27゜No、1.Feb、1979. P13〜1B>
2次元メジアンフィルタは、mxn画素信号の中からそ
の中央の太さを有する信号を検出して行われる。そして
xxy画素の画面(X、Y>m。
(Prior Art) Conventionally, in order to extract a signal having a median value from a fixed number of pixel signals with different values, these pixel signals are sorted in the order of their values. A sorting circuit is used to determine the order of magnitude of a plurality of signals and extract the pixel signal with the median value. As a sorting circuit for this purpose, there is a method in which sequentially sent data is sorted each time, extracted as one ordered sequence, and then the central value is extracted. This method takes a long processing time and is difficult to apply to real-time video processing, which requires particularly high-speed processing. Therefore, a method has been proposed in which a histogram is created and a two-dimensional median filter is processed in real time. (I Triple E Transactions on Acoustic Speech and
Signal processing (IE' Trans, on
Acoustics, 5peech, and Si
gnal Processing) vol, As5P-
27°No, 1. Feb, 1979. P13~1B>
The two-dimensional median filter is performed by detecting a signal having a thickness at the center from mxn pixel signals. And a screen of xxy pixels (X, Y>m.

n)上でmXn画素の処理対象領域をラスク走査のよう
に1画素ずつシフトさせ、シフトしたm×n画素毎に中
央の大きさを持つ画素を検出することで画面全体に対す
るメジアンフィルタを実行する。そこでまず最初に処理
すべきm X n画素の信号値の大きさと各大きさに対
する画素数を表すヒストグラムを作成する。ここで、中
央値よりも小さい値を持つ画素数を1とする0次にmX
n画素の処理対象領域を1画素右方向にシフトさせると
左端のm画素が領域から除去され、右端に新たにm画素
が加わる。この対象領域のシフトによる画素の変化にと
もないヒストグラムを変更し、前の中央値よりも小さい
値を持つ画素数1を求め、そ央値よりも小さいことにな
る。そこで、ヒストグラム上の前の中央値から1つ小さ
いヒストグラム央値から1つ大きいヒストグラム上の値
を新たな中央値で近似する。この操作をくり返すことで
画面全体の2次元メジアンフィルタを実行する。
n) Shift the processing target area of m×n pixels one pixel at a time like a rask scan, and execute a median filter for the entire screen by detecting the pixel with the center size for each shifted m×n pixel. . Therefore, first, a histogram representing the magnitude of the signal value of m×n pixels to be processed and the number of pixels for each magnitude is created. Here, the 0th order mX where the number of pixels with a value smaller than the median value is set to 1
When the n-pixel processing target area is shifted one pixel to the right, m pixels at the left end are removed from the area, and m pixels are newly added to the right end. As the pixels change due to this shift of the target area, the histogram is changed, and the number of pixels 1 having a value smaller than the previous median value is determined, which is smaller than the median value. Therefore, a value on the histogram that is one value larger than the histogram median value that is one value smaller than the previous median value on the histogram is approximated by a new median value. By repeating this operation, a two-dimensional median filter is executed for the entire screen.

(発明が解決しようとする問題点) すでに述べたように、ソーティング回路により順次送ら
れてくるデータを毎回ソーティングして一つの順序列と
して抽出したのち中央の大きさを有するデータを検出す
る方法は処理時間が長くなる。また、ヒストグラムを用
いて行う方法は高速化を達成できるもののヒストグラム
を作成し、それを変更する操作のために複雑なメモリア
ドレス指定を必要とし、回路規模が大きくなる問題を有
する。
(Problems to be Solved by the Invention) As already mentioned, there is a method for sorting data sequentially sent by a sorting circuit each time and extracting it as one ordered sequence, and then detecting data having a median size. Processing time will be longer. Further, although the method using a histogram can achieve high speed, it requires complicated memory addressing for the operation of creating a histogram and changing it, and has the problem of increasing the circuit scale.

本発明の目的は、高速でかつ簡単な回路により実現でき
る2次元メジアンフィルタを提供することにある。
An object of the present invention is to provide a two-dimensional median filter that can be implemented at high speed and with a simple circuit.

(問題点を解決するための手段) 本願の第1の発明によれば、ディジタル画像信号を記憶
する画像信号メモリと、前記画像信号メモリの時系列出
力の中から最大値とその入力順位を検出する最大値検出
器と、前記最大値検出器が出力する最大値の入力順位と
外部信号を少なくとも入力信号とし前記画像信号メモリ
のアドレスを生成するアドレス生成回路とから少なくと
も構成されることを特徴とするメジアンフィルタが得ら
れる。
(Means for Solving the Problem) According to the first invention of the present application, an image signal memory that stores digital image signals, and a maximum value and its input order are detected from among the time-series outputs of the image signal memory. and an address generation circuit that uses at least the input order of the maximum value outputted by the maximum value detector and an external signal as input signals to generate an address of the image signal memory. A median filter is obtained.

本願の第2の発明によれば、ディジタル画像信号を記憶
する画像信号メモリと、前記画像信号メモリの時系列出
力の中から最小値とその入力順位を検出する最小検出器
と、前記最小値検出器が出力する最小値の入力順位と外
部信号を少なくとも入力信号とし前記画像信号メモリの
アドレスを生成するアドレス生成回路とから少なくとも
構成されることを特徴とするメジアンフィルタが得られ
る。
According to a second invention of the present application, an image signal memory that stores a digital image signal, a minimum detector that detects a minimum value and its input order from among the time-series outputs of the image signal memory, and the minimum value detector A median filter is obtained which is characterized in that it is constituted of at least an address generation circuit which uses at least the input order of the minimum value outputted by the device and an external signal as an input signal and generates an address of the image signal memory.

本願の第3の発明によれば、ディジタル画像信号を記憶
する画像信号メモリと、前記画像信号メモリの時系列出
力と後でのべる先入れ先出しメモリの時系列出力とのど
ちらか1方を選択する第1の選択器と、前記第1の選択
器の時系列出力の中から最大値とその入力順位を検出す
る最大値検出器と、前記最大値検出器が出力する最大値
と1時記憶する先入れ先出しメモリと、前記最大値検出
器が出力する最大値の入力順位と、外部信号を少なくと
も入力信号とし前記画像信号メモリのアドレスを生成す
るアドレス生成回路とから少なくとも構成されること、
を特徴とする2次元メジアンフィルタが得られる。
According to the third invention of the present application, there is provided an image signal memory that stores digital image signals, and a first memory that selects one of the time series output of the image signal memory and the time series output of the first-in first-out memory to be described later. a maximum value detector that detects the maximum value and its input order from among the time series outputs of the first selector, and a first-in, first-out memory that stores the maximum value output from the maximum value detector and one time. and an input order of the maximum value output by the maximum value detector, and an address generation circuit that receives at least an external signal as an input signal and generates an address of the image signal memory;
A two-dimensional median filter with the following characteristics is obtained.

本願の第4の発明によれば、ディジタル画像信号を記憶
する画像信号メモリと、前記画像信号メモリの時系列出
力と後でのべる先入れ先出しメモリの時系列出力とのど
ちらか1方を選択する第1の選択器と、前記第1の選択
器の時系列出力の中から最小値とその入力順位を検出す
る最小値検出器と、前記最小値検出器が出力する最小値
を1時記憶する先入れ先出しメモリと、前記最小値検出
器が出力する最小値の入力順位と、外部信号を少なくと
も入力信号とし前記画像信号メモリのアドレスを生成す
るアドレス生成回路とから少なくとも構成されることを
特徴とする2次元メジアンフィルタが得られる。
According to the fourth invention of the present application, there is provided an image signal memory that stores digital image signals, and a first memory that selects one of the time series output of the image signal memory and the time series output of the first-in first-out memory to be described later. a selector, a minimum value detector that detects the minimum value and its input order from the time-series output of the first selector, and a first-in, first-out memory that stores the minimum value output by the minimum value detector at one time. and an input order of the minimum value output by the minimum value detector, and an address generation circuit that uses at least an external signal as an input signal and generates an address of the image signal memory. A filter is obtained.

本願の第5の発明によれば、ディジタル画像信号を記憶
する画像信号メモリと、前記画像信号メモリの時系列出
力と後でのべる複数個の先入れ先出しメモリの出力の中
のどれか1つを選択する第1の選択器と、前記第1の選
択−の時系列出方の中から最大値とその入力順位を検出
する最大値検出器と、前記最大値検出器が出力する最大
値を記憶する複数個の先入れ先出しメモリと、前記最大
値検出器が出力する最大値の入力順位に従って前記先入
れ先出しメモリの記憶内容の一部をリセットする制御回
路と前記最大値検出器が出力する最大値の入力順位と、
外部信号と少なくとも入力信号とし前記画像信号メモリ
のアドレスを生成するアドレス生成回路とから少なくと
も構成されることを特徴とする2次元メジアンフィルタ
が得られる。
According to the fifth invention of the present application, an image signal memory that stores digital image signals, a time series output of the image signal memory, and one of the outputs of a plurality of first-in first-out memories to be described later are selected. a first selector; a maximum value detector that detects a maximum value and its input order from among the time series outputs of the first selection; a control circuit that resets a part of the storage contents of the first-in, first-out memory according to the input order of the maximum value output by the maximum value detector; and an input order of the maximum value output by the maximum value detector;
A two-dimensional median filter is obtained which is characterized in that it is comprised of at least an external signal and an address generation circuit which uses at least an input signal as an input signal and generates an address of the image signal memory.

本願の第6の発明によればディジタル画像信号を記憶す
る画像信号メモリと、前記画像信号メモリの時系列出力
と複数個の先入れ先出しメモリの出力の中のどれか1つ
を選択する第1の選択器と、前記第1の選択器の時系列
出力の中から最小値とその入力順位を検出する最小値検
出器と、前記最小値検出器が出力する最小値を記憶する
複数個の先入れ先出しメモリと、前記最小値検出器が出
力する最小値の入力順位に従って、前記先入れ先出しメ
モリの記憶内容の一部とリセットする制御回路と前記最
小値検出器が出力する最小値の入力順位を、外部信号を
少なくとも入力信号とし前記画像信号メモリのアドレス
を生成するアドレス生成回路とから少なくとも構成され
ることを特徴とする2次元メジアンフィルタが得られる
According to the sixth invention of the present application, an image signal memory for storing digital image signals, and a first selection of selecting one of the time-series output of the image signal memory and the output of a plurality of first-in, first-out memories. a minimum value detector for detecting the minimum value and its input order from among the time-series outputs of the first selector; and a plurality of first-in, first-out memories for storing the minimum values output by the minimum value detector. , a control circuit that resets a part of the storage contents of the first-in-first-out memory according to the input order of the minimum values output by the minimum value detector; and a control circuit that resets the input order of the minimum values output by the minimum value detector, and A two-dimensional median filter is obtained, which includes at least an address generation circuit that generates an address of the image signal memory as an input signal.

本願の第7の発明によれば、ディジタル画像信号を記憶
する画像信号メモリと、前記画像信号メモリの時系列出
力と後じ述べる先入れ先出しメモリ出力のどちらか1方
を選択する選択器と、前記選択器の時系列出力の中から
最小値まかたは最大値を検出する最小値最大値検出器と
、前記最小値最大値検出器が出力する最小値または最大
値を記憶する先入れ先出しメモリと、外部信号を少なく
とも入力信号とし、前記画像信号メモリのアドレスを生
成するアドレス生成回路とから少なくとも構成されるこ
とを特徴とする2次元メジアンフィルタが得られる。
According to the seventh invention of the present application, an image signal memory that stores a digital image signal, a selector that selects either a time-series output of the image signal memory or a first-in, first-out memory output described later; a minimum value/maximum value detector for detecting the minimum value or maximum value from the time series output of the device; a first-in, first-out memory for storing the minimum value or maximum value outputted by the minimum value/maximum value detector; A two-dimensional median filter is obtained, which is characterized in that it includes at least an input signal and an address generation circuit that generates an address of the image signal memory.

(作用) 本願の第1の発明は、mXn画素の処理対象領域の画素
信号の最大値を検出し、その最大値を有した画素の値を
最も小さい値におきかえ、再度m×n画素の信号の最大
値を検出するものである。
(Function) The first invention of the present application detects the maximum value of the pixel signal in the processing target area of m×n pixels, replaces the value of the pixel having the maximum value with the smallest value, and resigns the m×n pixel signal. The purpose is to detect the maximum value of .

きさの値を有する画素となる。It becomes a pixel with a value of magnitude.

本、願の第2の発明は、m X n画素の処理対象領域
の画素信号の最小値を検出し、その最小値を有した画素
の値を最も大きい値におきかえ、再度m×n画素の信号
の最小値を検出するものである。
The second invention of this application detects the minimum value of the pixel signal in the processing target area of m x n pixels, replaces the value of the pixel with the minimum value with the largest value, and then returns the pixel signal of the m x n pixels. This detects the minimum value of the signal.

さの値を有する画素となる。第1および第2の発明によ
れば簡単な回路構成で、複雑なメモリアドレス指定を必
要としない2次元メジアンフィルタを実現できる。
The pixel has a value of . According to the first and second inventions, a two-dimensional median filter that does not require complicated memory addressing can be realized with a simple circuit configuration.

本願の第3の発明は、mXn画素の処理対象領域をn個
の列に分割し、各列内のm個の画素信号の中央の大きさ
を有する画素を検出し、検出されたn個の列のそれぞれ
の中央の大きさを有する画素の中から、さらにそれらの
中での中央の大きさを有する画素を検出するものである
。各列内での中央の大きさを有する画素を検出するため
に、m個の画素の最大値を、その最大値を有した画素の
値を最も小さい値におきかえ、再度m画素の信号の最大
値を検出する。この手順をm回くり返すことにより、列
内での中央の大きさを有する画素を検出できる。検出さ
れたn個の各列内の中央の大きさを有する画素の中から
最大値を求めては最も小さい値におきかえる手順を立回
くり返すことにより、n個の中央値の中から、さらに中
央の太きさを有する画素を検出できる。
The third invention of the present application divides a processing target area of m×n pixels into n columns, detects a pixel having the center size of m pixel signals in each column, and The pixel having the center size is further detected from among the pixels having the center size of each column. In order to detect the pixel with the center size in each column, the maximum value of m pixels is replaced with the value of the pixel with the maximum value to the smallest value, and again the maximum value of the signal of m pixels is Detect values. By repeating this procedure m times, it is possible to detect the pixel having the center size within the column. By repeating the procedure of finding the maximum value among the pixels with the median size in each of the n detected columns and replacing it with the smallest value, further calculations are performed from among the n median values. Pixels with a central thickness can be detected.

本願の第4の発明は、第3の発明において中央の大さを
有する画素を検出するために、最大値ではなく最小値を
求めていくものである。
A fourth invention of the present application is to obtain a minimum value instead of a maximum value in order to detect a pixel having a central size in the third invention.

第3および第4の発明によれば、各列ごとの中央値の中
からさらに中央の大きさを有する画素を検出することに
より高速に2次元メジアンフィルタを実現することがで
きる。
According to the third and fourth inventions, a two-dimensional median filter can be realized at high speed by detecting a pixel having a central size from among the median values of each column.

本願の第5および第6の発明は、2次元メシアンフィル
タにおいてm X n画素の処理対象領域をフレーム画
面上で画素、水平または垂直方向にシフトしては、mx
n画素の中の中央の大きさを持つ画素を検出する特徴を
利用したものである。
The fifth and sixth inventions of the present application provide a two-dimensional Messian filter in which a processing target area of m x n pixels is shifted horizontally or vertically on a frame screen.
This method utilizes the feature of detecting a pixel with a central size among n pixels.

本願の第5の発明は、各列のm個の画素め中から、それ
らの中の中央の大きさを有する画素を検出し、・さらに
n個の各別に対応する中央値の中がら、中央の大きさを
有する画素を検出する。ここで、検出した各別の中央の
大きさを有する画素をレジスタにたくわえておき、mX
n画素の処理対象領域を1画素例えば右水平方向にシフ
トした時には、左端の列に対応する中央値を削除し、右
端の例のm画素の中の中央の大きさを持つ画素を検出し
、この画素と既にレジスタにたくわえられているn−1
個の各別の中央値の中がら、中央の大きさを有する画素
を検出する。中央値を検出するために、最大値を求めて
は最も小さい値におきかえる手順をくり返す。本発明に
よれば、n個の各別の中央値のうちのn−1個はすでに
求められているので、たかだか1列の中央値を求め、そ
の値とすでに求められているn−1個の中央値の中から
中央の大きさを有する画素を検出すればよく、高速に処
理を行うことができる。
The fifth invention of the present application detects a pixel having a median size among m pixels in each column, and further detects a pixel having a median size among the m pixels in each column, Detect a pixel with a size of . Here, store each detected pixel having a different center size in a register, mX
When the processing target area of n pixels is shifted by one pixel, for example, in the right horizontal direction, the median value corresponding to the leftmost column is deleted, and the pixel with the center size among the m pixels of the rightmost column is detected, This pixel and n-1 already stored in the register
A pixel having a median size is detected among the respective median values. To find the median value, repeat the process of finding the maximum value and replacing it with the minimum value. According to the present invention, since n-1 of the n separate median values have already been found, the median of at most one column is found, and that value is combined with the n-1 values that have already been found. It is only necessary to detect a pixel having a median size from among the median values of , and processing can be performed at high speed.

本願の第6の発明は、第5の発明において中央値を検出
するために、最小値を求めては最も大きい値におきかえ
る手順をくり返すもので、高速に処理を行うことができ
る。
A sixth invention of the present application is to repeat the procedure of finding the minimum value and replacing it with the largest value in order to detect the median value in the fifth invention, and can perform processing at high speed.

本願の第7の発明は、第5の発明において、n個の各列
の中央値のかわりに、各列の最大値を求め、このn個の
最大値の中から最小値を求めて出力するもので、n個の
各別の中央値のうちのn−1個はすでに求められている
ため、たかだか1列の最大値を求め、その値とすでに求
められているn−1個の最大値の中から最小値を有する
画素を検出すればよく高速に処理を行うことができる。
A seventh invention of the present application is that in the fifth invention, the maximum value of each column is determined instead of the median value of each of the n columns, and the minimum value is determined and output from among the n maximum values. Since n-1 of the n median values have already been found, find the maximum value of at most one column and combine that value with the n-1 maximum values that have already been found. It is sufficient to detect the pixel having the minimum value from among the pixels, and the processing can be performed at high speed.

(実施例) 第1図は本願の第1の発明の実施例を示すブロック図で
ある。11は画像信号メモリ、12は最大値検出器、1
3は選択器、14はカウンタ、15は加算器、16はア
ドレス生成回路、17は制御回路、■−1は前記画像信
号メモリ11の入力信号線、1−2は前記画像信号メモ
リ11の出力信号線、1−3は前記最大値検出器12の
最大値出力信号線、1−4は前記最大値検出器12の最
大値の入力順位信号線、1.−5は前記カウンタ14の
出力信号線、1−6は前記加算器15の出力信号線、1
−7は前記選択器13の出力信号線、1−8は前記加算
器15の入力信号線である。前記画像信号メモリ11の
入力信号線1−1を通して、前記画像信号メモリ11に
たくわえられているmXn画素の処理対象領域の信号を
前記加算器15の出力信号線1−6でアドレス指定する
ことによりよみ出し、前記画像信号メモリ11の出力信
号線1−2を通して前記最大値検出器12に供給する。
(Embodiment) FIG. 1 is a block diagram showing an embodiment of the first invention of the present application. 11 is an image signal memory, 12 is a maximum value detector, 1
3 is a selector, 14 is a counter, 15 is an adder, 16 is an address generation circuit, 17 is a control circuit, -1 is an input signal line of the image signal memory 11, and 1-2 is an output of the image signal memory 11. Signal lines 1-3 are maximum value output signal lines of the maximum value detector 12; 1-4 are maximum value input rank signal lines of the maximum value detector 12; 1. -5 is an output signal line of the counter 14, 1-6 is an output signal line of the adder 15, 1
-7 is an output signal line of the selector 13, and 1-8 is an input signal line of the adder 15. By addressing the signal of the processing target area of mXn pixels stored in the image signal memory 11 through the input signal line 1-1 of the image signal memory 11 with the output signal line 1-6 of the adder 15. The signal is read out and supplied to the maximum value detector 12 through the output signal line 1-2 of the image signal memory 11.

前記最大値検出器12は、前記信号線1−2から供給さ
れた時系列入力信号の最大値を信号1−3を通して、出
力するとともに、検出した最大値の入力順位を前記最大
値の入力順位信号線1−4を通して前記選択器13の第
1の入力に供給する。前記カウンタ14は1ずつカウン
トアツプまたはダウンした信号を前記出力信号線1−5
を通して出力し、前記選択器13の第2の入力に供給す
るモジュロカウンタである。前記選択器13は前記最大
値の入力順位信号線1−4と前記カウンタの出力信号線
1−5を通して入力される信号のどちらか1方を選択し
て前記出力信号線1−7を通して加算器15の第1の入
力に供給する。
The maximum value detector 12 outputs the maximum value of the time series input signal supplied from the signal line 1-2 through the signal 1-3, and also outputs the input order of the detected maximum value as the input order of the maximum value. It is supplied to the first input of the selector 13 through the signal line 1-4. The counter 14 outputs a signal counted up or down by 1 to the output signal line 1-5.
is a modulo counter that is output through the selector 13 and supplied to the second input of the selector 13. The selector 13 selects one of the signals inputted through the input rank signal line 1-4 of the maximum value and the output signal line 1-5 of the counter, and sends the selected signal to the adder through the output signal line 1-7. 15 first inputs.

加算器15の第2の入力には、入力信号線l−8を通し
て多ト部信号が入力される。mXn画素の中からの中央
の大きさを有する画素を検出する場合、カウンタは0か
らmxn−1までの数を計算する。処理領域の移動と、
加算器15の入力信号線1−8を通して入力する外部信
号の値を増加することにより行う0選択器13は最大値
検出実行時には前記カウンタ14の出力信号線1−5の
信号を選択し、最大値が検出された時は、前記最大値検
出器12の°最大値の入力順位信号線1−4の信号を選
択する。そして、最大値の入力順の値と前記入力信号線
1−8を通して供給された外部信号の値を加算すること
により、検出された最大値のメモリアドレスを生成し、
そのアドレスに最もの中の中央の大きさを有する画素を
検出することができる。
The multi-tot part signal is input to the second input of the adder 15 through the input signal line l-8. When detecting a pixel with a median size among mXn pixels, the counter calculates a number from 0 to mxn-1. Moving the processing area and
The 0 selector 13 increases the value of the external signal input through the input signal lines 1-8 of the adder 15. When performing maximum value detection, the 0 selector 13 selects the signal on the output signal lines 1-5 of the counter 14, and When a value is detected, the signal on the input rank signal line 1-4 of the maximum value of the maximum value detector 12 is selected. Then, by adding the value in the input order of the maximum value and the value of the external signal supplied through the input signal line 1-8, a memory address of the detected maximum value is generated,
The pixel having the most central size at that address can be detected.

第2の発明は第1図の前記最大値検出器12を最小値検
出器とすることにより実現できる。
The second invention can be realized by using the maximum value detector 12 in FIG. 1 as a minimum value detector.

第2図は本願の第3の発明の実施例を示すブロック図で
ある。2)は画像信号メモリ、22は第1の選択器、2
3は最大値検出器、24はカウンタ、25は加算器、2
6は第2の選択器、27は先入れ先出しメモリ、28は
制御回路、29はアドレス生成回路、2−1は画像信号
メモリ2)の入力信号線、2−2は画像信号メモリ2)
の出力信号線、2−3は第1の選択器22の出力信号線
、2−4は最大値検出器23の最大値出力信号線、2−
5は先入れ先出しメモリ27の出力信号線、2−6は最
大値検出器23の最大値の入力順位信号線、2−8はカ
ウンタ24の出力信号線、2−9は第2の選択器26の
出力信号線、2−7は加算器25の入力信号線、2−1
0は加算器25の出力信号線である0画像信号メモリ2
)は入力信号線2−1を通して入力された画像信号を記
憶する0画像信号メモリ2)にたくわえられているm 
X n画素の処理対象領域の信号の中から、加算器25
の出力信号線2−10を通して、指定されたアドレスの
信号をよみ出し、画像信号メモリ2)の出力信号線2−
2を通して第1の選択器22の第1の入力として供給す
る。この第1の選択器には先入れ先出しメモリ27の出
力信号線2−5の信号が第2の入力供給される。アドレ
ス生成回路29は、n列の中のある1列の中でのアドレ
スを指定する。そのために、カウンタはOからm−1ま
でのモジュロカウンタとして働き、各列内のm画素のア
ドレスを指定する。列の指定は加算器25の入力信号線
2−7から入力される外部信号で指定される。この時、
第2の選択器26は、カウンタ24の出力信号線28の
信号を選択する。また、第1の選択器22は、出力信号
線2−2の信号を選択し、第1の選択器22の出力信号
線2−3を通して最大値検出器23に供給する。
FIG. 2 is a block diagram showing an embodiment of the third invention of the present application. 2) is an image signal memory; 22 is a first selector; 2)
3 is a maximum value detector, 24 is a counter, 25 is an adder, 2
6 is a second selector, 27 is a first-in first-out memory, 28 is a control circuit, 29 is an address generation circuit, 2-1 is an input signal line of the image signal memory 2), and 2-2 is an image signal memory 2)
2-3 is the output signal line of the first selector 22, 2-4 is the maximum value output signal line of the maximum value detector 23, 2-
5 is an output signal line of the first-in first-out memory 27, 2-6 is the maximum value input priority signal line of the maximum value detector 23, 2-8 is an output signal line of the counter 24, and 2-9 is the second selector 26. Output signal line 2-7 is input signal line of adder 25, 2-1
0 is the output signal line of the adder 25 0 image signal memory 2
) is stored in the 0 image signal memory 2) that stores the image signal input through the input signal line 2-1.
From among the signals of the processing target area of X n pixels, the adder 25
The signal at the specified address is read out through the output signal line 2-10 of the image signal memory 2), and the signal is read out through the output signal line 2-10 of the image signal memory 2).
2 as the first input of the first selector 22. A signal on the output signal line 2-5 of the first-in, first-out memory 27 is supplied as a second input to this first selector. The address generation circuit 29 specifies an address in one of the n columns. To this end, the counter acts as a modulo counter from O to m-1, addressing m pixels within each column. The column is designated by an external signal input from the input signal line 2-7 of the adder 25. At this time,
The second selector 26 selects the signal on the output signal line 28 of the counter 24. The first selector 22 also selects the signal on the output signal line 2-2 and supplies it to the maximum value detector 23 through the output signal line 2-3 of the first selector 22.

最大値検出器23は出力信号線2−3を通して供給され
た時系列入力信号の中から最大値とその入力順位を検出
し、最大値出力信号線2−4を通して最大値を先入れ先
出しメモリ27に供給し記憶する。検出した最大値の入
力順位を入力順位信号線2−6を通して第2の選択器2
6に供給する。
The maximum value detector 23 detects the maximum value and its input order from among the time series input signals supplied through the output signal line 2-3, and supplies the maximum value to the first-in, first-out memory 27 through the maximum value output signal line 2-4. and memorize it. The input rank of the detected maximum value is sent to the second selector 2 through the input rank signal line 2-6.
Supply to 6.

この入力順位信号線は検出された最大値の信号が記憶さ
れている画像信号メモリ2)の列内のアドレスを示す0
列内の最大値を検出すると、第2の選択器26は入力順
位で信号線2−6の信号を選択し、信号線2−9を通し
て加算器25に供給する。さらに加算器25は信号線2
−10を通して画像信号メモリ2)のアドレスとして供
給する。
This input priority signal line indicates the address in the column of the image signal memory 2) where the detected maximum value signal is stored.
When the maximum value in the column is detected, the second selector 26 selects the signal on the signal line 2-6 in the input order and supplies it to the adder 25 through the signal line 2-9. Furthermore, the adder 25
-10 and is supplied as the address of the image signal memory 2).

このアドレスの信号すなわち検出された最大値を最も小
さい値にかきかえ、再びm画素の最大値を検出した各列
の中央値1を信号線2−4を通して先入れ先出しメモリ
27に記憶させる。
The signal of this address, that is, the detected maximum value, is replaced with the smallest value, and the median value 1 of each column where the maximum value of m pixels was detected is again stored in the first-in, first-out memory 27 through the signal line 2-4.

次に、前記入力信号線2−7を通して値m加算器25に
入力することによりn列の中の1列となりの列のアドレ
スを指定する。そして同様の手順によりこの列の中央の
大きさ/を有する値を検出する。この操作をn回くり返
し、n列のすべての中央値を検出し、先入れ先出しメモ
リ27に記憶させる。
Next, the address of one of the n columns is designated by inputting it to the value m adder 25 through the input signal line 2-7. Then, using the same procedure, a value having the size / at the center of this column is detected. This operation is repeated n times to detect all median values of n columns and store them in the first-in, first-out memory 27.

n列のすべての中央値を記憶した後で、前記第1の選択
器22は、前記先入れ先出しメモリ27の出力信号1!
!2−5の信号を選択する最大値検出器23は、先入れ
先出しメモリ27の内容を順次入力し、その中の最大値
を検出する。検出された最大値は最も小さい値に書き換
えられる。このために、前記先入れ先出しメモリ27は
、前記最大値の入力順位信号線2−6の信号によりその
最大値を最も小さい値に書きかえるリセット機能を有る
After storing all median values of n columns, the first selector 22 selects the output signal 1! of the first-in-first-out memory 27.
! The maximum value detector 23, which selects signals 2-5, sequentially inputs the contents of the first-in, first-out memory 27 and detects the maximum value therein. The detected maximum value is rewritten to the minimum value. For this purpose, the first-in, first-out memory 27 has a reset function of rewriting the maximum value to the smallest value by the signal on the input priority signal line 2-6 of the maximum value.

第4の発明は第2図の前記最大値検出器23を最小値検
出器におきかえることにより実現できる。
The fourth invention can be realized by replacing the maximum value detector 23 in FIG. 2 with a minimum value detector.

第3図は本願の第5の発明の実施例を示すブロック図で
ある。
FIG. 3 is a block diagram showing an embodiment of the fifth invention of the present application.

31は画像信号メモリ、32は第1の選択器、33は最
大値検出器、34.36.313はそれぞれ第1、第2
、第3のデータクリア機能はき先入れ先出しメモリ、3
14は先入れ先出しメモリ制御回路、38は第2の選択
器、39はカウンタ、310は加算器、311は制御回
路、312はアドレス生成回路、3−1は画像信号メモ
リ31の入力信号線、3−2は、画像信号メモリ31の
出力信号線、3−3は第1の選択器32の出力信号線、
・・・3−4は最大値検出器33の最大値出力信号線、
3−11は最大値検出器33の最大値入力順位信号線、
3−5.3−9.3−8はそれぞれ第1、第2および第
3の先入れ先出しメモリ制御信号線、3−16.3−1
7.3−18はそれぞれ第1、第2および第3の先入れ
先出しメモリの出力信号線、3−12はカウンタ39の
出力信号線、3−13は第2の選択器38の出力信号線
、3−14は加算器310の入力信号線、3−15は加
算器310の出力信号線である0画像信号メモリ31は
信号線3−1を通して入力された画像信号を記憶する。
31 is an image signal memory, 32 is a first selector, 33 is a maximum value detector, and 34, 36, and 313 are first and second selectors, respectively.
, the third data clear function is first-in first-out memory, 3
14 is a first-in first-out memory control circuit, 38 is a second selector, 39 is a counter, 310 is an adder, 311 is a control circuit, 312 is an address generation circuit, 3-1 is an input signal line of the image signal memory 31, 3- 2 is an output signal line of the image signal memory 31, 3-3 is an output signal line of the first selector 32,
...3-4 is the maximum value output signal line of the maximum value detector 33,
3-11 is the maximum value input ranking signal line of the maximum value detector 33;
3-5.3-9.3-8 are first, second and third first-in first-out memory control signal lines, 3-16.3-1
7. 3-18 are output signal lines of the first, second and third first-in-first-out memories, 3-12 is an output signal line of the counter 39, 3-13 is an output signal line of the second selector 38, 3 -14 is an input signal line of the adder 310, and 3-15 is an output signal line of the adder 310. The 0 image signal memory 31 stores the image signal input through the signal line 3-1.

加算器310は出力信号線3−15を通して画像信号メ
モリ31のアドレスを指定する。このアドレスを捜査す
るごとにより、画像信号メモリ31から処理すべきmX
n画素信号がよみ出される0画像信号メモリ31からの
画素信号は出力信号!13−2を通して前記第1の選択
器32の第1の入力として供給される。アドレス生成回
路312は、mXn画素中の特定の画素を示すアドレス
を指定する。そのためにカウンタ39は、0からm−1
までをカウントするモジュロカウンタとして働き、各列
内のm画素のアドレスを指定する0列の指定は加算器3
10の入力信号線3−14から入力される外部信号によ
り指定される。この時、第2の選択器38は、カウンタ
39の出力信号線3−12の信号を選択する。また、第
1の選択器32は、出力信号線3−2の信号を選択する
。従って画像信号メモリ31から順次に読出された画像
信号、即ち時系列入力信号は、第2の選択器32を介し
て最大値検出器33に供給されることになる。最大値検
出器33は、信号線3−3と通して入力された時系列入
力信号の中から最大値とその入力順位を検出する。
Adder 310 specifies the address of image signal memory 31 through output signal line 3-15. Every time this address is searched, mX to be processed from the image signal memory 31
The pixel signal from the 0 image signal memory 31 from which the n pixel signal is read is the output signal! 13-2 as the first input of the first selector 32. Address generation circuit 312 specifies an address indicating a specific pixel among mXn pixels. For this purpose, the counter 39 is set from 0 to m-1
It works as a modulo counter that counts up to m pixels in each column.
It is designated by an external signal input from the 10 input signal lines 3-14. At this time, the second selector 38 selects the signal on the output signal line 3-12 of the counter 39. Further, the first selector 32 selects the signal on the output signal line 3-2. Therefore, the image signals sequentially read out from the image signal memory 31, that is, the time-series input signals, are supplied to the maximum value detector 33 via the second selector 32. The maximum value detector 33 detects the maximum value and its input order from among the time-series input signals input through the signal line 3-3.

検出した最大値の入力順位を前記入力順位信号線3−1
1を通して、前記第2の選択器38に供給する0列内の
最大値を最大値検出器33が検出すると、第2の選択器
38は前記信号線3−11の信号を選択し、前記信号線
3−13を通して、前記加算器310に供給する。前記
加算器310は、前記信号線3−15を通して前記画像
信号メモリ31にアドレスを供給する。このアドレスは
、検出された最大値が記憶されている画像信号メモリ3
1のアドレスを示す、このアドレスに最も小さい値を書
込み、検出された最大値を最も小さい値におきかえる。
The input order of the detected maximum value is transmitted to the input order signal line 3-1.
When the maximum value detector 33 detects the maximum value in the 0 column through 1 and fed to the second selector 38, the second selector 38 selects the signal on the signal line 3-11 and selects the signal on the signal line 3-11. The adder 310 is fed through line 3-13. The adder 310 supplies an address to the image signal memory 31 through the signal line 3-15. This address is stored in the image signal memory 3 where the detected maximum value is stored.
The smallest value is written to this address, which indicates the address of 1, and the detected maximum value is replaced with the smallest value.

この処理を再びm画素について行なうと次に大きな値が
求まる。この手順をユ回くり返し、二回目で得られる最
大値がこの列の中央の大きさを有する画素となる。
When this process is performed again for m pixels, the next largest value is found. This procedure is repeated several times, and the maximum value obtained the second time becomes the pixel having the size at the center of this column.

検出した列の中央の大きさを有する画素信号を、前記信
号線3−4を通して最大値を前記第1、第2、第3の先
入れ先出しメモリ34.36,313に格納する。前記
第1、第2、第3の先入れ先出しメモリ34.36.3
13には、既に計算されている他の各n−1列の中の中
央の値を持つ画素信号が記憶されている。前記第1の選
択器32は前記信号線3−7の信号を選択し、前記最大
値検出器に供給する。
The maximum value of the pixel signal having the size at the center of the detected column is stored in the first, second, and third first-in, first-out memories 34, 36, and 313 through the signal line 3-4. Said first, second and third first-in first-out memories 34.36.3
13 stores the pixel signal having the center value in each of the other n-1 columns that have already been calculated. The first selector 32 selects the signal on the signal line 3-7 and supplies it to the maximum value detector.

この時、選択されている先入れ先出しメモリを前記第1
の先入れ先出しメモリ34とする。前記先入れ先出しメ
モリ34のn個の出力信号の中から中央の大きさを持つ
画素信号を既に述べた最大値を求めては、除去する手法
にて求める。これがm×n画素のメジアンフィルタ実行
結果である。既に述べたmXn画素の処理領域を一画素
シフトして新たな領域に対してメジアンフィルタを実行
する時には、新しく加わった一例のm画素の中央値を求
め、これを前記3個の先入れ先出しメモリ34.36.
313に記憶し、前記第2の先入れ先出しメモリ36の
出力信号の中の中央値を求める。これは前記第1の先入
れ先出しメモリ34の中に記憶されている信号は前処理
画面のメジアンフィルタ実行時に一部消去されているた
めである。ここで、先入れ先出しメモリの個数は処理領
域の列数nと等しく、本実施例ではn=3の時の場合を
示していることになる。
At this time, the selected first-in first-out memory is
The first-in first-out memory 34 is assumed to be a first-in first-out memory 34. Among the n output signals of the first-in, first-out memory 34, a pixel signal having a central magnitude is determined by the method of determining the maximum value and removing it as described above. This is the median filter execution result for m×n pixels. When the aforementioned mXn pixel processing area is shifted by one pixel and a median filter is executed on the new area, the median value of the newly added m pixels is calculated and is stored in the three first-in, first-out memories 34. 36.
313, and the median value among the output signals of the second first-in, first-out memory 36 is determined. This is because the signals stored in the first first-in, first-out memory 34 are partially erased when the median filter of the pre-processing screen is executed. Here, the number of first-in, first-out memories is equal to the number of columns n in the processing area, and this embodiment shows the case where n=3.

本実施例の最大値検出器を最小値検出器にすることによ
り、第6の発明の実施例が得られる。
By replacing the maximum value detector of this embodiment with a minimum value detector, a sixth embodiment of the invention can be obtained.

第4図は本願第7の発明の実施例を示すブロック図であ
る。41は画像信号メモリ、42は選択器、43は最小
値最大値検出器、44は先入れ先出しメモリ、48はカ
ウンタ、49は加算器、410は制御回路、4−1は前
記画像メモリ41の入力信号線、4−2は前記画像信号
メモリ41の出力信号線、4−3は前記選択器42の出
力信号線、4−4は前記最小値最大値検出器43の最小
値または最大値出力信号線、4−5は前記先入れ先出し
メモリ44の出力信号線、4〜12は前記カウンタ48
の出力信号線、4−11は前記加算器49の入力信号線
、4−13は前記加算器49の出力信号線である。前記
信号線4−1を通して入力され前記画像信号メモリ41
にたくわえられている画像信号の処理すべきmXn画素
信号の中から前記加算器49の出力信号線4−13を通
して、指定されたアドレスの信号をよみ出し、前記信号
線4−2を通して前記選択器42に供給する。前記選択
器42は、前記信号線4−2を選択し、その信号を前記
4−3を通して、前記最小値最大値検出器43に入力す
る。前記最小値最大値検出器43は時系列に入力されて
きた列のn個の画素の最大値を求め、前記先入れ先出し
メモリ44に記憶する。先記先入れ先出しメモリ44に
は既に検出された(n−1)列の最大値が記憶されてい
る。ここで、前記選択器は前記先入れ先出しメモリ44
の出力信号線4−5の信号を選択し、そこにたくわえち
れているn列のn個の最大値の中の最小値を求める。こ
れが求めるべき値である。ここでは、各列の最大値を求
め、その中の最小値を求めたが、各列の最小値を求め、
その中の最大値を求めることもできる。
FIG. 4 is a block diagram showing an embodiment of the seventh invention of the present application. 41 is an image signal memory, 42 is a selector, 43 is a minimum/maximum value detector, 44 is a first-in first-out memory, 48 is a counter, 49 is an adder, 410 is a control circuit, and 4-1 is an input signal of the image memory 41 4-2 is the output signal line of the image signal memory 41, 4-3 is the output signal line of the selector 42, and 4-4 is the minimum value or maximum value output signal line of the minimum value maximum value detector 43. , 4-5 are the output signal lines of the first-in first-out memory 44, and 4-12 are the counters 48.
4-11 is an input signal line of the adder 49, and 4-13 is an output signal line of the adder 49. The image signal memory 41 is input through the signal line 4-1.
Out of the mXn pixel signals to be processed of the image signals stored in the adder 49, the signal at the specified address is read out through the output signal line 4-13 of the adder 49, and the signal at the designated address is read out through the signal line 4-2 to the selector. 42. The selector 42 selects the signal line 4-2 and inputs the signal to the minimum value/maximum value detector 43 through the signal line 4-3. The minimum value/maximum value detector 43 finds the maximum value of n pixels in a column inputted in time series, and stores it in the first-in, first-out memory 44 . The first-in, first-out memory 44 stores the maximum value of the (n-1) column that has already been detected. Here, the selector is the first-in first-out memory 44
The signal on the output signal line 4-5 is selected, and the minimum value among the n maximum values stored therein in the n columns is determined. This is the value to be found. Here, we calculated the maximum value of each column and the minimum value among them, but we calculated the minimum value of each column,
You can also find the maximum value among them.

(発明の効果) 本願の第1および第2の発明によれば、最大値−検出器
または最小値検出器と画像信号メモリと簡単なアドレス
生成回路を用いて、従来必要としていた複雑なアドレス
回路やソーティング回路を必要としない2次元メジアン
フィルタを実現できる。
(Effects of the Invention) According to the first and second inventions of the present application, by using a maximum value detector or a minimum value detector, an image signal memory, and a simple address generation circuit, a complicated address circuit that was previously required can be solved. It is possible to realize a two-dimensional median filter that does not require a sorting circuit or a sorting circuit.

本願の第3および第4の発明によれば、処理すべきmX
n画素信号をn列の画素列に分け、各列ごとの中央の値
を求め、それらn個の中央値のさらに中央値を求めるこ
とにより、簡単なハードウェアで高速に2次元メジアン
フィルタを実現できる。
According to the third and fourth inventions of the present application, mX to be treated
By dividing an n pixel signal into n pixel columns, finding the median value for each column, and then finding the median of those n median values, a two-dimensional median filter can be realized at high speed with simple hardware. can.

本願の第5、第6および第7の発明によれば、メジアン
フィルタ処理を行うm X n画素の領域を1画素ずつ
シフトすることを利用して、n列のうちのn−1列の処
理は既に計算されているものを使用することにより、簡
単なハードウェアでかつ極めて高速に2次元メジアンフ
ィルタを実現できる。
According to the fifth, sixth, and seventh inventions of the present application, processing of the n-1 column among the n columns is performed by shifting the m×n pixel area on which the median filter processing is performed pixel by pixel. By using what has already been calculated, a two-dimensional median filter can be realized with simple hardware and at extremely high speed.

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

第1図は第1の発明の実施例を示すブロック図、第2図
は第3の発明の実施例を示すブロック図、第3図は第5
の発明の実施例を示すブロック図、第4図は第7の発明
の実施例を示すブロック図である。 11.12,13.41・・・・・・画像信号メモリ1
2.23,33.・・・・・・・・・最大値検出器16
.29,312.411・・・アドレス生成回路・27
.44・・・・・・・・・・・・・・・先入れ先出しメ
モリ34・−・・・・・・・・・・・・・・・・・・・
第1の先入れ先出しメモリ36・・・・・・・・・・・
・・・・・・・・・・第2の先入れ先出しメモリ313
・・・・・・・・・・・・・・・・・・第3の先入れ先
出しメモリ。
FIG. 1 is a block diagram showing an embodiment of the first invention, FIG. 2 is a block diagram showing an embodiment of the third invention, and FIG. 3 is a block diagram showing an embodiment of the fifth invention.
FIG. 4 is a block diagram showing an embodiment of the seventh invention. FIG. 4 is a block diagram showing an embodiment of the seventh invention. 11.12, 13.41... Image signal memory 1
2.23,33. ...... Maximum value detector 16
.. 29,312.411...Address generation circuit・27
.. 44・・・・・・・・・・・・・・・First in first out memory 34・−・・・・・・・・・・・・・・・・・・・
First first-in first-out memory 36...
......Second first-in first-out memory 313
・・・・・・・・・・・・・・・・・・Third first-in first-out memory.

Claims (7)

【特許請求の範囲】[Claims] (1)ディジタル画像信号を記憶する画像信号メモリと
、前記画像信号メモリの時系列出力の中から最大値とそ
の入力順位を検出する最大値検出器と、前記最大値検出
器が出力する最大値の入力順位と外部信号を少なくとも
入力信号とし前記画像信号メモリのアドレスを生成する
アドレス生成回路とから少なくとも構成されることを特
徴とするメジアンフィルタ。
(1) An image signal memory that stores digital image signals, a maximum value detector that detects the maximum value and its input order from among the time-series outputs of the image signal memory, and a maximum value that the maximum value detector outputs. 1. A median filter comprising at least an address generation circuit that takes at least an input order of input signals and an external signal as an input signal and generates an address of the image signal memory.
(2)ディジタル画像信号を記憶する画像信号メモリと
、前記画像信号メモリの時系列出力の中から最小値とそ
の入力順位を検出する最小値検出器と、前記最小値検出
器が出力する最小値の入力順位と外部信号を少なくとも
入力信号とし前記画像信号メモリのアドレスを生成する
アドレス生成回路とから少なくとも構成されることを特
徴とするメジアンフィルタ。
(2) an image signal memory that stores a digital image signal; a minimum value detector that detects a minimum value and its input order from among the time-series outputs of the image signal memory; and a minimum value that the minimum value detector outputs; 1. A median filter comprising at least an address generation circuit that takes at least an input order of input signals and an external signal as an input signal and generates an address of the image signal memory.
(3)ディジタル画像信号を記憶する画像信号メモリと
、前記画像信号メモリの時系列出力と後でのべる先入れ
先出しメモリの時系列出力とのどちらか1方を選択する
第1の選択器と、前記第1の選択器の時系列出力の中か
ら最大値とその入力順位を検出する最大値検出器と、前
記最大値検出器が出力する最大値と一時記憶する先入れ
先出しメモリと、前記最大値検出器が出力する最大値の
入力順位と、外部信号を少なくとも入力信号とし前記画
像信号メモリのアドレスを生成するアドレス生成回路と
から少なくとも構成されることを特徴とする2次元メジ
アンフィルタ。
(3) an image signal memory that stores digital image signals; a first selector that selects one of the time-series output of the image signal memory and the time-series output of the first-in, first-out memory to be described later; a maximum value detector that detects the maximum value and its input order from the time series output of the selector No. 1; a first-in, first-out memory that temporarily stores the maximum value output from the maximum value detector; A two-dimensional median filter comprising at least an input order of a maximum value to be output, and an address generation circuit that uses at least an external signal as an input signal and generates an address of the image signal memory.
(4)ディジタル画像信号を記憶する画像信号メモリと
、前記画像信号メモリの時系列出力と後でのべる先入れ
先出しメモリの時系列出力とのどちらか1方を選択する
第1の選択器と、前記第1の選択器の時系列出力の中か
ら最小値とその入力順位を検出する最小値検出器と、前
記最小値検出器が出力する最小値と1時記憶する先入れ
先出しメモリと、前記最小値検出器が出力する最小値の
入力順位と、外部信号を少なくとも入力信号とし前記画
像信号メモリのアドレスを生成するアドレス生成回路と
から少なくとも構成されることを特徴とする2次元メジ
アンフィルタ。
(4) an image signal memory that stores digital image signals; a first selector that selects one of the time-series output of the image signal memory and the time-series output of the first-in, first-out memory to be described later; a minimum value detector for detecting the minimum value and its input order from among the time series outputs of the selector No. 1; a first-in, first-out memory for storing the minimum value output from the minimum value detector; and the minimum value detector; A two-dimensional median filter comprising at least an input order of the minimum value outputted by the filter, and an address generation circuit that uses at least an external signal as an input signal and generates an address of the image signal memory.
(5)ディジタル画像信号を記憶する画像信号メモリと
、前記画像信号メモリの時系列出力と後でのべる複数個
の先入れ先出しメモリの出力の中のどれか1つを選択す
る第1の選択器と、前記第1の選択器の時系列出力の中
から最大値とその入力順位を検出する最大値検出器と、
前記最大値検出器が出力する最大値を記憶する複数個の
先入れ先出しメモリと、前記最大値検出器が出力する最
大値の入力順位に従って前記先入れ先出しメモリの記憶
内容の一部をリセットする制御回路と前記最大値検出器
が出力する最大値の入力順位と、外部信号と少なくとも
入力信号とし前記画像信号メモリのアドレスを生成する
アドレス生成回路とから少なくとも構成されることを特
徴とする2次元メジアンフィルタ。
(5) an image signal memory that stores a digital image signal; a first selector that selects one of the time-series output of the image signal memory and the output of a plurality of first-in, first-out memories to be described later; a maximum value detector that detects the maximum value and its input order from among the time-series outputs of the first selector;
a plurality of first-in, first-out memories that store the maximum values output by the maximum value detector; a control circuit that resets a part of the stored contents of the first-in, first-out memories according to the input order of the maximum values output by the maximum value detector; A two-dimensional median filter comprising at least an input order of a maximum value output by a maximum value detector, an external signal, and an address generation circuit that uses at least an input signal to generate an address of the image signal memory.
(6)ディジタル画像信号を記憶する画像信号メモリと
、前記画像信号メモリの時系列出力と複数個の先入れ先
出しメモリの出力の中のどれか1つを選択する第1の選
択器と、前記第1の選択器の時系列出力の中から最小値
とその入力順位を検出する最小値検出器と、前記最小値
検出器が出力する最小値と記憶する複数個の先入れ先出
しメモリと、前記最小値検出器が出力する最小値の入力
順位に従って、前記先入れ先出しメモリの記憶内容の一
部とリセットする制御回路と前記最小値検出器が出力す
る最小値の入力順位を、外部信号を少なくとも入力信号
とし前記画像信号メモリのアドレスを生成するアドレス
生成回路とから少なくとも構成されることを特徴とする
2次元メジアンフィルタ。
(6) an image signal memory that stores a digital image signal; a first selector that selects one of the time-series output of the image signal memory and the output of a plurality of first-in, first-out memories; a minimum value detector for detecting the minimum value and its input order from among the time series outputs of the selector; a plurality of first-in, first-out memories for storing the minimum value output by the minimum value detector; and the minimum value detector. A control circuit resets a part of the stored contents of the first-in-first-out memory according to the input order of the minimum value output by the minimum value detector, and the input order of the minimum value output by the minimum value detector is determined by using an external signal as at least the input signal and the image signal. A two-dimensional median filter comprising at least an address generation circuit that generates a memory address.
(7)ディジタル画像信号を記憶する画像信号メモリと
、前記画像信号メモリの時系列出力と後じ述べる先入れ
先出しメモリ出力のどちらか1方を選択する選択器と、
前記選択器の時系列出力の中から最小値または最大値を
検出する最小値最大値検出器と、前記最小値最大値検出
器が出力する最小値または最大値を記憶する先入れ先出
しメモリと、外部信号を少なくとも入力信号とし、前記
画像信号メモリのアドレスを生成するアドレス生成回路
とから少なくとも構成されることを特徴とする2次元メ
ジアンフィルタ。
(7) an image signal memory that stores digital image signals, and a selector that selects either a time-series output of the image signal memory or a first-in first-out memory output described later;
a minimum value maximum value detector for detecting the minimum value or maximum value from the time series output of the selector; a first-in first-out memory storing the minimum value or maximum value output by the minimum value maximum value detector; and an external signal. A two-dimensional median filter, characterized in that it is configured of at least an address generation circuit that takes at least an input signal as an input signal and generates an address of the image signal memory.
JP63011365A 1988-01-19 1988-01-19 Two-dimensional median filter Pending JPH01184587A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63011365A JPH01184587A (en) 1988-01-19 1988-01-19 Two-dimensional median filter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63011365A JPH01184587A (en) 1988-01-19 1988-01-19 Two-dimensional median filter

Publications (1)

Publication Number Publication Date
JPH01184587A true JPH01184587A (en) 1989-07-24

Family

ID=11776000

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63011365A Pending JPH01184587A (en) 1988-01-19 1988-01-19 Two-dimensional median filter

Country Status (1)

Country Link
JP (1) JPH01184587A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05128253A (en) * 1991-10-31 1993-05-25 Kawasaki Steel Corp Two-dimensional sequence filter circuit

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58215175A (en) * 1982-06-08 1983-12-14 Sony Corp Filtering device
JPS58222341A (en) * 1982-06-18 1983-12-24 Fujitsu Ltd Median filter circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58215175A (en) * 1982-06-08 1983-12-14 Sony Corp Filtering device
JPS58222341A (en) * 1982-06-18 1983-12-24 Fujitsu Ltd Median filter circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05128253A (en) * 1991-10-31 1993-05-25 Kawasaki Steel Corp Two-dimensional sequence filter circuit

Similar Documents

Publication Publication Date Title
US4464789A (en) Image analyzer for processing multiple frames of image data
US4369430A (en) Image analyzer with cyclical neighborhood processing pipeline
US4800425A (en) System for displacement vector searching during digital image analysis
US7660486B2 (en) Method and apparatus of removing opaque area as rescaling an image
US6199084B1 (en) Methods and apparatus for implementing weighted median filters
JPH0944356A (en) Processor and data processor
US4546433A (en) Arrangement for processing data in a two-dimensional array
JP4659793B2 (en) Image processing apparatus and image processing method
JP6970827B2 (en) Arithmetic processing unit
CN108198125B (en) Image processing method and device
US7050647B2 (en) Median filter
US7479996B2 (en) Noise eliminating device and method therefor
JPH01184587A (en) Two-dimensional median filter
JP2702930B2 (en) Filtering method
CN101562691A (en) Image processing device and method
JP4323663B2 (en) Image filter circuit and image filtering method
JP2924528B2 (en) Labeling processing method and labeling processing apparatus
JP2574563B2 (en) filter
JP3320767B2 (en) Data processing apparatus and control method thereof
JP2806436B2 (en) Arithmetic circuit
JPH0320880A (en) Conversion circuit
JP2697679B2 (en) Dither image display device
JP2617135B2 (en) Labeling device for connected areas
JPH0773319A (en) Image processor
CN117909266A (en) Data selection method, device, circuit and equipment