JPS60123964A - Interpolation arithmetic device - Google Patents

Interpolation arithmetic device

Info

Publication number
JPS60123964A
JPS60123964A JP58231049A JP23104983A JPS60123964A JP S60123964 A JPS60123964 A JP S60123964A JP 58231049 A JP58231049 A JP 58231049A JP 23104983 A JP23104983 A JP 23104983A JP S60123964 A JPS60123964 A JP S60123964A
Authority
JP
Japan
Prior art keywords
memory
output
latch circuit
shift register
data
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
JP58231049A
Other languages
Japanese (ja)
Inventor
Makoto Imamura
誠 今村
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Hokushin Electric 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 Yokogawa Hokushin Electric Corp filed Critical Yokogawa Hokushin Electric Corp
Priority to JP58231049A priority Critical patent/JPS60123964A/en
Publication of JPS60123964A publication Critical patent/JPS60123964A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/17Function evaluation by approximation methods, e.g. inter- or extrapolation, smoothing, least mean square method

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Algebra (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Complex Calculations (AREA)
  • Image Processing (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

PURPOSE:To make interpolation at a high speed with a simple constitution, by holding an output read out from a memory in a latch circuit and again writing the output in the memory after shifting the output by a prescribed clock portion together with the output of the latch circuit. CONSTITUTION:Data from a CPU are written in a memory 1 through a buffer 2. An output read out from the memory 2 is latched by a latch circuit 4 and delayed by a designated clock portion at a shift register 5. The output of the shift register 5 and that of the latch circuit 4 are written in the memory 1 through a buffer 7 after they are added to each other at an adder circuit 6.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明はCT(Computer Tomograph
y)装置において投影データから再構成画像を得るため
に逆投影を行う際にデータの位置補間を行なう補間演算
装置に関するものである。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to computer tomograph (CT)
y) The present invention relates to an interpolation calculation device that performs positional interpolation of data when performing back projection to obtain a reconstructed image from projection data in the device.

〔従来技術〕[Prior art]

従来よ、り、CT装置において投影データから画像を再
構成する手法の一つとして、各方向でイ0られた投影を
逆に画素面に戻し、それらを合計して再構成画像を得る
逆投影法(パックプロジェクション)がある。この逆投
影を行う際に、座標系の変更を行うので格子点の不一致
が生じる。このため良質な画像を得るために補間が必要
となる。この補間は通常近2格子点の間の距離に対して
線形に行ない、次の様な手段が従来からあるが、それぞ
れ問題がある。
Conventionally, one of the methods for reconstructing images from projection data in CT equipment is back projection, in which projections that have been removed in each direction are returned to the pixel plane, and the images are summed to obtain a reconstructed image. There is a law (pack projection). When performing this back projection, the coordinate system is changed, resulting in mismatching of the grid points. Therefore, interpolation is necessary to obtain a high-quality image. This interpolation is usually performed linearly with respect to the distance between two nearby grid points, and the following methods are conventionally available, but each has its own problems.

すなわち補間には乗算などを伴なうので、ソフトウェア
では演算に時間がかかり過ぎ、ハードウェアでは規模が
犬きくなり過ぎる。またROMなどを用いてテーブルを
作成する方式もあるが、精度を上けると大容量のメモリ
が必要となり、現実的でなくなる。
In other words, since interpolation involves multiplication, it takes too much time to perform calculations in software, and the scale is too large for hardware. There is also a method of creating a table using a ROM or the like, but increasing accuracy requires a large amount of memory, making it impractical.

〔発明の目的〕[Purpose of the invention]

ることを目的とする。 The porpose is to do.

本発明の補間演算装置は、書込みおよび読出しの可能な
メモリと、このメモリのアドレスを正逆方向にスキャン
するアドレススキャン回路と、前記メモリの読出し出力
を保持するラッチ回路と、このラッチ回路からのデータ
を指定されたクロック分だけ遅延するシフトレジスタと
、このシフトレジスタおよび前記ラッチ回路の出力を入
力とし、その出力を再び前記メモリの書込み入力とする
加算器とを備えたことを構成上の特徴としたものである
The interpolation calculation device of the present invention includes a memory that can be written to and read from, an address scan circuit that scans the addresses of this memory in forward and reverse directions, a latch circuit that holds the read output of the memory, and a A structural feature includes: a shift register that delays data by a specified clock; and an adder that receives the outputs of the shift register and the latch circuit as inputs, and uses the output as the write input of the memory again. That is.

〔発明の実施例〕[Embodiments of the invention]

以下図面を用いて本発明の詳細な説明する。 The present invention will be described in detail below using the drawings.

第1図は本発明に係る補間演算装置の一実施例を示すブ
ロック構成図である。1は書込みおよび読出しの可能な
メモリ、2はこのメモリ1にCPUからのデータを書込
むバッファ、3は前記メモリ1のアドレスな正逆方向に
順にスキャンする、up/d ownカウンタなどのア
ドレススキャン回路、4は前記メモリ1の読出し出力を
保持するラッチ回路、5はこのう、子回路からのデータ
を指定されたクロック分だけ遅延する、マルチレベルパ
イプラインレジスタなどのシフトレジスタ、6はこのソ
フトレジスタ5および前記ラッチ回路4の出力を入力と
して加算する加算器、7はこの加算器6からの出力を入
力として前記メモリ1に書込むバッファである。
FIG. 1 is a block diagram showing an embodiment of an interpolation calculation device according to the present invention. 1 is a writable and readable memory, 2 is a buffer for writing data from the CPU into this memory 1, and 3 is an address scan such as an up/down counter that sequentially scans the addresses of the memory 1 in forward and reverse directions. A circuit, 4 is a latch circuit that holds the read output of the memory 1, 5 is a shift register such as a multi-level pipeline register, which delays data from the child circuit by a specified clock, and 6 is this software. An adder 7 which inputs the outputs of the register 5 and the latch circuit 4 and adds them together is a buffer which writes the output from the adder 6 to the memory 1 as an input.

第2図はこのような構成の補間演算装置を用いて逆投影
の際の補間演算を行なったときの、各操作段階における
メモリ1の内容を示す動作説明図である。図において矢
印はシフトレジスタ5におけるデータシフトの大きさと
方向を示す。ここでは補間により分s*’、:を8倍に
増す場合を示している。(4)はCPUからメモリ1に
データを■きこ1れた状態を示したもので、原データの
8倍のメモリを用いて8番地おきに書き込み、その間の
番地のデータは0となっている。このデータを正方向(
番地の増す方向)にスキャンして読出し、ラッチ回路4
に保持した後シフトレジスタ5に加える。
FIG. 2 is an operational explanatory diagram showing the contents of the memory 1 at each operation stage when the interpolation calculation device having such a configuration is used to perform the interpolation calculation during back projection. In the figure, arrows indicate the magnitude and direction of the data shift in the shift register 5. Here, a case is shown in which the minute s*',: is increased by eight times by interpolation. (4) shows the state in which data has been written from the CPU to memory 1. Using 8 times the memory of the original data, data is written every 8 addresses, and the data in the addresses in between is 0. . Move this data in the forward direction (
latch circuit 4
It is then added to the shift register 5.

シフトレジスタ5において矢印のように1段シフトした
後、その内容を加算器6においてラッチ回路4の内容と
加算すると(13)のような内容がメモリ1に書込まれ
る(正スキャン1段シフト)。次に(B)の内容を逆方
向(番地の減少する方向)にスキャンして読出し、ラッ
チ回路4に加え、シフトレジスタ5において前記同様ラ
ッチ出力を1段シフトした内容をう、子回路4の内容と
加えると、メモリ1の内容は(C)のようになる(逆ス
キャン1段シフト)。以下同様に、正スキャン2段シフ
トした場合を(D)、逆スキャン2段シフトした場合を
@)、正スキャン4段シフトした場合をCF)、逆スキ
ャン4段シフトした場合を(G)に示す。この結果(4
)の8番地おきの原データが線形に補間スムージングさ
れたことになる。補間するデータの間隔を変えた場合の
演算時間を次表に示す。ここでTは投影データのみを1
回スキャンするに要する時間である。
After shifting by one stage in the shift register 5 as shown by the arrow, the contents are added to the contents of the latch circuit 4 in the adder 6, and the content as shown in (13) is written to the memory 1 (forward scan one stage shift). . Next, the contents of (B) are scanned and read in the reverse direction (in the direction in which the addresses decrease), added to the latch circuit 4, and the contents of the latch output shifted by one stage in the shift register 5 as described above are transferred to the child circuit 4. When added to the contents, the contents of memory 1 become as shown in (C) (reverse scan, one stage shift). Similarly, (D) is the case where the forward scan is shifted by 2 steps, @) is the case where the reverse scan is shifted by 2 steps, CF is the case where the forward scan is shifted by 4 steps, and (G) is the case where the reverse scan is shifted by 4 steps. show. This result (4
) has been linearly interpolated and smoothed. The following table shows the calculation time when the interval of interpolated data is changed. Here, T is 1 for projection data only.
This is the time required to scan once.

例えばりOyり6 MHz 、データー512ならT=
80μsとなる。512データで3bit補間を行なう
と演算時間は4msでフレームタイムより短くなる。
For example, if the frequency is 6 MHz and the data is 512, then T=
It becomes 80 μs. When 3-bit interpolation is performed using 512 data, the calculation time is 4 ms, which is shorter than the frame time.

第5図は上記の補間演算装置を用いて投影データのスム
ージングを行なったときの、各操作段階におけるメモリ
1の内容を示す動作説明図である。
FIG. 5 is an operational explanatory diagram showing the contents of the memory 1 at each operation stage when projection data is smoothed using the above interpolation calculation device.

投影データは(A)に示すようにメモリ1の各番地に順
番に書き込まれている。第2図の場合と同様にしてこれ
を正スキャン1段シフトしたものを(13)に、逆スキ
ャン1段シフトしたものを(C)に、正スキャン2段シ
フトしたものをCD)に、逆スキャン2段ンフトしたも
のを(ト))に示す。スムージングされた結果(E)は
必要な分解能となるように間引いて用いることもできる
The projection data is sequentially written to each address of the memory 1 as shown in (A). In the same way as in the case of Figure 2, this is shifted one step in the forward scan to (13), shifted one step in the reverse scan to (C), shifted two steps in the forward scan to CD), and vice versa. The image after two scan steps is shown in (g)). The smoothed result (E) can also be thinned out and used to obtain the required resolution.

上記のような構成の補間演算装置は、ノ・−ドウエアで
処理しており、しかも演算機能としては加算機能のみを
用いているので高速動作が可能である。
The interpolation arithmetic device configured as described above performs processing using hardware, and uses only the addition function as the arithmetic function, so it is capable of high-speed operation.

なお上記の実施例において、メモリ1はクロッりの1サ
イクルで読出し/書込みを行っているが、この代シに、
2つのメモリを用いて読出しと1込みを交互に行なって
もよい。
In the above embodiment, the memory 1 is read/written in one clock cycle, but in this case,
Reading and writing may be performed alternately using two memories.

また逆投影データの補間スムージングと、再生像の評価
やシミュレーションのために行なう正投影のときのスム
ージングとが全く同一の処理でよいので、構成を単純に
できる。
Further, since the interpolation smoothing of back projection data and the smoothing for orthogonal projection performed for evaluating and simulating a reconstructed image can be performed using exactly the same process, the configuration can be simplified.

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

以上述べたように本発明によれば、簡単な構成により補
間を高速に行なう補間演算装置を提供することができる
As described above, according to the present invention, it is possible to provide an interpolation calculation device that performs interpolation at high speed with a simple configuration.

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

第1図は本発明に係る補間演算装置の一実施例を示すブ
ロック構成図、第2図および第3図は第1図の装置の動
作説明図である。 1・・・メモリ、5・・・アドレススキャン回路、4・
・・う、チ回路、5・・・シフトレジスタ、6・・・加
算器。
FIG. 1 is a block diagram showing an embodiment of an interpolation calculation device according to the present invention, and FIGS. 2 and 3 are diagrams illustrating the operation of the device shown in FIG. 1. 1...Memory, 5...Address scan circuit, 4.
... U, circuit, 5... shift register, 6... adder.

Claims (1)

【特許請求の範囲】[Claims] 書込みおよび読出しの可能なメモリと、このメモリのア
ドレスを正逆方向にスキャンするアドレススキャン回路
と、前記メモリの読出し出力を保持するラッチ回路と、
このう、子回路からのデータを指定されたクロック分だ
け遅延するシフトレジスタと、このシフトレジスタおよ
び前記ラッチ回路の出力を入力とし、その出力を再び前
記メモリの書込み入力とする加算器とを備えた補間演算
装置。
a writable and readable memory, an address scan circuit that scans addresses of this memory in forward and reverse directions, and a latch circuit that holds a read output of the memory;
This includes a shift register that delays data from a child circuit by a specified clock, and an adder that receives the outputs of this shift register and the latch circuit as input, and uses the output as a write input to the memory again. interpolation calculation device.
JP58231049A 1983-12-07 1983-12-07 Interpolation arithmetic device Pending JPS60123964A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58231049A JPS60123964A (en) 1983-12-07 1983-12-07 Interpolation arithmetic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58231049A JPS60123964A (en) 1983-12-07 1983-12-07 Interpolation arithmetic device

Publications (1)

Publication Number Publication Date
JPS60123964A true JPS60123964A (en) 1985-07-02

Family

ID=16917479

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58231049A Pending JPS60123964A (en) 1983-12-07 1983-12-07 Interpolation arithmetic device

Country Status (1)

Country Link
JP (1) JPS60123964A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1987007412A1 (en) * 1986-05-23 1987-12-03 Fanuc Ltd Image processing apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1987007412A1 (en) * 1986-05-23 1987-12-03 Fanuc Ltd Image processing apparatus

Similar Documents

Publication Publication Date Title
JP3586991B2 (en) Texture data reading device and rendering device
JPS60123964A (en) Interpolation arithmetic device
JPS5833588B2 (en) Video processing device
JPS63166369A (en) Mobile vector detection circuit
JPH0226260B2 (en)
JPH0222419B2 (en)
JPS59197972A (en) Coordinate arithmetic circuit
JP2550967B2 (en) Reverse pattern creation device
JP2591424B2 (en) Image memory device
JPH01173237A (en) Ram access system
JPS6072374A (en) Picture processing circuit
JPS61175781A (en) Arithmetic circuit of picture element density in picture enlargement and reduction mode
JPS6386083A (en) Affine converting system
JPH0520456A (en) Picture density histogram arithmetic device
JPH04335482A (en) Histogram adding system in image processor
JPH04139971A (en) Rectangular parallelopiped picture generator
JPH0620035A (en) Image data processor
JPH0120469B2 (en)
JPS60235274A (en) Picture signal processing device
JPH0232670B2 (en)
JPH04259080A (en) Pipeline type arithmetic device
JPS63301097A (en) Method and circuit for generating density histogram
JPS61143885A (en) Linear picture producer
JPS61261777A (en) Access address generation circuit for image memory
JPH02139799A (en) Two-dimensional shift register and dynamic vector detecting arithmetic circuit using the register