Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0658686B2 - Image processing device - Google Patents
[go: Go Back, main page]

JPH0658686B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JPH0658686B2
JPH0658686B2 JP58020345A JP2034583A JPH0658686B2 JP H0658686 B2 JPH0658686 B2 JP H0658686B2 JP 58020345 A JP58020345 A JP 58020345A JP 2034583 A JP2034583 A JP 2034583A JP H0658686 B2 JPH0658686 B2 JP H0658686B2
Authority
JP
Japan
Prior art keywords
address
storage means
bias
read
image
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.)
Expired - Lifetime
Application number
JP58020345A
Other languages
Japanese (ja)
Other versions
JPS59149554A (en
Inventor
道隆 本田
千蔵 藤井
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP58020345A priority Critical patent/JPH0658686B2/en
Publication of JPS59149554A publication Critical patent/JPS59149554A/en
Publication of JPH0658686B2 publication Critical patent/JPH0658686B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/20Processor architectures; Processor configuration, e.g. pipelining
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/20Image enhancement or restoration using local operators
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/28Indexing scheme for image data processing or generation, in general involving image processing hardware

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Character Input (AREA)
  • Image Processing (AREA)
  • Character Discrimination (AREA)
  • Image Analysis (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は、画質の改善や協調,雑音除去,特徴の抽出
等に用いられる空間フィルタリング処理を行う画像処理
装置に関するものである。
Description: TECHNICAL FIELD The present invention relates to an image processing apparatus that performs spatial filtering processing used for image quality improvement, cooperation, noise removal, feature extraction, and the like.

〔発明の技術的背景とその問題点〕 一般に水平方向にNピクセル、垂直方向にMピクセルの
2次元領域から成るデイジタル画像Xに対し、(2K+
1)×(2L−1)マトリスクによる空間フイルタをか
けた後の処理画像Yは次式で表わすことができる。
[Technical Background of the Invention and its Problems] In general, for a digital image X that is composed of a two-dimensional area of N pixels in the horizontal direction and M pixels in the vertical direction, (2K +
The processed image Y after applying the spatial filter by 1) × (2L-1) matrisk can be expressed by the following equation.

ここで Xi,j; 原画像 Yi,j; 処理画像 (i=0,1,…,N j=0,1,…,M) Ck,l; フイルター係数 (k=−K,−K+1,…0,…,K l=−L,−L+1,…0,…,L) 上記(1)式においてフイルタ係数Ck,lの値を所定に設定
することによりハイパスフイルター,ローパスフイルタ
ー,バンドパスフイルターの如何なる形のフイルターを
も実現することができる。
Where Xi, j; original image Yi, j; processed image (i = 0,1, ..., Nj = 0,1, ..., M) Ck, l; filter coefficient (k = -K, -K + 1, ...) 0, ..., K1 = -L, -L + 1, ... 0, ..., L) In the above formula (1), by setting the value of the filter coefficient Ck, l to a predetermined value, a high-pass filter, a low-pass filter or a band-pass filter can be obtained. Any form of filter can be realized.

しかしながら、目的とするフイルターをかけるには(1)
式においてフイルターの大きさを決定する値K,Lを選
択する必要がある。たとえば,K=1,L=1と選択し
たとき3×3の大きさのフイルターができるが、この大
きさでは空間周波数上で急峻な肩特性を持つフイルター
の構成は困難である。従つて、急峻な特性を得たい場合
には7×7あるいは9×9等の大きさのフイルターが必
要となる。一方、あまり急峻な特性を必要としない場合
には3×3の特性で十分である。
However, to apply the desired filter (1)
In the equation, it is necessary to select the values K and L that determine the size of the filter. For example, when K = 1 and L = 1 are selected, a filter having a size of 3 × 3 is formed, but with this size, it is difficult to construct a filter having a sharp shoulder characteristic on the spatial frequency. Therefore, in order to obtain steep characteristics, a filter having a size of 7 × 7 or 9 × 9 is required. On the other hand, if the characteristic is not so steep, the characteristic of 3 × 3 is sufficient.

この様に、空間フイルターの適切にかつ効率よくかける
ためには、(1)式のK,Lの値を選択できる構造になつ
ていることが望ましく、また、フイルター係数Ck,lの値
も各画像毎に任意に設定できることが望ましい。
In this way, in order to apply the space filter properly and efficiently, it is desirable to have a structure in which the values of K and L in the equation (1) can be selected, and the values of the filter coefficient Ck, l are also different. It is desirable to be able to set arbitrarily for each image.

従来、フイルタの大きさの可変と、フイルタ係数Ck,lの
選択とは、ソフトウエアで行なわれており、このため演
算に要する時間かかるという欠点があつた。
Conventionally, the variable size of the filter and the selection of the filter coefficient Ck, l are performed by software, so that there is a drawback in that the calculation takes time.

〔発明の目的〕[Object of the Invention]

この発明は前記事情に鑑みて成されたものであり、画像
に対する空間フイルタリングをハードウエアで行うこと
により、演算所要時間を短縮することのできる画像処理
装置を提供することを目的とするものである。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an image processing apparatus capable of shortening the time required for calculation by performing spatial filtering on an image by hardware. is there.

〔発明の概要〕[Outline of Invention]

前記目的を達成するための本発明の概要は、複数の画素
がマトリクス配列してなる原画像に対しn×mマトリク
スによる空間フィルタリングをn×mステップの処理に
よって行う画像処理装置であって、原画像を記憶する第
1の記憶手段と、各ステップ毎の処理画像を記憶する第
2の記憶手段と、前記ステップに対応して決定されるバ
イアスアドレス信号を変化させることによりステップを
更新していき、各ステップにおいて、定常アドレス信号
を読み出す画素位置に対応して順次変更し、前記定常ア
ドレス信号に前記バイアスアドレス信号を加算して得ら
れた実効アドレスによって、前記第1の記録手段に記憶
された原画像を前記バイアスアドレスに対応した方向に
前記バイアスアドレスに対応した画素数平行移動して読
み出し制御すると共に、前記定常アドレス信号によって
前記第2の記憶手段の読み出し書き込み制御する制御手
段と、各ステップ毎に、前記第1の記憶手段から読み出
された原画像データにn×mマトリクスの前記バイアス
アドレス信号に対応するフィルタ係数を乗算すると共
に、これを前記第2の記憶手段から読み出される先のス
テップで書き込まれた処理画像と加算して前記第2の記
憶手段に出力する塩酸手段とを有することを特徴とする
ものである。このように、原画像自体を平行移動して各
処理を行うという方式を採用すれば、セグメントを平行
して各処理を行う方式の持つ、各処理ステップ毎に遂一
記憶しておかなければならなかったり書き込み読み出し
操作や回路及びその処理が複雑になってしまう、という
問題を解決することができる。
The outline of the present invention for achieving the above object is an image processing apparatus that performs spatial filtering by an n × m matrix on an original image in which a plurality of pixels are arranged in a matrix by a process of n × m steps. The steps are updated by changing the bias address signal that is determined corresponding to the first storage means that stores the image, the second storage means that stores the processed image for each step, and the step. In each step, the steady address signal is sequentially changed corresponding to the pixel position to be read, and the effective address obtained by adding the bias address signal to the steady address signal is stored in the first recording means. It is common to perform the read control by moving the original image in parallel in the direction corresponding to the bias address by the number of pixels corresponding to the bias address. A control means for controlling reading and writing of the second storage means by the steady address signal; and, for each step, the original image data read from the first storage means, and the bias address of an n × m matrix. And a hydrochloric acid means for multiplying the signal by a filter coefficient corresponding to the signal, adding the signal to the processed image written in the previous step read from the second storage means, and outputting the result to the second storage means. It is characterized by. In this way, if the method of moving the original image itself in parallel and performing each processing is adopted, the method of performing each processing in parallel with the segment has to be stored once for each processing step. It is possible to solve the problem that the read / write operation or the circuit and its processing are complicated.

〔発明の実施例〕Example of Invention

以下、本発明の一実施例を図面を参照して説明する。第
1図は本発明に係る画像処理装置をX線診断装置に適用
した実施例を示すブロックダイヤグラムである。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment in which the image processing apparatus according to the present invention is applied to an X-ray diagnostic apparatus.

第1図において、X線管球1より発生したX線は、被写
体Aを透過した後、II−撮像管システム2で電気信号に
変換される。A/D変換器3は前記電気信号をデイジタル
変換して出力する。尚、A/D変換器3は、I・I撮像システ
ム2からの信号に限らず、VDR,VTR,DISK等の画像蓄積部
9より読み出される信号をも入力できるようになつてい
る。A/D変換器3でアナログ−デイジタル変換された信
号はフレームメモリ群7の一つのフレームメモリに各画
素毎に記憶される。このフレームメモリ群7は、詳細を
後述するように同一の構成を有する複数のフレームメモ
リから成り、原画像を記憶するフレームメモリを第1の
記憶手段7aとし、後述する演算手段8の演算結果を記憶
するフレームメモリを第2の記憶手段7bとする。第1
の記憶手段7aは、フレームメモリ7−1,7−2…か
ら成り、第2の記憶手段7bは第1のワーキングメモリ
7−W1と第2のワーキングメモリ7−W2とから成つて
いる。
In FIG. 1, the X-ray generated from the X-ray tube 1 is transmitted through the subject A and then converted into an electric signal by the II-image pickup tube system 2. The A / D converter 3 digitally converts the electric signal and outputs it. The A / D converter 3 can input not only signals from the I / I imaging system 2 but also signals read from the image storage unit 9 such as VDR, VTR, and DISK. The signal analog-digital converted by the A / D converter 3 is stored for each pixel in one frame memory of the frame memory group 7. The frame memory group 7 is composed of a plurality of frame memories having the same configuration as described later in detail. The frame memory for storing the original image is the first storage means 7a, and the calculation result of the calculation means 8 described later is stored in the frame memory group 7. The frame memory to be stored will be referred to as second storage means 7b. First
Storage means 7a is composed of frame memories 7-1, 7-2 ... And second storage means 7b is composed of a first working memory 7-W 1 and a second working memory 7-W 2 . .

次に、前記フレームメモリ群7の構成を第2図を参照し
て説明する。第2図はフレームメモリ7群の一つ例えば
フレームメモリ7−1の構成を示す概略説明図である。
第2図において、フレームメモリ7−1は、メモリチツ
プ24と、後述する水平,垂直のアドレス信号をそれぞ
れ加算する加算回路16,17と、2系統の入力データ
22の一方を選択するセレクタ23と、2系統の出力デ
ータ26の一方又は両方を出力する出力バツフア25とか
ら成つている。
Next, the structure of the frame memory group 7 will be described with reference to FIG. FIG. 2 is a schematic explanatory view showing the structure of one of the frame memories 7 such as the frame memory 7-1.
In FIG. 2, the frame memory 7-1 includes a memory chip 24, adder circuits 16 and 17 for adding horizontal and vertical address signals, respectively, which will be described later, and a selector 23 for selecting one of two systems of input data 22. It comprises an output buffer 25 which outputs one or both of two output data 26.

前記加算回路16には、画像の水平方向のアドレスを指
定する定常アドレス信号10が入力するようになってい
る。又、前記加算回路16にはバイアスアドレス信号1
2とこれを否定するバイアスイネーブル信号とを入力す
るバイアスアドレス回路14aが設けられている。そし
て、バイアスイネーブル信号15が入力したときには、
加算回路16より前記定常アドレス信号10が実効アド
レス信号18として出力される。又、バイアスイネーブ
ル信号15の入力がないときには、前記定常アドレス信
号10とバイアスアドレス信号12とが加算されて、そ
の加算値が実効アドレス信号18として出力される。
A constant address signal 10 for designating an address in the horizontal direction of an image is input to the adder circuit 16. The adder circuit 16 has a bias address signal 1
A bias address circuit 14a for inputting 2 and a bias enable signal that negates this is provided. When the bias enable signal 15 is input,
The stationary address signal 10 is output as an effective address signal 18 from the adder circuit 16. When the bias enable signal 15 is not input, the stationary address signal 10 and the bias address signal 12 are added, and the added value is output as the effective address signal 18.

前記加算回路17は、画像の垂直方向の実効アドレス1
9を決定する手段であり、前記加算回路16と同様の機
能を有するバイアスアドレス回路14bを具備し、その入
力信号として垂直方向の定常アドレス信号11及びバイ
アスアドレス信号13とこれを否定するバイアスイネーブ
ル信号15を入力するようになつている。又、フレーム
メモリ7−1は画素データの書き込み,読み出しを指令
する書き込み指令信号20,読み出し指令信号21を入力
するようになつている。前記書き込み指令信号20は、
前記セレクタ23に入力する2系統の入力22のうちの
一方を選択して書き込む指令を行い、前記読み出し指令
信号21は前記出力バツフア25における2系統の出力
の一方又は両方を読み出す指令を行う。尚、前記定常ア
ドレス信号10,11,バイアスアドレス信号12,1
3,バイアスイネーブル信号15及び書き込み読み出し
指令信号20,21は制御手段たるコントローラ4(第
1図参照)より出力される。
The adder circuit 17 is provided with an effective address 1 in the vertical direction of the image.
9, a bias address circuit 14b having a function similar to that of the adder circuit 16 is provided, and a vertical stationary address signal 11 and a bias address signal 13 as input signals and a bias enable signal for negating the same. It is designed to input 15. Further, the frame memory 7-1 is adapted to receive a write command signal 20 and a read command signal 21 for instructing writing and reading of pixel data. The write command signal 20 is
The read command signal 21 issues a command to select and write one of the two systems of inputs 22 input to the selector 23, and the read command signal 21 issues a command to read one or both of the two systems of output from the output buffer 25. The stationary address signals 10 and 11 and the bias address signals 12 and 1
3, the bias enable signal 15 and the write / read command signals 20 and 21 are output from the controller 4 (see FIG. 1) as the control means.

次に、前記演算手段8の構成を第3図を参照して説明す
る。
Next, the configuration of the calculating means 8 will be described with reference to FIG.

第3図において、演算手段8は2系統の入力ライン27
−1,27−2を介してデータを入力するバツフア2
8,28と、演算パラメータ(詳細は後述)を蓄積する
と共に、コントロールライン30を介して入力する前記コ
ントローラ4からの制御信号に基づいて所定の演算パラ
メータを出力するレジスタ29と、演算を行つて出力デ
ータ32を出力する演算ユニット31とから成つてい
る。
In FIG. 3, the calculating means 8 is a two-system input line 27.
Buffer 2 for inputting data via -1, 27-2
8, 28 and a register 29 for accumulating operation parameters (details will be described later) and outputting predetermined operation parameters based on a control signal from the controller 4 input via a control line 30. It comprises an arithmetic unit 31 which outputs output data 32.

前記演算ユニツト31は下記の演算を行うようになつて
いる。
The arithmetic unit 31 is adapted to perform the following arithmetic operations.

y=(A1x1+B1)+(A2x2+B2)……(2) 式(2)において、x1,x2は入力ライン27−1,27−
2を介してそれぞれ入力される2系統のデータを示し、
A1,B1,A1,B2はそれぞれ前記演算パラメータを示す。
この演算結果yが出力データ32として演算手段8より
出力され、前記第2の記憶手段7bに記憶される。
y = (A 1 x 1 + B 1 ) + (A 2 x 2 + B 2 ) ... (2) In the equation (2), x 1 and x 2 are input lines 27-1 and 27-.
Shows the data of 2 lines respectively input via 2.
A 1 , B 1 , A 1 , and B 2 represent the calculation parameters, respectively.
The calculation result y is output from the calculation means 8 as the output data 32 and stored in the second storage means 7b.

以上のように構成された画像処理装置の作用について説
明する。
The operation of the image processing apparatus configured as above will be described.

一例として、512(ピクセル)×512(ピクセル)
の一枚の画像にローパスフイルタをかけることについて
説明する。ローパスフイルタは3×3の領域に対してか
けるものとし、これを前記式(1)の形で表現すれば、 となる。ここで、フイルタ係数Ck,lは を与えるものとする。
As an example, 512 (pixels) × 512 (pixels)
Applying a low-pass filter to one image will be described. The low pass filter is applied to a 3 × 3 area, and if this is expressed in the form of the above equation (1), Becomes Where the filter coefficient Ck, l is Shall be given.

尚、上記式(3)において、任意の画素の画素データXi,j
の空間フイルタリングに供する周辺の画素の画素データ
Xi-k,j-lと、これに対応するフイルタ係数Ck,lとの関係
は第4図に示すようになつている。
In the above formula (3), the pixel data Xi, j of an arbitrary pixel
Pixel data of surrounding pixels used for spatial filtering
The relationship between Xi-k, jl and the corresponding filter coefficient Ck, l is as shown in FIG.

先ず、処理の対象となる複数の画素データよりなる原画
像Xを、コントローラ4からの書き込み指令信号20に
基づいて、フレームメモリ7−1に各画素毎に記憶させ
る。次に、フレームメモリ7−1より原画像Xを読み出
して演算手段8において演算を行う。この際、フレーム
メモリ7−1からの読み出しは、アドレス(i,j)に
対応する第1の処理画像Y1i,jを得るために、アドレス
を右に1ピクセル平行移動させた画素の画素データXi+
1,jを読み出すように行う。この操作は、コントローラ
4からの水平,垂直方向の定常アドレス信号10,11
によつてアドレス(i,j)を指定し、かつ、バイアス
アドレス信号12,13によつて右方向に1ピクセル平
行移動させる指定を行う。尚、この読み出しの際には、
バイアスイネーブル信号15は入力しないようになつて
いる。
First, based on the write command signal 20 from the controller 4, the original image X including a plurality of pixel data to be processed is stored in the frame memory 7-1 for each pixel. Next, the original image X is read from the frame memory 7-1 and the calculation means 8 performs the calculation. At this time, in order to obtain the first processed image Y 1 i, j corresponding to the address (i, j) from the frame memory 7-1, the pixel of the pixel obtained by moving the address in parallel by 1 pixel to the right is obtained. Data Xi +
Read 1, j. This operation is performed by the horizontal and vertical stationary address signals 10 and 11 from the controller 4.
To specify the address (i, j), and the bias address signals 12 and 13 to specify the parallel displacement of one pixel to the right. In addition, at the time of this reading,
The bias enable signal 15 is not input.

上記の読み出しをフレームメモリ7−1の全画素につい
て行う。すなわち、定常アドレスを読み出す画素位置に
対応して順次変更していくことにより、画像1フレーム
分の画素データが読み出される。これを演算手段8にお
ける一方の入力ライン27−1を介して前記演算手段8
に入力する。演算手段8は、前記画素データXi+1,jを
前記式(2)におけるx1として用い、式(2)の演算を行う。
ここで、演算パラメータA1,B1,A2,B2は、コントロー
ル4からのコントロールライン30を介して下記のように
設定される。
The above reading is performed for all the pixels of the frame memory 7-1. That is, the pixel data for one frame of the image is read out by sequentially changing the pixel address corresponding to the pixel position where the stationary address is read out. This is calculated through the one input line 27-1 in the calculating means 8
To enter. The computing means 8 uses the pixel data Xi + 1, j as x 1 in the equation (2) to perform the computation of the equation (2).
Here, the calculation parameters A 1 , B 1 , A 2 , B 2 are set as follows via the control line 30 from the control 4.

A1=C-1,0=0.1 , B1=A2=B2=0 従つて、演算手段8の出力たる第1の処理画像Y1i+jと
して、 Y1i,j=Xi+1,j・C-1,0 を得ることができる。
A 1 = C -1,0 = 0.1, B 1 = A 2 = B 2 = 0 Therefore, as the first processed image Y 1 i + j output from the calculating means 8, Y 1 i, j = Xi + 1, We can get j · C -1,0 .

この演算手段8の出力は、第1のワーキングメモリ7−
W1に書き込まれる。尚、この書き込みの際のアドレス指
定は、前記フレームメモリ7−1の読み出しに使用され
たアドレス信号10,11,バイアスアドレス信号1
2,13が用いられるが、同時にバイアスイネーブル信
号15を入力することにより、バイアス信号12,13
が否定され、結局アドレス信号10,11をそのまま実
効アドレス信号18,19として用いることになる。
The output of the computing means 8 is the first working memory 7-
Written to W 1 . The address designation at the time of writing is performed by the address signals 10 and 11 and the bias address signal 1 used for reading the frame memory 7-1.
2 and 13 are used, the bias signals 12 and 13 are input by inputting the bias enable signal 15 at the same time.
Is denied, and the address signals 10 and 11 are eventually used as the effective address signals 18 and 19 as they are.

以上の操作により第1のステツプが終了する。第1のス
テップの終了時において、第1のワーキングメモリに
は、第1のステップによる処理が終了した1フレーム分
の画素データが記憶される。
The above operation completes the first step. At the end of the first step, the first working memory stores the pixel data for one frame for which the processing in the first step has been completed.

次に、第2のステツプについて説明する。第2のステツ
プでは、前記フレームメモリ7−1に記憶されている原
画像Xを水平方向に左に1ピクセルずらして読み出し、
一方の入力ライン27−1より演算手段8に入力する。
さらに、ワーキングメモリ7−W1に記憶されている先の
処理画素をアドレス位置をずらさずに読み出し、他方の
入力ライン27−2より演算手段8に入力する。両画像
の読み出しに際して、共に同一のアドレス信号10,1
1バイアスアドレス信号12,13を使用し、かつ、ワ
ーキングメモリ7−W1にのみバイアスイネーブル信号1
5を入力させてバイアスアドレス信号12,13を否定
させる。
Next, the second step will be described. In the second step, the original image X stored in the frame memory 7-1 is read out by shifting it horizontally by 1 pixel to the left,
It is input to the calculating means 8 from one input line 27-1.
Further, the preceding processed pixel stored in the working memory 7-W 1 is read out without shifting the address position, and is input to the calculating means 8 through the other input line 27-2. When reading both images, the same address signals 10 and 1 are used.
Using the first bias address signals 12 and 13, and the bias enable signal 1 only in the working memory 7-W 1
5 is input to negate the bias address signals 12 and 13.

演算手段8は前記式(2)の演算を行うことになるが、こ
こで、コントローラ4からの信号によつて演算パラメー
タA1,B1,A1,B2は下記のごとく与えられる。
The calculation means 8 carries out the calculation of the equation (2). Here, the calculation parameters A 1 , B 1 , A 1 , B 2 are given by the signal from the controller 4 as follows.

従つて、演算手段8は第2の処理画像Y2i,jを得るため
に、次のような演算を行うことになる。
Therefore, the calculation means 8 performs the following calculation in order to obtain the second processed image Y 2 i, j.

Y2i,j=(Xi+1,j・C-1,0)+C1,0・Xi-1,j そして、この第2の処理画像は第2のワーキングメモリ
7−W2に書き込まれる。尚、この間に第1のワーキング
メモリ7−W2の内容を消去しておく。
Y 2 i, j = (Xi + 1, jC -1,0 ) + C 1,0Xi -1, j Then, the second processed image is written in the second working memory 7-W 2 . Incidentally, in advance to erase the first contents of the working memory 7-W 2 therebetween.

次に、第3のステツプでは、前記フレームメモリ7−1
に記憶されている原画像Xを垂直方向に上に1ピクセル
ずらして読み出し、一方の入力ライン27−1より演算
手段8に入力する。さらに、第2のワーキングメモリ7
−W2に記憶されている第2のステツプの演算結果をアド
レス位置をずらさずに読み出し、他方の入力ライン27
−2より演算手段8に入力される。読み出しの際のアド
レス指定は前記第2のステツプと同様にして行う。又、
塩酸パラメータA1,B1,A2,B2は、コントローラ4によ
つて下記のごとく決定される。
Next, in the third step, the frame memory 7-1
The original image X stored in 1 is vertically shifted by 1 pixel and read out, and is input to the calculating means 8 through one input line 27-1. Furthermore, the second working memory 7
The operation result of the second step stored in -W 2 is read out without shifting the address position, and the other input line 27
-2 is input to the calculating means 8. Addressing at the time of reading is performed in the same manner as the second step. or,
The hydrochloric acid parameters A 1 , B 1 , A 2 , B 2 are determined by the controller 4 as follows.

従つて、演算手段8は第3の処理画像Y3i,jを得るため
に、次の演算を行う。
Therefore, the calculation means 8 performs the following calculation to obtain the third processed image Y 3 i, j.

Y3i,j=Xi,j-1・C0,-1+Y2i,j そして、この第3の処理画像Y3i,jは第1のワーキング
メモリ7−W1に記憶される。
Y 3 i, j = Xi, j-1 · C 0, -1 + Y 2 i, j then the third processed image Y 3 i, j is stored in the first working memory 7-W 1.

以下、同様にして次表に示すような第4のステツプ乃至
第9のステツプを実行して、3×3の領域の空間フイル
タリングを行う。
In the same manner, the fourth to ninth steps shown in the following table are executed in the same manner to perform the spatial filtering of the 3 × 3 area.

表に示す第10のステツプは第9ステツプの演算結果を
フレームメモリ7−1に書き込むためのステツプであ
る。この場合、原画像Xは破壊される。
The tenth step shown in the table is a step for writing the calculation result of the ninth step in the frame memory 7-1. In this case, the original image X is destroyed.

以上説明したように、3×3の領域のフイルタを書ける
場合には9フレームで前記式(3)の演算を完了すること
ができる。また、同様にして5×5の領域のフイルタで
あれば25フレームを要し、一般に(2K+1)×(2
L+1)の領域のフイルタをかける場合には(2K+
1)×(2L+1)フレームで演算ができる。尚、本実
施例ではフレームメモリ7−1に格納されている画像に
対してフイルタリングを行なう場合について説明した
が、同様にフレームメモリ7−2,7−3…以下複数枚
の画像に対しても一枚づつ空間フイルタをかけることが
できる。対象となる画像がm枚のとき(2K+1)×
(2L−1)の領域のフイルタをかけるとすれば、演算
所要時間はm×(2K+1)×(2L+1)フレーム時
間である。
As described above, when the filter of the 3 × 3 area can be written, the calculation of the equation (3) can be completed in 9 frames. Similarly, a filter for a 5 × 5 area requires 25 frames, which is generally (2K + 1) × (2
To apply a filter in the (L + 1) area, use (2K +
Calculation can be performed in 1) × (2L + 1) frames. In the present embodiment, the case where filtering is performed on the images stored in the frame memory 7-1 has been described, but similarly, the frame memories 7-2, 7-3 ... You can also apply space filters one by one. When the number of target images is m (2K + 1) ×
If the filter of the area of (2L-1) is applied, the required calculation time is m * (2K + 1) * (2L + 1) frame time.

本発明は前記実施例に限定されるものではなく、本発明
の要旨の範囲内で種々の変形例を包含することは言うま
でもない。前記実施例において、演算手段8の演算結果
を2つのワーキングメモリ7−W1,7−W2に交互に書き
込みを行なつたが、記憶内容の消去と書き込みとのタイ
ミングがとれれば1つの記憶手段で行い得る。
It is needless to say that the present invention is not limited to the above-mentioned embodiments and includes various modifications within the scope of the gist of the present invention. In the above embodiment, the two working memory 7-W 1 the operation result of the operation unit 8, 7-W 2 in is written alternately were line summer, timing Torere if one memory of the erasing and writing of stored content It can be done by means.

〔発明の効果〕〔The invention's effect〕

以上説明したように、この発明によると、記憶手段の書
き込み読み出し操作に要する回路及びその処理を複雑化
させることなく、しかも汎用性に優れた処理速度の速い
画処理装置を提供することができる。
As described above, according to the present invention, it is possible to provide an image processing apparatus which is excellent in versatility and has a high processing speed, without complicating the circuit and its processing required for the writing / reading operation of the storage unit.

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

第1図は本発明の一実施例である画像処理装置を適用し
たX線診断装置のブロツクダイヤグラム、第2図はフレ
ームメモリ群7の一つのフレームメモリを示す概略説明
図、第3図は演算手段8の詳細を示す概略説明図、第4
図は3×3の領域にフイルタをかける際の各画素とフイ
ルタ係数との関係を示す説明図である。 4……制御手段、7a……第1の記憶手段、7b……第2
の記憶手段、8……演算手段。
FIG. 1 is a block diagram of an X-ray diagnostic apparatus to which an image processing apparatus according to an embodiment of the present invention is applied, FIG. 2 is a schematic explanatory view showing one frame memory of a frame memory group 7, and FIG. Fourth, schematic explanatory view showing details of the means 8.
The figure is an explanatory diagram showing the relationship between each pixel and the filter coefficient when a filter is applied to a 3 × 3 area. 4 ... control means, 7a ... first storage means, 7b ... second
Storage means, 8 ... Calculation means.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数の画素がマトリクス配列してなる原画
像に対しn×mマトリクスによる空間フィルタリングを
n×mステップの処理によって行う画像処理装置であっ
て、 原画像を記憶する第1の記憶手段と、 各ステップ毎の処理画像を記憶する第2の記憶手段と、 前記ステップに対応して決定されるバイアスアドレス信
号を変化させることによりステップを更新していき、各
ステップにおいて、定常アドレス信号を読み出す画素位
置に対応して順次変更し、前記定常アドレス信号に前記
バイアスアドレス信号を加算して得られた実効アドレス
によって、前記第1の記憶手段に記憶された原画像を前
記バイアスアドレスに対応した方向に前記バイアスアド
レスに対応した画素数平行移動して読み出し制御すると
共に、前記定常アドレス信号によって前記第2の記憶手
段の読み出し書き込み制御する制御手段と、 各ステップ毎に、前記第1の記憶手段から読み出された
原画像データにn×mマトリクスの前記バイアスアドレ
ス信号に対応するフィルタ係数を乗算すると共に、これ
を前記第2の記憶手段から読み出される先のステップで
書き込まれた処理画像と加算して前記第2の記憶手段に
出力する演算手段とを有することを特徴とする画像処理
装置。
1. An image processing apparatus for performing spatial filtering by an n × m matrix on an original image in which a plurality of pixels are arranged in a matrix by a process of n × m steps, the first storage storing the original image. Means, a second storage means for storing a processed image for each step, and the step is updated by changing the bias address signal determined in correspondence with the step. Corresponding to the pixel position to be read, and the effective address obtained by adding the bias address signal to the stationary address signal corresponds the original image stored in the first storage means to the bias address. In parallel with the bias address, the number of pixels corresponding to the bias address is moved in parallel for read control, and Therefore, the control means for controlling the reading and writing of the second storage means, and the filter coefficient corresponding to the bias address signal of the n × m matrix in the original image data read from the first storage means at each step. And an arithmetic means for multiplying by and adding it to the processed image written in the previous step read from the second storage means and outputting the result to the second storage means. apparatus.
JP58020345A 1983-02-08 1983-02-08 Image processing device Expired - Lifetime JPH0658686B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58020345A JPH0658686B2 (en) 1983-02-08 1983-02-08 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58020345A JPH0658686B2 (en) 1983-02-08 1983-02-08 Image processing device

Publications (2)

Publication Number Publication Date
JPS59149554A JPS59149554A (en) 1984-08-27
JPH0658686B2 true JPH0658686B2 (en) 1994-08-03

Family

ID=12024538

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58020345A Expired - Lifetime JPH0658686B2 (en) 1983-02-08 1983-02-08 Image processing device

Country Status (1)

Country Link
JP (1) JPH0658686B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5282137A (en) * 1975-12-29 1977-07-09 Mitsubishi Electric Corp Picture operational processor
JPS564864A (en) * 1979-06-22 1981-01-19 Mitsubishi Electric Corp Address control unit

Also Published As

Publication number Publication date
JPS59149554A (en) 1984-08-27

Similar Documents

Publication Publication Date Title
JPS6042943B2 (en) display device
JP4970378B2 (en) Memory controller and image processing apparatus
JPH0658686B2 (en) Image processing device
JPH0353668B2 (en)
JP2000311241A (en) Image processor
JPS6280785A (en) Image memory device
JP2946360B2 (en) Image data interpolation method and apparatus
JP2022184136A (en) Information processing device and information processing method
EP0430820B1 (en) Signal processing device
JP3426484B2 (en) Image data processing apparatus and image data processing method
WO2025086253A1 (en) Image correction method and system, and display device
JPS6410871B2 (en)
JPH03171266A (en) Signal processor
JPS6354245B2 (en)
JP2025142507A (en) Processing system, processing method, and program
JPS6217877A (en) Image forming device
JPH11191866A (en) Defective pixel interpolation device, imaging device, and computer-readable storage medium
JPH06251133A (en) Image data access device
JPS58205275A (en) Picture data processor
JPH05346885A (en) Method and device for fetching image
JPS59232538A (en) Ct apparatus
JP2003339026A (en) Image processing method and image processing apparatus
JPH023196B2 (en)
JPH08202861A (en) Data processing device
JPS61157978A (en) Contour line displaying method