JP2813992B2 - Raw data compression device and decompression device in CT scanner - Google Patents
Raw data compression device and decompression device in CT scannerInfo
- Publication number
- JP2813992B2 JP2813992B2 JP1261781A JP26178189A JP2813992B2 JP 2813992 B2 JP2813992 B2 JP 2813992B2 JP 1261781 A JP1261781 A JP 1261781A JP 26178189 A JP26178189 A JP 26178189A JP 2813992 B2 JP2813992 B2 JP 2813992B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- raw data
- difference
- primary
- flag
- 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
Links
Landscapes
- Apparatus For Radiation Diagnosis (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] この発明は、CTスキャナにおけるローデータ(RAW DA
TA)圧縮装置および伸張装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to raw data (RAW DA) in a CT scanner.
TA) A compression device and an expansion device.
[従来の技術] 第12図にX線CTスキャナの一般的構成例を示す。[Prior Art] FIG. 12 shows a general configuration example of an X-ray CT scanner.
このX線CTスキャナ90において、91はX線管、92はX
線検出器である。これらは図の矢印のように回転し、わ
ずかに異なる角度毎にX線照射を行なって、電離電荷デ
ータを得る。In this X-ray CT scanner 90, 91 is an X-ray tube, and 92 is an X-ray tube.
It is a line detector. These rotate as indicated by arrows in the figure, and perform X-ray irradiation at slightly different angles to obtain ionized charge data.
電離電荷データは、データ収集装置(DAS)93に収集
され、数値化され、ローデータX(V)Cとしてコンピュー
タ94に転送される。The ionized charge data is collected by a data collection device (DAS) 93, digitized, and transferred to a computer 94 as raw data X (V) C.
ここで、ローデータ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. C is a channel number, and corresponds to each of the multiple channels of the X-ray detector 92.
コンピュータ94は、転送されてきたローデータX(V)C
を記憶装置95に格納する。また、格納したローデータX
(V)Cを取り出し、画像再構成装置96により画像化し、表
示装置97に表示する。The computer 94 transmits the transferred raw data X (V) C
Is stored in the storage device 95. Also, stored raw data X
(V) C is taken out, image-formed by the image reconstruction device 96, and displayed on the display device 97.
[発明が解決しようとする課題] 上記従来のX線CTスキャナ90では、1回のX線照射で
電離電荷データが得られる毎にDAS93がそれをローデー
タX(V)Cに変換し、コンピュータ94に転送している。[Problems to be Solved by the Invention] In the above-mentioned conventional X-ray CT scanner 90, every time ionization charge data is obtained by one X-ray irradiation, the DAS 93 converts it into raw data X (V) C , Transfer to 94.
しかし、X線照射のインターバルが、1回分のローデ
ータX(V)Cの転送所要時間よりも短くなると、X線照射
毎にローデータX(V)Cを転送することが出来なくなる問
題点がある。However, the interval of X-ray irradiation, becomes shorter than the transfer time required for one cycle of the raw data X (V) C, it becomes impossible to transfer the raw data X (V) C every X-ray irradiation problems is there.
このため、転送レートの高い伝送系にしたり、ローデ
ータをDAS93側で一時的に記憶しておくことが考えられ
るが、いずれの場合でも設備負担が大幅に増える問題点
がある。For this reason, it is conceivable to use a transmission system with a high transfer rate or temporarily store the raw data on the DAS 93 side, but in any case, there is a problem that the equipment load is greatly increased.
そこで、この発明の目的は、低い転送レートの伝送系
でも次々にローデータをコンピュータに転送できるよう
に、ローデータを圧縮するローデータ圧縮装置を提供す
ることにある。また、その圧縮されたデータを元のロー
データに復元する伸張装置を提供することを目的とす
る。SUMMARY OF THE INVENTION It is an object of the present invention to provide a raw data compression apparatus for compressing raw data so that raw data can be sequentially transferred to a computer even in a transmission system with a low transfer rate. It is another object of the present invention to provide a decompression device that restores the compressed data to original raw data.
[課題を解決するための手段] この発明のローデータ圧縮装置は、CTスキャナにおけ
るローデータをX(V)C(但し、Vはビュー番号,Cは検出
器のチャネル)とするとき、 D(V)C=X(V)C−X(V-1)C により一次差分D(V)Cを算出する一次差分算出手段と、 ローデータのためのビット数mより小さい所定のビッ
ト数nに前記D(V)Cが収まるか否かを判定し、収まると
判定したときは、Y(V)C=D(V)C、収まらないと判定した
ときは、Y(V)C=X(V)C、により一次圧縮データY(V)Cを
作成する一次圧縮データ作成手段と、 E(V)C=Y(V)C−Y(V-1)C により二次差分E(V)Cを算出する二次差分算出手段と、 一次差分のためのビット数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を作成する二次圧縮データ
作成手段と、 二次圧縮データZ(V)Cがローデータか,一次差分か,
二次差分かを判別するための判別コードを生成する判別
コード生成手段とを具備してなることを構成上の特徴と
するものである。[Means for Solving the Problems] The raw data compression apparatus according to the present invention is arranged such that when the raw data in the CT scanner is X (V) C (where V is the view number and C is the channel of the detector), D ( V) C = X (V) C- X (V-1) C A primary difference calculating means for calculating a primary difference D (V) C , and a predetermined number of bits n smaller than the number m of bits for raw data. It is determined whether or not the above D (V) C fits, and if it is determined that it fits, Y (V) C = D (V) C , and if it is determined that it does not fit, Y (V) C = X ( V) C , a primary compressed data generating means for generating primary compressed data Y (V) C , and E (V) C = Y (V) C− Y (V-1) C for a secondary difference E (V) A secondary difference calculating means for calculating C ; determining whether or not the E (V) C is within a predetermined number of bits k smaller than the number of bits n for the primary difference; Y (V) C , Y where E (V) C is calculated
When (V-1) C is the primary difference D (V) C , D (V-1) C , respectively, Z (V) C = E (V) C , otherwise, Z (V) C = Y (V) C ,
The secondary compressed data creating means for creating a secondary compressed data Z (V) C, secondary compression data Z (V) C Do raw data, or the primary difference,
It is characterized in that it comprises a discrimination code generation means for generating a discrimination code for discriminating whether it is a secondary difference.
また、この発明の伸張装置は、上記判別コードにより
二次圧縮データZ(V)Cがローデータか,一次差分か,二
次差分かを判定する判定手段と、 ローデータと判定したときは、 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)C+Z(V)C によりローデータX(V)Cを算出するローデータ算出手段
とを具備してなることを構成上の特徴とするものであ
る。The decompression device according to the present invention further includes: a determination unit configured to determine whether the secondary compressed data Z (V) C is raw data, a primary difference, or a secondary difference based on the determination code; X (V) C = Z ( V) C, when it is determined that the primary difference, X (V) C = X (V-1) C + Z (V) when it is determined that C secondary difference, X (V ) C = 2X (V-1) C- X (V-2) C + Z (V) C Raw data calculating means for calculating raw data X (V) C It is assumed that.
[作用] この発明のローデータ圧縮装置では、隣接するビュー
のローデータ間で一次差分および二次差分を算出する。
そして、一次差分および二次差分がそれぞれ所定のビッ
ト数に収まれば、ローデータに代えて、一次差分または
二次差分を用いる。[Operation] The raw data compression device of the present invention calculates a primary difference and a secondary difference between raw data of adjacent views.
If the primary difference and the secondary difference each fall within the predetermined number of bits, the primary difference or the secondary difference is used instead of the raw data.
隣接するビューのローデータは近似していることが多
いからから、一次差分または二次差分が用いられる確率
は高い。Since the raw data of adjacent views are often approximated, the probability that the primary difference or the secondary difference is used is high.
ところが、これら一次差分,二次差分はローデータよ
りもビット数が小さいから、これによりデータ圧縮が行
われたことになる。However, since the primary difference and the secondary difference have a smaller number of bits than the raw data, this means that data compression has been performed.
このように圧縮されたデータは、ローデータと,一次
差分と,二次差分とが混在しているので、それらを判別
するための判別コードを付加する。Since the data thus compressed contains raw data, primary differences, and secondary differences, a discrimination code for discriminating them is added.
そして、これらをDAS側からコンピュータ側へ転送す
れば、短いインターバルで発生するローデータでも、転
送レートの低い伝送系で、支障なく転送できるようにな
る。Then, if these are transferred from the DAS to the computer, even low data generated at short intervals can be transferred without any trouble in 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 transmitted from the DAS side and the discrimination code thereof,
A predetermined operation is performed to decompress the compressed data.
そこで、これにより元のローデータが復元され、画像
再構成等の処理を行うことが出来るようになる。Thus, this restores the original raw data so that processing such as image reconstruction can be performed.
[実施例] 以下、図に示す実施例に基づいてこの発明をさらに詳
しく説明する。なお、これによりこの発明が限定される
ものではない。[Example] Hereinafter, the present invention will be described in more detail based on an example shown in the drawings. It should be noted that the present invention is not limited by this.
第1図は、この発明の一実施例のローデータ圧縮装置
1を示す回路図で、第12図に示すDAS93の出力側と伝送
路の間に介設されるものである。FIG. 1 is a circuit diagram showing a raw data compression apparatus 1 according to one embodiment of the present invention, which is provided between an output side of a DAS 93 and a transmission line shown in FIG.
まず、ローデータ圧縮装置1の作動の初期設定とし
て、ローデータを1ビュー分遅らせるためのシフトレジ
スタ3と,一次差分を1ビュー分遅れらせるためのシフ
トレジスタ7と,一次圧縮データがローデータか一次差
分かを示すフラグAを1ビュー分遅らせるためのシフト
レジスタ9とが、制御回路15によりクリアされる。First, as an initial setting of the operation of the raw data compression device 1, a shift register 3 for delaying raw data by one view, a shift register 7 for delaying the primary difference by one view, The control circuit 15 clears the shift register 9 for delaying the flag A indicating whether the difference is the primary difference by one view.
次に、制御回路15は、DAS93からストローブ信号が出
力されると、パイプラインレジスタ2を制御して、DAS9
3から入力されるローデータX(V)Cを受け取らせ、シフト
レジスタ3と減算回路4とデータセレクタ5とに入力す
る。Next, when the strobe signal is output from the DAS 93, the control circuit 15 controls the pipeline register 2 to
It receives the raw data X (V) C input from 3 and inputs it to the shift register 3, the subtraction circuit 4, and the data selector 5.
シフトレジスタ3は、1ビュー分遅らせたローデータ
X(V-1)Cを出力する。Shift register 3 is raw data delayed by one view
Outputs X (V-1) C.
そこで、減算回路4では、現在のビューのローデータ
X(V)Cと前のビューのローデータX(V-1)Cとが減算演算さ
れ、一次差分D(V)Cが算出されて、データセレクタ5へ
出力される。また、減算回路4は、ローデータのための
ビット数mよりも小さく設定されている一次差分のため
のビット数nに,前記算出した一次差分D(V)Cが収まっ
たか否かを判定し、収まっていればフラグAとして0を
出力し、収まっていなければフラグAとして1を出力す
る。Therefore, the subtraction circuit 4 uses the raw data of the current view.
X (V) C and the row data X (V-1) C of the previous view are subjected to a subtraction operation, a primary difference D (V) C is calculated, and output to the data selector 5. Further, the subtraction circuit 4 determines whether or not the calculated primary difference D (V) C falls within the number of bits n for the primary difference set smaller than the number of bits m for the raw data. If it is within the range, 0 is output as the flag A, and if it is not within the range, 1 is output as the flag A.
データセレクタ5は、フラグAにより制御され、フラ
グAが0のときは一次差分D(V)Cを出力し、フラグAが
1のときはローデータX(V)Cを出力する。このデータセ
レクタ5の出力が一次圧縮データY(V)Cである。The data selector 5 is controlled by the flag A. When the flag A is 0, it outputs a primary difference D (V) C , and when the flag A is 1, it outputs low data X (V) C. The output of the data selector 5 is the primary compressed data Y (V) C.
前記フラグAと,一次圧縮データY(V)Cとは、パイプ
ラインレジスタ6に入力される。The flag A and the primary compressed data Y (V) C are input to the pipeline register 6.
パイプラインレジスタ6は、前記フラグAをシフトレ
ジスタ9とオア回路10とパイプラインレジスタ12とに入
力する。また、パイプラインレジスタ6は、前記一次圧
縮データY(V)Cをシフトレジスタ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 pipeline register 6 inputs the primary compressed data Y (V) C to the shift register 7, the subtraction circuit 8, and the data selector 11.
シフトレジスタ7は、1ビュー分遅らせた一次圧縮デ
ータY(V-1)Cを出力する。The shift register 7 outputs the primary compressed data Y (V-1) C delayed by one view.
そこで、減算回路8では、現在のビューの一次圧縮デ
ータY(V)Cと前のビューの一次圧縮データY(V-1)Cとが減
算演算され、二次差分E(V)Cが算出されて、データセレ
クタ11へ出力される。また、減算回路8は、一次差分の
ためのビット数nよりも小さく設定されている二次差分
のためのビット数kに,前記算出した二次差分E(V)Cが
収まったか否かを判定し、収まっていればフラグBとし
て0を出力し、収まっていなければフラグBとして1を
出力する。Therefore, the subtraction circuit 8 subtracts the primary compressed data Y (V) C of the current view from the primary compressed data Y (V-1) C of the previous view, and calculates a secondary difference E (V) C. Then, the data is output to the data selector 11. The subtraction circuit 8 determines whether or not the calculated secondary difference E (V) C falls within the number of bits k for the secondary difference that is set to be smaller than the number of bits n for the primary difference. Judgment is performed, and if it is within the range, 0 is output as the flag B, and if not, 1 is output as the flag B.
一方、シフトレジスタ9は、1ビュー分遅らせたフラ
グA(以下、フラグaと称する)をオア回路10とパイプ
ラインレジスタ12と出力する。On the other hand, the shift register 9 outputs a flag A (hereinafter, referred to as a flag a) delayed by one view to the OR circuit 10 and the pipeline register 12.
データセレクタ11は、オア回路10を介して入力される
フラグAおよびフラグa(前のビューのフラグA)と,
減算回路8から入力されるフラグBとにより制御され、
オア回路10の出力が0であり且つフラグBが0であると
きにのみ二次差分E(V)Cを出力し、それ以外のときは一
次圧縮データY(V)Cを出力する。このデータセレクタ11
の出力が二次圧縮データZ(V)Cであり、パイプラインレ
ジスタ12に入力される。The data selector 11 outputs the flag A and the flag a (the flag A of the previous view) input through the OR circuit 10,
Controlled by the flag B input from the subtraction circuit 8,
The secondary difference E (V) C is output only when the output of the OR circuit 10 is 0 and the flag B is 0, and otherwise, the primary compressed data Y (V) C is output. This data selector 11
Is the secondary compressed data Z (V) C and is input to the pipeline register 12.
パイプラインレジスタ12は、フラグAと,フラグa
と,フラグBと,二次圧縮データZ(V)Cきをビットマー
ジ回路13に入力する。The pipeline register 12 stores a flag A and a flag a.
, The flag B, and the secondary compressed data Z (V) C are input to the bit merge circuit 13.
ビットマージ回路13は、第2図に示すように、フラグ
Aが1のときは、先頭ビットと次のビットを1とし、そ
の後に二次圧縮データZ(V)Cのmビット分を続ける。一
方、フラグAが0であり且つフラグaが1であるとき及
びフラグAが0で且つフラグaが0で且つフラグBが1
であるときは、先頭ビットを1とし、次のビットを0と
し、その後に二次圧縮データZ(V)Cのnビット分を続け
る。さらに、フラグA,フラグa,フラグBが全て0である
ときは、先頭ビットを0とし、その後に二次圧縮データ
Z(V)Cのkビット分を続ける。As shown in FIG. 2, when the flag A is 1, the bit merge circuit 13 sets the first bit and the next bit to 1, and thereafter continues the m bits of the secondary compressed data Z (V) C. On the other hand, when the flag A is 0 and the flag a is 1, the flag A is 0, the flag a is 0, and the flag B is 1
, The first bit is set to 1, the next bit is set to 0, and then n bits of the secondary compressed data Z (V) C are continued. Further, when the flags A, a and B are all 0, the first bit is set to 0, and then the secondary compressed data
Continue for k bits of Z (V) C.
このようにして、ビットマージ回路13は、判別コード
(前記先頭ビットおよび先頭と次のビット)を付加した
データを作成し、第3図に示すように、pビット分づつ
パックにして、FIFO14へ出力する。In this way, the bit merge circuit 13 creates data to which the discrimination code (the leading bit and the leading and next bits) is added, and packs the data into p bits as shown in FIG. Output.
FIFO14は、コンピュータ94へとデータを送出する。 The FIFO 14 sends data to the computer 94.
以上のようにして、ローデータX(V)Cと,一次差分D
(V)Cと,二次差分E(V)Cとが混在するデータがコンピュ
ータへ転送されるが、大部分は一次差分D(V)Cまたは二
次差分E(V)Cであり、データの圧縮が行なわれている。As described above, the raw data X (V) C and the primary difference D
And (V) C, although secondary difference E (V) data C and are mixed is transferred to a computer, the majority is the primary difference D (V) C or secondary difference E (V) C, data Compression has been performed.
従って、短いインターバルでX線照射が行なわれて
も、転送レートが低い伝送系を用いて、支障なくデータ
をコンピュータへ転送できるようになる。Therefore, even if X-ray irradiation is performed at short intervals, data can be transferred to a computer without any trouble using a transmission system with a low transfer rate.
第4図〜第7図はローデータの圧縮過程を具体的に例
示したものである。但し、簡単のために、X線検出器92
のチャネル数を5とし、ビューも1から5までとしてい
る。FIGS. 4 to 7 specifically illustrate the process of compressing raw data. However, for simplicity, the X-ray detector 92
Is 5 and the views are also 1 to 5.
まず、第4図はシフトレジスタ3の内容を例示したも
のである。ビュー0はクリアされた状態を示す。ビュー
1以後はローデータX(V)Cが入っている。First, FIG. 4 illustrates the contents of the shift register 3. View 0 shows a cleared state. After view 1, raw data X (V) C is included.
次に、第5図はシフトレジスタ7の内容を例示したも
のである。これらが一次圧縮データY(V)Cであるが、そ
の中身は主として一次差分D(V)Cであり、一次差分D(V)C
がnビットに収まらなかった部分にローデータX(V)Cが
混在している。なお、ビュー0はクリアされた状態を示
す。また、各値の下部に記した値は、フラグAである。Next, FIG. 5 illustrates the contents of the shift register 7. These are the primary compressed data Y (V) C , whose contents are mainly the primary difference D (V) C , and the primary difference D (V) C
Are mixed with raw data X (V) C in a portion that does not fit into n bits. View 0 shows a cleared state. The value described below each value is the flag A.
次に、第6図は前記第4図および第5図と同じ形式で
表現した二次圧縮データZ(V)Cである。ここでは主とし
て二次差分E(V)Cであるが、ローデータX(V)Cと一次差分
D(V)Cとが混在している。各値の下部に記した値は、順
にフラグA,フラグa,フラグBである。フラグBの△印は
0でも1でもよい(同じ結果になる)ことを示してい
る。Next, FIG. 6 shows the secondary compressed data Z (V) C expressed in the same format as in FIGS. 4 and 5. Here, it is mainly the secondary difference E (V) C , but the raw data X (V) C and the primary difference
D (V) C is mixed. The values described below each value are a flag A, a flag a, and a flag B in this order. The Δ mark of the flag B indicates that it may be 0 or 1 (the same result is obtained).
次に、第7図、第6図に示す二次圧縮データZ(V)Cお
よびフラグA,フラグa,フラグBに基づいてビットマージ
回路13で作成された出力信号を、第6図と同じ形式で表
現したものである。各値の下部に記した値は、先頭ビッ
トまたは先頭ビットと次のビットであり、判別コードで
ある。Next, the output signal generated by the bit merging circuit 13 based on the secondary compressed data Z (V) C and the flags A, a, and B shown in FIGS. It is expressed in a format. The value described below each value 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 be integrated into an IC.
さて、コンピュータ94側では、前記ローデータ圧縮装
置1からのデータを受け取ると、記憶装置95に記憶す
る。データが圧縮されているため、高速大容量のハード
ディスク装置等を使わなくても済むようになる。When the computer 94 receives the data from the raw data compression device 1, the data is stored in the storage device 95. Since the data is compressed, it is not necessary to use a high-speed and large-capacity hard disk device.
コンピュータ94は、記憶装置95に記憶していた前記圧
縮されたデータを必要時に取り出し、伸張処理を行なっ
て、元のローデータに復元する。第8図はこの伸張処理
の作動を示すフローチャートである。The computer 94 extracts the compressed data stored in the storage device 95 when necessary, performs decompression processing, and restores the original raw data. FIG. 8 is a flowchart showing the operation of the decompression process.
すなわち、第8図のステップ81では、記憶装置95に格
納している圧縮されたデータを順に取り出し、先頭ビッ
トが1か否かを判定する。That is, in step 81 of FIG. 8, the compressed data stored in the storage device 95 is sequentially extracted, and it is determined whether or not the leading bit is 1.
先頭ビットが1ならば、ステップ82に進み、次ビット
が1か否かを判定する。If the first bit is 1, the routine proceeds to step 82, where it is determined whether the next bit is 1.
次ビットが1ならば、ステップ83に進み、続くmビッ
ト分をローデータとする。すなわち、 X(V)C=Z(V)C となる。If the next bit is 1, the process proceeds to step 83, and the subsequent m bits are set to low data. That is, X (V) C = Z (V) C.
一方、前記ステップ82で、次ビットが0ならば、ステ
ップ82に進み、次式によりローデータを算出する。On the other hand, if the next bit is 0 in step 82, the flow advances to step 82 to calculate raw data by the following equation.
X(V)C=X(V-1)C+Z(V)C さらに、前記ステップ81で、先頭ビットが0ならば、
ステップ85に進み、次式によりローデータを算出する。X (V) C = X (V-1) C + Z (V) C Further, if the first bit is 0 in step 81,
Proceeding to step 85, the raw data is calculated by the following equation.
X(V)C=2X(V-1)C−X(V-2)C+Z(V)C ステップ86では、データがなくなるまで上記ステップ
81〜85を繰り返えさせる。X (V) C = 2X (V-1) C -X (V-2) C + Z (V) C In step 86, the above steps are performed until there is no more data.
Repeat steps 81-85.
以上により、ローデータX(V)Cが復元されることにな
る。As described above, the raw data X (V) C is restored.
第9図は、上記のようにして、第7図の圧縮されたデ
ータから元のローデータが復元されることを示してい
る。FIG. 9 shows that the original raw data is restored from the compressed data of FIG. 7 as described above.
他の実施例としては、第3図のように1データ毎に判
別コードを付けるのではなく、第10図に示す如き判別コ
ードm|n,m|k,n|m,n|k,k|m,k|nを、第11図に示すように
データのビット数が変る境目毎に付けるものが挙げられ
る。In another embodiment, a discrimination code m | n, m | k, n | m, n | k, k as shown in FIG. 10 is used instead of a discrimination code for each data as shown in FIG. As shown in FIG. 11, | m and k | n are added at each boundary where the number of data bits changes.
また、さらに他の実施例としては、ローデータ圧縮装
置を、上記実施例のようなハードロジックとせず、DSP
あるいはマイクロプロセッサにより構成したものが挙げ
られる。Further, as still another embodiment, the raw data compression apparatus is not hard logic as in the above-described embodiment, and a DSP is used.
Alternatively, one constituted by a microprocessor can be used.
また、上記実施例では、コンピュータの機能として伸
張処理を説明したが、これをハードロジックにより構成
したものが挙げられる。In the above-described embodiment, the decompression process is described as a function of the computer.
なお、説明の簡単のために、データ転送時の誤り訂正
についての説明を省略したが、例えばビットマージ回路
13で誤り訂正符号を付加し、コンピュータ94側でデータ
の誤りを訂正できるようにするのが好ましいことは言う
までもない。For the sake of simplicity, the description of error correction at the time of data transfer is omitted, but for example, a bit merge circuit
Needless to say, it is preferable to add an error correction code at 13 so that the computer 94 can correct data errors.
[発明の効果] この発明のCT装置におけるローデータ圧縮装置および
伸張装置1によれば、X線照射のインターバルを短くし
ても、転送レートが低い伝送系を用いて、DAS側からコ
ンピュータ側へローデータを逐次送ることができるよう
になる。[Effects of the Invention] According to the raw data compression apparatus and the expansion apparatus 1 in the CT apparatus of the present invention, even if the interval of X-ray irradiation is shortened, the transmission system having a low transfer rate is used to transfer data from the DAS to the computer. Raw data can be sent sequentially.
また、大量のデータを保存する必要がないため、特殊
なハードディスクやバルクメモリ等を用いる必要がなく
なる。Further, since there is no need to store a large amount of data, it is not necessary to use a special hard disk, bulk memory, or the like.
従って、コストアップを招かずに、連続回転型CTスキ
ャナにも対応できるようになる。Therefore, it is possible to cope with the continuous rotation type CT scanner without increasing the cost.
第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……制御回路 90……X線CTスキャナ 92……X線検出器 93……DAS 94……コンピュータ 95……記憶装置。FIG. 1 is a circuit diagram of a raw data compression apparatus according to an embodiment of the present invention, FIG. 2 is a conceptual diagram for explaining the operation of a bit merge circuit, and FIG. 3 is a structure of data output from the bit merge circuit. Fig. 4, Fig. 4 is an illustration of raw data, Fig. 5 is an illustration of primary compressed data, Fig. 6 is an illustration of secondary compressed data, Fig. 7 is an illustration of data output to a computer, 8 is a flowchart of the decompression process, FIG. 9 is an explanatory diagram showing that the raw data is restored, FIG. 10 is an explanatory diagram showing another example of the discrimination code, and FIG. 11 is a diagram showing the discrimination code of FIG. FIG. 12 and FIG. 12 are block diagrams showing a general configuration example of an X-ray CT scanner. (Explanation of reference numerals) 1... Raw data compression device 2, 6, 12... Pipeline register 3, 7, 9... Shift register 4, 8... Subtraction circuit 5, 11... Data selector 13. Circuit 14 FIFO 15 Control circuit 90 X-ray CT scanner 92 X-ray detector 93 DAS 94 Computer 95 Storage device.
Claims (2)
(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-1)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スキャナにおけるロ
ーデータ圧縮装置。1. The raw data in a CT scanner is X
(V) C (where, V is the view number, C is a channel of the detector) when a, (a) D (V) C = X (V) C -X (V-1) C by the primary difference D ( V) a primary difference calculating means for calculating C ; and (b) determining whether or not the D (V) C falls within a predetermined number n of bits smaller than the number m of bits for raw data, and determining that the D (V) C falls within the predetermined number n. When it is determined that Y (V) C = D (V) C does not fit, primary compressed data creation means for creating primary compressed data Y (V) C by Y (V) C = X (V) C (C) a secondary difference calculating means for calculating a secondary difference E (V) C from E (V) C = Y (V) C -Y (V-1) C ; and (d) a primary difference. of the number of bits smaller than n predetermined number of bits k is determined whether the E (V) C falls, determines that fits, and, Y when the calculated the E (V) C
When (V) C and Y (V-1) C are the primary differences D (V) C and D (V-1) C , respectively, Z (V) C = E (V) C , Z (V) C = Y (V) C to create secondary compressed data Z (V) C , and (e) whether the secondary compressed data Z (V) C is raw data, A determination code generating means for generating a determination code for determining whether the difference is a primary difference or a secondary difference.
縮データ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)C+Z(V)C によりローデータX(V)Cを算出するローデータ算出手段
と を具備してなることを特徴とするCTスキャナにおけるロ
ーデータ伸張装置。(A) determining means for determining whether the secondary compressed data Z (V) C is raw data, primary difference, or secondary difference based on the determination code of claim 1; When it is determined, X (V) C = Z (V) C When it is determined as a primary difference, when X (V) C = X (V-1) C + Z (V) C When it is determined as a secondary difference, X (V) C = 2X (V-1) C- X (V-2) C + Z (V) C and raw data calculating means for calculating raw data X (V) C. Low data decompression device for CT scanner.
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 JPH03123538A (en) | 1991-05-27 |
| JP2813992B2 true 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)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002186610A (en) * | 2000-12-14 | 2002-07-02 | Ge Medical Systems Global Technology Co Llc | X-ray ct apparatus and x-ray fluoroscopic inspection device |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4511804B2 (en) * | 2003-04-18 | 2010-07-28 | ジーイー・メディカル・システムズ・グローバル・テクノロジー・カンパニー・エルエルシー | Data compression method, data compression apparatus, and computed tomography apparatus |
-
1989
- 1989-10-06 JP JP1261781A patent/JP2813992B2/en not_active Expired - Lifetime
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002186610A (en) * | 2000-12-14 | 2002-07-02 | Ge Medical Systems Global Technology Co Llc | X-ray ct apparatus and x-ray fluoroscopic inspection device |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH03123538A (en) | 1991-05-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2813992B2 (en) | Raw data compression device and decompression device in CT scanner | |
| JP3569003B2 (en) | Method for transmitting information for a given application in the form of a series of different entities by means of ATM cells and an apparatus for implementing this method | |
| EP0429055A2 (en) | Data format for packets of information | |
| JP2624299B2 (en) | Acceleration operation circuit | |
| JP3263671B2 (en) | Error detection device | |
| JP3604795B2 (en) | Print control device and print control method | |
| JPH03106239A (en) | Information transmitter | |
| US6868091B1 (en) | Apparatus and method for depacketizing and aligning packetized input data | |
| JP3865869B2 (en) | Run-length encoding device | |
| JP2824741B2 (en) | ATM cell detector | |
| JP2002024167A (en) | Data transfer device | |
| JP4028299B2 (en) | Image processing apparatus, image processing method, and image processing program | |
| JPH10341437A (en) | Image processing method and device therefor | |
| JP4446389B2 (en) | Interface device for compression / decompression module | |
| JPH01221143A (en) | Memory unit for ct device | |
| JPH04216242A (en) | Bit/byte converting system | |
| Madden et al. | Fpga-based compression of streaming x-ray photon correlation spectroscopy data | |
| JP3408636B2 (en) | Image reading method | |
| JP2780503B2 (en) | Parity check detection circuit | |
| TW202602129A (en) | Event data output sensors and electronic devices | |
| JP2863392B2 (en) | Equipment for testing network equipment | |
| JP2783273B2 (en) | Alarm collection method and alarm collection device to which it is applied | |
| JPS58172060A (en) | Detection system for line synchronizing signal | |
| JPS593550A (en) | Operation processor | |
| JPS63301636A (en) | Bit error rate operating system |