JP2011101419A - Image processing apparatus, computer-readable storage medium and digital imaging device - Google Patents

Image processing apparatus, computer-readable storage medium and digital imaging device Download PDF

Info

Publication number
JP2011101419A
JP2011101419A JP2011009321A JP2011009321A JP2011101419A JP 2011101419 A JP2011101419 A JP 2011101419A JP 2011009321 A JP2011009321 A JP 2011009321A JP 2011009321 A JP2011009321 A JP 2011009321A JP 2011101419 A JP2011101419 A JP 2011101419A
Authority
JP
Japan
Prior art keywords
correction table
correction
correcting
image data
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2011009321A
Other languages
Japanese (ja)
Other versions
JP4869439B2 (en
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 JP2011009321A priority Critical patent/JP4869439B2/en
Publication of JP2011101419A publication Critical patent/JP2011101419A/en
Application granted granted Critical
Publication of JP4869439B2 publication Critical patent/JP4869439B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Image Analysis (AREA)
  • Apparatus For Radiation Diagnosis (AREA)
  • Image Input (AREA)
  • Image Processing (AREA)
  • Transforming Light Signals Into Electric Signals (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To speedily correct gain variance which is based on the sensitivity of a solid-state imaging device for each pixel of a photographed image, by using a correction table corresponding to the solid-state imaging device to be used, in a system where a plurality of solid-state X-ray imaging devices are used while being switched. <P>SOLUTION: Image data 30 obtained by radiating X-rays while no subject are stored in a storage device 39 as a value of a gain table. This is performed on each of a plurality of solid-state imaging devices. One of a plurality of stored gain tables is read out in accordance with the solid-state imaging device to be used, and written in a gain table 45. A subject is then placed and irradiated with X-rays and obtained image data 30 of the subject are gain-corrected using the gain table 45 in a computing element 33. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

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

医療診断を目的とするX線撮影は、増感紙とX線写真フィルムとを組み合わせたフィルムスクリーンシステムがよく行われている。この方法によれば、被写体を通過したX線は、被写体の内部情報を含み、それが増感紙によってX線の強度に比例した可視光に変換されてX線写真フィルムを感光させ、X線画像をフィルム上に形成する。
また、最近では、X線を蛍光体によってX線の強度に比例した可視光に変換し、それを光電変換素子を用いて電気信号に変換し、それをデジタル変換するX線デジタル撮影装置が使用されはじめている。この光電変換素子としては、アモルファスシリコンを用いたものがあり、この光電変換素子をマトリクス状に並べることによって2次元センサを構成している。
For X-ray imaging for the purpose of medical diagnosis, a film screen system in which an intensifying screen and an X-ray photographic film are combined is often performed. 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 proportional to the intensity of the X-rays by the intensifying screen to expose the X-ray photographic film, An image is formed on the film.
Recently, an X-ray digital imaging device is used that converts X-rays into visible light proportional to the intensity of X-rays using a phosphor, converts them into electrical signals using photoelectric conversion elements, and converts them into digital signals. Being started. As this photoelectric conversion element, there is one using amorphous silicon, and a two-dimensional sensor is configured by arranging the photoelectric conversion elements in a matrix.

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

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

コントローラ12は、X線画像が演算器16に入力されるのと同じタイミングでゲインテーブル11を読み出し、読み出されたデータは演算器16に入力される。演算器16では、ゲインテーブル11からのゲイン値Gと被写体画像との画素毎の減算が行われる。演算器16の出力は、LOG/LIN変換用のルックアップテーブル17を通してLIN変換され、補正済み画像としてインターフェース18から出力される。   The controller 12 reads the gain table 11 at the same timing when the X-ray image is input to the calculator 16, and the read data is input to the calculator 16. The computing unit 16 performs subtraction for each pixel 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.

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

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

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

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

しかしながら、固体撮像装置の解像度、大きさは、日々進歩し、現在では、2000×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. At present, the number of pixels of 2000 × 2000 or more has come out, and the total number of pixels becomes 4M pixels or more. In the case of using software, since processing time is required to some extent, it has become a bottleneck for immediately displaying a photographed X-ray image. 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 because of the need to expose the line. In other words, in the hardware correction method described above, in order to write a gain value in the gain table 11, the number of X-ray exposure circuits must be increased. The above has the same problem with the defective pixel table.

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

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

本発明によるコンピュータ読み取り可能な記憶媒体においては、補正用テーブルを記憶する手順と、前記記憶された補正用テーブルを読み出して補正手段に与える手順と、入力された画像データを前記補正手段の補正用テーブルを用いて補正する手順とを実行するためのプログラムを記憶している。   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 giving it to a correction unit, and input image data for correction by the correction unit A program for executing a correction procedure using a table is stored.

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

本発明によるデジタル撮影装置においては、固体撮像装置を有しており、前記固体撮像装置より得られる画像を補正するために必要な補正用テーブルを画像取り込み装置に持ち、前記補正用テーブルは、汎用バスに接続され、前記汎用バスに接続された処理装置から任意のデータを書き込むことが可能であり、前記画像の補正のために前記補正用テーブルを読み出すコントローラに接続されている。   The digital photographing device 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. Arbitrary data can be written from a processing device connected to the bus and connected to the general-purpose bus, and connected to a controller that reads the correction table for correcting the image.

前記補正用テーブルは、画像データを得るための撮像装置における画素毎のゲイン差を補正するため、又は画像データを得るための撮像装置における欠陥画素を補正するためのものである。   The correction table is for correcting a gain difference for each pixel in the imaging apparatus for obtaining image data, or correcting a defective pixel in the imaging apparatus for obtaining image data.

本発明によれば、ゲインテーブル、欠陥画素テーブルを予め保存しておき、書き換えができるようにすることで、X線センサ部等の撮像部分が代わっても保存しておいたゲイン値、欠陥画素テーブル値を書き込むことで速やかに対応できる。特に、X線撮影の場合は、X線センサ部が代わっても、X線を曝射することなく対応できる。   According to the present invention, the gain table and the defective pixel table are stored in advance and can be rewritten, so that the stored gain values and defective pixels can be stored even when the imaging unit such as the X-ray sensor unit is replaced. It can respond promptly by writing the table value. In particular, in the case of X-ray imaging, even if the X-ray sensor unit is replaced, it can be handled without exposing X-rays.

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

本発明の第1の実施の形態を示すブロック図である。It is a block diagram which shows the 1st Embodiment of this invention. 本発明の第2の実施の形態を示すブロック図である。It is a block diagram which shows the 2nd Embodiment of this invention. 本発明によるX線撮影システム全体の実施の形態を示す構成図である。It is a block diagram which shows embodiment of the whole X-ray imaging system by this invention. 従来例を示すブロック図である。It is a block diagram which shows a prior art example. 他の従来例を示すブロック図である。It is a block diagram which shows another prior art example.

図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, 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 includes 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 to be subjected to photoelectric conversion. The device 6 converts it into a charge proportional to the visible light. Then, it is digitized by AD conversion and transferred to the control unit 7. Here, 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 with an imaging unit composed of 101 to 106 and 109 similar to the above 1 to 6 and 9, and switching of imaging is possible.

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

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

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

次に、バッファ34を無効、バッファ40を有効、バッファ36のデータ方向をαとし、ルックアップテーブル35に従来例で示したC*(10の−i乗)(iは、ルックアップテーブル35への入力値=log(G/X))となるような変換テーブルを書き込む。そして、バッファ34、42を有効、バッファ40、43を無効、バッファ36、44のデータ方向をβとし、演算器33をゲインテーブル出力と被写体画像との画素毎の減算が行われるように設定する。   Next, the buffer 34 is disabled, the buffer 40 is enabled, the data direction of the buffer 36 is α, and C * (10 to the power of −i) shown in the conventional example in the lookup table 35 (i is the lookup table 35). Write a conversion table such that input value = log (G / X)). The buffers 34 and 42 are enabled, the buffers 40 and 43 are disabled, the data direction of the buffers 36 and 44 is β, and the calculator 33 is set so that the gain table output and the subject image are subtracted for each pixel. .

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

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

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

次に欠陥画素テーブルに関する第2の実施の形態を説明する。ここでは、第1の実施の形態と同様に図3に示すようにしてX線画像の撮影が行われるものとする。図2は、図3のコントロール部7の第2の実施の形態を示すものである。図2において、図3のX線センサ部3又は103から転送される画像データ50は、画像取り込み装置51に入り、演算部52、バッファ53を通り、汎用バスインターフェース54を介して処理装置としてのCPU55(制御手段)の管理する記憶手段としての記憶装置56に転送されて保存されるようになされている。ここで、図2のバスと汎用バスインターフェースIF54とで汎用バス手段が構成され、演算器52と欠陥画素テーブル60(補正用テーブル)とで補正手段が構成される。   Next, a second embodiment relating to the 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. 3 enters the image capturing device 51, passes through the arithmetic unit 52 and the buffer 53, and functions as a processing device via the general-purpose bus interface 54. The data is transferred to and stored in a storage device 56 as storage means managed by the CPU 55 (control means). Here, the bus of FIG. 2 and the general-purpose bus interface IF 54 constitute general-purpose bus means, and the calculator 52 and the defective pixel table 60 (correction table) constitute correction means.

欠陥画素判定ビットを取得するためには、まず、CPU55は、バッファ53を有効、バッファ57のデータ方向をαにし、演算器52をデータが素通りするように設定する。そして、被写体を置かずにX線を曝射して画像データ50を取得し、演算器52、バッファ53を素通りして、汎用バスインターフェースIF54を介してCPU55の管理する記憶装置56に転送されて保存される。   In order to acquire the defective pixel determination bit, first, the CPU 55 sets the buffer 53 to be valid, sets the data direction of the buffer 57 to α, and sets the calculator 52 so that the data passes through. Then, X-rays are emitted without placing a subject to acquire image data 50, pass through the computing unit 52 and buffer 53, and are transferred to the storage device 56 managed by the CPU 55 via the general-purpose bus interface IF 54. Saved.

そして、CPU55は、このデータから一定以下の値のものを欠陥画素と判定し、その時の欠陥画素テーブル値を“1”、一定以上の値のものを正常画素として、欠陥画素テーブル値を“0”として記憶装置56に記憶しておく。全ての画素について判定が終了した時点で、バッファ58、53を無効、バッファ57を有効、バッファ57のデータ方向をαとし、完成した欠陥画素テーブルを欠陥画素テーブル60に書き込む。この時、コントローラは欠陥画素テーブル60に対する制御信号TBL_contを生成する。そして、バッファ53、58を有効、バッファ57、59を無効、演算器52を欠陥画素補間が行われるように設定する。   Then, the CPU 55 determines that a value less than or equal to a certain value from this data is a defective pixel, sets the defect pixel table value at that time to “1”, sets the value above a certain value as a normal pixel, and sets the defect pixel table value to “0” "In the storage device 56. 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 α, and the completed defective pixel table is written in the defective pixel table 60. At this time, the controller generates a control signal TBL_cont for the defective pixel table 60. Then, the buffers 53 and 58 are enabled, the buffers 57 and 59 are disabled, and the calculator 52 is set so that defective pixel interpolation is performed.

次に、被写体を置いて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 the calculator 52. The controller 61 reads the defective pixel table 60 at the same timing when the subject image is input to the calculator 52, and the read data is input to the calculator 52. In the arithmetic unit 52, when the defective pixel table value = 1, the pixel is invalid, and the defective pixel is interpolated by using the previous pixel and transferred to the storage device 56 via the general-purpose bus interface IF54. Saved.

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

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
DESCRIPTION OF SYMBOLS 1,101 X-ray generator 2,102 Subject 3,103 X-ray sensor part 4,104 Solid-state imaging device 5,105 Phosphor 6,106 Photoelectric converter 7,107 Control part 30,50 Image data 31,51 Image capture Device 32, 35 Look-up table 33, 52 Calculator 38, 55 Processing device (CPU)
39, 56 Storage device 41, 61 Controller 46, 62 ROM

Claims (14)

入力する画像データを補正用テーブルを用いて補正する補正手段と、
前記補正用テーブルを記憶する記憶手段と、
前記記憶された補正用テーブルを読み出して前記補正手段に与える制御を行う制御手段とを備えた画像処理装置。
Correction means for correcting input image data using a correction table;
Storage means for storing the correction table;
An image processing apparatus comprising: a control unit that reads out the stored correction table and applies the control to the correction unit.
入力する画像データを補正用テーブルを用いて補正する補正手段と、
前記補正用テーブルを記憶する記憶手段と、
前記記憶手段に接続され前記補正用テーブルの書き換えを行うための汎用バス手段と、
前記記憶された補正用テーブルを読み出して前記補正手段に与える制御を行う制御手段とを備えた画像処理装置。
Correction means for correcting input image data using a correction table;
Storage means for storing the correction table;
General-purpose bus means connected to the storage means for rewriting the correction table;
An image processing apparatus comprising: a control unit that reads out the stored correction table and applies the control to the correction unit.
前記補正用テーブルは、前記画像データを得るための撮像装置における画素毎のゲイン差を補正するためのものであることを特徴とする請求項1又は2記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the correction table is for correcting a gain difference for each pixel in an imaging apparatus for obtaining the image data. 前記補正用テーブルは、前記画像データを得るための撮像装置における欠陥画素を補正するためのものであることを特徴とする請求項1又は2記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the correction table is for correcting defective pixels in an imaging apparatus for obtaining the image data. 前記記憶手段には、前記画像データを得るための切り替え可能に用いられる複数の撮像装置に対応する複数の補正用テーブルが記憶され、前記制御手段は、選択された撮像装置に応じた補正用テーブルを前記記憶手段から読み出すことを特徴とする請求項1又は2記載の画像処理装置。   The storage means stores a plurality of correction tables corresponding to a plurality of switchable imaging apparatuses used to obtain the image data, and the control means includes a correction table corresponding to the selected imaging apparatus. The image processing apparatus according to claim 1, wherein the image processing device is read from the storage unit. 補正用テーブルを記憶する手順と、
前記記憶された補正用テーブルを読み出して補正手段に与える手順と、
入力された画像データを前記補正手段の補正用テーブルを用いて補正する手順とをコンピュータに実行させるためのプログラムを記憶したコンピュータ読み取り可能な記憶媒体。
A procedure for storing a correction table;
A procedure for reading the stored correction table and giving it to the correction means;
A computer-readable storage medium storing a program for causing a computer to execute a procedure for correcting input image data using a correction table of the correction means.
補正用テーブルを記憶手段に記憶する手順と、
前記記憶された補正用テーブルを読み出して補正手段に与える手順と、
入力された画像データを前記補正手段の補正用テーブルを用いて補正する手順と、
前記記憶手段の補正用テーブルを汎用バスを通じて書き換える手順とをコンピュータに実行させるためのプログラムを記憶したコンピュータ読み取り可能な記憶媒体。
A procedure for storing the correction table in the storage means;
A procedure for reading the stored correction table and giving it to the correction means;
A procedure for correcting the input image data using a correction table of the correction means;
A computer-readable storage medium storing a program for causing a computer to execute a procedure for rewriting the correction table of the storage means through a general-purpose bus.
前記記憶される補正用テーブルは、前記画像データを得るための複数の撮像装置に対応する複数の補正用テーブルであることを特徴とする請求項6又は7記載のコンピュータ読み取り可能な記憶媒体。   8. The computer-readable storage medium according to claim 6 or 7, wherein the stored correction tables are a plurality of correction tables corresponding to a plurality of imaging devices for obtaining the image data. 前記補正用テーブルは、前記画像データを得るための撮像装置における画素毎のゲイン差を補正するためのものであることを特徴とする請求項6又は7記載のコンピュータ読み取り可能な記憶媒体。   8. The computer-readable storage medium according to claim 6, wherein the correction table is for correcting a gain difference for each pixel in an imaging apparatus for obtaining the image data. 前記補正用テーブルは、前記画像データを得るための撮像装置における欠陥画素を補正するためのものであることを特徴とする請求項6又は7記載のコンピュータ読み取り可能な記憶媒体。   The computer-readable storage medium according to claim 6 or 7, wherein the correction table is for correcting a defective pixel in an imaging apparatus for obtaining the image data. 固体撮像装置をもつデジタル撮影装置において、前記固体撮像装置より得られる画像を補正するために必要な補正用テーブルを画像取り込み装置に持ち、前記補正用テーブルは、汎用バスに接続され、前記汎用バスに接続された処理装置からデータを書き込むことが可能であり、前記画像の補正のために前記補正用テーブルを読み出すコントローラに接続されていることを特徴とするデジタル撮影装置。   In a digital imaging device 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, and the general-purpose bus A digital photographing device characterized in that data can be written from a processing device connected to the digital camera and is connected to a controller that reads the correction table for correcting the image. 前記固体撮像装置はX線に感度があり、前記固体撮像装置より得られる画像はX線画像であることを特徴とする請求項11記載のデジタル撮影装置。   12. The digital imaging apparatus according to claim 11, wherein the solid-state imaging device is sensitive to X-rays, and an image obtained from the solid-state imaging device is an X-ray image. 前記補正用テーブルは、前記固体撮像装置の画素毎のゲイン差を補正するためのものであることを特徴とする請求項11記載のデジタル撮影装置。   12. The digital photographing apparatus according to claim 11, wherein the correction table is for correcting a gain difference for each pixel of the solid-state imaging device. 前記補正用テーブルは、前記固体撮像装置の欠陥画素を補正するためのものであることを特徴とする請求項11記載のデジタル撮影装置。   12. The digital photographing apparatus according to claim 11, wherein the correction table is for correcting defective pixels of the solid-state imaging device.
JP2011009321A 2011-01-19 2011-01-19 Image processing apparatus, image processing method, and computer-readable storage medium Expired - Lifetime JP4869439B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011009321A JP4869439B2 (en) 2011-01-19 2011-01-19 Image processing apparatus, image processing method, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011009321A JP4869439B2 (en) 2011-01-19 2011-01-19 Image processing apparatus, image processing method, and computer-readable storage medium

Related Parent 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 (2)

Publication Number Publication Date
JP2011101419A true JP2011101419A (en) 2011-05-19
JP4869439B2 JP4869439B2 (en) 2012-02-08

Family

ID=44192147

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011009321A Expired - Lifetime JP4869439B2 (en) 2011-01-19 2011-01-19 Image processing apparatus, image processing method, and computer-readable storage medium

Country Status (1)

Country Link
JP (1) JP4869439B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0364258A (en) * 1989-08-02 1991-03-19 Canon Inc Image reader
JPH04164438A (en) * 1990-10-29 1992-06-10 Toshiba Corp Image display device
JPH07236093A (en) * 1994-02-21 1995-09-05 Toshiba Medical Eng Co Ltd Image pickup device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0364258A (en) * 1989-08-02 1991-03-19 Canon Inc Image reader
JPH04164438A (en) * 1990-10-29 1992-06-10 Toshiba Corp Image display device
JPH07236093A (en) * 1994-02-21 1995-09-05 Toshiba Medical Eng Co Ltd Image pickup device

Also Published As

Publication number Publication date
JP4869439B2 (en) 2012-02-08

Similar Documents

Publication Publication Date Title
WO2017101451A1 (en) Imaging method, imaging device, and electronic device
TW201724842A (en) Image sensor, pixel information output method of the image sensor, phase focusing method, imaging device, and terminal
JP2010199985A (en) Image processing apparatus, image processing method, and program
JP2011002940A (en) Image processing apparatus and image pickup apparatus
WO2018098983A1 (en) Image processing method and device, control method and device, imaging device and electronic device
JP2015220716A (en) Imaging element, control method of the same, control program, and signal processor
US20150363918A1 (en) Image processing apparatus, method therefor, and image processing system
US10630919B2 (en) Image sensing apparatus and black level correction method thereof and computer readable medium
JP2007174590A (en) Signal processor and imaging apparatus
JP2014016343A (en) Radiation image pickup apparatus, and method and program for radiation image pickup
JP4314073B2 (en) Radiation imaging apparatus and radiation imaging method
JP2010118067A (en) Image processor, computer readable storage medium, and digital photographing device
TWI327023B (en) Method for compensating pixel value of defect pixel and image processing system using the same
JP2016111568A (en) Image blur correction control device, imaging apparatus, control method and program thereof
JP2018201685A (en) Radiographic apparatus, radiographic method and program
CN110213503A (en) Image processing method, device, storage medium and electronic equipment
JP4869439B2 (en) Image processing apparatus, image processing method, and computer-readable storage medium
JPH11134472A (en) Image processor, storage medium readable by computer and digital photographing device
JP2002085391A (en) Radiography apparatus
JP2013255040A (en) Image pick-up device, image pick-up system, control method and program of image pick-up device
JP2018157371A (en) Imaging apparatus and method of correcting defective pixels
US20120033870A1 (en) Image data transfer apparatus and control method for the same
JP5968145B2 (en) Image processing apparatus and control method thereof
JP6218408B2 (en) Image processing apparatus, image processing method, and program
JP2011082634A (en) Imaging apparatus

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110517

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110719

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111108

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111115

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141125

Year of fee payment: 3

EXPY Cancellation because of completion of term