[go: up one dir, main page]

JPH11126155A - Data sorting device and filter device using the same - Google Patents

Data sorting device and filter device using the same

Info

Publication number
JPH11126155A
JPH11126155A JP28945997A JP28945997A JPH11126155A JP H11126155 A JPH11126155 A JP H11126155A JP 28945997 A JP28945997 A JP 28945997A JP 28945997 A JP28945997 A JP 28945997A JP H11126155 A JPH11126155 A JP H11126155A
Authority
JP
Japan
Prior art keywords
data
rearranging
input
output
circuits
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
JP28945997A
Other languages
Japanese (ja)
Inventor
Satoshi Yonetani
聡 米谷
Masaki Hirose
正樹 広瀬
Yuichi Kojima
雄一 小島
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP28945997A priority Critical patent/JPH11126155A/en
Publication of JPH11126155A publication Critical patent/JPH11126155A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

(57)【要約】 【課題】 任意の入力データ数に容易に対応でき、かつ
ハードウェア量が少ないデータ並べ替え装置および該装
置を使用したフィルタ装置を提供すること。 【解決手段】 データ並べ替え装置において、2つのデ
ータを入力して、大きい方のデータを一方の出力端子に
出力し、小さな方のデータを他方の出力端子に出力する
データ並べ替え回路10〜12を複数個設け、これを必
要に応じて複数段縦続接続する。また、該データ並べ替
え装置を使用して例えば中央値を出力するメディアンフ
ィルタ装置を構成可能である。本発明においては、任意
の入力データ数のデータ並べ替え装置およびフィルタ装
置を容易に実現可能となり、かつハードウェア量も小さ
く抑えることができる。
(57) [Problem] To provide a data rearranging apparatus which can easily cope with an arbitrary number of input data and has a small hardware amount, and a filter apparatus using the apparatus. SOLUTION: In a data rearranging device, two data are inputted, a larger data is outputted to one output terminal, and a smaller data is outputted to the other output terminal. Are provided, and these are connected in cascade in a plurality of stages as required. Further, it is possible to configure a median filter device that outputs, for example, a median using the data sorting device. In the present invention, a data rearrangement device and a filter device of an arbitrary number of input data can be easily realized, and the amount of hardware can be reduced.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はデータ並べ替え装置
および該装置を使用したフィルタ装置に関し、特に、任
意の入力データ数に対して容易に構成可能であり、かつ
ハードウェア量が少ないデータ並べ替え装置および該装
置を使用したフィルタ装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data rearranging apparatus and a filter apparatus using the same, and more particularly to a data rearranging apparatus which can be easily configured for an arbitrary number of input data and has a small hardware amount. The present invention relates to a device and a filter device using the device.

【0002】[0002]

【従来の技術】従来、信号処理の分野においては線形フ
ィルタが用いられていたが、線形フィルタには幾つかの
点で限界があるために、特にノイズ除去等の分野におい
て非線形フィルタが多く用いられていた。非線形フィル
タの中で多く用いられているものには、例えば入力信号
系列の中央値を出力するメディアンフィルタや、データ
値の大きさの順位に対応した重み付け係数を乗算して加
算する順序統計フィルタ等がある。これらのフィルタは
いずれも値の大きさに応じて複数の入力データの並べ替
えを行うことが前提となる。
2. Description of the Related Art Conventionally, linear filters have been used in the field of signal processing. However, since linear filters have limitations in several points, non-linear filters are often used especially in the field of noise removal and the like. I was Among the non-linear filters that are often used are, for example, a median filter that outputs the median value of an input signal sequence, and an order statistical filter that multiplies and adds a weighting coefficient corresponding to the rank of data value. There is. These filters are premised on rearranging a plurality of input data according to the magnitude of the value.

【0003】図7は、前記したフィルタ装置に使用され
る従来のデータ並べ替え装置の回路構成を示すブロック
図である。入力端子S11〜S13に入力される複数
(図7においては3個)の入力データは2個づつ組み合
わされて比較回路80、81、82によってその大小が
判定され、データセレクタ制御信号発生回路83は、比
較回路80、81、82の出力情報から全体のデータ順
位を決定し、データセレクタ84、85、86の選択制
御信号を生成する。データセレクタ84、85、86は
入力データ中から所望のデータを選択して、出力端子S
41〜S43に出力する。一般には、データ数をn個と
すると、比較回路がnC2個、n入力データセレクタが
n個必要となる。
FIG. 7 is a block diagram showing a circuit configuration of a conventional data rearranging device used in the above-described filter device. A plurality of (three in FIG. 7) input data input to the input terminals S11 to S13 are combined two by two, and the magnitudes thereof are determined by the comparison circuits 80, 81, and 82. The data selector control signal generation circuit 83 , The overall data order is determined from the output information of the comparison circuits 80, 81 and 82, and the selection control signals for the data selectors 84, 85 and 86 are generated. The data selectors 84, 85, 86 select desired data from the input data, and
It outputs to 41-S43. In general, if the number of data is n, nC2 comparison circuits and n input data selectors are required.

【0004】[0004]

【発明が解決しようとする課題】一般に、メディアンフ
ィルタや順序統計フィルタの入力データ数は、画像であ
れば最低3×3=9個程度ないと効果が出ず、また荷重
メディアンフィルタのように、更に多くの入力データを
必要とするものもある。ところが、前記したような従来
のデータ並べ替え装置においては、入力データ数nが比
較的少ない場合には簡単な構成で並べ替えが可能である
が、nが大きくなると、データセレクタ制御信号発生回
路83の回路規模が大きくなり、かつ、nに応じて個別
の設計が必要となるという問題点があった。本発明の目
的は、前記のような従来技術の問題点を解決し、任意の
入力データ数に容易に対応でき、かつハードウェア量が
少ないデータ並べ替え装置および該装置を使用したフィ
ルタ装置を提供することにある。
In general, the number of input data of the median filter and the order statistical filter is at least 3 × 3 = 9 in the case of an image, and the effect is not obtained unless the number is nine. Some require more input data. However, in the above-described conventional data rearranging apparatus, when the number n of input data is relatively small, rearrangement can be performed with a simple configuration. However, when n is large, the data selector control signal generation circuit 83 However, there is a problem that the circuit scale of the above becomes large and individual design is required according to n. SUMMARY OF THE INVENTION It is an object of the present invention to provide a data rearranging apparatus which solves the above-mentioned problems of the prior art, can easily cope with an arbitrary number of input data, and has a small amount of hardware, and a filter apparatus using the apparatus. Is to do.

【0005】[0005]

【課題を解決するための手段】本発明は、データ並べ替
え装置において、2つのデータを入力して、大きい方の
データを一方の出力端子に出力し、小さな方のデータを
他方の出力端子に出力するデータ並べ替え回路を複数個
設け、これを複数段縦続接続したことを特徴とし、また
該データ並べ替え装置を使用したフィルタ装置にも特徴
がある。本発明においては、同一構成の2入力データ並
べ替え回路を複数個組み合わせることにより、任意の入
力データ数のデータ並べ替え装置および該データ並べ替
え装置を使用したフィルタ装置を容易に実現することが
できる。
According to the present invention, in a data rearranging apparatus, two data are inputted, a larger data is outputted to one output terminal, and a smaller data is outputted to the other output terminal. It is characterized in that a plurality of data rearranging circuits to be output are provided, and a plurality of these data rearranging circuits are cascaded, and a filter device using the data rearranging device is also characterized. In the present invention, by combining a plurality of two-input data rearranging circuits having the same configuration, a data rearranging device having an arbitrary number of input data and a filter device using the data rearranging device can be easily realized. .

【0006】[0006]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して詳細に説明する。図1は、本発明のデータ並
べ替え装置の構成を示すブロック図である。図1におい
ては、入力データ数を3とし、各データは入力端子S1
1〜S13から入力される。図1のデータ並べ替え装置
は同一構成の3つの2入力データ並べ替え回路10〜1
2から成っている。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the data sorting device of the present invention. In FIG. 1, the number of input data is 3, and each data is input terminal S1.
1 to S13. The data rearranging apparatus of FIG. 1 includes three two-input data rearranging circuits 10 to 1 having the same configuration.
Consists of two.

【0007】データ並べ替え回路10〜12は、例えば
比較回路20、2つのデータセレクタ回路21、22、
インバータ23から成っている。比較回路20は2つの
入力データを比較し、例えば上側(S11)の入力デー
タの方が値が大きい場合に”1”を出力し、そうでない
場合には”0”を出力する。2つのデータセレクタ2
1、22は共に制御端子が”0”である場合には上側
(S11)の入力データを出力し、制御端子が”1”で
ある場合には下側(S12)の入力データを出力する。
The data rearranging circuits 10 to 12 include, for example, a comparison circuit 20, two data selector circuits 21, 22,
It consists of an inverter 23. The comparison circuit 20 compares the two input data, and outputs “1” when the value of the input data on the upper side (S11) is larger, and outputs “0” otherwise. Two data selectors 2
When the control terminal is "0", the output data of the upper side (S11) are output when the control terminal is "1", and when the control terminal is "1", the input data of the lower side (S12) is output.

【0008】データセレクタ22の制御端子にはインバ
ータ23を介して制御信号が入力されているので、結
局、値の小さな入力データが端子S21に出力され、値
の大きな入力データが端子S22に出力されることにな
る。他の並べ替え回路11、12も同様に上側の出力端
子に値の小さなデータが、また下側の出力端子に値の大
きなデータが出力される。
Since a control signal is input to the control terminal of the data selector 22 via the inverter 23, the input data having a small value is output to the terminal S21 and the input data having a large value is output to the terminal S22. Will be. Similarly, the other rearranging circuits 11 and 12 output data having a small value to the upper output terminal and data having a large value to the lower output terminal.

【0009】次段のデータ並べ替え回路11の上側入力
端子には、データ並べ替え回路10の大きい値を出力す
る出力端子(以下(大)出力端子と記す。)S22が接
続され、他方の下側入力端子は装置の入力端子S13に
接続される。3段目のデータ並べ替え回路12の上側入
力端子には1段目のデータ並べ替え回路10の(小)出
力端子S21が接続され、下側入力端子には2段目のデ
ータ並べ替え回路11の(大)出力端子S32が接続さ
れる。
An output terminal (hereinafter, referred to as a (large) output terminal) S22 for outputting a large value of the data rearranging circuit 10 is connected to an upper input terminal of the data rearranging circuit 11 at the next stage, and the other lower side. The side input terminal is connected to the input terminal S13 of the device. The (low) output terminal S21 of the first-stage data rearranging circuit 10 is connected to the upper input terminal of the third-stage data rearranging circuit 12, and the second-stage data rearranging circuit 11 is connected to the lower input terminal. (Large) output terminal S32 is connected.

【0010】次に、動作を説明する。図1において、例
えば入力端子S11に”3”、S12に”2”、S13
に”1”が入力されたものとする(図1において括弧で
表示)。第1段目のデータ並べ替え回路10の比較回路
20からは”1”が出力され、データセレクタ21から
は”2”が、またデータセレクタ22からは”3”が出
力される。第2段目のデータ並べ替え回路11において
は、”3”と”1”が入力され、上側の(小)出力端子
S32に”1”が、また下側の(大)出力端子S43
に”3”が出力される。第3段目のデータ並べ替え回路
12においては、”2”と”1”が入力され、上側の
(小)出力端子S41に”1”が、また下側の(大)出
力端子S42に”2”が出力される。以上のような動作
によって、出力端子S41〜S43に値の小さな順に”
1”から”3”が出力される。図2は、データ並べ替え
回路の他の実施例の構成を示すブロック図である。図1
に示したデータ並べ替え回路10においてはインバータ
23を使用しているが、図2に示したデータ並べ替え回
路30においてはデータセレクタ32とデータセレクタ
33の入力端子への接続をそれぞれ逆にすることによっ
てインバータを省略し、比較回路31の出力信号を直接
2つのデータセレクタの制御端子に入力している。
Next, the operation will be described. In FIG. 1, for example, "3" is input to the input terminal S11, "2" is input to S12, and S13 is input.
It is assumed that “1” has been input to the key (indicated by parentheses in FIG. 1). “1” is output from the comparison circuit 20 of the first-stage data rearrangement circuit 10, “2” is output from the data selector 21, and “3” is output from the data selector 22. In the second-stage data rearranging circuit 11, "3" and "1" are input, "1" is inputted to the upper (small) output terminal S32, and "1" is outputted to the lower (large) output terminal S43.
Is output as "3". In the third-stage data rearrangement circuit 12, "2" and "1" are input, "1" is input to the upper (small) output terminal S41, and "1" is input to the lower (large) output terminal S42. 2 "is output. By the operation as described above, the output terminals S41 to S43 are arranged in the order of smaller values.
2 is a block diagram showing the configuration of another embodiment of the data rearranging circuit.
In the data rearrangement circuit 10 shown in FIG. 2, the inverter 23 is used. In the data rearrangement circuit 30 shown in FIG. 2, the connections of the data selector 32 and the data selector 33 to the input terminals are reversed. Thus, the inverter is omitted, and the output signal of the comparison circuit 31 is directly input to the control terminals of the two data selectors.

【0011】図3は、データ並べ替え装置の第2の実施
例の構成を示すブロック図である。この実施例は、図1
に示した第1の実施例に、更にD型フリップフロップ
(FF)を付加し、高速動作あるいはパイプライン動作
を可能にしたものである。図1に示した第1の実施例に
おいては、最終段の出力端子からデータが出力されるま
で初段の入力データを保持しておく必要がある。しか
し、図3に示した第2の実施例においては、各段の間に
データをラッチするためのD型FF43〜48を設け、
例えば1つのデータ並べ替え回路40の演算時間を周期
とするクロック信号でラッチすることにより、クロック
周期でデータを入力し、かつ並べ替えた結果を得ること
ができる。なお、図3において必要に応じて入力端およ
び出力端にもD型FFを設けてもよい。
FIG. 3 is a block diagram showing the configuration of a second embodiment of the data rearranging apparatus. This embodiment is shown in FIG.
A D-type flip-flop (FF) is added to the first embodiment shown in FIG. 1 to enable high-speed operation or pipeline operation. In the first embodiment shown in FIG. 1, it is necessary to hold input data of the first stage until data is output from the output terminal of the last stage. However, in the second embodiment shown in FIG. 3, D-type FFs 43 to 48 for latching data are provided between the stages,
For example, by latching with a clock signal whose period is the operation time of one data rearranging circuit 40, data can be input at the clock period and a rearranged result can be obtained. In FIG. 3, D-type FFs may be provided at the input terminal and the output terminal as needed.

【0012】図4は、データ並べ替え装置の第3の実施
例の構成を示すブロック図である。この実施例は入力デ
ータ数が4である場合のデータ並べ替え装置の構成例で
あり、各データ並べ替え回路50〜55の構成は図1あ
るいは図2に示した第1の実施例と同一である。同一段
内で上下に隣接する2つのデータ並べ替え回路(例えば
50、51)において、一方のデータ並べ替え回路(5
0)の一方(下側)の出力端子及び他方のデータ並べ替
え回路(51)の他方(上側)の出力端子が次段の1つ
のデータ並べ替え回路(52)の入力端子とそれぞれ接
続されるように、各データ並べ替え回路50〜55が複
数段縦続接続される。
FIG. 4 is a block diagram showing the configuration of a third embodiment of the data sorting apparatus. This embodiment is a configuration example of a data rearranging device when the number of input data is 4, and the configuration of each data rearranging circuit 50 to 55 is the same as that of the first embodiment shown in FIG. 1 or FIG. is there. In two vertically arranged data rearranging circuits (for example, 50 and 51) in the same stage, one data rearranging circuit (5
0) and the other (upper) output terminal of the other data rearranging circuit (51) are connected to the input terminal of one data rearranging circuit (52) in the next stage, respectively. As described above, the data rearranging circuits 50 to 55 are cascade-connected in a plurality of stages.

【0013】この実施例において、例えば各入力端子に
上から順に”4”から”1”までの値が入力された場合
には、図4に括弧書きで示すように、1段目のデータ並
べ替え回路50、51の出力が上から順に”3、4、
1、2”となる。以下同様に、2段目の出力が上から順
に”3、1、4、2”、3段目の出力が上から順に”
1、3、2、4”、4段目の出力が上から順に”1、
2、3、4”となり、並び替えが完了する。
In this embodiment, for example, when values from "4" to "1" are sequentially input to each input terminal from the top, as shown in parentheses in FIG. The outputs of the replacement circuits 50 and 51 are “3, 4,
1, 2 ". Similarly, the output of the second stage is" 3, 1, 4, 2 "in order from the top, and the output of the third stage is" in order from the top. "
1, 3, 2, 4 ", the output of the fourth stage is" 1,
2, 3, 4 ", and the rearrangement is completed.

【0014】一般的に、入力データ数nが偶数である場
合には、偶数段にはn/2個、奇数段にはn/2−1個
のデータ並べ替え回路を使用し、並べ替え回路をn段縦
続接続する。従って、必要とするデータ並べ替え回路の
数は、(n/2)*(n/2)+(n/2-1)*(n/2)=(n-1)*(n/2)とな
り、図4の例ではn=4であるので回路数は6となる。
In general, when the input data number n is an even number, n / 2 data rearranging circuits are used for even-numbered stages and n / 22-1 data rearranging circuits are used for odd-numbered stages. Are cascaded for n stages. Therefore, the number of required data rearrangement circuits is (n / 2) * (n / 2) + (n / 2-1) * (n / 2) = (n-1) * (n / 2) In the example of FIG. 4, since n = 4, the number of circuits is 6.

【0015】図5は、データ並べ替え装置の第4の実施
例の構成を示すブロック図である。この実施例は入力デ
ータ数が9である場合のデータ並べ替え装置の構成例で
あり、各データ並べ替え回路60の構成は図1あるいは
図2に示した第1の実施例と同一である。また、各デー
タ並べ替え回路60は、図4に示した第3の実施例と同
様の規則に従って複数段縦続接続される。
FIG. 5 is a block diagram showing the configuration of a fourth embodiment of the data sorting apparatus. This embodiment is a configuration example of a data rearranging apparatus when the number of input data is 9, and the configuration of each data rearranging circuit 60 is the same as that of the first embodiment shown in FIG. 1 or FIG. Further, the data rearranging circuits 60 are cascaded in a plurality of stages according to the same rules as in the third embodiment shown in FIG.

【0016】この実施例において、例えば各入力端子に
上から順に”9”から”1”までの値が入力された場合
の各データ並べ替え回路の入出力値を図5に括弧書きで
示す。最終的には、9段目の出力が上から順に”1、
2、…、9”となり、並び替えが完了する。一般的に、
入力データ数nが奇数である場合には、各段には(n−
1)/2個のデータ並べ替え回路を使用し、並べ替え回
路をn段縦続接続する。従って、必要とするデータ並べ
替え回路の数は、n*(n-1)/2となり、図5の例ではn=
9であるので回路数は36となる。
In this embodiment, input / output values of each data rearranging circuit when values from "9" to "1" are input to each input terminal in order from the top are shown in parentheses in FIG. Finally, the output of the ninth stage is “1,
2, ..., 9 ", and the rearrangement is completed. Generally,
If the input data number n is an odd number, (n-
1) Using two data rearranging circuits, cascading the rearranging circuits in n stages. Therefore, the required number of data rearranging circuits is n * (n-1) / 2, and in the example of FIG.
Since the number is 9, the number of circuits is 36.

【0017】図6は、本発明のデータ並べ替え装置を使
用したフィルタ装置の構成を示すブロック図である。こ
の実施例は、例えばデジタル化したNTSC信号のよう
なラスタースキャン方式の画像信号を入力し、所定の範
囲(3×3)中の画素データの中央値(値を順に並べた
場合の中間順位の値)を出力するメディアン(medi
an)フィルタ装置である。
FIG. 6 is a block diagram showing the configuration of a filter device using the data sorting device of the present invention. In this embodiment, for example, an image signal of a raster scan system such as a digitized NTSC signal is input, and the median value of pixel data within a predetermined range (3 × 3) Median that outputs a value
an) Filter device.

【0018】図6のフィルタ装置は、入力画像信号を所
定量だけ遅延させ、所望の画素データを得る信号遅延回
路部分と、複数の入力信号から中央値を選別するデータ
並べ替え装置部分の2つに分けることができる。信号遅
延回路部分は、信号を1画素分遅延させるD型FF回路
71、72、74、75、77、78を6個、および信
号を1ライン分(正確には1ライン−2画素分)遅延さ
せる1ライン遅延回路73、76を2個含み、3行×3
列の9画素分のデータを並列に出力する。
The filter device shown in FIG. 6 includes a signal delay circuit portion for delaying an input image signal by a predetermined amount to obtain desired pixel data, and a data rearranging device portion for selecting a median value from a plurality of input signals. Can be divided into The signal delay circuit portion includes six D-type FF circuits 71, 72, 74, 75, 77, and 78 for delaying the signal by one pixel, and delaying the signal by one line (more precisely, one line and two pixels). 3 lines × 3
Data for nine pixels in a column is output in parallel.

【0019】データ並べ替え装置部分は、図5に示した
9入力のデータ並べ替え装置と類似に構成されている。
しかし、データ並べ替え回路の内、7段目の最上部の1
個、8段目の上下の2個、9段目の上部の2個および下
部の1個の合計6個は中央値(大きさの順位が5番目の
データ値)の選別に関与しないので省略されている。従
って、データ並べ替え回路数は30となる。なお、当実
施例において、図3に示したようなラッチ回路を付加し
てもよい。また、順序統計フィルタを構成する場合に
は、データ並べ替え装置の後にそれぞれ重み付け係数を
乗算する乗算回路および加算器を付加すればよい。
The data rearranging unit is constructed similarly to the 9-input data rearranging unit shown in FIG.
However, in the data rearrangement circuit, the uppermost 1 in the seventh stage
, The upper and lower two in the eighth row, the upper two in the ninth row, and the lower one, a total of six are omitted because they are not involved in the selection of the median (the fifth data value in the order of magnitude). Have been. Therefore, the number of data rearrangement circuits is 30. In this embodiment, a latch circuit as shown in FIG. 3 may be added. When an order statistical filter is configured, a multiplying circuit and an adder for multiplying each of the weighting coefficients may be added after the data rearranging device.

【0020】以上、実施例について開示したが、以下に
述べるような変形例も考えられる。実施例としてはパラ
レルデータを入力する例を開示したが、例えば各入力デ
ータをシリアルに入力し、データ並べ替え回路内の比較
回路において上位から1ビットづつ比較していくように
してもよい。このようにすると処理時間はかかるが、ハ
ードウェア量はパラレル処理の場合より減少する。応用
例としては画像データの中央値を出力するメディアンフ
ィルタの例を開示したが、図6に示した実施例と類似の
構成で、最大値や最小値を始め、任意の順位のデータを
出力することが可能である。また抽出したい窓に対応し
た遅延回路を使用することにより、通信や情報記録に関
する任意の種類の信号に対応するフィルタ処理が可能で
ある。
Although the embodiments have been disclosed above, the following modifications are also conceivable. Although an example in which parallel data is input has been disclosed as an embodiment, for example, each input data may be input serially, and a comparison circuit in a data rearranging circuit may compare one bit at a time from the upper bit. In this case, processing time is required, but the amount of hardware is smaller than in the case of parallel processing. As an application example, an example of a median filter that outputs a median value of image data has been disclosed. However, with a configuration similar to the embodiment shown in FIG. 6, data of an arbitrary order including a maximum value and a minimum value is output. It is possible. Further, by using a delay circuit corresponding to a window to be extracted, it is possible to perform a filtering process corresponding to an arbitrary type of signal relating to communication and information recording.

【0021】[0021]

【発明の効果】以上述べたように、本発明においては、
同一構成の2入力のデータ並べ替え回路を複数個組み合
わせることにより、従来入力データ数の増加に伴って回
路規模が急増し、かつ入力数に応じて個別の設計が必要
であったデータセレクタ制御信号発生回路が不要とな
り、任意の入力データ数のデータ並べ替え装置を容易に
実現でき、かつハードウェア量も小さく抑えることがで
きるという効果がある。また該データ並べ替え装置を使
用して、例えばメディアンフィルタや順序統計フィルタ
等の非線形フィルタ装置を容易に実現可能であるという
効果もある。
As described above, in the present invention,
By combining a plurality of two-input data rearranging circuits having the same configuration, a data selector control signal which conventionally required a sudden increase in the circuit scale with an increase in the number of input data and a separate design according to the number of inputs was required. There is an effect that a generation circuit is not required, a data rearrangement device having an arbitrary number of input data can be easily realized, and the amount of hardware can be reduced. There is also an effect that a nonlinear filter device such as a median filter or an order statistical filter can be easily realized by using the data rearrangement device.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明のデータ並べ替え装置の構成を示すブロ
ック図である。
FIG. 1 is a block diagram illustrating a configuration of a data rearranging apparatus according to the present invention.

【図2】データ並べ替え回路の他の実施例を示すブロッ
ク図である。
FIG. 2 is a block diagram showing another embodiment of the data rearranging circuit.

【図3】データ並べ替え装置の第2の実施例を示すブロ
ック図である。
FIG. 3 is a block diagram showing a second embodiment of the data sorting apparatus.

【図4】データ並べ替え装置の第3の実施例を示すブロ
ック図である。
FIG. 4 is a block diagram showing a third embodiment of the data sorting apparatus.

【図5】データ並べ替え装置の第4の実施例を示すブロ
ック図である。
FIG. 5 is a block diagram showing a fourth embodiment of the data sorting apparatus.

【図6】本発明のデータ並べ替え装置を使用したフィル
タ装置の構成を示すブロック図である。
FIG. 6 is a block diagram showing a configuration of a filter device using the data sorting device of the present invention.

【図7】従来のデータ並べ替え装置の回路構成を示すブ
ロック図である。
FIG. 7 is a block diagram showing a circuit configuration of a conventional data rearranging device.

【符号の説明】[Explanation of symbols]

10、11、12、30、40〜42、50〜55、6
0、70…データ並べ替え回路、20…比較回路、2
1、22、32、33…データセレクタ、23…インバ
ータ、43〜48、71、72、74、75、77、7
8…D型フリップフロップ、73、76…1ライン遅延
回路
10, 11, 12, 30, 40 to 42, 50 to 55, 6
0, 70: data rearranging circuit, 20: comparing circuit, 2
1, 22, 32, 33 ... data selector, 23 ... inverter, 43 to 48, 71, 72, 74, 75, 77, 7
8 ... D-type flip-flop, 73, 76 ... 1 line delay circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 2つのデータを入力し、データ値の大き
さを比較して、大きい方のデータを一方の出力端子に出
力し、小さな方のデータを他方の出力端子に出力するデ
ータ並べ替え回路を複数個設け、 隣接する2つのデータ並べ替え回路において、一方のデ
ータ並べ替え回路の前記大きい方のデータを出力する一
方の出力端子及び他方のデータ並べ替え回路の前記小さ
な方のデータを出力する他方の出力端子が次段の1つの
データ並べ替え回路の入力端子とそれぞれ接続されるよ
うに、データ並べ替え回路を複数段縦続接続したことを
特徴とするデータ並べ替え装置。
1. Data rearrangement in which two data are input, the magnitudes of data values are compared, the larger data is output to one output terminal, and the smaller data is output to the other output terminal. A plurality of circuits are provided, and in two adjacent data rearranging circuits, one output terminal for outputting the larger data of one data rearranging circuit and the smaller data of the other data rearranging circuit are output. A data rearranging circuit connected in cascade in a plurality of stages such that the other output terminal to be connected is connected to the input terminal of one data rearranging circuit in the next stage.
【請求項2】 データ数nが偶数である場合には、偶数
段にはn/2個、奇数段にはn/2−1個のデータ並べ
替え回路を使用し、前記並べ替え回路をn段縦続接続
し、データ数nが奇数である場合には、各段には(n−
1)/2個のデータ並べ替え回路を使用し、前記並べ替
え回路をn段縦続接続したことを特徴とする請求項1に
記載のデータ並べ替え装置。
2. When the number of data n is an even number, n / 2 data rearranging circuits are used for even-numbered stages and n / 2-1 data rearranging circuits are used for odd-numbered stages. If the number of data n is odd, the (n−
2. The data rearranging apparatus according to claim 1, wherein 1) / 2 data rearranging circuits are used, and said rearranging circuits are cascaded by n stages.
【請求項3】 2つのデータを入力し、データ値の大き
さを比較して、大きい方のデータを一方の出力端子に出
力し、小さな方のデータを他方の出力端子に出力するデ
ータ並べ替え回路を複数個設け、 隣接する2つのデータ並べ替え回路において、一方のデ
ータ並べ替え回路の前記大きい方のデータを出力する一
方の出力端子及び他方のデータ並べ替え回路の前記小さ
な方のデータを出力する他方の出力端子が次段の1つの
データ並べ替え回路の入力端子とそれぞれ接続されるよ
うに、データ並べ替え回路を複数段縦続接続し、入力さ
れた複数のデータの内の大きさが所定の順位のデータを
出力するデータ並べ替え手段と、 前記データ並べ替え手段の各入力端子に所定の入力デー
タ系列を入力する信号遅延手段とを含むことを特徴とす
るフィルタ装置。
3. Data rearrangement in which two data are input, the data values are compared in size, the larger data is output to one output terminal, and the smaller data is output to the other output terminal. A plurality of circuits are provided, and in two adjacent data rearranging circuits, one output terminal for outputting the larger data of one data rearranging circuit and the smaller data of the other data rearranging circuit are output. The data rearranging circuits are cascaded in a plurality of stages such that the other output terminal to be connected is connected to the input terminal of one data rearranging circuit in the next stage, and the size of the plurality of input data is predetermined. And a signal delaying means for inputting a predetermined input data sequence to each input terminal of the data sorting means. The other apparatus.
JP28945997A 1997-10-22 1997-10-22 Data sorting device and filter device using the same Pending JPH11126155A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28945997A JPH11126155A (en) 1997-10-22 1997-10-22 Data sorting device and filter device using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28945997A JPH11126155A (en) 1997-10-22 1997-10-22 Data sorting device and filter device using the same

Publications (1)

Publication Number Publication Date
JPH11126155A true JPH11126155A (en) 1999-05-11

Family

ID=17743549

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28945997A Pending JPH11126155A (en) 1997-10-22 1997-10-22 Data sorting device and filter device using the same

Country Status (1)

Country Link
JP (1) JPH11126155A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7370046B2 (en) 2001-02-06 2008-05-06 Sony Corporation Sort processing method and sort processing apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7370046B2 (en) 2001-02-06 2008-05-06 Sony Corporation Sort processing method and sort processing apparatus

Similar Documents

Publication Publication Date Title
JPH06215129A (en) Rank order filter
KR20010033916A (en) Image processor
JP2003150957A (en) Median filter processing device
JPH11126155A (en) Data sorting device and filter device using the same
JPH10283342A (en) Wavelet transform device
JPH09284094A (en) Digital filter bank device and method of operating the same
CN1153946A (en) signal processing device
JPH0683787A (en) Parallel processor
JPH06169429A (en) Image data conversion circuit
JPH10509011A (en) Improved digital filter
JP2884571B2 (en) Digital signal processing circuit
JPH05134007A (en) Semiconductor integrated logic circuit
JP2864827B2 (en) Wavelet converter
JP3726971B2 (en) Parallel processor device
KR970008103B1 (en) 2-D digital filter
JP3243831B2 (en) FIR type filter
JPH0575394A (en) Digital filter and digital signal processing system
JP3034998B2 (en) Transversal filter system
US6697533B1 (en) Filtering circuit for image signal processing
JP2697679B2 (en) Dither image display device
CN121396143A (en) Interpolation filter circuit, circuit module and chip
JP2864828B2 (en) Wavelet converter
JPH04257024A (en) Root extracting device
JP2555966B2 (en) Digital adder circuit
JPH04100179A (en) Image processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040416

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060928

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061002

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061109

A131 Notification of reasons for refusal

Effective date: 20070123

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Effective date: 20070605

Free format text: JAPANESE INTERMEDIATE CODE: A02