JPH03123538A - Low data compressing and expanding apparatus for ct scanner - Google Patents

Low data compressing and expanding apparatus for ct scanner

Info

Publication number
JPH03123538A
JPH03123538A JP1261781A JP26178189A JPH03123538A JP H03123538 A JPH03123538 A JP H03123538A JP 1261781 A JP1261781 A JP 1261781A JP 26178189 A JP26178189 A JP 26178189A JP H03123538 A JPH03123538 A JP H03123538A
Authority
JP
Japan
Prior art keywords
data
raw data
difference
flag
compressed 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.)
Granted
Application number
JP1261781A
Other languages
Japanese (ja)
Other versions
JP2813992B2 (en
Inventor
Takeshi Oya
大矢 剛
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.)
GE Healthcare Japan Corp
Original Assignee
Yokogawa Medical Systems Ltd
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 Medical Systems Ltd filed Critical Yokogawa Medical Systems Ltd
Priority to JP1261781A priority Critical patent/JP2813992B2/en
Publication of JPH03123538A publication Critical patent/JPH03123538A/en
Application granted granted Critical
Publication of JP2813992B2 publication Critical patent/JP2813992B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Apparatus For Radiation Diagnosis (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To enable the transmitting of a low data to a computer gradually even in a transmission system of a low transmission rate by providing a judging code generating means to generate a judging code to judge whether a secondary compressed data is a low data, a primary difference or a secondary difference. CONSTITUTION:In the initialization of an action of a low data compression device 1, a shift register 3 for delaying a low data by 1 view minute, a shift register 7 for delaying a primary difference by 1 view minute and a shift regis ter 9 for delaying a flag A indicating whether a primary compressed data is a low data or a primary difference by 1 view minute are cleared with a control circuit 15. On the other hand, the shift register 9 outputs a flag A delayed by 1 view minute to an OR circuit 10 and a pipeline register 12. A bit merging circuit 13 sets an initial bit and the subsequent bit at 1 when the flag A is 1 and thereafter, it continues a secondary compressed data Z(v)c by m bits. This enables the transferring of a data to a computer without trouble even if an X ray irradiation is performed at a shorter interval.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、CTスキャナにおけるローデータ(RAW
 DATA)圧縮装置および伸張装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] This invention is applicable to raw data (RAW data) in a CT scanner.
DATA) compression device and decompression device.

[従来の技術〕 第12図にX線CTスキャナの一般的構成例を示す。[Conventional technology] FIG. 12 shows a general configuration example of an X-ray CT scanner.

このX線CTスキャナ90において、91はX線管、9
2はX線検出器である。これらは図の矢印のように回転
し、わずかに異なる角度毎にX線照射を行なって、電離
電荷データを得る。
In this X-ray CT scanner 90, 91 is an X-ray tube;
2 is an X-ray detector. These rotate as shown by the arrows in the figure and irradiate X-rays at slightly different angles to obtain ionization charge data.

電離電荷データは、データ収集装置(DAS)93に収
集され、数値化され、ローデータX、v、。
Ionization charge data is collected by a data acquisition device (DAS) 93 and digitized into raw data X, v,.

とじてコンピュータ94に転送される。The data is then transferred to the computer 94.

ここで、ローデータx(V)cにおけるVはビュー番号
であり、角度に対応する。また、Cはチャネル番号であ
り、X線検出器92の多数のチャネルの各々に対応する
Here, V in the raw data x(V)c is a view number and corresponds to an angle. Further, C is a channel number, which corresponds to each of a large number of channels of the X-ray detector 92.

コンピュータ94は、転送されてきたローデータX (
V) eを記憶装置95に格納する。また、格納したロ
ーデータX[?、、を取り出し、画像再構成装置96に
より画像化し、表示装置97に表示する。
The computer 94 receives the transferred raw data X (
V) Store e in the storage device 95. Also, the stored raw data X[? , , is extracted, converted into an image by the image reconstruction device 96, and displayed on the display device 97.

[発明が解決しようとする課題] 上記従来のX線CTスキャナ90では、1回のX線照射
で電離電荷データが得られる毎にDAS93がそれをロ
ーデータX 、、、 、に変換し、コンピュータ94に
転送している。
[Problems to be Solved by the Invention] In the conventional X-ray CT scanner 90 described above, each time ionization charge data is obtained by one X-ray irradiation, the DAS 93 converts it into raw data Transferred to 94.

しかし、X線照射のインターバルが、1回分のローデー
タX(V)eの転送所要時間よりも短くなると、X線照
射毎にローデータX(V)。を転送することが出来なく
なる問題点がある。
However, if the interval between X-ray irradiations becomes shorter than the time required to transfer one batch of raw data X(V)e, the raw data X(V) is transferred every time X-ray irradiation is performed. There is a problem that it becomes impossible to transfer.

このため、転送レートの高い伝送系にしたり、ローデー
タをDA993側で一時的に記憶しておくことが考えら
れるが、いずれの場合でも設備負担が大幅に増える問題
点がある。
For this reason, it is conceivable to use a transmission system with a high transfer rate or to temporarily store raw data on the DA993 side, but in either case, there is a problem that the load on equipment increases significantly.

そこで、この発明の目的は、低い転送レートの伝送系で
も次々にローデータをコンピュータに転送できるように
、ローデータを圧縮するローデータ圧縮装置を提供する
ことにある。また、その圧縮されたデータを元のローデ
ータに復元する伸張装置を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a raw data compression device that compresses raw data so that raw data can be transferred to a computer one after another even in a transmission system with a low transfer rate. Another object of the present invention is to provide a decompression device that restores the compressed data to the original raw data.

[課題を解決するための手段] この発明のローデータ圧縮装置は、CTスキャナにおけ
るローデータをX。、6(但し、■はビュー番号、Cは
検出器のチャネル)とするとき、D(マ11:X(マ]
。−X(マー+1cにより一次差分D(Vlcを算出す
る一次差分算出手段と、 ローデータのためのビット数mより小さい所定のビット
数nに前記D(V)eか収まるか否かを判定し、収まる
と判定したときは、Y (Vl e=” D H,1い
収まらないと判定したときは、Y (Vl c−X (
Vl。、により一次圧縮データY。)Cを作成する一次
圧縮データ作成手段と、 E (y) c= Y (Vl c−Y Iw−11t
により二次差分Ef、)cを算出する二次差分算出手段
と、 一次差分のためのビット数nより小さい所定のビット数
kに前記E(1,。が収まるか否かを判定し、収まると
判定し、且つ、そのE (V、。を算出したときの” 
(11e+  Y (V−o tがそれぞれ一次差分り
、9.。
[Means for Solving the Problems] The raw data compression device of the present invention compresses raw data in a CT scanner by X. , 6 (where ■ is the view number and C is the detector channel), then D(Ma11:X(Ma)
. -X(mar+1c) A first difference calculating means calculates the first difference D(Vlc), and determines whether the D(V)e falls within a predetermined number of bits n smaller than the number of bits m for raw data. , when it is determined that it will fit, Y (Vl e=”D H, 1, when it is determined that it does not fit, Y (Vl c−X (
Vl. , the primary compressed data Y. ) primary compressed data creation means for creating C; E (y) c= Y (Vl c-Y Iw-11t
a second-order difference calculation means for calculating a second-order difference Ef,)c, and determining whether E(1,.) falls within a predetermined number of bits k smaller than the number of bits n for the first-order difference; When determining that and calculating its E (V,.)
(11e+Y (V-o t is the first difference, respectively, 9..

D(V−1)Cであるときは、Z (V) c = E
 [111e、上記以外のときは、Z (w) e =
Y fvl t、により二次圧縮データZ(w、tを作
成する二次圧縮データ作成手段と、二次圧縮データZl
v)eがローデータか7一次差分か、二次差分かを判別
するための判別コードを生成する判別コード生成手段と
を具備してなることを構成上の特徴とするものである。
When D(V-1)C, Z (V) c = E
[111e, in cases other than the above, Z (w) e =
Y fvl t, secondary compressed data creation means for creating secondary compressed data Z(w, t), and secondary compressed data Zl
v) Discrimination code generation means for generating a discrimination code for discriminating whether e is raw data, a first-order difference, or a second-order difference.

また、この発明の伸張装置は、上記判別コードにより二
次圧縮データZ(V、tがローデータか。
Further, the decompression device of the present invention determines whether secondary compressed data Z (V, t is raw data) by the above-mentioned discrimination code.

次差分か、二次差分かを判定する判定手段と、ローデー
タと判定したときは、 X (Vlc = Z filい 一次差分と判定したときは、 X fv+ e=X (I+−11e + Z fil
 e二次差分と判定したときは、 X (V) a:2 X (w−1) t  X (V
−n a+ Z (Vl cによりローデータX(Vl
cを算出するローデータ算出手段とを具備してなること
を構成上の特徴とするものである。
A determination means for determining whether it is an order difference or a second order difference, and when it is determined that it is raw data, X (Vlc = Z fil) When it is determined that it is a small first difference, it is X
e When it is determined that it is a second-order difference, X (V) a: 2 X (w-1) t
-na+Z (low data X (Vl
The configuration is characterized in that it includes a raw data calculation means for calculating c.

[作用コ この発明のローデータ圧縮装置では、隣接するビューの
ローデータ間で一次差分および二次差分を算出する。そ
して、一次差分および二次差分がそれぞれ所定のビット
数に収まれば、ローデータに代えて、一次差分または二
次差分を用いる。
[Operation] The raw data compression device of the present invention calculates a primary difference and a secondary difference between raw data of adjacent views. Then, if the first-order difference and the second-order difference each fall within a predetermined number of bits, the first-order difference or the second-order difference is used instead of the raw data.

隣接するビューのローデータは近似していることが多い
からから、一次差分または二次差分が用いられる確率は
高い。
Since the raw data of adjacent views are often similar, there is a high probability that first-order differences or second-order differences will be used.

ところが、これら一次差分、二次差分はローデータより
もビット数が小さいから、これによりデータ圧縮が行わ
れたことになる。
However, since these first and second differences have a smaller number of bits than the raw data, this means that data compression has been performed.

このように圧縮されたデータは、ローデータと。Data compressed in this way is called raw data.

一次差分と、二次差分とが混在しているので、それらを
判別するための判別コードを付加する。
Since there are both primary differences and secondary differences, a discrimination code is added to distinguish between them.

そして、これらをDAS側からコンピュータ側へ転送す
れば、短いインターバルで発生するローデータでも、転
送レートの低い伝送系で、支障なく転送できるようにな
る。
If these data are transferred from the DAS side to the computer side, even raw data generated at short intervals can be transferred without problems using a transmission system with a low transfer rate.

他方、この発明の伸張装置では、DAS側から送られて
きた圧縮されたデータとその判別コードとに基づいて、
所定の演算を行い、圧縮されたデータを伸張する。
On the other hand, in the decompression device of the present invention, based on the compressed data sent from the DAS side and its discrimination code,
A predetermined calculation is performed to decompress the compressed data.

そこで、これにより元のローデータが復元され、画像再
構成等の処理を行うことが出来るようになる。
Accordingly, the original raw data is restored and processing such as image reconstruction can be performed.

[実施例] 以下、図に示す実施例に基づいてこの発明をさらに詳し
く説明する。なお、これによりこの発明が限定されるも
のではない。
[Example] Hereinafter, the present invention will be described in more detail based on the example shown in the drawings. Note that this invention is not limited to this.

第1図は、この発明の一実施例のローデータ圧縮装置1
を示す回路図で、第12図に示すDAS93の出力側と
伝送路の間に介設されるものである。
FIG. 1 shows a raw data compression device 1 according to an embodiment of the present invention.
This is a circuit diagram showing a circuit installed between the output side of the DAS 93 shown in FIG. 12 and a transmission line.

まず、ローデータ圧縮装置1の作動の初期設定として、
ローデータを1ビュー分遅らせるためのシフトレジスタ
3と、一次差分を1ビュー分遅れらせるためのシフトレ
ジスタ7と、一次圧縮データがローデータか一次差分か
を示すフラグAを1ビュー分遅らせるためのシフトレジ
スタ9とが、制御回路15によりクリアされる。
First, as an initial setting for the operation of the raw data compression device 1,
Shift register 3 for delaying raw data by one view, shift register 7 for delaying primary difference by one view, and delaying flag A indicating whether primary compressed data is raw data or primary difference by one view. The shift register 9 is cleared by the control circuit 15.

次に、制御回路15は、DAS93からストローブ信号
が出力されると、パイプラインレジスタ2を制御して、
DAS93から人力されるローデータX。、を受は取ら
せ、シフトレジスタ3と減算回路4とデータセレクタ5
とに入力する。
Next, when the strobe signal is output from the DAS 93, the control circuit 15 controls the pipeline register 2,
Raw data X manually generated from DAS93. , the shift register 3, the subtraction circuit 4, and the data selector 5
and enter it.

シフトレジスタ3は、1ビニ−分遅らせたローデータX
。−1,、を出力する。
Shift register 3 outputs raw data X delayed by 1 vinyl.
. -1,, is output.

そこで、減算回路4では、現在のビューのローデータX
 (Viaと前のビューのローデータX。−Incとが
減算演算され、一次差分D (V) cが算出されて、
データセレクタ5へ出力される。また、減算回路4は、
ローデータのためのビット数mよりも小さく設定されて
いる一次差分のためのビット数nに。
Therefore, in the subtraction circuit 4, the raw data X of the current view is
(Via and the raw data X.-Inc of the previous view are subtracted, the first difference D (V) c is calculated,
It is output to the data selector 5. Further, the subtraction circuit 4 is
The number of bits n for the primary difference is set smaller than the number m of bits for raw data.

前記算出した一次差分D(Vlcが収まったか否かを判
定し、収まっていればフラグAとしてOを出力し、収ま
っていなければフラグAとして1を出力する。
It is determined whether the calculated first-order difference D (Vlc) has settled down, and if it has settled down, O is output as flag A, and if it has not settled down, 1 is outputted as flag A.

データセレクタ5は、フラグAにより制御され、フラグ
AがOのときは一次差分D(V)。を出力し、フラグA
が1のときはローデータX [vlcを出力する。この
データセレクタ5の出力が一次圧縮データY(V)gで
ある。
The data selector 5 is controlled by the flag A, and when the flag A is O, the first difference D(V). and flag A
When is 1, raw data X [vlc is output. The output of this data selector 5 is primary compressed data Y(V)g.

前記フラグAと、一次圧縮データY(V)aとは、パイ
プラインレジスタ6に入力される。
The flag A and the primary compressed data Y(V)a are input to the pipeline register 6.

パイプラインレジスタ6は、前記フラグAをシフトレジ
スタ9とオア回路10とパイプラインレジスタ12とに
人力する。また、バイブラインレジスタロは、前記一次
圧縮データY。、、をシフトレジスタ7と減算回路8と
データセレクタ11とに入力する。
The pipeline register 6 inputs the flag A to the shift register 9, the OR circuit 10, and the pipeline register 12. Further, the vibe line register is the primary compressed data Y. , , are input to the shift register 7, the subtraction circuit 8, and the data selector 11.

シフトレジスタ7は、1ビュー分遅らせた一次圧縮デー
タY。−1、を出力する。
The shift register 7 is the primary compressed data Y delayed by one view. -1, is output.

そこで、減算回路8では、現在のビューの一次圧縮デー
タY(r)cと前のビューの一次圧縮データY 、w−
n。とが減算演算され、二次差分E(V)Cが算出され
て、データセレクタ11へ出力される。また、減算回路
8は、一次差分のためのビット数nよりも小さく設定さ
れている二次差分のためのビット数kに、前記算出した
二次差分E(V)。が収まったか否かを判定し、収まっ
ていればフラグBとしてOを出力し、収まっていなけれ
ばフラグBとして1を出力する。
Therefore, in the subtraction circuit 8, the primary compressed data Y(r)c of the current view and the primary compressed data Y, w-
n. A subtraction operation is performed on E(V)C, and a second-order difference E(V)C is calculated and output to the data selector 11. Further, the subtraction circuit 8 applies the calculated second-order difference E(V) to the number of bits k for the second-order difference, which is set smaller than the number n of bits for the first-order difference. It is determined whether or not the value has settled down, and if it has, O is output as flag B, and if not, 1 is output as flag B.

一方、シフトレジスタ9は、1ビュー分遅らせたフラグ
A(以下、フラグaと称する)をオア回路10とパイプ
ラインレジスタ12と出力する。
On the other hand, the shift register 9 outputs a flag A (hereinafter referred to as flag a) delayed by one view to the OR circuit 10 and the pipeline register 12.

データセレクタ11は、オア回路10を介して入力され
るフラグAおよびフラグa(前のビューのフラグA)と
、減算回路8から入力されるフラグBとにより制御され
、オア回路10の出力がOであり且つフラグBがOであ
るときにのみ二次差分E。、、、を出力し、それ以外の
ときは一次圧縮データY(V)eを出力する。このデー
タセレクタ11の出力が二次圧縮データZfvlcであ
り、パイプラインレジスタ12に入力される。
The data selector 11 is controlled by flag A and flag a (previous view flag A) input via the OR circuit 10, and flag B input from the subtraction circuit 8, and the output of the OR circuit 10 is and the second-order difference E only when flag B is O. , , , , and otherwise output primary compressed data Y(V)e. The output of this data selector 11 is secondary compressed data Zfvlc, which is input to the pipeline register 12.

パイプラインレジスタ12は、フラグAと、フラグaと
、フラグBと、二次圧縮データZ。、。きをビットマー
ジ回路13に入力する。
The pipeline register 12 contains flag A, flag a, flag B, and secondary compressed data Z. ,. input into the bit merge circuit 13.

ビットマージ回路13は、第2図に示すように、フラグ
八が1のときは、先頭ビットと次のビットを1とし、そ
の後に二次圧縮データZ(yleのmビット分を続ける
。一方、フラグAが0であり且つフラグaが1であると
き及びフラグAがOで且つフラグaがOで且つフラグB
が1であるときは、先頭ビットを1とし、次のビットを
Oとし、その後に二次圧縮データz[v、eのnビット
分を続ける。
As shown in FIG. 2, when flag 8 is 1, the bit merging circuit 13 sets the first bit and the next bit to 1, and then continues with m bits of secondary compressed data Z (yle. When flag A is 0 and flag a is 1, flag A is O, flag a is O, and flag B
When is 1, the first bit is set to 1, the next bit is set to O, and then n bits of secondary compressed data z[v, e are continued.

さらに、フラグA、フラグa、フラグBが全てOである
ときは、先頭ビットをOとし、その後に二次圧縮データ
Z。、Cのにビット分を続ける。
Further, when flag A, flag a, and flag B are all O, the first bit is O, and then the secondary compressed data Z. , C's bits are continued.

このようにして、ビットマージ回路13は、判別コード
(前記先頭ビットおよび先頭と次のビット)を付加した
データを作成し、第3図に示すように、pビット分づつ
パックにして、FIF014へ出力する。
In this way, the bit merge circuit 13 creates data to which the discrimination code (the first bit and the first and next bits) is added, packs it into p bits at a time, and sends it to the FIF 014, as shown in FIG. Output.

PIFO14は、コンピュータ94へとデータを送出す
る。
PIFO 14 sends data to computer 94.

以上のようにして、ローデータX 、、、。と、一次差
分D(Vlcと、二次差分E(V)tとが混在するデー
タがコンピュータへ転送されるが、大部分は一次差分D
(Vlcまたは二次差分E(V)eであり、データの圧
縮が行なわれている。
In the above manner, the raw data X. , the primary difference D(Vlc), and the secondary difference E(V)t are transferred to the computer, but most of the data is the primary difference D(Vlc) and the secondary difference E(V)t.
(Vlc or second-order difference E(V)e, and data compression is performed.

従って、短いインターバルでX線照射が行なわれても、
転送レートが低い伝送系を用いて、支障なくデータをコ
ンピュータへ転送できるようになる。
Therefore, even if X-ray irradiation is performed at short intervals,
Using a transmission system with a low transfer rate, data can be transferred to a computer without any problems.

第4図〜第7図はローデータの圧縮過程を具体的に例示
したものである。但し、簡単のために、X線検出器92
のチャネル数を5とし、ビューも1から5までとしてい
る。
4 to 7 specifically illustrate the process of compressing raw data. However, for simplicity, the X-ray detector 92
The number of channels is 5, and the views are 1 to 5.

まず、第4図はシフトレジスタ3の内容を例示したもの
である。ビューOはクリアされた状態を示す。ビュー1
以後はローデータX (V) gが入っている。
First, FIG. 4 shows an example of the contents of the shift register 3. View O shows a cleared state. View 1
From then on, raw data X (V) g is included.

次に、第5図はシフトレジスタ7の内容を例示したもの
である。これらが一次圧縮データY。。
Next, FIG. 5 shows an example of the contents of the shift register 7. These are the primary compressed data Y. .

であるが、その中身は主として一次差分D(V)tであ
り、一次差分り。、がnビットに収まらなかった部分に
ローデータX1v)cが混在している。なお、ビューO
はクリアされた状態を示す。また、多値の下部番5こ記
した値は、フラグ八である。
However, the content is mainly the first-order difference D(V)t, which is the first-order difference. , raw data X1v)c is mixed in the portion where the data does not fit into n bits. In addition, view O
indicates a cleared state. Further, the value written in the lower number 5 of the multi-value is flag 8.

次に、第6図は前記第4図および第5図と同じ形式で表
現した二次圧縮データZ(w、tである。ここでは主と
して二次差分E(Vlcであるが、ローデータX (V
l cと一次差分り。lcとが混在している。
Next, FIG. 6 shows the secondary compressed data Z (w, t) expressed in the same format as in FIGS. 4 and 5. Here, it is mainly the secondary difference E (Vlc, but the raw data X ( V
l c and first difference. There is a mixture of lc and lc.

多値の下部に記した値は、順にフラグA、フラグa、フ
ラグBである。フラグBのΔ印はOでも1でもよい(同
じ結果になる)ことを示している。
The values written at the bottom of the multivalue are flag A, flag a, and flag B in this order. The Δ mark of flag B indicates that it may be O or 1 (the same result will be obtained).

次に、第7図は、第6図に示す二次圧縮データZ(Vl
tおよびフラグA、フラグa、フラグBに基づいてビッ
トマージ回路13で作成された出力信号を、第6図と同
じ形式で表現したものである。
Next, FIG. 7 shows the secondary compressed data Z (Vl
The output signal created by the bit merge circuit 13 based on t, flag A, flag a, and flag B is expressed in the same format as FIG. 6.

多値の下部に記した値は、先頭ビットまたは先頭ビット
と次のビットであり、判別コードである。
The value written at the bottom of the multivalue is the first bit or the first bit and the next bit, and is a discrimination code.

上記ローデータ圧縮装置1は、IC化するのが好ましい
It is preferable that the raw data compression device 1 is implemented as an IC.

さて、コンピュータ94側では、前記ローデータ圧縮装
置1からのデータを受は取ると、記憶装置95に記憶す
る。データが圧縮されているため、高速大容量のハード
ディスク装置等を使わなくても済むようになる。
Now, on the computer 94 side, when data is received from the raw data compression device 1, it is stored in the storage device 95. Because the data is compressed, there is no need to use high-speed, large-capacity hard disk drives.

コンピュータ94は、記憶装置95に記憶していた前記
圧縮されたデータを必要時に取り出し、伸張処理を行な
って、元のローデータに復元する。
The computer 94 takes out the compressed data stored in the storage device 95 when necessary, decompresses it, and restores it to the original raw data.

第8図はこの伸張処理の作動を示すフローチャートであ
る。
FIG. 8 is a flowchart showing the operation of this expansion process.

すなわち、第8図のステップ81では、記憶装置95に
格納している圧縮されたデータを順に取り出し、先頭ビ
ットが1か否かを判定する。
That is, in step 81 of FIG. 8, the compressed data stored in the storage device 95 is sequentially retrieved, and it is determined whether the first bit is 1 or not.

先頭ビットが1ならば、ステップ82に進み、次ビット
か1か否かを判定する。
If the first bit is 1, the process advances to step 82 and it is determined whether the next bit is 1 or not.

次ビットか1ならば、ステップ83に進み、続くmビッ
ト分をローデータとする。すなわち、X (Vl c 
= Z fvl。
If the next bit is 1, the process advances to step 83 and the following m bits are made raw data. That is, X (Vl c
= Z fvl.

となる。becomes.

一方、前記ステップ82で、次ビットが0ならば、ステ
ップ84に進み、次式によりローデータを算出する。
On the other hand, if the next bit is 0 in step 82, the process proceeds to step 84, where raw data is calculated using the following equation.

X 、v+ h= X (11−1) e+ Z (V
l cさらに、前記ステップ81で、先頭ビットがOな
らば、ステップ85に進み、次式によりローデータを算
出する。
X, v+ h= X (11-1) e+ Z (V
l cFurthermore, if the first bit is O in step 81, the process proceeds to step 85, and raw data is calculated using the following equation.

X tv)a=2 X (w−1)C  X (V−2
1c +Z (VItステップ86では、データがなく
なるまで上記ステップ81〜85を繰り返えさせる。
X tv) a=2 X (w-1)C X (V-2
1c +Z (VIt step 86 repeats steps 81 to 85 until there is no more data.

以上により、ローデータX(V、tが復元されることに
なる。
Through the above process, the raw data X(V, t) is restored.

第9図は、上記のようにして、第7図の圧縮されたデー
タから元のローデータが復元されることを示している。
FIG. 9 shows that the original raw data is restored from the compressed data of FIG. 7 in the manner described above.

他の実施例としては、第3図のように1データ毎に判別
コードを付けるのではなく、第10図に示す如き判別コ
ードm1n、 mlk、 n1m、 nlk、 klm
As another example, instead of attaching a discrimination code to each piece of data as shown in FIG. 3, discrimination codes m1n, mlk, n1m, nlk, klm as shown in FIG.
.

knを、第11図に示すようにデータのビット数が変る
境目毎に付けるものが挙げられる。
One example is one in which kn is added at each boundary where the number of bits of data changes, as shown in FIG.

また、さらに他の実施例としては、ローデータ圧縮装置
を、上記実施例のようなハードロジックとせず、DSP
あるいはマイクロプロセッサにより構成したものが挙げ
られる。
In yet another embodiment, the raw data compression device is not made of hard logic as in the above embodiments, but is implemented using a DSP.
Alternatively, it may be configured using a microprocessor.

また、上記実施例では、コンピュータの機能として伸張
処理を説明したが、これをハードロジックにより構成し
たものが挙げられる。
Furthermore, in the above embodiments, decompression processing has been described as a computer function, but it may also be implemented using hard logic.

なお、説明の簡単のために、データ転送時の誤り訂正に
ついての説明を省略したが、例えばビットマージ回路1
3で誤り訂正符号を付加し、コンピュータ94側でデー
タの誤りを訂正できるようにするのが好ましいことは言
うまでもない。
Note that for the sake of simplicity, we have omitted the explanation of error correction during data transfer, but for example, the bit merge circuit 1
It goes without saying that it is preferable to add an error correction code in Step 3 so that data errors can be corrected on the computer 94 side.

[発明の効果コ この発明のCT装置におけるローデータ圧縮装置および
伸張装置1によれば、X線照射のインターバルを短くし
ても、転送レートが低い伝送系を用いて、DAS側から
コンピュータ側へローデータを逐次送ることができるよ
うになる。
[Effects of the Invention] According to the raw data compression device and decompression device 1 in a CT apparatus of the present invention, even if the interval of X-ray irradiation is shortened, data can be transferred from the DAS side to the computer side using a transmission system with a low transfer rate. Raw data can be sent sequentially.

また、大量のデータを保存する必要がないため、特殊な
ハードディスクやバルクメモリ等を用いる必要がなくな
る。
Furthermore, since there is no need to store large amounts of data, there is no need to use a special hard disk or bulk memory.

従って、コストアップを沼かずに、連続回転型CTスキ
ャナにも対応できるようになる。
Therefore, it becomes possible to support continuous rotation type CT scanners without increasing costs.

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

第1図はこの発明の一実施例のローデータ圧縮装置の回
路図、第2図はビットマージ回路の作動を説明するため
の概念図、第3図はビットマージ回路から出力されるデ
ータの構造図、第4図はローデータの例示図、第5図は
一次圧縮データの例示図、第6図は二次圧縮データの例
示図、第7図はコンピュータへ出力されるデータの例示
図、第8図は伸張処理のフローチャート、第9図はロー
データが復元されることを示す説明図、第10図は判別
コードの他の例を示す説明図、第11図は第10図の判
別コードを用いた第3図相当図、第12図はX線CTス
キャナの一般的構成例を示すブロック図である。 (符号の説明) 1・・ローデータ圧縮装置 2.6.12・・・パイプラインレジスタ3.7.9・
・・シフトレジスタ 4.8・・・減算回路 5.11・・・データセレクタ 13・・・ビットマージ回路 14・・・FIFO 15・・・1り御回路 90・・・X線CTスキャナ 92・・・X線検出器 93・・・DAS 94・・・コンピュータ 95・・・記憶装置。
Fig. 1 is a circuit diagram of a raw data compression device according to an embodiment of the present invention, Fig. 2 is a conceptual diagram for explaining the operation of the bit merging circuit, and Fig. 3 is the structure of data output from the bit merging circuit. 4 is an example of raw data, FIG. 5 is an example of primary compressed data, FIG. 6 is an example of secondary compressed data, FIG. 7 is an example of data output to a computer, Figure 8 is a flowchart of the decompression process, Figure 9 is an explanatory diagram showing how raw data is restored, Figure 10 is an explanatory diagram showing another example of the determination code, and Figure 11 is an illustration of the determination code in Figure 10. The diagram corresponding to FIG. 3 used and FIG. 12 are block diagrams showing a general configuration example of an X-ray CT scanner. (Explanation of symbols) 1..Raw data compression device 2.6.12..Pipeline register 3.7.9.
...Shift register 4.8...Subtraction circuit 5.11...Data selector 13...Bit merge circuit 14...FIFO 15...1 control circuit 90...X-ray CT scanner 92... ...X-ray detector 93...DAS 94...computer 95...storage device.

Claims (1)

【特許請求の範囲】 1、CTスキャナにおけるローデータをX_(_V_)
_C(但し、Vはビュー番号、Cは検出器のチャネル)
とするとき、 (a)D_(_V_)_C=X_(_V_)_C−X_
(_V_−_1_)_Cにより一次差分D_(_V_)
_Cを算出する一次差分算出手段と、 (b)ローデータのためのビット数mより小さい所定の
ビット数nに前記D_(_V_)_Cが収まるか否かを
判定し、 収まると判定したときは、 Y_(_V_)_C=D_(_V_)_C 収まらないと判定したときは、 Y_(_V_)_C=X_(_V_)_C により一次圧縮データY_(_V_)_Cを作成する一
次圧縮データ作成手段と、 (c)E_(_V_)_C=Y_(_V_)_C−Y_
(_V_)_Cにより二次差分E_(_V_)_Cを算
出する二次差分算出手段と、 (d)一次差分のためのビット数nより小さい所定のビ
ット数kに前記E_(_V_)_Cが収まるか否かを判
定し、 収まると判定し、且つ、そのE_(_V_)_Cを算出
したときのY_(_V_)_C、Y_(_V_−_1_
)_Cがそれぞれ一次差分D_(_V_)_C、D_(
_V_−_1_)_Cであるときは、Z_(_V_)_
C=E_(_V_)_C 上記以外のときは、 Z_(_V_)_C=Y_(_V_)_C により二次圧縮データZ_(_V_)_Cを作成する二
次圧縮データ作成手段と、 (e)二次圧縮データZ_(_V_)_Cがローデータ
か、一次差分か、二次差分かを判別するための判別コー
ドを生成する判別コード生成手段と を具備してなることを特徴とするCTスキャナにおける
ローデータ圧縮装置。 2、(a)請求項1の判別コードにより二次圧縮データ
Z_(_V_)_Cがローデータか、一次差分か、二次
差分かを判定する判定手段と、 (b)ローデータと判定したときは、 X_(_V_)_C=Z_(_V_)_C 一次差分と判定したときは、 X_(_V_)_C=X_(_V_−_1_)_C+Z
_(_V_)_C二次差分と判定したときは、 X_(_V_)_C=2X_(_V_−_1_)_C−
X_(_V_−_2_)_2+Z_(_V_)_Cによ
りローデータX_(_V_)_Cを算出するローデータ
算出手段とを具備してなることを特徴とするCTスキャ
ナにおけるローデータ伸張装置。
[Claims] 1. Raw data in a CT scanner is X_(_V_)
_C (where V is the view number and C is the detector channel)
When, (a) D_(_V_)_C=X_(_V_)_C-X_
First difference D_(_V_) due to (_V_-_1_)_C
(b) determining whether the D_(_V_)_C falls within a predetermined number of bits n smaller than the number of bits m for raw data, and when it is determined that it does; , Y_(_V_)_C=D_(_V_)_C When it is determined that the data does not fit, a primary compressed data creation means creates primary compressed data Y_(_V_)_C by Y_(_V_)_C=X_(_V_)_C; (c) E_(_V_)_C=Y_(_V_)_C-Y_
(_V_)_C to calculate a second-order difference E_(_V_)_C; (d) the E_(_V_)_C falls within a predetermined number of bits k smaller than the number of bits n for the first-order difference; Y_(_V_)_C, Y_(_V_-_1_
)_C are the first differences D_(_V_)_C, D_(
When _V_-_1_)_C, Z_(_V_)_
C=E_(_V_)_C In cases other than the above, Z_(_V_)_C=Y_(_V_)_C. Secondary compressed data creation means for creating secondary compressed data Z_(_V_)_C; Raw data in a CT scanner, comprising a discrimination code generation means for generating a discrimination code for discriminating whether compressed data Z_(_V_)_C is raw data, a first difference, or a second difference. Compression device. 2. (a) A determining means for determining whether the secondary compressed data Z_(_V_)_C is raw data, a primary difference, or a secondary difference using the determination code of claim 1; (b) When determining that the secondary compressed data Z_(_V_)_C is raw data; is, X_(_V_)_C=Z_(_V_)_C When it is determined to be a first-order difference,
_(_V_)_C When it is determined to be a quadratic difference, X_(_V_)_C=2X_(_V_-_1_)_C-
A raw data decompression device for a CT scanner, comprising raw data calculation means for calculating raw data X_(_V_)_C from X_(_V_-_2_)_2+Z_(_V_)_C.
JP1261781A 1989-10-06 1989-10-06 Raw data compression device and decompression device in CT scanner Expired - Lifetime JP2813992B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1261781A JP2813992B2 (en) 1989-10-06 1989-10-06 Raw data compression device and decompression device in CT scanner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1261781A JP2813992B2 (en) 1989-10-06 1989-10-06 Raw data compression device and decompression device in CT scanner

Publications (2)

Publication Number Publication Date
JPH03123538A true JPH03123538A (en) 1991-05-27
JP2813992B2 JP2813992B2 (en) 1998-10-22

Family

ID=17366613

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1261781A Expired - Lifetime JP2813992B2 (en) 1989-10-06 1989-10-06 Raw data compression device and decompression device in CT scanner

Country Status (1)

Country Link
JP (1) JP2813992B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004313561A (en) * 2003-04-18 2004-11-11 Ge Medical Systems Global Technology Co Llc Data compression method, data compression device and calculated tomographic image device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4549522B2 (en) * 2000-12-14 2010-09-22 ジーイー・メディカル・システムズ・グローバル・テクノロジー・カンパニー・エルエルシー X-ray CT apparatus and X-ray fluoroscopic inspection apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004313561A (en) * 2003-04-18 2004-11-11 Ge Medical Systems Global Technology Co Llc Data compression method, data compression device and calculated tomographic image device
JP4511804B2 (en) * 2003-04-18 2010-07-28 ジーイー・メディカル・システムズ・グローバル・テクノロジー・カンパニー・エルエルシー Data compression method, data compression apparatus, and computed tomography apparatus

Also Published As

Publication number Publication date
JP2813992B2 (en) 1998-10-22

Similar Documents

Publication Publication Date Title
JPH05276052A (en) Method for decoding huffman code word and device therefor
EP0605210B1 (en) Image processing method and apparatus
JPH03123538A (en) Low data compressing and expanding apparatus for ct scanner
US11513732B2 (en) Fast data compression for systems with large dynamic ranges or other systems
EP0481645A1 (en) Methods and apparatus for testing image processing apparatus
JPS60138680A (en) Radiation ct device
KR102401783B1 (en) Image displaying apparatus and method of controlling the same
JP3865869B2 (en) Run-length encoding device
KR19990011063A (en) Optical disc player with full period compensation function and its operation method
EP0434815B1 (en) Digital data transmission system
JPH1097439A (en) Digital signal error detector and detecting method
JPS61278273A (en) Picture reducing system
Madden et al. Fpga-based compression of streaming x-ray photon correlation spectroscopy data
JP3786485B2 (en) Run-length encoding device
JPH01221143A (en) Memory unit for ct device
KR100581449B1 (en) A Method For Generating Level-0 International Standard Production Data Set File In Realtime From Data of Sensor In AQUA Satellite And Apparatus Thereof
US5568488A (en) Pointer re-setting method and apparatus thereof
JPH0230284A (en) Receiver in picture transmission system
JPH11185035A (en) Image processing device and method
JP3799818B2 (en) Image processing device
KR100684564B1 (en) Frame synchronization method and apparatus therefor
JP3293382B2 (en) Data compression device and data decompression device
JPS593550A (en) Operation processor
JPH02244873A (en) Image compression processor
JPH04216242A (en) Bit/byte converting system