JP6250988B2 - Image processing method and apparatus - Google Patents
Image processing method and apparatus Download PDFInfo
- Publication number
- JP6250988B2 JP6250988B2 JP2013185704A JP2013185704A JP6250988B2 JP 6250988 B2 JP6250988 B2 JP 6250988B2 JP 2013185704 A JP2013185704 A JP 2013185704A JP 2013185704 A JP2013185704 A JP 2013185704A JP 6250988 B2 JP6250988 B2 JP 6250988B2
- Authority
- JP
- Japan
- Prior art keywords
- pixel
- correction
- gain mode
- image
- image processing
- 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 - Fee Related
Links
- 230000007547 defect Effects 0.000 description 170
- 230000002950 deficient Effects 0.000 description 146
- 238000000034 method Methods 0.000 description 113
- 230000002093 peripheral effect Effects 0.000 description 75
- 238000011156 evaluation Methods 0.000 description 63
- 230000008569 process Effects 0.000 description 43
- 238000004458 analytical method Methods 0.000 description 30
- 238000003384 imaging method Methods 0.000 description 28
- 238000010586 diagram Methods 0.000 description 21
- 238000000605 extraction Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 12
- 238000007781 pre-processing Methods 0.000 description 11
- 230000035945 sensitivity Effects 0.000 description 11
- 230000003044 adaptive effect Effects 0.000 description 10
- 239000002131 composite material Substances 0.000 description 10
- 239000003990 capacitor Substances 0.000 description 9
- 238000001228 spectrum Methods 0.000 description 8
- 238000003672 processing method Methods 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 5
- 238000003745 diagnosis Methods 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 4
- 239000013307 optical fiber Substances 0.000 description 3
- 230000009467 reduction Effects 0.000 description 3
- 238000005070 sampling Methods 0.000 description 3
- 229920006395 saturated elastomer Polymers 0.000 description 3
- 230000001186 cumulative effect Effects 0.000 description 2
- 230000006866 deterioration Effects 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 230000003595 spectral effect Effects 0.000 description 2
- OAICVXFJPJFONN-UHFFFAOYSA-N Phosphorus Chemical compound [P] OAICVXFJPJFONN-UHFFFAOYSA-N 0.000 description 1
- 230000001174 ascending effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000002594 fluoroscopy Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Landscapes
- Transforming Light Signals Into Electric Signals (AREA)
- Facsimile Image Signal Circuits (AREA)
- Studio Devices (AREA)
- Image Processing (AREA)
Description
本発明は、撮像装置により複数のゲインモードで取得された画像を処理する画像処理方法および装置に関する。 The present invention relates to an image processing method and apparatus for processing an image acquired by an imaging device in a plurality of gain modes.
X線検出器のダイナミックレンジは一般に狭い。そのため、ハイコントラストの被写体を撮影する場合は、X線検出器のダイナミックレンジを超えて出力が飽和してしまったり、ノイズに埋もれてしまったりしてしまい、被写体情報が欠落することがある。このような問題を解決するため、入射するX線に対して感度の高い高感度ゲインモードで出力された画像と、感度の低い低感度ゲインモードで出力された画像とを取得し、それらの画像を合成処理して、ダイナミックレンジを拡大することが行われる。 The dynamic range of X-ray detectors is generally narrow. For this reason, when shooting a high-contrast subject, the output may be saturated beyond the dynamic range of the X-ray detector or buried in noise, and subject information may be lost. In order to solve such a problem, an image output in a high sensitivity gain mode with high sensitivity to incident X-rays and an image output in a low sensitivity gain mode with low sensitivity are acquired, and those images are acquired. Is combined to expand the dynamic range.
一般にゲインモードの切り替えは、電荷を蓄積するための複数のコンデンサを用意しておき、実際に電荷の蓄積に用いるコンデンサの数を増減することで行われる。したがって1つのコンデンサが不良であっても、あるゲインモードでは正常に動作する場合がある。すなわち、ゲインモード毎に欠陥画素と正常画素とが切り替わってしまう場合がある。また、コンデンサを制御するトランジスタが不良である場合も、同様に欠陥画素と正常画素とが切り替わる場合がある。その結果、ゲインモードを変更して読み出された画像では、ゲインモード毎に異なる位置に欠陥画素が現れることになる。したがって欠陥画素補正をする画像処理装置は、欠陥画素位置をゲインモード毎に把握する必要がある。 Generally, the gain mode is switched by preparing a plurality of capacitors for accumulating charges and increasing or decreasing the number of capacitors actually used for accumulating charges. Therefore, even if one capacitor is defective, it may operate normally in a certain gain mode. That is, the defective pixel and the normal pixel may be switched for each gain mode. Similarly, when the transistor that controls the capacitor is defective, the defective pixel and the normal pixel may be similarly switched. As a result, in an image read out by changing the gain mode, defective pixels appear at different positions for each gain mode. Therefore, an image processing apparatus that performs defective pixel correction needs to grasp the defective pixel position for each gain mode.
特許文献1と特許文献2では、高感度モード(高ゲインモード)には高感度用の欠陥画素情報を記憶し、低感度モード(低ゲインモード)には低感度用の欠陥画素情報を記憶し、設定された感度に対応する欠陥画素情報を用いて、欠陥画素補正を行っている。さらに特許文献3では欠陥補正の方法をゲインモード毎に切り換える方法を提案している。
In
上記文献の何れにおいても、欠陥画素の画素値を、その欠陥画素の周辺画素から予測することにより欠陥画素補正が行われる。情報が欠落している画素をその周辺画素から予測するため、正常である周辺画素が多ければ多いほど精度の高い補正ができる。ところが、補正対象の画素の周辺画素に欠陥画素が多く存在すれば、その予測精度は下がってしまう。例えば、欠陥画素の周辺に正常な画素が1つしか存在しない場合は、欠陥画素の画素値がその唯一の正常な周辺画素の画素値へ置き換わるのみとなってしまう。さらに、周辺画素に正常な画素が1つも存在しない場合においてはその欠陥画素を補正することはできない。また、欠陥画素がエッジ付近であるとき、エッジ情報をもつ周辺画素に欠陥画素が多く含まれると、補正結果にはエッジ情報が含まれなくなってしまう。 In any of the above documents, defective pixel correction is performed by predicting the pixel value of a defective pixel from the peripheral pixels of the defective pixel. Since pixels with missing information are predicted from their peripheral pixels, the more normal peripheral pixels, the more accurate correction can be made. However, if there are many defective pixels in the peripheral pixels of the pixel to be corrected, the prediction accuracy decreases. For example, when there is only one normal pixel around the defective pixel, the pixel value of the defective pixel is only replaced with the pixel value of the only normal peripheral pixel. Furthermore, when there is no normal pixel in the peripheral pixels, the defective pixel cannot be corrected. In addition, when the defective pixel is near the edge and the peripheral pixel having the edge information includes many defective pixels, the correction result does not include the edge information.
本発明は、上記の課題に鑑みてなされたものであり、欠陥画素の周囲に欠陥画素が多く存在する場合であっても、適切な補正処理を実現できるようにすることを目的とする。 The present invention has been made in view of the above problems, and an object of the present invention is to realize an appropriate correction process even when there are many defective pixels around a defective pixel.
上記の目的を達成するための本発明の位置態様による画像処理装置は以下の構成を備える。すなわち、
第1のゲインモードと、前記第1のゲインモードとは異なる第2のゲインモードで撮影が可能な撮像装置により得られた画像を処理する画像処理装置であって、
前記撮像装置の、前記第1のゲインモードにおける欠陥画素の位置を示す第1の欠陥情報と、前記第2のゲインモードにおける欠陥画素の位置を示す第2の欠陥情報を取得する取得手段と、
前記第1と第2の欠陥情報に基づいて、前記撮像装置が前記第1のゲインモードで撮影した第1の画像における欠陥画素の補正処理を切り替える切替手段と、を備え、
前記切替手段は、前記第1の画像における前記欠陥画素の周囲の画素を用いて前記欠陥画素を補正する第1の補正処理と、前記撮像装置が前記第2のゲインモードで撮影した第2の画像における前記欠陥画素に対応する画素を用いて前記欠陥画素を補正する第2の補正処理との選択を切り替える。
In order to achieve the above object, an image processing apparatus according to a position aspect of the present invention comprises the following arrangement. That is,
An image processing device that processes an image obtained by an imaging device capable of photographing in a first gain mode and a second gain mode different from the first gain mode,
Acquisition means for acquiring first defect information indicating a position of a defective pixel in the first gain mode and second defect information indicating a position of the defective pixel in the second gain mode of the imaging apparatus;
Switching means for switching correction processing of defective pixels in the first image captured by the imaging device in the first gain mode based on the first and second defect information;
The switching means includes a first correction process for correcting the defective pixel using pixels around the defective pixel in the first image, and a second correction image captured by the imaging device in the second gain mode. The selection is switched between the second correction process for correcting the defective pixel using the pixel corresponding to the defective pixel in the image.
本発明によれば、欠陥画素の周囲に欠陥画素が多く存在する場合であっても、適切な補正処理を実現することができる。 According to the present invention, even when there are many defective pixels around a defective pixel, an appropriate correction process can be realized.
以下、添付の図面を参照して本発明の好適な実施形態のいくつかを説明する。 Hereinafter, some preferred embodiments of the present invention will be described with reference to the accompanying drawings.
<第1実施形態>
以下に説明する実施形態では、あるゲインモードにおける欠陥画素の画素値を、異なるゲインモードにおいて対応する画素が正常画素であれば、その画素値を使用して欠陥画素の補正を実行する。図1は、実施形態によるX線撮影装置100の構成例を示す図である。X線撮影装置100の全体の制御を行うコントロールPC101、照射されたX線量に応じた電気信号を出力するX線センサ102、X線を発生するX線発生装置110が光ファイバ122を介して接続されている。なお、信号線は光ファイバでなくてもよく、たとえば、CAN(Controller Area Network)やギガビットイーサなどでもよい。光ファイバ122には、外部表示装置109、外部記憶装置111、ネットワークインタフェース112がさらに接続されている。コントロールPC101においては、例えば、バス121に、CPU(中央演算装置)103、RAM(Random Access Memory)104、ROM(Read OnlyMemory)105が接続される。バス121には、更に、入力部106、表示部107、記憶部108が接続されている。
<First Embodiment>
In the embodiment described below, correction of a defective pixel is executed using the pixel value of a defective pixel in a certain gain mode, if the corresponding pixel is a normal pixel in a different gain mode. FIG. 1 is a diagram illustrating a configuration example of an X-ray imaging apparatus 100 according to the embodiment. A
コントロールPC101は、X線センサ102、外部表示装置109、X線発生装置110などにコマンドを送る。コントロールPC101では、撮影モードごとの処理内容がソフトウェアモジュールとして記憶部108に格納されており、必要に応じてRAM104に読み込まれ、CPU103により実行される。例えば、図4により後述する機能構成の各ブロックは、CPU103が記憶部108に記憶されている対応するソフトウェアモジュールを実行することにより実現される。但し、図4に示した各構成(機能)を実現する専用の画像処理ボードが実装された構成でもよい。
The control PC 101 sends commands to the
X線センサ102は、高感度ゲインと低感度ゲインの2つの異なるゲインで画素値を出力することができる、間接型X線検出器である。すなわち、X線センサ102は、第1のゲインモードと、第1のゲインモードとは異なる第2のゲインモードとで撮影が可能な撮像装置を構成する。図2に、X線センサ102の1画素当たりの回路構成例を示す。図2において、フォトダイオード201は蛍光体にて変換された光を電荷に変換し、コンデンサ202はその電荷を蓄積する。トランジスタ203およびトランジスタ204が蓄積された電荷を出力することによりX線画像が生成される。このとき、トランジスタ205がコンデンサ206に電荷が流れるようにスイッチングすることで、回路全体のコンデンサ容量が変わり、異なるゲインモードの画像が生成される。但し、図2では2種類の容量を用いて2種類のゲインモードを実現する構成を示したが、コンデンサとトランジスタをさらに追加することで、さらに異なるゲインの画像を生成するように構成することもできる。
The
以上の構成により取得される2種類のゲインモードにおける、X線量とセンサからの出力信号との関係を表す入出力特性は、たとえば図3のようになる。どちらのゲインモードにおいても線量に対して、出力信号が線形な関係にある領域とその前後に線形な関係が成り立たない領域とが存在する。X線量と出力信号が線形な関係にない領域とは、信号値が小さくノイズに埋もれてしまっていたり、コンデンサ202や206が飽和してしまっていたりする領域である。
The input / output characteristics representing the relationship between the X-ray dose and the output signal from the sensor in the two types of gain modes acquired by the above configuration are, for example, as shown in FIG. In either gain mode, there is a region where the output signal is linearly related to the dose and a region where the linear relationship does not hold before and after the region. The region where the X-ray dose and the output signal are not in a linear relationship is a region where the signal value is small and buried in noise, or the
第1実施形態におけるX線画像処理方法(欠陥補正処理方法)を実現するための機能構成例を図4に示す。図4に示すように、第1実施形態のX線画像処理方法を実現する機能構成は、周辺画素解析部401、欠陥情報比較部402、補正方法決定部403を備える。周辺画素解析部401は、X線センサ102にて取得されたX線画像に所定の前処理を施した画像(X線画像(A)51)と欠陥情報(欠陥情報(A)61)を入力とし、欠陥画素ごとに周辺画素を解析した結果を出力する。欠陥情報比較部402は、少なくとも二種類以上のゲインの欠陥情報(欠陥情報(A)61、欠陥情報(B)62)を入力とし、画素毎に全てのゲインモードにおいて欠陥画素となるか否かを示す合成欠陥情報63を出力する。補正方法決定部403は、周辺画素解析部401による周辺画素の解析結果と、欠陥情報比較部402の比較結果(合成欠陥情報)とに基づいて、各欠陥画素について採用すべき欠陥補正方法を決定する。不図示の補正処理部は、補正方法決定部403により決定された欠陥補正方法を用いて欠陥画素を補正する。なお、本実施形態では、X線画像や欠陥情報は外部記憶装置111に記憶されているものとするが、これに限られるものではない。
FIG. 4 shows a functional configuration example for realizing the X-ray image processing method (defect correction processing method) in the first embodiment. As shown in FIG. 4, the functional configuration for realizing the X-ray image processing method of the first embodiment includes a peripheral
図4の機能構成図と図5のフローチャートを参照して、第1実施形態による欠陥補正方法を説明する。周辺画素解析部401は、ゲインモードAで撮影されたX線画像(A)51を外部記憶装置111から取得する(ステップ501)。なお、X線画像(A)51は、必要な前処理が行われている画像とする。ここで、前処理とは、オフセット補正、Log変換、ゲイン補正などのセンサの特性を補正する処理であり、前処理により各画素の値と周辺画素の値との相関関係が保たれた状態になる。次に、周辺画素解析部401は、X線センサ102のゲインモードAでの欠陥情報(A)61を外部記憶装置111から取得する(ステップ502)。欠陥情報(A)61は、ステップ501にて取得したX線画像と同じゲインモードAにおける、X線センサ102における欠陥画素の位置を示す。
The defect correction method according to the first embodiment will be described with reference to the functional configuration diagram of FIG. 4 and the flowchart of FIG. The peripheral
次に、ステップ503以降の処理ループにより、欠陥情報(A)61が示す欠陥画素の各々について、欠陥情報(A)61と欠陥情報(B)62に基づいて補正方法の切替を行う。まず、周辺画素解析部401は、取得した欠陥情報(A)61から欠陥画素の位置(欠陥位置)を把握し、欠陥画素の周辺画素を解析する。そして、周辺画素解析部401は、各欠陥位置における欠陥画素の補正方法を決定するための解析結果を補正方法決定部403に通知する。第1実施形態の周辺画素解析部401は、欠陥画素の補正に使用される周辺画素の中で正常である画素数を計数する(ステップ504)。例えば以下で説明する数1を用いて隣接する8画素から欠陥画素を補正する場合は、その隣接する8画素のうち何画素が正常であるかが計数される。補正方法決定部403は、計数結果と閾値53を比較する(ステップ505)。正常画素の数が閾値53以下の場合、補正方法決定部403は周辺画素を用いた補正の精度低下が許容範囲を超えると判断し、別のゲインモードで撮影された画像の画素(本例ではゲインモードBで撮影された画像の画素)を用いた補正方法の採用を検討する。以下、この補正方法を「異なるゲインモードを用いた補正」という。一方、正常画素の数が閾値53を上回っている場合は、周辺画素を用いた補正の精度を保てると判断し、補正方法決定部403は、X線画像(A)51の欠陥画素の周辺画素から、その欠陥画素を補正する周辺画素補正を選択する(ステップ506)。周辺画素補正方法は、ステップ504で想定した補正方法(欠陥画素の周囲8画素を用いた補正方法)である。この場合、たとえば、閾値53には1以上8以下の整数が設定される。
Next, the correction method is switched based on the defect information (A) 61 and the defect information (B) 62 for each of the defective pixels indicated by the defect information (A) 61 in the processing loop after
なお、ステップ506で選択される周辺画素を用いた欠陥画素補正(周辺画素補正)に関しては多くの手法が提案されており、それらのうちのいずれが用いられてもよい。たとえば、以下の数1に示されるような補正方法を用いることができる。
一方、「異なるゲインモードを用いた補正」の採用を検討するべく処理がステップ505からステップ507へ進むと、補正方法決定部403は、欠陥情報比較部402から合成欠陥情報63を入力する(ステップ507)。欠陥情報比較部402は、事前にゲインモードAの欠陥情報(A)61とゲインモードBの欠陥情報(B)62とを外部記憶装置111から取得(ステップ521、522)する。そして、欠陥情報比較部402は、図6に示すように、欠陥情報(A)61と欠陥情報(B)62をマージして、新たな合成欠陥情報63を生成する(ステップ523)。図6に示されるように、合成欠陥情報63には、ゲインモードAとゲインモードBで共に欠陥である画素と、どちらか一方のモードで欠陥である画素と、どちらのモードでも欠陥ではない画素と、を判別するための情報が含まれる。
On the other hand, when the process proceeds from
補正方法決定部403は、合成欠陥情報63から、補正対象の欠陥画素がモードBにおいて正常画素であるかどうかをチェックする(ステップ508)。ゲインモードBで得られた画像の対応する画素が正常画素である場合は、該対応する画素の値を使用して欠陥画素を補正する。すなわち、「異なるゲインモードを用いた補正」が選択される(ステップ509)。なお、異なるゲインモードでの画素値を用いる場合は、ゲインの差を補正する必要があるが、その詳細については、第5実施形態等で説明する。一方、ゲインモードBで得られた画像の対応する画素も欠陥画素である場合は、「異なるゲインモードを用いた補正」を実施できないため、X線画像(A)51の周辺画素からの周辺画素補正方法を選択する(ステップ506)。
The correction
その後、補正方法決定部403により決定された(選択された)補正方法に従って、不図示の補正処理部により欠陥画素の補正が実行される。すなわち、「周辺画素補正」が選択された場合には、X線画像(A)51の欠陥画素の周辺画素を用いてその欠陥画素の画素値が生成される。また、「異なるゲインモードを用いた補正」が選択された場合は、X線画像(B)52の対応する画素を用いて、X線画像(A)51の欠陥画素が補正される。以上の処理が、X線画像(A)の各欠陥画素について実行される。また、X線画像(B)の欠陥画素を補正する場合にも、X線画像(A)を異なるゲインモードの画像として用いて、上記と同様の補正処理を行う。
Thereafter, according to the correction method determined (selected) by the correction
以上のように、第1実施形態によれば、欠陥画素の値をその周辺画素の値を利用して補正する補正処理において、利用可能な周辺画素の数が不足する場合に、別のゲインモードで得られた画素値を利用するようにした。そのため、欠陥画素の周辺に存在する正常画素が少ない場合にも、精度を維持した補正が実現される可能性が大きくなる。 As described above, according to the first embodiment, when the number of usable peripheral pixels is insufficient in the correction process for correcting the value of the defective pixel using the values of the peripheral pixels, another gain mode is used. The pixel value obtained in (1) was used. Therefore, even when there are few normal pixels around the defective pixel, there is a high possibility that correction with accuracy is realized.
<第2実施形態>
第1実施形態では、補正方法の切り替え制御のために欠陥画素の周辺画素に含まれる欠陥画素の数を用いた(ステップ504,505)。これに対して、第2実施形態では、欠陥画素の部分がエッジ領域か否かの判定結果に応じて補正方法の切り替えを制御する。なお、第2実施形態のX線撮影装置100の構成、X線センサ102の1画素当たりの回路構成は第1実施形態(図1、図2)と同様である。以下、図4の機能構成図と図7のフローチャートを参照して、第2実施形態による補正処理を説明する。ステップ701からステップ703までは第1実施形態(図5)のステップ501からステップ503と同様である。
Second Embodiment
In the first embodiment, the number of defective pixels included in the peripheral pixels of the defective pixel is used for correction method switching control (
周辺画素解析部401は、欠陥画素を周辺画素から補正する際に使用する画素領域の中からエッジを抽出する(ステップ704)。エッジ抽出には、例えば、以下に説明するようなソーベルのオペレータを用いた抽出方法を用いることができる。数2にソーベルのオペレータを示す。
ソーベルオペレータからX方向、Y方向のエッジ成分が抽出される。そして、数3に示すようにグラジエントの強度を計算すると、エッジの強さを求めることができる。得られたエッジの強さを特定の閾値と比較し、エッジが存在するかしないかを判定する。したがって、第2実施形態では、閾値53はエッジの強さの閾値となる。
補正方法決定部403は、エッジ存在の有無(エッジの強さが閾値53を超えるか否か)によって、欠陥補正方法を選択する(ステップ705)。エッジが存在する場合は、ゲインモードBの画素を使用する「異なるゲインモードを用いた補正」を検討するために処理はステップ707へ進む。エッジが存在する領域で周辺画素を用いた補正を行うと、たとえば図8に示すように画素のバラつきの大きいエッジ前後の情報が混ざり合い、正確な補正ができない。すなわち、エッジ領域を含む画像として、本来は欠陥なし画像81のような画像が得られる被写体撮影において、欠陥画素(×印)が存在するために欠陥発生画像82のような画像が得られたとする。この場合、周辺画素を用いた補正(数1)が行われると、欠陥画素の値として「5」が算出されてしまい、エッジ部分の画質を劣化させてしまう(欠陥補正画像83)。エッジは臨床上重要な情報であることが多く、その情報が失われることは好ましくない。したがって、なるべく「異なるゲインモードを用いた補正」を使用してエッジが保存されるようにしている。一方、エッジが存在しない領域では、画素のバラつきが小さいため周辺画素補正が選択される(ステップ705→ステップ706)。ステップ707からステップ709の処理は第1実施形態のステップ507からステップ509と同様である。
The correction
以上のように、第2実施形態によれば、欠陥画素が存在する領域の画像の特性に応じて適切な補正方法が選択される。なお、第1実施形態のステップ504,505による判定(欠陥画素の周辺の欠陥画素の数に応じた補正方法の選択)を併用してもよい。
As described above, according to the second embodiment, an appropriate correction method is selected according to the characteristics of the image in the area where the defective pixel exists. Note that the determinations in
<第3実施形態>
第3実施形態では、欠陥画素の周辺領域のノイズ量に基づいて補正方法の切り替えを制御する構成を説明する。なお、第3実施形態のX線撮影装置100の構成、X線センサ102の1画素当たりの回路構成は第1実施形態(図1、図2)と同様である。以下、図4の機能構成図と図9のフローチャートを用いて、第3実施形態による補正処理を説明する。ステップ901からステップ903までは第1実施形態(図5)のステップ501からステップ503までと同様である。
<Third Embodiment>
In the third embodiment, a configuration for controlling the switching of the correction method based on the amount of noise in the peripheral area of the defective pixel will be described. The configuration of the X-ray imaging apparatus 100 of the third embodiment and the circuit configuration per pixel of the
周辺画素解析部401は、欠陥画素を中心とした周辺領域からノイズ量を算出する(ステップ904)。周辺領域は周辺画素補正に使用する領域(たとえば、欠陥画素を中心とした3×3画素の領域)と同サイズであってもよいし、異なるサイズであっても構わない。ノイズは例えば以下の数4に示すように分散を使用して算出することができる。数4に分散を使ったノイズ量σ^2を示す。
The peripheral
補正方法決定部403は、ステップ904で算出されたノイズ量の大小によって、欠陥補正方法を選択する(ステップ905)。ノイズ量が閾値53より多い場合は、ゲインモードBの画素を使用する「異なるゲインモードを用いた補正」の採用を検討するべく処理をステップ907へ進める。なお、閾値53は、第3実施形態ではノイズ量の閾値となる。
The correction
数1に示すような周辺画素補正は中心画素を除いた移動平均フィルタになる。つまりノイズを低減する働きがあり、粒状性が変わってしまう。ノイズの目立たない領域では粒状性低減の影響が小さいため、粒状性の変更を感じることはない。しかしながら、ノイズの目立つ領域では欠陥画素位置だけがノイズの少ない画像になり、アーチファクトが生じてしまう。欠陥画素が孤立欠陥ではなく、ライン欠陥やブロック欠陥など連結している欠陥であれば、そのようなアーチファクトはさらに顕著になる。アーチファクトは診断の妨げになるものであり、その存在は好ましくない。一方、ノイズ量が少ない領域では、ノイズ低減の影響が小さいため周辺画素補正方法が選択される(ステップ906)。ステップ907からステップ909の処理は第1実施形態のステップ507からステップ509の処理と同様である。
The peripheral pixel correction as shown in
以上のように、第3実施形態によれば、補正対象の欠陥画素の周辺領域におけるノイズ量に応じて補正方法を切り替えることにより、アーチファクトの発生を低減することができる。なお、欠陥方法を選択するステップ905にて、連結する欠陥画素数を分岐の指標として使用してもよい。連結数が多ければ多いほどノイズ低減された領域が大きくなるため、補正方法決定部403は、ステップ907を選択することが望ましい。なお、第1実施形態のステップ504,505による判定や、第2実施形態のステップ704,705による判定を併用してもよい。
As described above, according to the third embodiment, the occurrence of artifacts can be reduced by switching the correction method according to the amount of noise in the peripheral area of the defective pixel to be corrected. In
<第4実施形態>
第4実施形態では、異なるゲインモードの画像の画素値を用いて欠陥画素を補正した場合に、その補正結果を他の欠陥画素の補正に利用可能にする構成を説明する。なお、第4実施形態のX線撮影装置100の構成、X線センサ102の1画素当たりの回路構成は第1実施形態(図1、図2)と同様である。
<Fourth embodiment>
In the fourth embodiment, a configuration is described in which when a defective pixel is corrected using pixel values of images in different gain modes, the correction result can be used for correction of other defective pixels. The configuration of the X-ray imaging apparatus 100 of the fourth embodiment and the circuit configuration per pixel of the
第4実施形態におけるX線画像処理方法を実現するX線撮影装置の機能構成例を図10に示す。周辺画素解析部401、欠陥情報比較部402、補正方法決定部403は第1実施形態(図4)で説明したとおりである。また、欠陥情報更新部1001は、補正方法決定部403が選択した補正方法に基づいて、周辺画素解析部401が参照する欠陥情報(A)61を更新する。
An example of the functional configuration of an X-ray imaging apparatus that implements the X-ray image processing method according to the fourth embodiment is shown in FIG. The peripheral
以下、図10の構成図と図11のフローチャートを用いて、第4実施形態の処理を説明する。ステップ1101からステップ1109までの処理は第1実施形態のステップ501からステップ509までと同様である。
The process of the fourth embodiment will be described below using the configuration diagram of FIG. 10 and the flowchart of FIG. The processing from step 1101 to step 1109 is the same as that from
欠陥情報更新部1001は周辺画素解析部401がステップ1102で取得した欠陥情報(A)51の現在注目されている欠陥画素(ステップ1109で「異なるゲインモードを用いた補正」が選択された欠陥画素)を正常画素に更新する(ステップ1113)。すなわち、ステップ1109においてゲインモードBの画素値による補正が選択され、補正が実施された欠陥画素においては、ゲインモードAでの正常画素と同等の情報量があるとみなし、その後の処理にて正常画素として扱うようにする。以降、周辺画素解析部401は、正常画素数をカウントする際に、この更新された欠陥情報(A)51を参照してカウントを行う。また、周辺画素からの欠陥補正を行う場合、周辺画素に異なるゲインモードでの画素値にて補正された画素があれば、この補正後の画素値を正常画素の画素値として欠陥補正に使用する。
The defect
以上のように、第4実施形態によれば、欠陥画素の補正後の画素値を、他の欠陥画素の「周囲画素補正」に利用できるようになる。なお、ステップ1104,1105では欠陥画素の周囲の正常画素の計数結果を判定に用いたが、これに限られるものではない。たとえば、第2実施形態や第3実施形態で説明したように、欠陥画素の周囲領域におけるエッジの抽出結果やノイズ量の算出結果を用いてもよいし、これらを組み合わせてもよい。
As described above, according to the fourth embodiment, the pixel value after correction of a defective pixel can be used for “peripheral pixel correction” of other defective pixels. In
<第5実施形態>
第1〜第4実施形態では、「異なるゲインモードを用いた補正」を実行する場合に、異なるゲインモードで正常画素として機能している画素値を採用するに際してその適否を判定することはしていない。しかしながら、異なるゲインモードの画像において正常な画素であったとしても、図3に示したとおり、その特性に線形性を有していない領域や飽和領域等があるため、ゲインの違いを補正するだけでは正確に欠陥画素を補正することができない場合がある。そこで、以下の第5〜第9実施形態では、X線センサ102の入出力特性の線形性を補正するとともに、「異なるゲインモードを用いた補正」に使用することが可能である範囲を制限する構成について、いくつかの例を説明する。
<Fifth Embodiment>
In the first to fourth embodiments, when “correction using different gain modes” is executed, whether or not a pixel value that functions as a normal pixel in different gain modes is adopted is determined. Absent. However, even if it is a normal pixel in an image in a different gain mode, as shown in FIG. 3, there is a region that does not have linearity in its characteristics, a saturated region, or the like, so only a gain difference is corrected. Then, there are cases where the defective pixel cannot be corrected accurately. Therefore, in the following fifth to ninth embodiments, the linearity of the input / output characteristics of the
第5実施形態のX線撮影装置100の構成、X線センサ102の1画素当たりの回路構成は第1実施形態(図1、図2)と同様である。第5実施形態によるX線画像処理方法を実現するための機能構成例を図12に示す。第5実施形態の機能構成は、補正方法選択部1201、欠陥情報比較部1202、評価部1203、欠陥補正部1204を備える。補正方法選択部1201は、欠陥情報比較部1202から取得される合成欠陥情報63に基づいて補正方法を選択する。なお、補正方法選択部1201は、欠陥画素に対応した画素が他のゲインモードで正常画素である場合に他のゲインモードでの画素値を用いて補正を行い、その他の場合には周囲画素を用いた補正を行う構成としている。但し、補正方法選択部1201において、第1〜第3実施形態で説明した補正の選択方法を用いてもよい。
The configuration of the X-ray imaging apparatus 100 of the fifth embodiment and the circuit configuration per pixel of the
評価部1203は、X線センサにて取得されたX線画像の線量に対する入出力特性を入力とし、他のゲインモードの画素値を用いた場合に、欠陥画素の画素値が精度よく補正されるか否かの評価結果を出力する。すなわち、評価部1203は、以下にその一例を説明するように、ゲインモードAとゲインモードBのそれぞれの入出力特性から、「他のゲインモードの画素値を用いた補正」を各欠陥画素へ適用することの適否を判定する。欠陥補正部1204は、補正方法選択部1201による補正方法の選択結果と、評価部1203による評価結果に基づいて、最終的に採用する補正方法を決定し、決定された補正方法にしたがって得られた画素値を出力する。
The
図12の機能構成図と図13のフローチャートを参照して第5実施形態を説明する。評価部1203と欠陥補正部1204は、ゲインモードAで撮影されたX線画像(A)51とゲインモードBで撮影されたX線画像(B)52を外部記憶装置111から取得する(ステップ1301)。なお、X線画像(A)51およびX線画像(B)52は前処理が行われている画像とする。前処理とは、周辺画素との相関関係が保たれている状態にするために行われる、オフセット補正、Log変換、ゲイン補正などのセンサの特性を補正する処理である。また、欠陥情報比較部1202、評価部1203は、ゲインモードAでの欠陥情報(A)61、ゲインモードBでの欠陥情報(B)62を、外部記憶装置111から取得する(ステップ1302)。また、補正方法選択部1201には欠陥情報(A)61が入力される。さらに評価部1203は、外部記憶装置111からゲインモードAの入出力特性(A)71とゲインモードBの入出力特性(B)72を取得する(ステップ1303)。
The fifth embodiment will be described with reference to the functional configuration diagram of FIG. 12 and the flowchart of FIG. The
さらに、評価部1203は、評価閾値73を入力する(ステップ1304)。評価閾値73は補正率に関する閾値である。異なるゲインモードの画素を使って欠陥を補正するには、異なるゲインモードの画素に補正率を乗じ、補正してから使う必要がある。但し、この補正は信号もノイズも同様に行われる。ノイズにはX線の線量に比例しないシステムノイズが含まれているため、補正率が大きくなればなるほどS/Nが悪くなる。したがってS/Nが診断上影響のないレベルの最大補正率を設定し、それを評価閾値73としている。
Further, the
次に補正方法選択部1201は、取得した欠陥情報(A)61から欠陥位置を把握し(ステップ1305)、欠陥情報比較部1202から提供される合成欠陥情報63を参照してその補正方法を決定する(ステップ1306,1307)。本実施形態では、欠陥情報(A)61により示された欠陥画素が、合成欠陥情報63を参照することにより、他のゲインモード(この場合、ゲインモードB)において正常画素か否かを判定する(ステップ1307)。他のゲインモードで正常画素であれば、「異なるゲインモードを用いた補正」の採用を試みるように決定する。補正方法選択部1201が、「異なるゲインモードを用いた補正」の採用を検討するように選択した場合、ゲインモードBの画素を使用する補正を検討するべく処理をステップ1308へ進める。
Next, the correction
一方、欠陥画素が、他のゲインモードにおいても欠陥画素である場合は、異なるゲインモードでの補正方法を用いることができないため、X線画像(A)51の周辺画素を用いた補正を行うように決定する。周囲画素からの補正を行うように決定されると、欠陥補正部1204は、周辺画素を用いた欠陥画素の補正(周辺画素補正)を実行する(ステップ1311)。
On the other hand, if the defective pixel is also a defective pixel in other gain modes, correction using different gain modes cannot be used, and correction using peripheral pixels of the X-ray image (A) 51 is performed. To decide. When it is determined to perform correction from surrounding pixels, the
異なるゲインモードを用いた補正の採用を検討することが選択された場合、評価部1203は、X線画像(B)52、入出力特性(A)71および入出力特性(B)72を用いて補正率を計算する(ステップ1308)。この補正率とは、ゲインモードBの画素値をゲインモードAの画素値に変換するための率である。X線画像(B)52と入出力特性(B)72からゲインモードBの画素値SB(x、y)に対する入力値(X線量)を求め、この入力値に対応するゲインモードAの画素値SA(x、y)を入出力特性(A)71より算出する。これより補正率r(x、y)は数5のようになる
評価部1203は、得られた補正率r(x、y)を評価閾値73と比較する(ステップ1309)。欠陥補正部1204は、評価閾値73よりも小さい補正率であれば、そのまま補正率として使用して欠陥画素を補正することにより「異なるゲインモードを用いた補正」を実行する(ステップ1310)。一方、補正率が評価閾値73以上であれば、前述したとおり、S/Nが悪化する恐れがあるため、欠陥補正部1204は周辺画素を用いて欠陥画素を補正する(ステップ1311)。
The
以上のように、第5実施形態によれば、他のゲインモードの画素値を用いた補正を採用するか否かの判定において、補正率の大きさを用いて補正値の適否が評価される。そして、他のゲインモードの画素値を用いた補正による画質の劣化が著しくなると判定された場合(上記実施形態では、補正率rが評価閾値を超える場合)、他のゲインモードの画素値を用いた補正を採用せず同じゲインモードの周辺画素を用いた補正を採用する。そのため、欠陥画素を補正した後の画像の画質が良好に維持される。 As described above, according to the fifth embodiment, the suitability of the correction value is evaluated using the magnitude of the correction rate in determining whether to use the correction using the pixel value of another gain mode. . When it is determined that the image quality deterioration due to the correction using the pixel value in another gain mode is significant (in the above embodiment, the correction rate r exceeds the evaluation threshold), the pixel value in the other gain mode is used. The correction using peripheral pixels in the same gain mode is employed without adopting the correction that was performed. Therefore, the image quality of the image after correcting the defective pixel is maintained satisfactorily.
<第6実施形態>
第5実施形態では、ゲインモードAでの欠陥画素の画素値を、ゲインモードBでの画素値を用いて補正する場合に、ゲインモードBでの画素値をどれだけ補正する必要があるか(補正率)に基づいてゲインモードBでの画素値の採用の可否を決定した。これに対し、第6実施形態では、ゲインモードA,Bの両モードでのリニアリティに基づいて、ゲインモードBでの画素値の採用の可否を決定する。第6実施形態のX線撮影装置100の構成、X線センサ102の1画素当たりの回路構成は第1実施形態(図1、図2)と同様である。以下、図12の機能構成図と図14のフローチャートを参照して、第6実施形態の処理を説明する。なお、ステップ1401からステップ1403までは第5実施形態(図13)のステップ1301からステップ1303までと同様である。
<Sixth Embodiment>
In the fifth embodiment, when the pixel value of the defective pixel in the gain mode A is corrected using the pixel value in the gain mode B, how much the pixel value in the gain mode B needs to be corrected ( Whether or not the pixel value can be used in the gain mode B is determined based on the correction rate. On the other hand, in the sixth embodiment, whether or not to adopt the pixel value in the gain mode B is determined based on the linearity in both the gain modes A and B. The configuration of the X-ray imaging apparatus 100 according to the sixth embodiment and the circuit configuration per pixel of the
評価部1203は、ゲインモードAの入出力特性(A)71とゲインモードBの入出力特性(B)72を入力し、それらの線形近似を行うための近似式を算出する(ステップ1404)。入出力特性は線量に対してリニアリティが失われているので、評価部1203はその補正を行いやすいようにリニアリティγを使って近似する。本実施形態では、たとえばゲインモード毎の入出力特性に数6のような近似が行われる。
数6への近似は複数のサンプリング点から最小二乗法等で算出する。算出された結果と、基のサンプリング点とから残差を算出し、ゲインモードAでの残差とゲインモードBでの残差を乗算した結果、すなわち近似による誤差量を近似精度とする。したがって、近似精度が高いほど、近似精度の値(誤差量)は小さくなる。この近似精度(誤差量)は入力の画素値に対するテーブルとしてメモリに保持しておく。次に評価部1203は、評価閾値73を入力する(ステップ1405)。第6実施形態では、評価閾値73は近似精度に関する閾値である。ステップ1406〜1408の処理は、第5実施形態(図13)のステップ1305〜1307と同様である。
The approximation to
補正方法選択部1201が、「異なるゲインモードを用いた補正」の採用を検討するように選択した場合、ゲインモードBの画素を使用する補正方法の採用を検討するべく処理をステップ1409へ進める。評価部1203は、X線画像(B)52から、処理対象の欠陥画素に対応する画素の画素値を取得し、ステップ1404で算出した近似精度(テーブル)を参照して、その画素値に対応する近似精度を取得する。そして、評価部1203は、取得した近似精度と評価閾値73とを比較する(ステップ1409)。近似精度が評価閾値73以上の場合は、X線画像71を入力とし周辺画素補正を実行する(ステップ1412)。近似精度(誤差量)が大きいということは、リニアリティが著しく低下している箇所であり、補正が困難な領域であると言える。そのため異なるゲインモードの値は使用せず、欠陥画素の周囲画素を用いた補正が採用される。
If the correction
一方、近似精度が評価閾値73より小さい場合は、異なるゲインモードでの補正を行うため、ゲインモードBの画素値をゲインモードAの画素に補正するための補正率を計算する(ステップ1410)。補正率は、たとえば、上述した数5により求めることができる。すなわち、X線画像(B)52と入出力特性(B)72から、ゲインモードBの画素値SB(x、y)に対する入力値を求め、この入力値に対応するゲインモードAの画素値SA(x、y)を入出力特性(A)71より算出する。そして、SA(x、y)/SB(x、y)により補正率が算出される。欠陥補正部1204は、ステップ1410で得られた補正率を使って、欠陥を補正する(ステップ1411)。
On the other hand, if the approximation accuracy is smaller than the
以上のように、第6実施形態によれば、他のゲインモードの画素値を用いた補正を採用するか否かの判定において、入出力特性の直線への近似精度を参照して補正値の適否が評価され、近似精度が低い部分での他のゲインモードの画素値の利用が防止される。これにより、補正後の画像の画質の劣化を防ぐことができる。なお、ステップ1413で算出された補正率について、第5実施形態で説明した補正率の大小による補正値の適否の判定を更に実施するようにしてもよい。なお、ゲインモードAとゲインモードBのそれぞれにおいて数6から得られた近似値との残差を求め、これらを乗算して近似精度としたが、何れか一方のゲインモードにおける残差を近似精度としてもよい。例えば、ゲインモードAの欠陥画素の補正において、ゲインモードBの画素値を採用する際には、ゲインモードBにおける残差から得られた近似精度を参照するようにしてもよい。
As described above, according to the sixth embodiment, in determining whether to employ correction using pixel values in other gain modes, the correction value is referred to by referring to the approximation accuracy to the straight line of the input / output characteristics. Appropriateness is evaluated, and use of pixel values in other gain modes is prevented in a portion where the approximation accuracy is low. Thereby, deterioration of the image quality of the corrected image can be prevented. Note that the correction value calculated in step 1413 may be further determined as to whether the correction value is appropriate based on the magnitude of the correction rate described in the fifth embodiment. Note that the residual of the approximate value obtained from
<第7実施形態>
第5実施形態や第6実施形態では、補正率や近似精度と比較する評価閾値として固定値が用いられたが、第7実施形態では、欠陥画素が被写体領域内か被写体領域外かに応じて評価閾値を変更する構成について説明する。第7実施形態のX線撮影装置100の構成、X線センサ102の1画素当たりの回路構成は第1実施形態(図1、図2)と同様である。以下、図15の機能構成図と図16のフローチャートを参照して、第7実施形態の処理を説明する。ステップ1601〜1608の処理は、第6実施形態(図14)のステップ1401〜1408と同様である。
<Seventh embodiment>
In the fifth embodiment and the sixth embodiment, a fixed value is used as the evaluation threshold value to be compared with the correction factor and the approximation accuracy. However, in the seventh embodiment, depending on whether the defective pixel is in the subject area or outside the subject area. A configuration for changing the evaluation threshold will be described. The configuration of the X-ray imaging apparatus 100 according to the seventh embodiment and the circuit configuration per pixel of the
図15において、第7実施形態による機能構成では、第6実施形態の機能構成(図12)に対して、周辺画素解析部1501が追加されている。また、評価部1203は、評価閾値73の代わりに、周辺画素解析部1501が出力する適応閾値75を近似精度との比較に用いる。
In FIG. 15, in the functional configuration according to the seventh embodiment, a peripheral
補正方法選択部1201が、「異なるゲインモードを用いた補正」の採用を検討するように選択した場合、ゲインモードBの画素を使用する補正方法の採用を検討するべく処理をステップ1609へ進める。周辺画素解析部1501は、X線画像(B)52を入力とし、評価閾値73を補正し適応閾値75を算出する(ステップ1609)。適応閾値75の算出にあたり、周辺画素解析部1501は、補正係数を算出する。周辺画素解析部1501はX線画像(B)52から被写体領域を抽出し、補正方法選択部1201から通知される欠陥画素(の位置)が被写体領域の内部にあるか外部にあるかを判定する。被写体領域の抽出方法としては、たとえばヒストグラムによる解析方法が挙げられる。例えば、周辺画素解析部1501は、X線画像(B)52の累積ヒストグラムを作成する。そして高輝度域にX線がセンサに直接入射する範囲があり、低輝度域にコリメータによりセンサへX線が入射するのを妨げられる範囲があると考えると、累積頻度が全画素数のα%から100−α%までの範囲を被写体とする(0<α<50)。周辺画素解析部1501は、欠陥画素(の位置)がその範囲内であれば、被写体領域の画素と判断し、評価閾値73が小さくなるように補正係数を乗じて適応閾値75を得る。つまり、被写体領域内の画素については近似精度を厳しくすることになる。被写体内であるということは、診断上有用な領域であり、その精度を厳しく求められるためである。
When the correction
一方、被写体範囲外の欠陥画素であれば、周辺画素解析部1501は、評価閾値73にその値が大きくなるように補正係数を乗じた値、もしくはそのままの値を適応閾値75として、評価部1203に提供する。被写体外であるということは、診断上有用な情報が入っていないことが多く、精度をそれほど必要しないためである。なお、周辺画素解析部1501は被写体領域の抽出を各欠陥画素を処理するためのループ内において毎回実行する必要はなく、最初に抽出した被写体領域を以降のループで利用するようにしてもよい。以降のステップ1610〜1613の処理は、近似精度との比較に適応閾値75が用いられる点を除いて、第6実施形態(図14)のステップ1409〜1412と同様の処理である。
On the other hand, if it is a defective pixel outside the subject range, the peripheral
以上のように、第7実施形態によれば、近似精度に応じて補正処理を切り替える処理(欠陥画素の周辺画素を用いた補正/異なるゲインモードにおける画素値を用いた補正)において、近似精度と比較するための閾値が被写体領域内か否かに応じて変更される。そのため、より適切に補正処理を切り替えることができる。なお、上記実施形態では、欠陥画素の位置が被写体領域内か否かの判定にX線画像(B)を用いたが、X線画像(A)を用いてもよい。なお、第7実施形態による閾値の変更処理を第5実施形態で用いられる補正率の閾値に適用してもよい。 As described above, according to the seventh embodiment, in the process of switching the correction process according to the approximation accuracy (correction using the peripheral pixels of the defective pixel / correction using pixel values in different gain modes) The threshold value for comparison is changed depending on whether or not it is within the subject area. Therefore, the correction process can be switched more appropriately. In the above embodiment, the X-ray image (B) is used to determine whether or not the position of the defective pixel is in the subject area. However, the X-ray image (A) may be used. Note that the threshold value changing process according to the seventh embodiment may be applied to the threshold value of the correction factor used in the fifth embodiment.
<第8実施形態>
第7実施形態では、補正対象となる欠陥画素の位置が被写体領域か否かに応じて閾値を調整したが、閾値の調整はこれに限られるものではない。第8実施形態では、画像処理アプリケーションの種類(たとえばCT等の撮像であるか、一般透視撮影であるか)に応じて閾値を調整する。なお、第8実施形態のX線撮影装置100の構成、X線センサ102の1画素当たりの回路構成は第1実施形態(図1、図2)と同様である。以下、図17の機能構成図と図16のフローチャートを参照して、第8実施形態による処理を説明する。ステップ1601〜1608の処理は第6実施形態(図14)と同様である。
<Eighth Embodiment>
In the seventh embodiment, the threshold is adjusted according to whether or not the position of the defective pixel to be corrected is in the subject area, but the adjustment of the threshold is not limited to this. In the eighth embodiment, the threshold value is adjusted according to the type of image processing application (for example, imaging such as CT or general fluoroscopic imaging). The configuration of the X-ray imaging apparatus 100 of the eighth embodiment and the circuit configuration per pixel of the
アプリケーション解析部1701は、評価閾値73を入力とし、使用中のアプリケーションに応じて評価閾値73を補正し、適応閾値75を算出する(ステップ1612)。適応閾値75を算出するにあたりアプリケーション解析部1701は、評価閾値73に乗ずる補正係数を算出する。アプリケーション解析部1701は稼働中のアプリケーションが何であるかによって補正係数の値を変更する。例えば、アプリケーションがCTやトモシンセシスの場合、その誤差が再構成画像に大きく伝搬するため、評価閾値73が小さくなるように補正係数を乗じて適応閾値75を得る。一方、アプリケーションが一般透視の場合は、低線量撮影であるためにS/Nが悪く、その誤差の影響が小さいと考えられる。そのため、一般透視撮影では、評価閾値73が大きくなるように補正係数を乗じて得られた値か、評価閾値73のそのままの値を、適応閾値75として出力する。なお、アプリケーション解析部1701は被写体領域の抽出を各欠陥画素を処理するためのループ内において毎回実行する必要はなく、最初に行ったアプリケーションの判断結果を以降のループで用いるようにしてもよい。
The
以上のように、第8実施形態によれば、近似精度に応じて補正処理を切り替える処理において、近似精度と比較するための閾値が、稼働中のアプリケーションに応じて変更される。そのため、CTやトモシンセシスのための撮影や一般透視撮影といった撮影の種類に応じて適切に補正処理を切り替えることができる。なお、第8実施形態による閾値の変更処理を第5実施形態で用いられる補正率の閾値に適用してもよい。 As described above, according to the eighth embodiment, in the process of switching the correction process according to the approximation accuracy, the threshold for comparison with the approximation accuracy is changed according to the running application. Therefore, the correction process can be appropriately switched according to the type of imaging such as CT or tomosynthesis imaging or general fluoroscopic imaging. Note that the threshold value changing process according to the eighth embodiment may be applied to the threshold value of the correction factor used in the fifth embodiment.
<第9実施形態>
次に、異なるゲインの画像を使ってダイナミックレンジを拡張させる処理を示す。第9実施形態のX線撮影装置100の構成、X線センサ102の1画素当たりの回路構成は第1実施形態(図1、図2)と同様である。ダイナミックレンジを拡張させるには、線量に応じて高ゲインモードと低ゲインモードで取得した画素値を合成することでできる。図3に示す入出力特性において、2つのゲインモードがカバーする画素値エリアが拡張されたダイナミックレンジになる。以下、図18の機能構成図と図19のフローチャートを参照して第9実施形態の処理を説明する。
<Ninth Embodiment>
Next, processing for extending the dynamic range using images with different gains will be described. The configuration of the X-ray imaging apparatus 100 of the ninth embodiment and the circuit configuration per pixel of the
画素値補正部1801は、ゲインモードAで撮影されたX線画像(A)51とゲインモードBで撮影されたX線画像(B)52を取得する(ステップ1901)。ここで、X線画像(A)51およびX線画像(B)52は前処理が行われている画像とする。前処理とは、オフセット補正、Log変換、ゲイン補正などのセンサの特性を補正する処理であり、画像データは前処理により周辺画素との相関関係が保たれている状態になる。
The pixel
続いて、画素値補正部1101は、ゲインモードAの入出力特性(A)71とゲインモードBの入出力特性(B)72を取得する(ステップ1902)。入出力特性(A)71はステップ1201にて取得したX線画像(A)51と同じゲインモードAでの入出力特性、入出力特性(B)72はステップ1201にて取得したX線画像(B)52と同じゲインモードBでの入出力特性である。
Subsequently, the pixel value correction unit 1101 acquires the input / output characteristic (A) 71 of the gain mode A and the input / output characteristic (B) 72 of the gain mode B (step 1902). The input / output characteristic (A) 71 is an input / output characteristic in the same gain mode A as the X-ray image (A) 51 acquired in
また、評価部1802は、閾値76を入力または設定する(ステップ1903)。閾値76は補正率に関する閾値である。補正率とは異なるゲインモード間のリニアリティをそろえるための係数である。異なるゲインモードの画素を使って合成するには、リニアリティをそろえてから合成する必要がある。そのため異なるゲインモードの画素に補正率を乗じる必要が生じる。しかし、補正率の乗算は信号もノイズも同様に行われる。ノイズにはX線の線量に比例しないシステムノイズが含まれているため、補正率が大きくなればなるほど、S/Nが悪くなる。したがってS/Nが診断上影響のないレベルの最大補正率を設定し、それを閾値76とする。
Also, the
次に、評価部1802と画像合成部1803は、異なるゲインの画像を合成する処理を画素数分行う(ステップ1904)。まず、評価部1802は、各画素における補正率を計算する(ステップ1905)。補正率は例えば第5実施形態で説明した数5を用いて算出される。次に、評価部1802は、得られた補正率と閾値76を比較する(ステップ1906)。補正率が閾値76よりも大きければ、精度の高い補正が得られないと判断し、評価部1802は処理対象となっている画素を欠陥画素と判断する(ステップ1907)。一方、補正率が閾値76より小さければ、評価部1802は補正精度に問題はないと判断する。補正精度に問題がないと判断されると、画像合成部1803は、補正した画素値にて画像を合成する(ステップ1908)。合成の式は、ゲインモードAの補正された画素値をSA(x、y)、ゲインモードBの画素値SB(x、y)、とし、合成係数をwとすると、以下の数7のようになる。
<第10実施形態>
以下の第10実施形態、第11実施形態では、異なるゲインモードで取得した画素で補正したことに起因した後段の処理への影響を低減する構成を説明する。例えば、欠陥補正によって欠損したグリッド縞を復元する処理が挙げられる。周辺画素からの欠陥補正はグリッド縞が欠損するため復元処理が必要となるが、異なるゲインモードでの欠陥補正結果はグリッド縞を有しているため、グリッド縞を復元する必要がない。そこで、異なるゲインモードで取得した画素を用いて行った欠陥補正によって後段の処理に必要な情報(例えば、グリッド縞の情報)が残存しているかどうかをチェックする。そして、そのチェック結果に従って、後段の画像処理(例えば、グリッド縞補正)で参照する欠陥情報を更新する。
<Tenth Embodiment>
In the following tenth and eleventh embodiments, a configuration for reducing the influence on subsequent processing due to correction by pixels acquired in different gain modes will be described. For example, there is a process for restoring grid stripes that have been lost due to defect correction. The defect correction from the peripheral pixels requires a restoration process because the grid stripes are lost. However, since the defect correction results in different gain modes have the grid stripes, there is no need to restore the grid stripes. Therefore, it is checked whether information necessary for subsequent processing (for example, information on grid stripes) remains due to defect correction performed using pixels acquired in different gain modes. Then, according to the check result, the defect information referred to in the subsequent image processing (for example, grid stripe correction) is updated.
図20の機能構成図と図21のフローチャートを用いて、第10実施形態の処理を説明する。なお、ライン欠陥抽出部2003は第11実施形態で用いられる構成であるので、第11実施形態において説明する。また、X線撮影装置の構成やX線センサ102の各画素の回路構成は図1、図2を用いて説明したとおりである。補正方法選択部2001は、ゲインモードAで撮影されたX線画像(A)51とゲインモードBで撮影されたX線画像(B)52を取得する(ステップ2101)。X線画像(A)51およびX線画像(B)52は前処理が行われている画像とする。前処理とは、オフセット補正、Log変換、ゲイン補正などのセンサの特性を補正する処理であり、前処理により画像データは周辺画素との相関関係が保たれている状態になる。
The processing of the tenth embodiment will be described using the functional configuration diagram of FIG. 20 and the flowchart of FIG. The line
補正方法選択部2001は、ゲインモードAにおける欠陥情報(A)61を取得し、評価部2004と欠陥情報比較部2002は欠陥情報(A)61と欠陥情報(B)62を取得する(ステップ2102)。さらに評価部2004は、ゲインモードAの入出力特性(A)71とゲインモードBの入出力特性(B)72を取得する(ステップ2103)。すなわち、入出力特性(A)71はステップ2101にて取得したX線画像(A)51と同じゲインモードAでの入出力特性であり、入出力特性(B)72はステップ2101にて取得したX線画像(B)52と同じゲインモードでの入出力特性である。
The correction
次に補正方法選択部2001は、合成欠陥情報63を欠陥情報比較部2002から取得する(ステップ2104)。欠陥情報比較部2002による合成欠陥情報63の生成は、第1実施形態(図5の(b)、図6)で説明したとおりである。すなわち、合成欠陥情報63には、ゲインモードAとゲインモードBで共に欠陥である画素と、どちらか一方のゲインモードで欠陥である画素と、どちらのゲインモードでも欠陥ではない画素との判別のつく情報が含まれている。
Next, the correction
評価部2004は、欠陥情報(A)61が示すX線画像(A)51の全ての欠陥画素に対して、合成欠陥情報63を参照してゲインモードBでの対応する画素が正常画素であるかどうかをチェックする(ステップ2105、2106)。ゲインモードBでの対応する画素も欠陥画素である場合は、「異なるゲインモードを用いた補正」を用いることができない。そのため、欠陥補正部2005は同じゲインモードAにおける欠陥画素の周辺画素を用いて補正を行う。この補正方法は、数1を用いて第1実施形態で説明したとおりである(ステップ2110)。そして欠陥情報更新部2006がこの補正対象画素を欠陥画素として登録し、後段の画像処理において参照される欠陥情報91を更新する(ステップ2111)。一方、ゲインモードBが正常画素である場合は、ゲインモードBの画素を使用する異なるゲインモードでの補正方法を選択する(ステップ2106→ステップ2107)。
The
異なるゲインモードでの補正方法ではまずゲインを補正する処理が行われる。まず入出力特性(A)71および入出力特性(B)72の近似式を算出する。入出力特性は線量に対してリニアリティが失われているため、その補正を行いやすいようにリニアリティγA、γBを使って近似する。ゲインモード毎に数8、数9のように近似する。
数8、数9への近似は、それぞれのゲインモードにおける複数のサンプリング点から最小二乗法等で算出する。次にX線画像(B)52の対応する画素値を入力とし、補正結果を計算する。すなわち、X線画像(B)52の画素値から、数9の逆変換を使って入力値を計算する。得られた入力値に対し、数8を使って補正画素値を求めることで、ゲインに対応した補正を完了する。
The approximations to
次に、評価部2004は、異なるゲインモードを用いた上記補正処理によって補正された後のX線画像(A)から得られるスペクトルに基づいて、上記補正処理による欠陥画素の補正が適切か不適切かを評価する。本実施形態では、後段のグリッド縞補正を考慮して、X線画像(A)から得られるスペクトルに基づいてグリッド縞が維持されているか否かを評価し、グリッド縞が維持されていれば上記補正処理は適切であり、維持されていなければ不適切であると評価する。本実施形態では、欠陥画素の位置をとおる2つの直交する方向に関する特定の周波数(本実施形態ではグリッド縞のピーク周波数)のスペクトル値の比と、欠陥画素の位置をとおらない2つの直交する方向に関する特定の周波数のスペクトル値の比との比較を行う。以下、より詳細な具体的に説明する。
Next, the
まず、評価部2004は、異なるゲインモードでの補正を行った補正対象画素に対して、その補正後の欠陥画素を含み、グリッド縞方向と垂直な方向のスペクトルS1と、グリッド縞方向と同方向であるスペクトルS2とを計算する。さらに補正対象欠陥画素周辺における、グリッド縞方向と垂直な方向の参照スペクトルRS1と、グリッド縞方向と同方向である参照スペクトルRS2とを計算する。グリッド縞によるピーク周波数をfgとしたとき、スペクトルS1、S2によるピーク比PSおよび参照スペクトルRS1、RS2による参照ピーク比PRSは、数10および数11のようになる。
ピーク比は、グリッド縞の分だけ大きな値となって出力される。この値が周辺と等しいか否かでグリッド縞情報を欠損していないかどうかを判断することができる。評価部2004は、参照ピーク比PRSとピーク比PSとを比較し、それらの差あるいは比を評価値として算出し(ステップ2108)、評価値が所定の範囲内に収まっているかをチェックする(ステップ2109)。評価値が所定の範囲内に収まっている場合は、グリッド縞情報まで正確に補正ができていると判断し、欠陥補正部105はこの補正結果を欠陥補正結果として出力する。以降の処理でこの補正対象画素は正常画素として使用される。「異なるゲインモードを用いた補正」が採用された場合、欠陥情報更新部2006は、グリッド縞補正用の欠陥情報91に当該欠陥画素を正常画素として登録する(ステップ2111)。こうして、異なるゲインモードでの補正処理により補正された画素は、グリッド縞補正の対象から除外されることになる。
The peak ratio is output as a large value corresponding to the grid stripes. It can be determined whether or not the grid stripe information is missing based on whether this value is equal to the surrounding area.
一方、ステップ2118で評価値が所定の範囲内に収まっていない場合、評価部2004はグリッド縞情報が正確に補正できていないと判断する。評価部2004はこの判断を受けて、欠陥補正部2005に同じゲインモードAの周辺画素を用いた補正(第1実施形態の数1を用いた補正)を実行させる(ステップ2110)。この場合、その補正対象画素は以降も欠陥画素であるとして使用される。そのため、欠陥情報更新部2006はグリッド縞補正用の欠陥情報91に、欠陥画素であることを登録する(ステップ2110)。欠陥情報91に欠陥画素と登録されると、グリッド縞補正を行う際に、前処理としてグリッド縞を考慮した特別な欠陥補正をする必要があるが、正常画素と登録されると、その必要がない。本実施形態によれば、異なるゲインモードで補正を実行できた場合(ピーク比に基づいてグリッド縞が維持されている場合)にはグリッド縞を考慮した欠陥補正を実施する必要が無くなるため、処理の高速化が見込める。
On the other hand, if the evaluation value does not fall within the predetermined range in step 2118, the
<第11実施形態>
次に、図20の機能構成図と図22のフローチャートを参照して、第11実施形態の処理を説明する。第11実施形態では、ライン状に所定数以上の欠陥画素が連続する部分(ライン欠陥部分)をひとまとまりにして処理する。X線撮影装置の構成やX線センサ102の各画素の回路構成は図1、図2を用いて説明したとおりである。また、ステップ2201〜2204の処理は第10実施形態(図21)のステップ2101〜2104と同様である。
<Eleventh embodiment>
Next, processing of the eleventh embodiment will be described with reference to the functional configuration diagram of FIG. 20 and the flowchart of FIG. In the eleventh embodiment, a portion (line defect portion) where a predetermined number or more of defective pixels continue in a line is processed as a group. The configuration of the X-ray imaging apparatus and the circuit configuration of each pixel of the
ライン欠陥抽出部2003は、ライン欠陥定義79を取得する(ステップ2205)。ライン欠陥定義79とは、たとえば、連結する欠陥画素が3画素以上である、といったものである。そして、補正方法選択部2001は、ライン欠陥抽出部2003からライン欠陥情報65を読み込む(ステップ2206)。ライン欠陥情報65は、ライン欠陥抽出部2003によって生成される。ライン欠陥情報65の抽出において、ライン欠陥抽出部2003は、ゲインモードAの欠陥情報(A)61とゲインモードBの欠陥情報(B)62とを取得する。そして、ライン欠陥抽出部2003は、これら欠陥情報に基づいてライン欠陥情報を生成する。
The line
図23は、本実施形態によるライン欠陥抽出方法の一例を示す図である。ゲインモードAでの欠陥情報を欠陥情報(A)61、ゲインモードBでの欠陥情報を欠陥情報(B)62とすると、そのライン欠陥情報はライン欠陥情報65のようになる(ステップ2211)。すなわち、欠陥情報(A)61では欠陥画素であるが、欠陥情報(B)62では正常画素である画素のうち、所定数以上の画素が連続してライン状になっている部分がライン欠陥部分として抽出される。ライン欠陥として抽出するための基準は、上述したライン欠陥定義79に基づいて設定される。例えば、上述したように、ライン欠陥定義79が「連結する欠陥画素が3画素以上」である場合、同一方向へ連結している欠陥画素の数が3画素以上のものがライン画素として抽出される。
FIG. 23 is a diagram showing an example of the line defect extraction method according to the present embodiment. If the defect information in the gain mode A is defect information (A) 61 and the defect information in the gain mode B is defect information (B) 62, the line defect information becomes line defect information 65 (step 2211). That is, a defective pixel in the defect information (A) 61 but a normal pixel in the defect information (B) 62 is a line defective portion where a predetermined number or more of pixels are continuously in a line shape. Extracted as The standard for extracting as a line defect is set based on the
評価部2004は、ゲインモードAにおける全ての欠陥画素に対して、合成欠陥情報63から、ゲインモードBでの対応する画素が正常画素であるかどうかをチェックする(ステップ2207、2208)。ゲインモードBが欠陥画素である場合は、異なるゲインモードを用いた補正を実行することができない。そのため、欠陥補正部2005は、例えば数1を用いた周辺画素補正を実行する(ステップ2209)。そして欠陥情報更新部2006がこの補正対象画素を欠陥画素として登録し、グリッド補正のための欠陥情報91を生成する(ステップ2215)。すなわち、「異なるゲインモードを用いた補正」により補正されなかった画素は、後段のグリッド縞補正処理の対象となる。
The
一方、ゲインモードAでは欠陥画素であるがゲインモードBでは正常画素である場合は、ゲインモードBの画素を使用する異なるゲインモードを用いた補正の採用を検討する。第11実施形態では、異なるゲインモードを用いた補正はステップ2206で得たライン欠陥情報が示すライン欠陥単位で行われる(ステップ2210)。異なるゲインモードを用いた補正(ステップ2211)とピーク比の算出(ステップ2212)は第10実施形態のステップ2107、ステップ2108と同様である。
On the other hand, if the gain mode A is a defective pixel but the gain mode B is a normal pixel, the use of correction using a different gain mode using a gain mode B pixel is considered. In the eleventh embodiment, correction using different gain modes is performed in units of line defects indicated by the line defect information obtained in step 2206 (step 2210). Correction using different gain modes (step 2211) and peak ratio calculation (step 2212) are the same as
評価部2004は、ステップ2212で算出されたピーク比と参照ピーク比との差(あるいは比)を求め、ライン欠陥内で順位づけを行う(ステップ2213)。図24に順位付けの例を示す。図24では、(a)に示されるように、7個の欠陥画素が縦方向に並ぶライン欠陥についての処理例が示されている。ステップ2211の処理によりライン欠陥を構成する各欠陥画素を異なるゲインモードの対応する画素の画素値で補正し、ステップ2212の処理により補正後のピーク比と参照ピークの誤差を算出した様子を表したものが(b)に示されている。そして、ステップ2213の処理により、ピーク比の誤差を昇順に順位付けた様子を表したものが(c)である。ステップ2221では、これらの中で順位の低い画素、つまりピーク比誤差が小さい画素から正常画素と判断し、ライン欠陥定義79に当てはまらなくなるまで、欠陥マップを更新する。図8の場合、順位が3位までの画素を正常画素と判断することで、3個以上の連結状態をライン欠陥とするライン欠陥定義に該当する欠陥画素が無くなる。
The
したがって、この場合、欠陥情報更新部2006は、順位が3位までの画素を正常画素とし、欠陥補正部2005は、これらの補正結果(ステップ2211出られた結果)を欠陥補正結果として出力する。また、これら正常画素と判定された画素について、正常画素であることを示すようにグリッド補正のための欠陥情報91を更新する(ステップ2215)。これらの画素は、後段のグリッド縞補正の対象から除外されることになる。一方、順位が4位以降のものは、グリッド補正において欠陥画素として判断するため、欠陥補正部2005は、例えば数1を用いて周辺画素補正を行う(ステップ2209)。そして、欠陥情報更新部2006はそれらの画素(順位が4位以降の画素)を欠陥画素として登録する(ステップ2215)。
Therefore, in this case, the defect
以上のように、第11実施形態によれば、誤差の小さいものが優先的に正常画素として扱われることで画質に対する影響を小さくすることができる。 As described above, according to the eleventh embodiment, it is possible to reduce the influence on the image quality by preferentially treating a pixel with a small error as a normal pixel.
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。 The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.
Claims (27)
前記撮像装置の、前記第1のゲインモードにおける欠陥画素の位置を示す第1の欠陥情報と、前記第2のゲインモードにおける欠陥画素の位置を示す第2の欠陥情報を取得する取得手段と、
前記第1と第2の欠陥情報に基づいて、前記撮像装置が前記第1のゲインモードで撮影した第1の画像における欠陥画素の補正処理を切り替える切替手段と、を備え、
前記切替手段は、前記第1の画像における前記欠陥画素の周囲の画素を用いて前記欠陥画素を補正する第1の補正処理と、前記撮像装置が前記第2のゲインモードで撮影した第2の画像における前記欠陥画素に対応する画素を用いて前記欠陥画素を補正する第2の補正処理との選択を切り替えることを特徴とする画像処理装置。 An image processing device that processes an image obtained by an imaging device capable of photographing in a first gain mode and a second gain mode different from the first gain mode,
Acquisition means for acquiring first defect information indicating a position of a defective pixel in the first gain mode and second defect information indicating a position of the defective pixel in the second gain mode of the imaging apparatus;
Switching means for switching correction processing of defective pixels in the first image captured by the imaging device in the first gain mode based on the first and second defect information;
The switching means includes a first correction process for correcting the defective pixel using pixels around the defective pixel in the first image, and a second correction image captured by the imaging device in the second gain mode. An image processing apparatus, wherein selection is switched between a second correction process for correcting the defective pixel using a pixel corresponding to the defective pixel in the image.
前記切替手段は、さらに前記計数手段で計数された正常画素の数に基づいて補正処理を切り替えることを特徴とする請求項1に記載の画像処理装置。 A counter for counting the number of normal pixels around the defective pixel from the first defect information;
The image processing apparatus according to claim 1, wherein the switching unit further switches correction processing based on the number of normal pixels counted by the counting unit.
前記切替手段は、さらに前記判定手段による判定結果に基づいて補正処理を切り替えることを特徴とする請求項1乃至3のいずれか1項に記載の画像処理装置。 A determination unit configured to determine whether the defective pixel is included in an edge region based on an image around the defective pixel in the first image;
The image processing apparatus according to claim 1, wherein the switching unit further switches correction processing based on a determination result by the determination unit.
前記切替手段は、さらに前記算出手段により算出されたノイズ量に基づいて補正処理を切り替えることを特徴とする請求項1乃至5のいずれか1項に記載の画像処理装置。 A calculation means for calculating a noise amount from an image around the defective pixel of the first image;
The image processing apparatus according to claim 1, wherein the switching unit further switches correction processing based on a noise amount calculated by the calculation unit.
前記切替手段は、さらに前記評価手段の評価結果に基づいて補正処理を切り替えることを特徴とする請求項1乃至9のいずれか1項に記載の画像処理装置。 Based on a first input / output characteristic indicating the correspondence between the X-ray dose and the output signal in the first gain mode, and a second input / output characteristic indicating the correspondence between the X-ray dose and the output signal in the second gain mode. , Further comprising evaluation means for evaluating the suitability of application of the second correction process,
The image processing apparatus according to claim 1, wherein the switching unit further switches correction processing based on an evaluation result of the evaluation unit.
前記切替手段は、前記補正率が前記評価閾値を超えると判定された場合には前記第1の補正処理を選択することを特徴とする請求項10に記載の画像処理装置。 The evaluation means converts the pixel value of the second image into the pixel value of the defective pixel of the first image based on the first input / output characteristic and the second input / output characteristic. Determine whether the correction rate exceeds the evaluation threshold,
The image processing apparatus according to claim 10, wherein the switching unit selects the first correction process when it is determined that the correction rate exceeds the evaluation threshold.
前記切替手段は、前記誤差量が前記評価閾値を超えると判定された場合には前記第1の補正処理を選択することを特徴とする請求項10に記載の画像処理装置。 The evaluation unit obtains an error amount of linear approximation based on the first input / output characteristic and the second input / output characteristic, and the error amount in a pixel value of the second image corresponding to the defective pixel. Determine whether or not exceeds the evaluation threshold,
The image processing apparatus according to claim 10, wherein the switching unit selects the first correction process when it is determined that the error amount exceeds the evaluation threshold.
前記切替手段は、前記評価値が適切であることを示す場合には前記第2の補正処理による補正結果を採用し、不適切であることを示す場合には前記第1の補正処理による補正結果を採用することを特徴とする請求項1乃至9のいずれか1項に記載の画像処理装置。 Based on the spectrum obtained from the first image after the defective pixel is corrected by the second correction process, it is determined whether the correction of the defective pixel by the second correction process is appropriate or inappropriate. An evaluation means for generating an evaluation value for
The switching means adopts the correction result by the second correction process when it indicates that the evaluation value is appropriate, and the correction result by the first correction process when it indicates that the evaluation value is inappropriate. The image processing apparatus according to claim 1, wherein the image processing apparatus is employed.
前記切替手段は、前記順位付けされた順に欠陥画素を選択して前記第2の補正処理を適用して正常画素として扱う処理を、前記ライン欠陥部分において前記所定数以上に欠陥画素が連続しなくなるまで繰り返すことを特徴とする請求項16乃至19のいずれか1項に記載の画像処理装置。 In the first gain mode, the evaluation means has a good evaluation value for a line defect portion in which a predetermined number of pixels or more are continuous among the pixels that are defective pixels in the first gain mode but are normal pixels in the second gain mode. Rank the defective pixels in order,
The switching means selects a defective pixel in the ranked order and applies the second correction process to treat it as a normal pixel, and the defective pixels do not continue to be more than the predetermined number in the line defect portion. The image processing apparatus according to claim 16, wherein the image processing apparatus repeats the process until the process is repeated.
前記撮像装置の、前記第1のゲインモードにおける欠陥画素の位置を示す第1の欠陥情報と、前記第2のゲインモードにおける欠陥画素の位置を示す第2の欠陥情報を取得する取得工程と、
前記第1と第2の欠陥情報に基づいて、前記撮像装置が前記第1のゲインモードで撮影した第1の画像における欠陥画素の補正処理を切り替える切替工程と、を有し、
前記切替工程では、前記第1の画像における前記欠陥画素の周囲の画素を用いて前記欠陥画素を補正する第1の補正処理と、前記撮像装置が前記第2のゲインモードで撮影した第2の画像における前記欠陥画素に対応する画素を用いて前記欠陥画素を補正する第2の補正処理との選択を切り替えることを特徴とする画像処理装置の制御方法。 A control method for an image processing device for processing an image obtained by an imaging device capable of photographing in a first gain mode and a second gain mode different from the first gain mode,
An acquisition step of acquiring first defect information indicating a position of a defective pixel in the first gain mode and second defect information indicating a position of the defective pixel in the second gain mode of the imaging device;
A switching step of switching correction processing of defective pixels in the first image captured by the imaging device in the first gain mode based on the first and second defect information,
In the switching step, a first correction process that corrects the defective pixel using pixels around the defective pixel in the first image, and a second correction that the imaging device has captured in the second gain mode. A control method for an image processing apparatus, wherein selection is switched between a second correction process for correcting the defective pixel using a pixel corresponding to the defective pixel in an image.
前記第1のゲインモードで取得された画素値と、前記第2のゲインモードで取得された画素値を前記第1のゲインモードにおける画素値へ変換した画素値と、を用いて各画素を合成する合成手段と、
前記合成の対象となる各画素に関して、前記第2のゲインモードにおける画素値を前記第1のゲインモードにおける画素値へ変換することの適否を前記第1および第2のゲインモードのそれぞれの入出力特性に基づいて評価する評価手段とを備え、
前記合成手段は、前記評価手段により不適切と評価された画素を欠陥画素とし、適切と評価された画素を合成して合成画像を生成することを特徴とする画像処理装置。 An image processing device that processes an image obtained by an imaging device capable of photographing in a first gain mode and a second gain mode different from the first gain mode,
Each pixel is synthesized using the pixel value acquired in the first gain mode and the pixel value acquired by converting the pixel value acquired in the second gain mode into the pixel value in the first gain mode. A synthesis means to
For each pixel to be combined, whether or not to convert the pixel value in the second gain mode into the pixel value in the first gain mode is input / output in each of the first and second gain modes. An evaluation means for evaluating based on characteristics ,
An image processing apparatus according to claim 1, wherein the synthesizing unit generates a synthesized image by synthesizing a pixel evaluated as inappropriate by the evaluation unit as a defective pixel and combining the pixels evaluated as appropriate.
前記第1のゲインモードで取得された画素値と、前記第2のゲインモードで取得された画素値を前記第1のゲインモードにおける画素値へ変換した画素値と、を用いて各画素を合成する合成工程と、
前記合成の対象となる各画素に関して、前記第2のゲインモードにおける画素値を前記第1のゲインモードにおける画素値へ変換することの適否を前記第1および第2のゲインモードのそれぞれの入出力特性に基づいて評価する評価工程とを有し、
前記合成工程では、前記評価工程で不適切と評価された画素を欠陥画素とし、適切と評価された画素を合成して合成画像を生成することを特徴とする画像処理装置の制御方法。 A control method for an image processing device for processing an image obtained by an imaging device capable of photographing in a first gain mode and a second gain mode different from the first gain mode,
Each pixel is synthesized using the pixel value acquired in the first gain mode and the pixel value acquired by converting the pixel value acquired in the second gain mode into the pixel value in the first gain mode. A synthesis process to
For each pixel to be combined, whether or not to convert the pixel value in the second gain mode into the pixel value in the first gain mode is input / output in each of the first and second gain modes. An evaluation process for evaluating based on characteristics,
In the composition step, a pixel evaluated as inappropriate in the evaluation step is used as a defective pixel, and a composite image is generated by combining pixels evaluated as appropriate.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013185704A JP6250988B2 (en) | 2013-09-06 | 2013-09-06 | Image processing method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013185704A JP6250988B2 (en) | 2013-09-06 | 2013-09-06 | Image processing method and apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015052941A JP2015052941A (en) | 2015-03-19 |
JP6250988B2 true JP6250988B2 (en) | 2017-12-20 |
Family
ID=52701920
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013185704A Expired - Fee Related JP6250988B2 (en) | 2013-09-06 | 2013-09-06 | Image processing method and apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6250988B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111476728B (en) * | 2020-03-26 | 2024-05-24 | 上海奕瑞光电子科技股份有限公司 | Image correction method and triggering method for image correction |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003333435A (en) * | 2002-03-08 | 2003-11-21 | Canon Inc | Correcting device, image pickup device, correcting method, correcting computer program |
JP2007306506A (en) * | 2006-05-15 | 2007-11-22 | Fujifilm Corp | Imaging device |
WO2013065515A1 (en) * | 2011-11-01 | 2013-05-10 | 富士フイルム株式会社 | Radiography device, radiography system, and radiography method |
-
2013
- 2013-09-06 JP JP2013185704A patent/JP6250988B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2015052941A (en) | 2015-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101367747B1 (en) | Radiographic apparatus and control method for the same | |
JP6570330B2 (en) | Image processing apparatus, radiation imaging apparatus, image processing method, program, and storage medium | |
US10660598B2 (en) | Image processing apparatus, image processing method, and image processing system | |
JP6214226B2 (en) | Image processing apparatus, tomography apparatus, image processing method and program | |
JP2013123589A (en) | Image processor, image processing method, and program | |
US9299141B2 (en) | Image analysis apparatus, radiation imaging apparatus, image analysis method, and storage medium | |
US9025055B2 (en) | Image processing apparatus, image processing method and radiation system | |
US9979911B2 (en) | Image processing apparatus, radiation imaging apparatus, image processing method, and storage medium for dark correction | |
JP6987352B2 (en) | Medical image processing equipment and medical image processing method | |
US10319083B2 (en) | Image artifact detection and correction in scenes obtained from multiple visual images | |
JP5914843B2 (en) | Image processing apparatus and image processing method | |
JP5868119B2 (en) | Image processing apparatus, radiation imaging system, image processing method, and recording medium | |
JP6685762B2 (en) | Image processing apparatus, image processing method, and program | |
JP5627275B2 (en) | Image processing apparatus, image processing method, and program | |
JP6250988B2 (en) | Image processing method and apparatus | |
US10068319B2 (en) | Method for noise reduction in an image sequence | |
JP4863700B2 (en) | X-ray inspection equipment | |
US20130322596A1 (en) | Image capturing apparatus, image capturing system, method of controlling image capturing apparatus, and storage medium | |
JP6132938B2 (en) | Image processing apparatus, radiation imaging system, image processing method, and recording medium | |
JP5674659B2 (en) | Image processing apparatus and X-ray diagnostic imaging apparatus | |
JP2003265452A (en) | Radiation image sequence processing method and medical radiation inspection apparatus | |
JP6189172B2 (en) | Image processing apparatus, image processing method, and program | |
JP2021071816A (en) | Image processing apparatus and image processing method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160824 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170703 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170710 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170727 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170915 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20171016 |
|
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: 20171027 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20171124 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6250988 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
LAPS | Cancellation because of no payment of annual fees |