[go: up one dir, main page]

JPH11134472A - Image processor, storage medium readable by computer and digital photographing device - Google Patents

Image processor, storage medium readable by computer and digital photographing device

Info

Publication number
JPH11134472A
JPH11134472A JP9294388A JP29438897A JPH11134472A JP H11134472 A JPH11134472 A JP H11134472A JP 9294388 A JP9294388 A JP 9294388A JP 29438897 A JP29438897 A JP 29438897A JP H11134472 A JPH11134472 A JP H11134472A
Authority
JP
Japan
Prior art keywords
correction table
correction
image data
image
correcting
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
JP9294388A
Other languages
Japanese (ja)
Inventor
Junichi Yamayoshi
純一 山吉
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP9294388A priority Critical patent/JPH11134472A/en
Publication of JPH11134472A publication Critical patent/JPH11134472A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To promptly correct the deviation of gain based on sensitivity of solid-state photographing device by every pixel of a photographed image by using a correction table according to the solid-state photographing device to be used in a system to use plural X-ray solid-state photographing devices by switching them. SOLUTION: Image data 30 to be obtained by radiating X-ray at a state without a subject to be photographed is stored as a value of a gain table in a storage device 39. Storage of the image data 30 is performed for each of plural solid-state photographing devices. And one of the plural gain tables stored according to the solid-state photographing device to be used is read and written in the gain table 45. And the subject is placed, the X-ray is radiated by placing the subject to be photographed and the gain of the image data 30 of the subject to be obtained is corrected by using the gain table 45 in a computing element 33.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、固体撮像装置を用
いたX線デジタル撮影装置等に用いて好適な画像処理装
置、コンピュータ読み取り可能な記憶媒体及びデジタル
撮影装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, a computer-readable storage medium, and a digital imaging apparatus suitable for use in an X-ray digital imaging apparatus using a solid-state imaging device.

【0002】[0002]

【従来の技術】医療診断を目的とするX線撮影は、増感
紙とX線写真フィルムとを組み合わせたフィルムスクリ
ーンシステムがよく行われている。この方法によれば、
被写体を通過したX線は、被写体の内部情報を含み、そ
れが増感紙によってX線の強度に比例した可視光に変換
されてX線写真フィルムを感光させ、X線画像をフィル
ム上に形成する。また、最近では、X線を蛍光体によっ
てX線の強度に比例した可視光に変換し、それを光電変
換素子を用いて電気信号に変換し、それをデジタル変換
するX線デジタル撮影装置が使用されはじめている。こ
の光電変換素子としては、アモルファスシリコンを用い
たものがあり、この光電変換素子をマトリクス状に並べ
ることによって2次元センサを構成している。
2. Description of the Related Art A film screen system combining an intensifying screen and an X-ray photographic film is often used for X-ray photography for medical diagnosis. According to this method,
The X-rays that have passed through the subject contain internal information of the subject, which is converted into visible light in proportion to the intensity of the X-rays by the intensifying screen, exposing the X-ray photographic film, and forming an X-ray image on the film I do. Recently, an X-ray digital imaging device that converts X-rays into visible light in proportion to the intensity of the X-rays using a phosphor, converts the converted light into an electric signal using a photoelectric conversion element, and converts the converted signal into a digital signal has been used. It is starting to be done. Some of the photoelectric conversion elements use amorphous silicon, and a two-dimensional sensor is configured by arranging the photoelectric conversion elements in a matrix.

【0003】2次元センサの各光電変換素子が1画素を
形成するが、光電変換素子の感度(ゲイン)は、画素毎
に異なるため、この感度差を補正する必要がある。ま
た、X線はX線発生装置から放射状に出力されるため、
場所によって画素に入射するX線強度に差が出る。これ
らの補正方法としては、撮影装置の前に被写体を置かず
にX線を曝射し、その時得られた画像から画素値の最大
値を1として他の画素を正規化した画像サイズ分のゲイ
ンテーブルを作る。そして、被写体を置いて撮影したX
線画像の各画素値を上記のゲインテーブルの各画素に対
応する値で割り算する。実際の方法としては、撮影され
たX線画像をCPUでソフト的に演算する方法と、図4
に示すようにハードウェアで行う方法とがある。
[0003] Each photoelectric conversion element of the two-dimensional sensor forms one pixel, but since the sensitivity (gain) of the photoelectric conversion element differs for each pixel, it is necessary to correct this sensitivity difference. Also, since X-rays are output radially from the X-ray generator,
The X-ray intensity incident on the pixel differs depending on the location. As these correction methods, X-rays are emitted without placing the subject in front of the image capturing apparatus, and the maximum pixel value is set to 1 from the image obtained at that time, and the gain corresponding to the image size obtained by normalizing other pixels is set. Make a table. Then, X with the subject placed
Each pixel value of the line image is divided by a value corresponding to each pixel of the above gain table. As an actual method, a method of calculating a photographed X-ray image by software by a CPU and a method of FIG.
As shown in FIG.

【0004】図4において、画像取り込み装置10内の
ゲインテーブル11は、コントローラ12によって制御
され、データを書き込むようにバッファ13を有効にし
た状態で、まず、被写体を置かずにX線を曝射して画像
を取得する。その画像データは画像入力ライン14から
入力される。この画像データは、LIN/LOG変換用
のルックアップテーブル15を通してLOG変換され、
バッファ13を通ってゲイン値Gとしてゲインテーブル
11に書き込まれる。次に、バッファ13を無効にした
状態で、被写体を置いてX線を曝射し、被写体画像を取
得する。画像入力ライン14から入力された画像データ
はルックアップテーブル15を通してLOG変換され、
演算器16に入力される。
In FIG. 4, a gain table 11 in an image capturing device 10 is controlled by a controller 12, and first, an X-ray is irradiated without placing a subject in a state where a buffer 13 is enabled to write data. To get the image. The image data is input from the image input line 14. This image data is LOG-converted through a look-up table 15 for LIN / LOG conversion,
The data is written into the gain table 11 as the gain value G through the buffer 13. Next, in a state where the buffer 13 is invalidated, the subject is placed and irradiated with X-rays to obtain a subject image. The image data input from the image input line 14 is LOG-converted through the look-up table 15,
The data is input to the arithmetic unit 16.

【0005】コントローラ12は、X線画像が演算器1
6に入力されるのと同じタイミングでゲインテーブル1
1を読み出し、読み出されたデータは演算器16に入力
される。演算器16では、ゲインテーブル11からのゲ
イン値Gと被写体画像との画素毎の減算が行われる。演
算器16の出力は、LOG/LIN変換用のルックアッ
プテーブル17を通してLIN変換され、補正済み画像
としてインターフェース18から出力される。
[0005] The controller 12 transmits the X-ray image to the computing unit 1.
Gain table 1 at the same timing as input to
1 is read, and the read data is input to the arithmetic unit 16. The arithmetic unit 16 performs a pixel-by-pixel subtraction between the gain value G from the gain table 11 and the subject image. The output of the arithmetic unit 16 is LIN-converted through a look-up table 17 for LOG / LIN conversion, and is output from the interface 18 as a corrected image.

【0006】ここで、Gをゲインテーブル出力のゲイン
値、Xを被写体画像の画素値とすると、ルックアップテ
ーブル17には、log(G/X)=logG−log
XをX/G*Cに変換するようなテーブルが書き込まれ
ている。すなわち、C*(10の−i乗)(iは、ルッ
クアップテーブル17への入力値=log(G/X))
となる。この時、CはX/Gが1以上の整数になるよう
にあらかじめ決められた定数であり、例えば、ゲイン値
Gの最大値がせいぜい12ビットなら、C=2の12乗
=4096となる。
Here, if G is the gain value of the gain table output and X is the pixel value of the subject image, the look-up table 17 contains log (G / X) = logG-log
A table for converting X into X / G * C is written. That is, C * (10 to the power of −i) (i is an input value to the look-up table 17 = log (G / X))
Becomes At this time, C is a constant determined in advance so that X / G is an integer of 1 or more. For example, if the maximum value of the gain value G is at most 12 bits, C = 2 <12> 4096.

【0007】次に、光電変換素子の中には、正常に機能
しないもの(欠陥画素)が製造上の問題から存在してし
まう。現状の技術で全く欠陥画素の無い固体撮像装置を
製造するのは困難である。通常は欠陥画素は、回りの画
素などから推測して補間される。実際の方法としては、
撮影されたX線画像をCPUでソフト的に演算する方法
と、図5に示すようにハードウェアで行う方法とがあ
る。
Next, some of the photoelectric conversion elements that do not function normally (defective pixels) exist due to manufacturing problems. It is difficult to manufacture a solid-state imaging device having no defective pixels with the current technology. Normally, a defective pixel is interpolated by inferring it from surrounding pixels and the like. In practice,
There are a method of calculating the captured X-ray image by software using a CPU, and a method of performing the calculation by hardware as shown in FIG.

【0008】図5において、画像取り込み装置20内の
欠陥画素テーブル21は、コントローラ22によって制
御される。まず、データを書き込むようにバッファ23
を有効にした状態で、被写体を置かずにX線を曝射して
画像を取得する。その画像データは、画像入力ライン2
4から入力される。欠陥判定部25は、入力された画像
データの値がある一定以下のものを欠陥画素と判定し、
バッファ23を介して欠陥画素テーブル21に“1”を
書き込み、一定以上のものを正常画素と判定し、欠陥画
素テーブル21に“0”を書き込む。この時、入力画像
データは、そのまま演算器26に入力される。
In FIG. 5, a defective pixel table 21 in an image capturing device 20 is controlled by a controller 22. First, the buffer 23 is written to write data.
With X is enabled, an image is obtained by exposing X-rays without placing a subject. The image data is the image input line 2
4 is input. The defect determination unit 25 determines that the value of the input image data is a certain value or less as a defective pixel,
“1” is written to the defective pixel table 21 via the buffer 23, a pixel having a certain value or more is determined as a normal pixel, and “0” is written to the defective pixel table 21. At this time, the input image data is directly input to the arithmetic unit 26.

【0009】次に、バッファ23を無効にした状態で、
被写体を置いてX線を曝射し、被写体画像を取得する。
画像入力ライン24から入力された画像データは、欠陥
判定部25をそのまま通り、演算器26に入力される。
コントローラ22は、被写体画像が演算器26に入力さ
れるのと同じタイミングで欠陥画素テーブル21を読み
出し、読み出されたデータDは演算器26に入力され
る。演算器26では、欠陥画素テーブル値Dが“1”の
時、その画素は無効として、一つ前の画素を使うなどし
て欠陥画素を補間し、補正済み画像としてインターフェ
ース27を介して出力する。
Next, with the buffer 23 invalidated,
An X-ray is emitted while placing the subject, and a subject image is obtained.
The image data input from the image input line 24 passes through the defect determination unit 25 as it is and is input to the calculator 26.
The controller 22 reads the defective pixel table 21 at the same timing as the subject image is input to the arithmetic unit 26, and the read data D is input to the arithmetic unit 26. When the defective pixel table value D is “1”, the arithmetic unit 26 invalidates the defective pixel, interpolates the defective pixel by using the immediately preceding pixel, and outputs the corrected image via the interface 27 as a corrected image. .

【0010】[0010]

【発明が解決しようとする課題】しかしながら、固体撮
像装置の解像度、大きさは、日々進歩し、現在では、2
000×2000以上の画素数も出てきており、総画素
数は4Mピクセル以上にもなり、このためゲイン補正の
演算をソフトウェアで行う場合は、処理時間がある程度
かかるため、撮影したX線画像を即時的に表示するため
のネックになっていた。また、2つ以上の固体撮像装置
を含むX線センサ部が接続されて、これらのX線センサ
部を切り替えて使用する場合が考えられるが、切り替え
のたびにゲインテーブルを取得するのは、X線を曝射す
る必要上困難であった。即ち、前述したハードウェア補
正方法では、ゲインテーブル11にゲイン値を書き込む
ためには、X線の曝射回路を増加させねばならないこと
になる。上記のことは、欠陥画素テーブルについても同
様の問題があった。
However, the resolution and size of the solid-state imaging device have been improved day by day.
The number of pixels of 000 × 2000 or more has come out, and the total number of pixels has reached 4 M pixels or more. Therefore, when calculating the gain correction by software, it takes a certain amount of processing time. It was a bottleneck for immediate display. In addition, it is conceivable that an X-ray sensor unit including two or more solid-state imaging devices is connected and these X-ray sensor units are switched and used. It was difficult due to the necessity of exposing the rays. That is, in the hardware correction method described above, in order to write a gain value in the gain table 11, the number of X-ray irradiation circuits must be increased. The above has the same problem with the defective pixel table.

【0011】[0011]

【課題を解決するための手段】本発明による画像処理装
置においては、入力する画像データを補正用テーブルを
用いて補正する補正手段と、上記補正用テーブルを記憶
する記憶手段と、上記記憶された補正用テーブルを読み
出して上記補正手段に与える制御を行う制御手段とを設
けている。
In an image processing apparatus according to the present invention, a correction means for correcting input image data using a correction table, a storage means for storing the correction table, and a storage means for storing the correction table And control means for reading the correction table and controlling the correction table.

【0012】本発明による他の画像処理装置において
は、入力する画像データを補正用テーブルを用いて補正
する補正手段と、上記補正用テーブルを記憶する記憶手
段と、上記記憶手段に接続され上記補正用テーブルの書
き換えを行うための汎用バス手段と、上記記憶された補
正用テーブルを読み出して上記補正手段に与える制御を
行う制御手段とを設けている。
In another image processing apparatus according to the present invention, a correction means for correcting input image data using a correction table, a storage means for storing the correction table, and the correction means connected to the storage means A general-purpose bus means for rewriting the correction table and a control means for controlling the reading of the stored correction table and giving the correction table to the correction table are provided.

【0013】本発明によるコンピュータ読み取り可能な
記憶媒体においては、補正用テーブルを記憶する手順
と、上記記憶された補正用テーブルを読み出して補正手
段に与える手順と、入力された画像データを上記補正手
段の補正用テーブルを用いて補正する手順とを実行する
ためのプログラムを記憶している。
In a computer readable storage medium according to the present invention, a procedure for storing a correction table, a procedure for reading out the stored correction table and providing the same to a correction means, and a step for converting input image data into the correction means And a program for executing the procedure of performing correction using the correction table.

【0014】本発明による他のコンピュータ読み取り可
能な記憶媒体においては、補正用テーブルを記憶手段に
記憶する手順と、上記記憶された補正用テーブルを読み
出して補正手段に与える手順と、入力された画像データ
を上記補正手段の補正用テーブルを用いて補正する手順
と、上記記憶手段の補正用テーブルを汎用バスを通じて
書き換える手順とを実行するためのプログラムを記憶し
ている。
In another computer readable storage medium according to the present invention, a procedure for storing a correction table in a storage means, a procedure for reading the stored correction table and providing the correction table to the correction means, A program for executing a procedure of correcting data using the correction table of the correction means and a procedure of rewriting the correction table of the storage means through a general-purpose bus is stored.

【0015】本発明による更に他のコンピュータ読み取
り可能な記憶媒体においては、画像データを補正するた
めの補正用テーブルを記憶している。
Still another computer-readable storage medium according to the present invention stores a correction table for correcting image data.

【0016】本発明によるデジタル撮影装置において
は、固体撮像装置を有しており、上記固体撮像装置より
得られる画像を補正するために必要な補正用テーブルを
画像取り込み装置に持ち、上記補正用テーブルは、汎用
のバスに接続され、上記汎用バスに接続された処理装置
から任意のデータを書き込むことが可能であり、上記画
像の補正のために上記補正用テーブルを読み出すコント
ローラに接続されている。
The digital photographing apparatus according to the present invention has a solid-state imaging device, and the image capturing device has a correction table necessary for correcting an image obtained from the solid-state imaging device. Is connected to a general-purpose bus, can write arbitrary data from a processing device connected to the general-purpose bus, and is connected to a controller that reads the correction table for correcting the image.

【0017】[0017]

【発明の実施の形態】図3は、本発明を用いたX線撮影
装置の実施の形態を示す図である。図3において、X線
発生装置1から出力されたX線は、被写体2を通過して
架台9に取り付けられたX線センサ部3に入射する。こ
の入射したX線には、被写体2の内部情報が含まれてお
り、X線センサ部3内部の固体撮像装置4の蛍光体5で
X線の強度に比例した可視光に変換され、光電変換装置
6によってその可視光に比例した電荷に変換される。そ
して、AD変換によってデジタル化され、コントロール
部7に転送される。ここで、AD変換は、X線センサ部
3内部で行われても良いし、コントロール部7で行われ
てもよい。上記転送された画像データは表示部8で表示
される。コントロール部7には、上記1〜6、9の各部
と同様の101〜106、109の部分で構成される撮
影部が接続されており、撮影の切り替えが可能となって
いる。
FIG. 3 is a diagram showing an embodiment of an X-ray imaging apparatus using the present invention. In FIG. 3, the X-rays output from the X-ray generator 1 pass through the subject 2 and enter the X-ray sensor unit 3 attached to the gantry 9. The incident X-ray contains the internal information of the subject 2, and is converted into visible light proportional to the intensity of the X-ray by the phosphor 5 of the solid-state imaging device 4 inside the X-ray sensor unit 3, and the photoelectric conversion is performed. The device 6 converts the charge into a charge proportional to the visible light. Then, the data is digitized by AD conversion and transferred to the control unit 7. Here, the AD conversion may be performed inside the X-ray sensor unit 3 or may be performed by the control unit 7. The transferred image data is displayed on the display unit 8. The control unit 7 is connected to an imaging unit composed of 101 to 106 and 109 similar to the above units 1 to 6 and 9, and can switch imaging.

【0018】図1は上記コントロール部7の第1の実施
の形態を示したもので、前述したゲイン補正に関するも
のである。図1において、図3のX線センサ部3又は1
03から転送される画像データ30は、画像取り込み装
置31に入り、LIN/LOG変換用のルックアップテ
ーブル32、演算器33、バッファ34、ルックアップ
テーブル35、バッファ36を通って汎用バスインター
フェースIF37を介して処理装置としてのCPU38
の管理する記憶装置39に転送されて保存されるように
なされている。
FIG. 1 shows a first embodiment of the control unit 7, and relates to the above-described gain correction. In FIG. 1, the X-ray sensor unit 3 or 1 shown in FIG.
The image data 30 transferred from the image processor 03 enters the image capturing device 31 and passes through the general-purpose bus interface IF 37 through the lookup table 32 for LIN / LOG conversion, the arithmetic unit 33, the buffer 34, the lookup table 35, and the buffer 36. CPU 38 as a processing device via
Is transferred to and stored in a storage device 39 managed by the user.

【0019】ゲイン値Gを取得するためには、まず、C
PU38は、バッファ34を無効、バッファ40を有
効、バッファ36のデータ方向をαとし、データが素通
りするようにルックアップテーブル35にLIN/LI
N変換テーブルを書き込む。この時、コントローラ41
は、ルックアップテーブル35に対する制御信号LUT
0_contを生成する。次に、CPU38は、バッフ
ァ34を有効、バッファ40を無効、バッファ36のデ
ータ方向をβとし、演算器33をデータが素通りするよ
うに設定する。
To obtain the gain value G, first, C
The PU 38 invalidates the buffer 34, validates the buffer 40, sets the data direction of the buffer 36 to α, and stores the LIN / LI in the lookup table 35 so that the data passes through.
Write the N conversion table. At this time, the controller 41
Is a control signal LUT for the lookup table 35
Generate 0_cont. Next, the CPU 38 sets the buffer 34 to be valid, the buffer 40 to be invalid, the data direction of the buffer 36 to be β, and the arithmetic unit 33 to pass data through.

【0020】そして、被写体を置かずにX線を曝射して
画像を取得する。この画像データ30は、ルックアップ
テーブル32を通してLOG変換され、演算器33、バ
ッファ34、ルックアップテーブル35、バッファ36
を素通りし、汎用バスインターフェースIF37を介し
てCPU38の管理する記憶装置39に転送され、ゲイ
ン値として保存される。次に、CPU38は、バッファ
42を無効、バッファ43を有効、バッファ44のデー
タ方向をαとして、ゲインテーブル45に取得した上記
ゲイン値を書き込む。この時、コントローラ41は、ゲ
インテーブル45に対する制御信号TBL_contを
生成する。
Then, X-rays are emitted without placing the subject to obtain an image. The image data 30 is LOG-converted through a look-up table 32, and an arithmetic unit 33, a buffer 34, a look-up table 35, a buffer 36
Is transferred to the storage device 39 managed by the CPU 38 via the general-purpose bus interface IF 37 and stored as a gain value. Next, the CPU 38 writes the obtained gain value in the gain table 45, with the buffer 42 being invalid, the buffer 43 being valid, and the data direction of the buffer 44 being α. At this time, the controller 41 generates a control signal TBL_cont for the gain table 45.

【0021】次に、バッファ34を無効、バッファ40
を有効、バッファ36のデータ方向をαとし、ルックア
ップテーブル35に従来例で示したC*(10の−i
乗)(iは、ルックアップテーブル35への入力値=l
og(G/X))となるような変換テーブルを書き込
む。そして、バッファ34、42を有効、バッファ4
0、43を無効、バッファ36、44のデータ方向をβ
とし、演算器33をゲインテーブル出力と被写体画像と
の画素毎の減算が行われるように設定する。
Next, the buffer 34 is invalidated, and the buffer 40
Is valid, the data direction of the buffer 36 is α, and the look-up table 35 shows C * (−i of 10) shown in the conventional example.
(I is the input value to the lookup table 35 = 1)
og (G / X)). Then, buffers 34 and 42 are enabled, and buffer 4
0 and 43 are invalid, and the data direction of the buffers 36 and 44 is β
The arithmetic unit 33 is set so that a pixel-by-pixel subtraction between the gain table output and the subject image is performed.

【0022】次に、被写体を置いてX線を曝射して被写
体画像を得る。その画像データ30は、ルックアップテ
ーブル32を通してLOG変換され、演算器33に入力
される。コントローラ41は、被写体画像が演算器33
に入力されるのと同じタイミングでゲインテーブル45
が読み出され、読み出されたデータは演算器33に入力
される。演算器33では、ゲインテーブル出力と被写体
画像との画素毎の減算が行われる。演算器33の出力
は、ルックアップテーブル35を通してLIN変換さ
れ、補正済み画像として出力され、汎用バスインターフ
ェースIF37を介してCPU38の管理する記憶装置
39に転送されて保存される。
Next, the subject is placed and irradiated with X-rays to obtain a subject image. The image data 30 is LOG-converted through a look-up table 32 and input to a calculator 33. The controller 41 determines that the subject image is
Gain table 45 at the same timing as
Is read, and the read data is input to the arithmetic unit 33. In the arithmetic unit 33, subtraction for each pixel is performed between the gain table output and the subject image. The output of the arithmetic unit 33 is subjected to LIN conversion through a look-up table 35, output as a corrected image, transferred to a storage device 39 managed by a CPU 38 via a general-purpose bus interface IF 37, and stored.

【0023】以上のように、接続される複数のX線セン
サ部3、103の全てのゲインテーブルを予め記憶装置
39に取得しておき、X線センサ部3、103が変更さ
れる毎にそのX線センサ部に応じて記憶装置39からゲ
インテーブル45に書き込みを行う。
As described above, all the gain tables of the plurality of connected X-ray sensor units 3 and 103 are previously acquired in the storage device 39, and each time the X-ray sensor units 3 and 103 are changed, the gain table is obtained. Writing is performed from the storage device 39 to the gain table 45 in accordance with the X-ray sensor unit.

【0024】尚、図1におけるROM62及び上記記憶
装置56は本発明による記憶媒体を構成する。即ち、R
OM62には、上述した処理の手順を実行するためのプ
ログラムが記憶され、記憶装置56には、複数のゲイン
テーブルが記憶されている。また、これらの記憶媒体と
しては、半導体メモリ、光ディスク、光磁気ディスク、
磁気媒体等が用いられる。
The ROM 62 and the storage device 56 in FIG. 1 constitute a storage medium according to the present invention. That is, R
The OM 62 stores a program for executing the above-described processing procedure, and the storage device 56 stores a plurality of gain tables. These storage media include a semiconductor memory, an optical disk, a magneto-optical disk,
A magnetic medium or the like is used.

【0025】次に欠陥画素テーブルに関する第2の実施
の形態を説明する。ここでは、第1の実施の形態と同様
に図3に示すようにしてX線画像の撮影が行われるもの
とする。図2は、図3のコントロール部7の第2の実施
の形態を示すものである。図2において、図3のX線セ
ンサ部3又は103から転送される画像データ50は、
画像取り込み装置51に入り、演算部52、バッファ5
3を通り、汎用バスインターフェース54を介して処理
装置としてのCPU55の管理する記憶装置56に転送
されて保存されるようになされている。
Next, a second embodiment relating to a defective pixel table will be described. Here, it is assumed that the X-ray image is captured as shown in FIG. 3 as in the first embodiment. FIG. 2 shows a second embodiment of the control unit 7 of FIG. 2, image data 50 transferred from the X-ray sensor unit 3 or 103 in FIG.
After entering the image capturing device 51, the arithmetic unit 52, the buffer 5
3, the data is transferred to a storage device 56 managed by a CPU 55 as a processing device via a general-purpose bus interface 54 and stored.

【0026】欠陥画素判定ビットを取得するためには、
まず、CPU55は、バッファ53を有効、バッファ5
7のデータ方向をαにし、演算器52をデータが素通り
するように設定する。そして、被写体を置かずにX線を
曝射して画像データ50を取得し、演算器52、バッフ
ァ53を素通りして、汎用バスインターフェースIF5
4を介してCPU55の管理する記憶装置56に転送さ
れて保存される。
In order to obtain a defective pixel determination bit,
First, the CPU 55 validates the buffer 53,
7, the data direction is set to α, and the arithmetic unit 52 is set so that the data passes through. Then, X-rays are emitted without placing the subject to obtain image data 50, and the image data 50 is passed through the arithmetic unit 52 and the buffer 53 to the general-purpose bus interface IF5.
4 and transferred to and stored in the storage device 56 managed by the CPU 55.

【0027】そして、CPU55は、このデータから一
定以下の値のものを欠陥画素と判定し、その時の欠陥画
素テーブル値を“1”、一定以上の値のものを正常画素
として、欠陥画素テーブル値を“0”として記憶装置5
6に記憶しておく。全ての画素について判定が終了した
時点で、バッファ58、53を無効、バッファ57を有
効、バッファ57のデータ方向をαとし、完成した欠陥
画素テーブルを欠陥画素テーブル60に書き込む。この
時、コントローラ欠陥画素テーブル60に対する制御信
号TBL_contを生成する。そして、バッファ5
3、58を有効、バッファ57、59を無効、演算器5
2を欠陥画素補間が行われるように設定する。
Then, the CPU 55 determines a pixel having a value less than a certain value as a defective pixel from the data. To “0” in the storage device 5
6 is stored. When the determination is completed for all the pixels, the buffers 58 and 53 are disabled, the buffer 57 is enabled, the data direction of the buffer 57 is set to α, and the completed defective pixel table is written to the defective pixel table 60. At this time, a control signal TBL_cont for the controller defective pixel table 60 is generated. And buffer 5
3, 58 valid, buffers 57, 59 invalid, arithmetic unit 5
2 is set so that defective pixel interpolation is performed.

【0028】次に、被写体を置いてX線を曝射し、その
被写体画像データ50は演算器52に入力される。コン
トローラ61は、被写体画像が演算器52に入力される
のと同じタイミングで欠陥画素テーブル60を読み出
し、読み出されたデータは演算器52に入力される。演
算器52では、欠陥画素テーブル値=1のとき、その画
素は無効として、一つ前の画素を使うなどして欠陥画素
を補間し、汎用バスインターフェースIF54を介して
記憶装置56に転送されて保存される。
Next, the subject is placed and X-rays are emitted, and the subject image data 50 is input to a calculator 52. The controller 61 reads the defective pixel table 60 at the same timing as the subject image is input to the arithmetic unit 52, and the read data is input to the arithmetic unit 52. When the defective pixel table value = 1, the arithmetic unit 52 determines that the pixel is invalid, interpolates the defective pixel by using the immediately previous pixel, and transfers the defective pixel to the storage device 56 via the general-purpose bus interface IF 54. Will be saved.

【0029】以上のように、接続される複数のX線セン
サ部3、103の全ての欠陥画素テーブルを予め記憶装
置56に取得しておき、X線センサ部が変更される毎に
欠陥画素テーブル60に書き込みを行う。尚、図2のR
OM62、記憶装置56は、図1のROM46、記憶装
置39と同様に本発明による記憶媒体を構成する。
As described above, all the defective pixel tables of the plurality of connected X-ray sensor units 3 and 103 are previously acquired in the storage device 56, and each time the X-ray sensor unit is changed, the defective pixel table is obtained. 60 is written. Note that R in FIG.
The OM 62 and the storage device 56 constitute a storage medium according to the present invention, similarly to the ROM 46 and the storage device 39 in FIG.

【0030】[0030]

【発明の効果】以上説明したように、ゲインテーブル、
欠陥画素テーブルを予め保存しておき、書き換えができ
るようにすることで、X線センサ部等の撮像部分が代わ
っても保存しておいたゲイン値、欠陥画素テーブル値を
書き込むことで速やかに対応できる。特に、X線撮影の
場合は、X線センサ部が代わっても、X線を曝射するこ
となく対応できる。
As described above, the gain table,
The defective pixel table is stored in advance and can be rewritten, so that even if the imaging part such as the X-ray sensor unit is replaced, the stored gain value and defective pixel table value can be written to quickly respond. it can. In particular, in the case of X-ray imaging, even if the X-ray sensor unit is replaced, it is possible to cope without exposing X-rays.

【0031】また、上記書き換えは汎用バスを通じて処
理装置により行うようにすることができる。
Further, the above rewriting can be performed by a processing device through a general-purpose bus.

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

【図1】本発明の第1の実施の形態を示すブロック図で
ある。
FIG. 1 is a block diagram showing a first embodiment of the present invention.

【図2】本発明の第2の実施の形態を示すブロック図で
ある。
FIG. 2 is a block diagram showing a second embodiment of the present invention.

【図3】本発明によるX線撮影システム全体の実施の形
態を示す構成図である。
FIG. 3 is a configuration diagram showing an embodiment of the entire X-ray imaging system according to the present invention.

【図4】従来例を示すブロック図である。FIG. 4 is a block diagram showing a conventional example.

【図5】他の従来例を示すブロック図である。FIG. 5 is a block diagram showing another conventional example.

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

1、101 X線発生装置 2、102 被写体 3、103 X線センサ部 4、104 固体撮像装置 5、105 蛍光体 6、106 光電変換装置 7、107 コントロール部 30、50 画像データ 31、51 画像取り込み装置 32、35 ルックアップテーブル 33、52 演算器 38、55 処理装置(CPU) 39、56 記憶装置 41、61 コントローラ 46、62 ROM 1, 101 X-ray generator 2, 102 subject 3, 103 X-ray sensor 4, 104 solid-state imaging device 5, 105 phosphor 6, 106 photoelectric conversion device 7, 107 control unit 30, 50 image data 31, 51 image capture Devices 32, 35 Look-up tables 33, 52 Arithmetic units 38, 55 Processing devices (CPU) 39, 56 Storage devices 41, 61 Controllers 46, 62 ROM

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】 入力する画像データを補正用テーブルを
用いて補正する補正手段と、 上記補正用テーブルを記憶する記憶手段と、 上記記憶された補正用テーブルを読み出して上記補正手
段に与える制御を行う制御手段とを備えた画像処理装
置。
1. A correction means for correcting input image data using a correction table, a storage means for storing the correction table, and a control for reading out the stored correction table and giving it to the correction means. An image processing apparatus comprising:
【請求項2】 入力する画像データを補正用テーブルを
用いて補正する補正手段と、 上記補正用テーブルを記憶する記憶手段と、 上記記憶手段に接続され上記補正用テーブルの書き換え
を行うための汎用バス手段と、 上記記憶された補正用テーブルを読み出して上記補正手
段に与える制御を行う制御手段とを備えた画像処理装
置。
2. A correction means for correcting input image data using a correction table, a storage means for storing the correction table, and a general-purpose memory connected to the storage means for rewriting the correction table. An image processing apparatus comprising: a bus unit; and a control unit that reads out the stored correction table and controls the correction table.
【請求項3】 上記補正用テーブルは、上記画像データ
を得るための撮像装置における画素間のゲイン特性を補
正するためのものであることを特徴とする請求項1又は
2記載の画像処理装置。
3. The image processing apparatus according to claim 1, wherein the correction table is for correcting a gain characteristic between pixels in an image pickup apparatus for obtaining the image data.
【請求項4】 上記補正用テーブルは、上記画像データ
を得るための撮像装置における画素欠陥を補正するため
のものであることを特徴とする請求項1又は2記載の画
像処理装置。
4. The image processing apparatus according to claim 1, wherein the correction table is for correcting a pixel defect in an imaging device for obtaining the image data.
【請求項5】 上記記憶手段には、上記画像データを得
るための選択的に用いられる複数の撮像装置に対応する
複数の補正用テーブルが記憶され、上記制御手段は、選
択された撮像装置に応じた補正用テーブルを選択して上
記記憶手段から読み出すことを特徴とする請求項1又は
2記載の画像処理装置。
5. The storage unit stores a plurality of correction tables corresponding to a plurality of imaging devices selectively used for obtaining the image data, and the control unit stores the plurality of correction tables in the selected imaging device. 3. The image processing apparatus according to claim 1, wherein a corresponding correction table is selected and read from the storage unit.
【請求項6】 補正用テーブルを記憶する手順と、 上記記憶された補正用テーブルを読み出して補正手段に
与える手順と、 入力された画像データを上記補正手段の補正用テーブル
を用いて補正する手順とを実行するためのプログラムを
記憶したコンピュータ読み取り可能な記憶媒体。
6. A procedure for storing a correction table, a procedure for reading out the stored correction table and providing the same to a correction means, and a procedure for correcting input image data using the correction table of the correction means. And a computer-readable storage medium storing a program for executing the program.
【請求項7】 補正用テーブルを記憶手段に記憶する手
順と、 上記記憶された補正用テーブルを読み出して補正手段に
与える手順と、 入力された画像データを上記補正手段の補正用テーブル
を用いて補正する手順と、 上記記憶手段の補正用テーブルを汎用バスを通じて書き
換える手順とを実行するためのプログラムを記憶したコ
ンピュータ読み取り可能な記憶媒体。
7. A procedure for storing a correction table in a storage means, a procedure for reading out the stored correction table and providing it to the correction means, and a step of converting the input image data into the correction table of the correction means. A computer-readable storage medium storing a program for executing a procedure for performing correction and a procedure for rewriting a correction table of the storage unit through a general-purpose bus.
【請求項8】 画像データを補正するための補正用テー
ブルを記憶したコンピュータ読み取り可能な記憶媒体。
8. A computer-readable storage medium storing a correction table for correcting image data.
【請求項9】 上記記憶される補正用テーブルは、上記
画像データを得るための複数の撮像装置に対応する複数
の補正用テーブルであることを特徴とする請求項6、7
又は8記載のコンピュータ読み取り可能な記憶媒体。
9. The storage device according to claim 6, wherein the stored correction tables are a plurality of correction tables corresponding to a plurality of image pickup devices for obtaining the image data.
Or the computer-readable storage medium according to 8.
【請求項10】 上記補正用テーブルは、上記画像デー
タを得るための撮像装置における画素間のゲイン特性を
補正するためのものであることを特徴とする請求項6、
7又は8記載のコンピュータ読み取り可能な記憶媒体。
10. The apparatus according to claim 6, wherein the correction table is for correcting a gain characteristic between pixels in an image pickup apparatus for obtaining the image data.
9. The computer-readable storage medium according to 7 or 8.
【請求項11】 上記補正用テーブルは、上記画像デー
タを得るための撮像装置における画素欠陥を補正するた
めのものであることを特徴とする請求項6、7又は8記
載のコンピュータ読み取り可能な記憶媒体。
11. The computer-readable storage according to claim 6, wherein the correction table is for correcting a pixel defect in an imaging device for obtaining the image data. Medium.
【請求項12】 固体撮像装置をもつデジタル撮影装置
において、上記固体撮像装置より得られる画像を補正す
るために必要な補正用テーブルを画像取り込み装置に持
ち、上記補正用テーブルは、汎用のバスに接続され、上
記汎用バスに接続された処理装置から任意のデータを書
き込むことが可能であり、上記画像の補正のために上記
補正用テーブルを読み出すコントローラに接続されてい
ることを特徴とするデジタル撮影装置。
12. A digital photographing apparatus having a solid-state imaging device, the image capturing device has a correction table necessary for correcting an image obtained from the solid-state imaging device, and the correction table is connected to a general-purpose bus. Digital photographing apparatus, wherein arbitrary data can be written from a processing device connected to the general-purpose bus, and connected to a controller that reads the correction table for correcting the image. apparatus.
【請求項13】 上記固体撮像装置はX線に感度があ
り、上記固体撮像装置より得られる画像はX線画像であ
ることを特徴とする請求項12記載のデジタル撮影装
置。
13. The digital photographing apparatus according to claim 12, wherein said solid-state imaging device is sensitive to X-rays, and an image obtained from said solid-state imaging device is an X-ray image.
【請求項14】 上記補正用テーブルは、上記固体撮像
装置の画素間のゲイン特性を補正するためのものである
ことを特徴とする請求項12記載のデジタル撮影装置。
14. The digital photographing apparatus according to claim 12, wherein the correction table is for correcting a gain characteristic between pixels of the solid-state imaging device.
【請求項15】 上記補正用テーブルは、上記固体撮像
装置の画素欠陥を補正するためのものであることを特徴
とする請求項12記載のデジタル撮影装置。
15. The digital photographing apparatus according to claim 12, wherein the correction table is for correcting a pixel defect of the solid-state imaging device.
JP9294388A 1997-10-27 1997-10-27 Image processor, storage medium readable by computer and digital photographing device Pending JPH11134472A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9294388A JPH11134472A (en) 1997-10-27 1997-10-27 Image processor, storage medium readable by computer and digital photographing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9294388A JPH11134472A (en) 1997-10-27 1997-10-27 Image processor, storage medium readable by computer and digital photographing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2010000617A Division JP2010118067A (en) 2010-01-05 2010-01-05 Image processor, computer readable storage medium, and digital photographing device

Publications (1)

Publication Number Publication Date
JPH11134472A true JPH11134472A (en) 1999-05-21

Family

ID=17807093

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9294388A Pending JPH11134472A (en) 1997-10-27 1997-10-27 Image processor, storage medium readable by computer and digital photographing device

Country Status (1)

Country Link
JP (1) JPH11134472A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001037749A (en) * 1999-08-03 2001-02-13 Canon Inc Digital x-ray radiography system and its method
JP2001286457A (en) * 2000-04-07 2001-10-16 Canon Inc Radiographic imaging apparatus, method of correcting radiological image, and memory medium
JP2008167846A (en) * 2007-01-10 2008-07-24 Toshiba Corp Fluoroscopic image display system
JP2015163333A (en) * 2015-06-17 2015-09-10 キヤノン株式会社 Photographing apparatus and photographing system
JP2015180392A (en) * 2015-07-15 2015-10-15 キヤノン株式会社 Photographing device, photographing system, x-ray detection device, photographing method and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001037749A (en) * 1999-08-03 2001-02-13 Canon Inc Digital x-ray radiography system and its method
JP2001286457A (en) * 2000-04-07 2001-10-16 Canon Inc Radiographic imaging apparatus, method of correcting radiological image, and memory medium
JP2008167846A (en) * 2007-01-10 2008-07-24 Toshiba Corp Fluoroscopic image display system
JP2015163333A (en) * 2015-06-17 2015-09-10 キヤノン株式会社 Photographing apparatus and photographing system
JP2015180392A (en) * 2015-07-15 2015-10-15 キヤノン株式会社 Photographing device, photographing system, x-ray detection device, photographing method and program

Similar Documents

Publication Publication Date Title
WO2020034924A1 (en) Imaging control method and apparatus, electronic device, and computer readable storage medium
WO2017101451A1 (en) Imaging method, imaging device, and electronic device
JP3290027B2 (en) X-ray image display method and apparatus
JPH08265654A (en) Electronic imaging device
CN105578067A (en) Image generation method, device and terminal equipment
CN108833803A (en) Imaging method, device and electronic equipment
JPH11134472A (en) Image processor, storage medium readable by computer and digital photographing device
CN105578077A (en) Imaging method, imaging device and electronic device
JPH11136540A (en) Image processor, storage medium which computer can read and digital photographing device
JP3051902B2 (en) Radiation image information reading and displaying device
JP3038403B2 (en) Radiation image information reader
JP2010118067A (en) Image processor, computer readable storage medium, and digital photographing device
JP2002085391A (en) Radiography apparatus
JP4869439B2 (en) Image processing apparatus, image processing method, and computer-readable storage medium
JP2976196B2 (en) Radiation image information reading and displaying device
JP4497644B2 (en) Radiation imaging apparatus, radiation image correction method, and storage medium
JP4136063B2 (en) Radiation imaging device
JP2582269B2 (en) High sensitivity camera device
JP2003290197A (en) Medical image processor, medical image processing part, program and recording medium
JPH11136578A (en) Image pickup device, computer readable storage medium and digital photographing device
JP2952483B2 (en) Radiation image information reading and displaying device
JP2004007050A (en) Imaging apparatus
JP3530167B2 (en) Radiation image information reader
JP4696429B2 (en) Imaging device
JP2003014848A (en) Radiation imaging apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040708

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061130

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071024

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071120

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080121

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080219

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080321

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20080501

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20080523

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100105