JP5276423B2 - Image shooting device - Google Patents

Image shooting device Download PDF

Info

Publication number
JP5276423B2
JP5276423B2 JP2008309996A JP2008309996A JP5276423B2 JP 5276423 B2 JP5276423 B2 JP 5276423B2 JP 2008309996 A JP2008309996 A JP 2008309996A JP 2008309996 A JP2008309996 A JP 2008309996A JP 5276423 B2 JP5276423 B2 JP 5276423B2
Authority
JP
Japan
Prior art keywords
data
pixel
defective pixel
unit
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.)
Active
Application number
JP2008309996A
Other languages
Japanese (ja)
Other versions
JP2010136101A (en
Inventor
佳司 土谷
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 JP2008309996A priority Critical patent/JP5276423B2/en
Publication of JP2010136101A publication Critical patent/JP2010136101A/en
Application granted granted Critical
Publication of JP5276423B2 publication Critical patent/JP5276423B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像撮影装置に関し、特に、X線画像撮影装置におけるデータ補正処理に関する。   The present invention relates to an image capturing apparatus, and more particularly to a data correction process in an X-ray image capturing apparatus.

平面検出器を用いたX線撮影装置が知られている。平面検出器には様々な種類のものが存在する。例えば、ガラス基板上に成膜、形成したアモルファスシリコンやポリシリコンを材料とし、光電変換素子とTFTを二次元的に配列してX線を検知する平面検出器が知られている。かかる平面検出器においては、光電変換素子で光電変換された電荷に対して、TFTを用いたマトリクス駆動を行うことによって電荷を読み出している。   An X-ray imaging apparatus using a flat detector is known. There are various types of flat detectors. For example, there is known a flat detector that detects X-rays by using amorphous silicon or polysilicon formed and formed on a glass substrate as a material and two-dimensionally arranging photoelectric conversion elements and TFTs. In such a flat panel detector, charges are read out by performing matrix driving using TFTs on the charges photoelectrically converted by the photoelectric conversion elements.

また、静止画撮影だけでなく、動画撮影可能な平面検出器が開発されている(例えば特許文献1参照)。   In addition, flat detectors that can capture moving images as well as still images have been developed (see, for example, Patent Document 1).

平面検出器には欠陥画素が存在するのが通常である。この欠陥画素の存在によって撮影画像の画質が劣化するという問題がある。そのため、欠陥画素を補正する必要があり、平面検出器内の欠陥画素位置等の欠陥情報を予め検出して記憶しておき、撮像時に欠陥情報に基づいて欠陥補正が行われる。欠陥補正は、欠陥画素の値を、例えば欠陥画素の周辺画素から補間して得た値で補正するのが一般的である。   A flat detector usually has a defective pixel. There is a problem that the image quality of the photographed image deteriorates due to the presence of the defective pixel. For this reason, it is necessary to correct defective pixels. Defect information such as defective pixel positions in the flat detector is detected and stored in advance, and defect correction is performed based on the defect information during imaging. In the defect correction, the value of the defective pixel is generally corrected with a value obtained by interpolating from the peripheral pixels of the defective pixel, for example.

また、X線撮影装置では、平面検出器から読み出した画像を表示又は保存する場合、動き検知機能を持ったリカーシブフィルタ処理が用いられる。これは、X線動画像を撮影する場合には低線量でのX線動画撮影が求められ、低線量化に伴って生じるノイズを抑制するためのものである。   In the X-ray imaging apparatus, recursive filter processing having a motion detection function is used when displaying or saving an image read from a flat detector. This is to suppress X-ray moving image capturing at a low dose when capturing an X-ray moving image, and to suppress noise caused by the reduction in dose.

動き検知機能を持ったリカーシブフィルタに関する方法は、例えば特許文献2に開示されている。特許文献2によれば、現フレームの画像データが空間フィルタ処理され、前フレームの画像データはフレームメモリに記憶される。現フレームの画像データと前フレームの画像データとの間の関係から動き検知が行われる。動きが検知された場合、現フレームの画像が空間フィルタ処理された画像データに切り換えられる。動き検知機能は、前フレームの画像データと現フレームの画像データの局所的な平均値が所定値以上になった場合に動いたと判断する。   A method related to a recursive filter having a motion detection function is disclosed in Patent Document 2, for example. According to Patent Document 2, the image data of the current frame is subjected to spatial filter processing, and the image data of the previous frame is stored in the frame memory. Motion detection is performed from the relationship between the image data of the current frame and the image data of the previous frame. When motion is detected, the current frame image is switched to image data that has undergone spatial filtering. The motion detection function determines that it has moved when the local average value of the image data of the previous frame and the image data of the current frame exceeds a predetermined value.

従来のX線撮影装置の概略ブロック図を図5に示す。   A schematic block diagram of a conventional X-ray imaging apparatus is shown in FIG.

X線撮影装置は、大きく分けて、平面検出器1を有する平面検出部20と、平面検出部20から転送された画像データを処理する画像処理部21とで構成されている。平面検出部20は、平面検出器1の他に、欠陥補正部30、送信部2を備える。一方、画像処理部21は、受信部3、転送エラー検出部4、転送エラー補正部31、リカーシブフィルタ部32を備える。   The X-ray imaging apparatus is roughly composed of a plane detection unit 20 having the plane detector 1 and an image processing unit 21 that processes image data transferred from the plane detection unit 20. The plane detection unit 20 includes a defect correction unit 30 and a transmission unit 2 in addition to the plane detector 1. On the other hand, the image processing unit 21 includes a reception unit 3, a transfer error detection unit 4, a transfer error correction unit 31, and a recursive filter unit 32.

平面検出器1は既に説明した、光電変換素子とTFTを二次元的に配列した平面検出器である。   The flat detector 1 is a flat detector in which photoelectric conversion elements and TFTs are two-dimensionally arranged as described above.

図6は、欠陥補正部30で行われるデータ補正処理の例を説明する図である。同図において、xが欠陥画素、a、b、c、dは正常な画素を示す。欠陥補正部30は、例えば、欠陥画素周辺の4画素を用いて欠陥画素を補正する。この場合、欠陥画素xの補正後の画素x’は次式で表される。   FIG. 6 is a diagram for explaining an example of data correction processing performed by the defect correction unit 30. In the figure, x is a defective pixel, and a, b, c, and d are normal pixels. For example, the defect correction unit 30 corrects the defective pixel using four pixels around the defective pixel. In this case, the corrected pixel x ′ of the defective pixel x is expressed by the following equation.

x’=(a+b+c+d)/4 …… (1)       x '= (a + b + c + d) / 4 (1)

X線撮影装置の場合、平面検出部20と画像処理部21とは距離的に離れている場合が多いので、送信部2が必要となる。送信部2は、平面検出器1から読み出したデータにエラー検出コードを付加して画像処理部21に転送する。エラー検出コードは、データ転送中にデータ化けが発生したか否かを判定できるようにするためのコードである。エラー検出コードには様々な方式があるが、例えばCRC(Cyclic Redundancy Check Character)が用いられる。   In the case of an X-ray imaging apparatus, since the plane detection unit 20 and the image processing unit 21 are often separated from each other in distance, the transmission unit 2 is necessary. The transmission unit 2 adds an error detection code to the data read from the flat detector 1 and transfers the data to the image processing unit 21. The error detection code is a code for making it possible to determine whether data corruption has occurred during data transfer. There are various error detection codes. For example, CRC (Cyclic Redundancy Check Character) is used.

受信部3は、送信部2から送信されたデータを受信し、転送エラー検出部4は付加されたエラー検出コードからデータ転送中にデータ化けがあったか否かを判定する。   The reception unit 3 receives the data transmitted from the transmission unit 2, and the transfer error detection unit 4 determines from the added error detection code whether the data is garbled during data transfer.

転送エラー検出部4が転送エラーを検出した場合は、転送エラー補正部31でデータ転送エラーが補正される。転送エラー補正部31は欠陥補正部30と同様な構造であり、データ転送エラーが起きた画素はその周辺の正常な画素を用いて補正される。   When the transfer error detection unit 4 detects a transfer error, the transfer error correction unit 31 corrects the data transfer error. The transfer error correction unit 31 has the same structure as that of the defect correction unit 30, and a pixel in which a data transfer error has occurred is corrected using normal pixels around it.

図7は、転送エラー補正部31で行われるデータ補正処理の例を説明する図である。同図において、e1、e2、e3がデータ転送エラーの画素、a、cはデータ転送エラーが起きなかった画素を示す。転送エラー補正部31はデータ転送エラーが起きた画素の周辺4画素から補正する場合、データ転送エラーを起こした画素e2は、データ転送が起きなかった画素がa、cだけを用いて補正される。この場合、欠陥画素e2の補正後の画素e2’は次式で表される。   FIG. 7 is a diagram illustrating an example of data correction processing performed by the transfer error correction unit 31. In the figure, e1, e2, and e3 are pixels having a data transfer error, and a and c are pixels having no data transfer error. When the transfer error correction unit 31 corrects four pixels around the pixel in which the data transfer error has occurred, the pixel e2 in which the data transfer error has occurred is corrected using only the pixels a and c in which the data transfer has not occurred. . In this case, the corrected pixel e2 'of the defective pixel e2 is expressed by the following equation.

e2’=(a+c)/2 …… (2)       e2 '= (a + c) / 2 (2)

e1及びe3も同様に補正される。   e1 and e3 are similarly corrected.

補正後のデータは、動き検知機能を持ったリカーシブフィルタ部32でリカーブフィルタ処理され、処理されたデータが不図示の表示装置に表示、又は保存部に保存される。   The corrected data is subjected to a recurve filter process by a recursive filter unit 32 having a motion detection function, and the processed data is displayed on a display device (not shown) or stored in a storage unit.

特開2003-078124号公報JP2003-078124 特開平06-047036号公報Japanese Unexamined Patent Publication No. 06-047036

しかし、従来のX線撮影装置は欠陥画素とデータ転送エラーを補正するために、平面検出部20に欠陥補正部30、画像処理部21に転送エラー補正部31と、2つの補正部が必要であった。そのため、従来のX線撮影装置はコストが高くなるという問題があった。   However, in order to correct defective pixels and data transfer errors, the conventional X-ray imaging apparatus requires a defect correction unit 30 in the plane detection unit 20, a transfer error correction unit 31 in the image processing unit 21, and two correction units. there were. Therefore, the conventional X-ray imaging apparatus has a problem that the cost becomes high.

このコスト高を避けるため、転送エラー補正部31を省略する方法が考えられるが、この場合、データ転送エラーの起きた画素が動き検知機能を持ったリカーシブフィルタ部32に入ってしまう。既に説明したように、リカーシブフィルタ部32は、前フレームの画像データと現フレームの画像データの局所的な平均値が所定値以上になった場合に動いたと判断するために、データ転送エラーの起きた画素を動きと判断してしまう。そして、動きと判断した場合は、データ転送エラーの起きた現フレームの画像を空間フィルタ処理したデータに切り換えてしまうために、異常な画素値が表示部に表示される、または保存部に保存されてしまうという問題がある。   In order to avoid this high cost, a method of omitting the transfer error correction unit 31 can be considered, but in this case, a pixel in which a data transfer error has occurred enters the recursive filter unit 32 having a motion detection function. As described above, the recursive filter unit 32 generates a data transfer error in order to determine that it has moved when the local average value of the image data of the previous frame and the image data of the current frame exceeds a predetermined value. It is determined that the pixel is a motion. If it is determined that the image is moving, the image of the current frame in which a data transfer error has occurred is switched to the spatially filtered data, so that abnormal pixel values are displayed on the display unit or stored in the storage unit. There is a problem that it ends up.

本発明は、より簡単な構成で平面検出器の欠陥及びデータ転送エラーの補正を行うことができるX線撮影装置を提供することを目的とする。   An object of the present invention is to provide an X-ray imaging apparatus capable of correcting a defect of a flat panel detector and a data transfer error with a simpler configuration.

本発明の一側面によれば、面検出器から読み出した各画素のデータを信する信手段と、前記受信したデータの転送エラーを検出する検出手段と、前記平面検出器の欠陥画素の位置を予め記憶する第1の記憶手段と、前記検出手段により転送エラーが検出された画素の位置と前記欠陥画素の位置との関係に応じて、前記欠陥画素の所定の周辺画素に基づく第1の欠陥画素の補正方法、又は、現フレームのデータと前フレームのデータを用いた第2の欠陥画素の補正方法、を選択して、前記欠陥画素のデータを補正する補正手段とを備えることを特徴とする画像撮影装置が提供される。 According to one aspect of the present invention, a receiving means for receiving data of each pixel read from the flat surface detector, a detector for detecting transmission errors of the received data, defective pixels of the flat panel detector A first storage means for preliminarily storing the position of the first pixel, and a first pixel based on a predetermined peripheral pixel of the defective pixel in accordance with a relationship between the position of the pixel where the transfer error is detected by the detection means and the position of the defective pixel A correction unit that corrects the defective pixel data by selecting one defective pixel correction method or a second defective pixel correction method using the current frame data and the previous frame data; Is provided.

本発明によれば、より簡単な構成で平面検出器の欠陥及びデータ転送エラーの補正を行うことができる画像撮影装置が提供される。   ADVANTAGE OF THE INVENTION According to this invention, the imaging device which can correct | amend the defect of a plane detector and a data transmission error with a simpler structure is provided.

以下、図面を参照して本発明の好適な実施形態について詳細に説明する。なお、本発明は以下の実施形態に限定されるものではなく、本発明の実施に有利な具体例を示すにすぎない。また、以下の実施形態の中で説明されている特徴の組み合わせの全てが本発明の課題解決手段として必須のものであるとは限らない。   DESCRIPTION OF EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings. In addition, this invention is not limited to the following embodiment, It shows only the specific example advantageous for implementation of this invention. In addition, not all combinations of features described in the following embodiments are indispensable as means for solving the problems of the present invention.

図1は、本実施形態における画像撮影装置であるX線撮影装置の構成を示すブロック図である。   FIG. 1 is a block diagram showing a configuration of an X-ray imaging apparatus which is an image imaging apparatus in the present embodiment.

図1に示すように、本実施形態におけるX線撮影装置は、平面検出部10と画像処理部11を備える。平面検出部10と画像処理部11は、図5に示した従来例における平面検出部20と画像処理部21と概ね同じであるが、図1の平面検出部10には欠陥補正部30がなく、画像処理部11には転送エラー補正部31の代わりに欠陥補正部5が入っている。また、リカーシブフィルタ部6は従来例のリカーシブフィルタ部32とは異なる。   As shown in FIG. 1, the X-ray imaging apparatus according to the present embodiment includes a plane detection unit 10 and an image processing unit 11. The plane detection unit 10 and the image processing unit 11 are substantially the same as the plane detection unit 20 and the image processing unit 21 in the conventional example shown in FIG. 5, but the plane detection unit 10 of FIG. The image processing unit 11 includes a defect correction unit 5 instead of the transfer error correction unit 31. The recursive filter unit 6 is different from the conventional recursive filter unit 32.

従って、平面検出部10は、入射したX線を検出する検出素子を含む画素を2次元状に配列した平面検出器1と、平面検出器1から読み出したデータを送信する送信部2により構成される。また、画像処理部11は受信部3、転送エラー検出部4、欠陥補正部5、リカーシブフィルタ部6により構成される。なお、平面検出器1、送信部2、受信部3、転送エラー検出部4に関しては、従来例と同じであるので、参照符号を共通として、説明を省略する。   Accordingly, the plane detection unit 10 includes a plane detector 1 in which pixels including detection elements that detect incident X-rays are two-dimensionally arranged, and a transmission unit 2 that transmits data read from the plane detector 1. The The image processing unit 11 includes a receiving unit 3, a transfer error detecting unit 4, a defect correcting unit 5, and a recursive filter unit 6. Note that the plane detector 1, the transmission unit 2, the reception unit 3, and the transfer error detection unit 4 are the same as those in the conventional example, and therefore, the same reference numerals are used and description thereof is omitted.

転送エラー検出部4はCRCなどのエラー検出コードに基づいてデータの転送エラーを検出し、データ転送エラーがあった場合はデータ転送エラーが発生した位置の情報(41)を出力する。また、受信部3で受信したデータを出力(40)する。   The transfer error detection unit 4 detects a data transfer error based on an error detection code such as CRC, and if there is a data transfer error, outputs information (41) on the position where the data transfer error has occurred. The data received by the receiving unit 3 is output (40).

欠陥補正部5は平面検出器1の欠陥画素と、転送エラー検出部4から出力されたデータ転送エラー位置情報(41)に基づいて、欠陥補正部5に入力されたデータ(40)を補正して出力(50)する。ただし、欠陥補正部5は平面検出器1の欠陥画素とデータ転送エラーが起きた画素の全てを補正できるとは限らないので、補正できなかった画素がある場合はその位置の情報(51)を出力する。   The defect correction unit 5 corrects the data (40) input to the defect correction unit 5 based on the defective pixel of the flat detector 1 and the data transfer error position information (41) output from the transfer error detection unit 4. To output (50). However, since the defect correction unit 5 cannot correct all of the defective pixels of the flat panel detector 1 and the pixels in which the data transfer error has occurred, if there is a pixel that could not be corrected, the position information (51) is obtained. Output.

リカーシブフィルタ部6はリカーシブフィルタ処理と、欠陥補正部5で補正できなかったデータ(50)を、その位置情報(51)を用いて補正し出力(60)する。   The recursive filter unit 6 corrects and outputs (60) the recursive filter process and the data (50) that cannot be corrected by the defect correcting unit 5 using the position information (51).

リカーシブフィルタ部6から出力されたデータ(60)は不図示の表示装置に表示、または保存部に保存される。   Data (60) output from the recursive filter unit 6 is displayed on a display device (not shown) or stored in a storage unit.

図2は欠陥補正部5の構成を示すブロック図である。   FIG. 2 is a block diagram showing the configuration of the defect correction unit 5.

欠陥補正部5は、第1記憶部52、第2記憶部53、判定部54、第3記憶部55、補正部56を有する。第1記憶部52は、平面検出器1の欠陥画素の位置の情報を予め記憶している。第2記憶部53は、転送エラー検出部4から送信された、データ転送エラーが起きた位置の情報(41)を記憶する。   The defect correction unit 5 includes a first storage unit 52, a second storage unit 53, a determination unit 54, a third storage unit 55, and a correction unit 56. The first storage unit 52 stores in advance information on the position of the defective pixel of the flat detector 1. The second storage unit 53 stores information (41) of the position where the data transfer error has occurred, transmitted from the transfer error detection unit 4.

欠陥補正部5は、図6に示したように、注目画素である欠陥画素の所定数の周辺画素(例えば周辺4画素)を用いて欠陥画素を補正する。具体的には、前述した(1)式により、周辺画素の平均値で注目画素のデータを置換する。   As illustrated in FIG. 6, the defect correction unit 5 corrects the defective pixel using a predetermined number of peripheral pixels (for example, four peripheral pixels) of the defective pixel that is the target pixel. Specifically, the data of the pixel of interest is replaced with the average value of the peripheral pixels by the above-described equation (1).

また、図7に示したように、注目画素である欠陥画素の周辺画素に転送エラーまたは欠陥画素が含まれる場合がある。この場合は、欠陥補正部5は、前述の(2)式のように、注目画素の所定数の周辺画素のうち正常なもののデータの平均値で当該注目画素のデータを置換する。   Further, as shown in FIG. 7, there may be a case where a transfer error or a defective pixel is included in the peripheral pixels of the defective pixel which is the target pixel. In this case, the defect correcting unit 5 replaces the data of the target pixel with an average value of normal data among a predetermined number of peripheral pixels of the target pixel as in the above-described equation (2).

判定部54は、第1記憶部52に記憶された欠陥画素の位置の情報と第2記憶部53に記憶された位置の情報から、異常があった画素を補正できるか否かを判定する。注目画素が欠陥画素である場合にそれを所定数の周辺画素から補正するとき、図7に示したようなデータ転送エラーが発生した場合は、(2)式で補正できると判定する。   The determination unit 54 determines whether or not an abnormal pixel can be corrected based on the position information of the defective pixel stored in the first storage unit 52 and the position information stored in the second storage unit 53. When a pixel of interest is a defective pixel and is corrected from a predetermined number of peripheral pixels, if a data transfer error as shown in FIG. 7 occurs, it is determined that correction can be made using equation (2).

図4は、補正部56では補正することができないと判定する場合を示す図である。   FIG. 4 is a diagram illustrating a case where the correction unit 56 determines that correction cannot be performed.

図4において、x1、x2は平面検出器1の欠陥画素を示し、e1、e2、e3がデータ転送エラーの画素を示す。注目画素e2は転送エラーが検出された画素となっている。その周辺4画素は欠陥画素x1とx2、データ転送エラーの画素e1、e3である。このため、注目画素e2の画素は補正できないと判定する。   In FIG. 4, x1 and x2 indicate defective pixels of the flat detector 1, and e1, e2, and e3 indicate data transfer error pixels. The target pixel e2 is a pixel in which a transfer error is detected. The surrounding four pixels are defective pixels x1 and x2, and data transfer error pixels e1 and e3. For this reason, it is determined that the pixel of the target pixel e2 cannot be corrected.

そして、補正部56が補正できないと判定した画素の位置の情報は第3記憶部55に記憶され、次のリカーシブフィルタ部6に出力(51)される。また、欠陥補正部5に入ったデータ(40)は補正部56に入り、判定部56が補正できると判定した画素は補正部56で補正されて出力(50)される。欠陥補正部5で補正できなかったデータは、次のリカーシブフィルタ部6に入る。   Information on the position of the pixel determined by the correction unit 56 to be uncorrectable is stored in the third storage unit 55 and output (51) to the next recursive filter unit 6. Further, the data (40) entered in the defect correction unit 5 enters the correction unit 56, and the pixels determined to be correctable by the determination unit 56 are corrected by the correction unit 56 and output (50). Data that could not be corrected by the defect correction unit 5 enters the next recursive filter unit 6.

図3はリカーシブフィルタ部6の構成を示すブロック図である。   FIG. 3 is a block diagram showing the configuration of the recursive filter unit 6.

リカーシブフィルタ部6は、欠陥補正部5から出力されたデータより得られる現フレーム画像に、ある重み付けをした前フレーム画像を加算することによりノイズを低減させるための処理を行う。具体的には、リカーシブフィルタ部6は、動き検知部61、空間フィルタ部62、フレームメモリ部63、切り換え部64、リカーシブフィルタ計算部65を備える。   The recursive filter unit 6 performs a process for reducing noise by adding a weighted previous frame image to the current frame image obtained from the data output from the defect correction unit 5. Specifically, the recursive filter unit 6 includes a motion detection unit 61, a spatial filter unit 62, a frame memory unit 63, a switching unit 64, and a recursive filter calculation unit 65.

動き検知部61は、現フレーム画像と前フレーム画像との関係から動きを検知する。空間フィルタ部62は現フレーム画像に空間フィルタ処理を施して、現フレーム画像のノイズを抑制する。また、フレームメモリ部63は前フレーム画像のデータを記憶する。   The motion detector 61 detects motion from the relationship between the current frame image and the previous frame image. The spatial filter unit 62 performs spatial filtering on the current frame image to suppress noise in the current frame image. The frame memory unit 63 stores the data of the previous frame image.

切り換え部64は、動き検知部61が動きを検知したときは、リカーシブフィルタ計算部65との接続を空間フィルタ部62に切り換える。一方、動き検知部61が動きを検知しなかったときは、当該接続をフレームメモリ部63に切り換える。   The switching unit 64 switches the connection with the recursive filter calculation unit 65 to the spatial filter unit 62 when the motion detection unit 61 detects a motion. On the other hand, when the motion detection unit 61 does not detect a motion, the connection is switched to the frame memory unit 63.

さらに、切り換え部64は、欠陥補正部5で補正できなかった位置の情報(51)も入力している。リカーシブフィルタ計算部65での注目画素が欠陥補正部5で補正できなかった位置の画素になったときは、切り換え部64はリカーシブフィルタ計算部65との接続をフレームメモリ部63に強制的に切り換える。   Further, the switching unit 64 also receives information (51) on the position that could not be corrected by the defect correcting unit 5. When the target pixel in the recursive filter calculation unit 65 becomes a pixel at a position that cannot be corrected by the defect correction unit 5, the switching unit 64 forcibly switches the connection with the recursive filter calculation unit 65 to the frame memory unit 63. .

リカーシブフィルタ計算部65は、現フレーム画像と切り換え部64を介して入力した画像とを用いて、画素毎に次式による計算を行う。   The recursive filter calculation unit 65 uses the current frame image and the image input via the switching unit 64 to perform calculation according to the following equation for each pixel.

Pon(x, y) = (1-a)・Pin(x, y) + a・Pon-1(x, y) ……(3) Po n (x, y) = (1-a) · Pi n (x, y) + a · Po n-1 (x, y) (3)

ここで、aはリカーシブフィルタ係数、Pin(x, y)は現フレーム画像の位置x, yの画素のデータ、Pon-1(x, y)は切り換え部64を介して入力された位置x, yの画素のデータである。そして、リカーシブフィルタ計算部65は、(3)式により計算したリカーシブフィルタ出力データPon(x, y)を出力する。ただし、欠陥補正部5で補正できなかった位置(51)の画素に対しては、リカーシブフィルタ係数aを1として、前フレームの画素のデータで置換する。 Here, a is a recursive filter coefficient, Pi n (x, y) is pixel data at positions x and y in the current frame image, and Po n−1 (x, y) is a position input via the switching unit 64. It is pixel data of x and y. Then, the recursive filter calculation unit 65 outputs the recursive filter output data Po n (x, y) calculated by the equation (3). However, the pixel at the position (51) that could not be corrected by the defect correction unit 5 is replaced with the data of the pixel of the previous frame with the recursive filter coefficient a being 1.

従って、欠陥補正部5で補正できなかった位置の画素が注目画素となるときは、切り換え部64をフレームメモリに切り換え、かつ、リカーシブフィルタ計算部65のリカーシブフィルタ係数aを1にする。このため、前フレームの画素と等しくなり、欠陥補正部5で補正できなかった画素が補正できるようになる。   Accordingly, when a pixel at a position that cannot be corrected by the defect correction unit 5 becomes a target pixel, the switching unit 64 is switched to the frame memory, and the recursive filter coefficient a of the recursive filter calculation unit 65 is set to 1. For this reason, it becomes equal to the pixel of the previous frame, and a pixel that cannot be corrected by the defect correction unit 5 can be corrected.

上述の実施形態では、欠陥補正部5は欠陥画素、またはデータ転送エラーを起こした画素の周辺4画素の正常な画素から補正するようにしたが、これに限定されない。例えば周辺8画素の正常な画素から補正する方法でもよい。なお、その補正方法に応じて判定部54の判定方法は変わることになる。   In the above-described embodiment, the defect correction unit 5 corrects from defective pixels or normal pixels around the four pixels around the pixel in which the data transfer error has occurred. However, the present invention is not limited to this. For example, a method of correcting from normal pixels of the surrounding 8 pixels may be used. Note that the determination method of the determination unit 54 varies depending on the correction method.

また、第1記憶部52、第2記憶部53、第3記憶部55において、異常な値の位置を記憶する方式として様々な方式がある。典型例として、異常な値の画素をxy座標で記憶する方法があるが、本発明はその方式に限定されない。   Further, in the first storage unit 52, the second storage unit 53, and the third storage unit 55, there are various methods for storing the positions of abnormal values. As a typical example, there is a method of storing pixels having abnormal values in xy coordinates, but the present invention is not limited to this method.

また、エラー検出コードはCRCとして説明したが、エラー検出コードには様々な方式がある。例えば数ビット単位にエラー検出コードを付加する方式や、数十画素毎にエラー検出コードを付加する方式がある。従って例えば、エラー検出コードとして、CRCの代わりに、例えばエラー訂正コードであるRS符号(Reed Solomon Coding)を用いてもよい。   Although the error detection code has been described as CRC, there are various methods for error detection code. For example, there are a method of adding an error detection code in units of several bits and a method of adding an error detection code for every several tens of pixels. Therefore, for example, instead of CRC, for example, an RS code (Reed Solomon Coding) that is an error correction code may be used as the error detection code.

また、送信部2及び受信部3における伝送方式には様々な方式がある。例えばデータを電気信号で送信する方式や光信号に変換して送信する方式、またパラレルで送信する方式やシリアルで送信する方式等がある。本発明には、これらのあらゆる伝送方式を用いることができる。更に、本発明においては送信部2と受信部3の間の距離も限定していない。   There are various transmission methods in the transmission unit 2 and the reception unit 3. For example, there are a method in which data is transmitted as an electrical signal, a method in which data is converted into an optical signal and transmitted, a method in which data is transmitted in parallel, and a method in which data is transmitted in serial. Any of these transmission schemes can be used in the present invention. Furthermore, the distance between the transmission unit 2 and the reception unit 3 is not limited in the present invention.

また、動き検知部61の動き検知方式としては、上述の実施形態では、現フレームの画像データと前フレームの画像データとの間の関係から動き検知するようにした。しかし、これに限定されるものではなく、例えば空間フィルタ部62で空間フィルタを施した画像データと、フレームメモリ部63に記憶した画像データとから動き検知を行ってもよい。   In addition, as the motion detection method of the motion detection unit 61, in the above-described embodiment, motion detection is performed from the relationship between the image data of the current frame and the image data of the previous frame. However, the present invention is not limited to this. For example, motion detection may be performed from the image data subjected to the spatial filter by the spatial filter unit 62 and the image data stored in the frame memory unit 63.

また、平面検出器1はX線を検知する平面検出器としているが、これに限定されない。例えば可視光を検知する平面検出器でもよい。   The flat detector 1 is a flat detector that detects X-rays, but is not limited thereto. For example, a flat detector that detects visible light may be used.

実施形態におけるX線撮影装置の構成を示すブロック図である。It is a block diagram which shows the structure of the X-ray imaging apparatus in embodiment. 実施形態における欠陥補正部の構成を示すブロック図である。It is a block diagram which shows the structure of the defect correction part in embodiment. 実施形態におけるリカーシブフィルタ部の構成を示すブロック図である。It is a block diagram which shows the structure of the recursive filter part in embodiment. 実施形態における補正部が補正できないと判定する場合を説明する図である。It is a figure explaining the case where it determines with the correction | amendment part in embodiment not being able to correct | amend. 従来のX線撮影装置の構成を示すブロック図である。It is a block diagram which shows the structure of the conventional X-ray imaging apparatus. 平面検出器の欠陥画素に対するデータ補正処理の例を説明する図である。It is a figure explaining the example of the data correction process with respect to the defective pixel of a plane detector. 転送エラーに係るデータ補正処理の例を説明する図である。It is a figure explaining the example of the data correction process which concerns on a transfer error.

符号の説明Explanation of symbols

1:平面検出器
2:送信部
3:受信部
4:転送エラー検出部
5:欠陥補正部
6:リカーシブフィルタ部
10:平面検出部
11:画像処理部
1: Plane detector 2: Transmission unit 3: Reception unit 4: Transfer error detection unit 5: Defect correction unit 6: Recursive filter unit 10: Plane detection unit 11: Image processing unit

Claims (8)

面検出器から読み出した各画素のデータを信する信手段と、
前記受信したデータの転送エラーを検出する検出手段と、
前記平面検出器の欠陥画素の位置を予め記憶する第1の記憶手段と、
前記検出手段により転送エラーが検出された画素の位置と前記欠陥画素の位置との関係に応じて、前記欠陥画素の所定の周辺画素に基づく第1の欠陥画素の補正方法、又は、現フレームのデータと前フレームのデータを用いた第2の欠陥画素の補正方法、を選択して、前記欠陥画素のデータを補正する補正手段と、
を備えることを特徴とする画像撮影装置。
A receiving means for receiving data of each pixel read from the flat surface detector,
Detecting means for detecting a transfer error of the received data;
First storage means for storing in advance the positions of defective pixels of the flat panel detector;
A first defective pixel correction method based on a predetermined peripheral pixel of the defective pixel or a current frame of the current frame in accordance with the relationship between the position of the pixel where the transfer error is detected by the detection means and the position of the defective pixel A correction means for correcting the data of the defective pixel by selecting a second defective pixel correction method using the data and the data of the previous frame ;
An image photographing apparatus comprising:
前記欠陥画素の前記所定の周辺画素が前記検出手段により転送エラーが検出された画素及び他の欠陥画素の少なくともいずれかによって占められている場合は、前記欠陥画素のデータを前記第1の欠陥画素の補正方法によっては補正できないと判定する判定手段を更に備え、
前記補正手段は、前記判定手段により前記欠陥画素のデータを前記第1の欠陥画素の補正方法によっては補正できないと判定された場合は前記第2の欠陥画素の補正方法を選択し、それ以外の場合は前記第1の欠陥画素の補正方法を選択する
ことを特徴とする請求項1に記載の画像撮影装置。
When the predetermined peripheral pixel of the defective pixel is occupied by at least one of a pixel in which a transfer error is detected by the detection unit and another defective pixel, the data of the defective pixel is used as the first defective pixel. And a determination means for determining that the correction cannot be performed by the correction method.
The correction unit selects the second defective pixel correction method when the determination unit determines that the data of the defective pixel cannot be corrected by the first defective pixel correction method; The image capturing apparatus according to claim 1, wherein a correction method for the first defective pixel is selected .
前記検出手段により転送エラーが検出された画素の位置を記憶する第2の記憶手段と、
前記判定手段により前記第1の欠陥画素の補正方法によっては補正できないと判定された欠陥画素の位置を記憶する第3の記憶手段と、
を更に備えることを特徴とする請求項2に記載の画像撮影装置。
Second storage means for storing a position of a pixel in which a transfer error is detected by the detection means;
Third storage means for storing a position of a defective pixel determined to be uncorrectable by the determination means by the correction method of the first defective pixel;
The image photographing device according to claim 2 , further comprising:
フレーム画像をリカーシブフィルタ処理することで前記第2の欠陥画素の補正方法を実現するリカーシブフィルタ手段を更に備え、
前記補正手段は、前記第3の記憶手段に記憶された位置の欠陥画素のデータを前記リカーシブフィルタ手段を用いて補正する
ことを特徴とする請求項3に記載の画像撮影装置。
Recursive filter means for realizing the second defective pixel correction method by performing recursive filter processing on the current frame image,
The image photographing apparatus according to claim 3 , wherein the correction unit corrects data of a defective pixel at a position stored in the third storage unit using the recursive filter unit .
前記リカーシブフィルタ手段は、
現フレーム画像の前フレーム画像に対する動きを検知する動き検知手段と、
現フレーム画像に対して空間フィルタ処理を行う空間フィルタ手段と、
前フレーム画像のデータを記憶するフレームメモリと、
現フレーム画像と、前記空間フィルタ手段で前記空間フィルタ処理された現フレーム画像または前記フレームメモリから読み出した前フレーム画像とを入力してリカーシブフィルタ計算を行う計算手段と、
前記計算手段への入力として前記空間フィルタ手段と前記フレームメモリのいずれか一方に切り換える切り換え手段
を含み、
記動き検知手段が動きを検知した位置では前記空間フィルタ手段に切り換え、前記動き検知手段が動きを検知しなかった位置では前記フレームメモリに切り換えるとともに、前記第3の記憶手段に記憶された位置では前記フレームメモリに切り換えることにより前記判定手段により前記第1の欠陥画素の補正方法によっては補正できないと判定された欠陥画素のデータを補正する
ことを特徴とする請求項4に記載の画像撮影装置。
The recursive filter means includes:
Motion detection means for detecting motion of the current frame image relative to the previous frame image;
Spatial filter means for performing spatial filter processing on the current frame image;
A frame memory for storing data of the previous frame image;
A calculation means for performing a recursive filter calculation by inputting a current frame image and a current frame image subjected to the spatial filter processing by the spatial filter means or a previous frame image read from the frame memory;
And switching means for switching to either one of said frame memory and said spatial filter means as an input to said computing means,
Including
At the position where front Symbol motion detection means detects motion switched to the spatial filter means, at a position where the motion detecting means does not detect motion Rutotomoni switched to the frame memory, stored in the third memory means 5. The image according to claim 4, wherein the data of a defective pixel which is determined to be uncorrectable by the determination unit by the correction method of the first defective pixel is corrected by switching to the frame memory at a predetermined position. Shooting device.
前記計算手段は、
aをリカーシブフィルタ係数、Pin(x, y)を現フレーム画像の位置x, yの画素のデータ、Pon-1(x, y)を前記切り換え手段を介して入力された位置x, yの画素のデータ、Pon(x, y)を現フレーム画像の位置x, yの画素のリカーシブフィルタ出力データとするとき、
Pon(x, y) = (1-a)・Pin(x, y) + a・Pon-1(x, y)
を計算するものであり、
前記動き検知手段で動きが検知されなかった位置、及び、前記第3の記憶手段に記憶された位置では、リカーシブフィルタ係数aを1とすることを特徴とする請求項5に記載の画像撮影装置。
The calculating means includes
a is the recursive filter coefficient, Pi n (x, y) is the pixel data at the position x, y of the current frame image, Po n-1 (x, y) is the position x, y input via the switching means Pixel data, Po n (x, y) is the recursive filter output data of the pixel at position x, y in the current frame image,
Po n (x, y) = (1-a) ・ Pi n (x, y) + a ・ Po n-1 (x, y)
Is to calculate
Position no motion is detected by said motion detection means, and the third in the stored position in a storage unit, an image according to claim 5, wherein the benzalkonium be between 1 recursive filter coefficients a Shooting device.
画像撮影装置の制御方法であって、A method for controlling an image capturing device,
受信手段が、平面検出器から読み出した各画素のデータを受信する受信工程と、A receiving step in which the receiving means receives data of each pixel read from the flat detector;
検出手段が、前記受信したデータの転送エラーを検出する検出工程と、A detecting step for detecting a transfer error of the received data;
補正手段が、前記検出工程で転送エラーが検出された画素の位置と、第1の記憶手段に予め記憶された欠陥画素の位置との関係に応じて、前記欠陥画素の所定の周辺画素に基づく第1の欠陥画素の補正方法、又は、現フレームのデータと前フレームのデータを用いた第2の欠陥画素の補正方法、を選択して、前記欠陥画素のデータを補正する補正工程と、The correcting means is based on a predetermined peripheral pixel of the defective pixel in accordance with the relationship between the position of the pixel where the transfer error is detected in the detection step and the position of the defective pixel stored in advance in the first storage means. A correction step of selecting the first defective pixel correction method or the second defective pixel correction method using the current frame data and the previous frame data, and correcting the defective pixel data;
を有することを特徴とする画像撮影装置の制御方法。A control method for an image capturing apparatus, comprising:
コンピュータを、請求項1乃至6のいずれか1項に記載の画像撮影装置が有する各手段として機能させるためのプログラム。The program for functioning a computer as each means which the image imaging device of any one of Claims 1 thru | or 6 has.
JP2008309996A 2008-12-04 2008-12-04 Image shooting device Active JP5276423B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008309996A JP5276423B2 (en) 2008-12-04 2008-12-04 Image shooting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008309996A JP5276423B2 (en) 2008-12-04 2008-12-04 Image shooting device

Publications (2)

Publication Number Publication Date
JP2010136101A JP2010136101A (en) 2010-06-17
JP5276423B2 true JP5276423B2 (en) 2013-08-28

Family

ID=42346932

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008309996A Active JP5276423B2 (en) 2008-12-04 2008-12-04 Image shooting device

Country Status (1)

Country Link
JP (1) JP5276423B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013004293A (en) * 2011-06-16 2013-01-07 Toshiba Corp X-ray image tube apparatus and imaging system
EP3236652A4 (en) 2014-12-19 2018-07-11 Olympus Corporation Endoscope and endoscope system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004088234A (en) * 2002-08-23 2004-03-18 Matsushita Electric Ind Co Ltd Noise reduction device
JP4709514B2 (en) * 2004-09-16 2011-06-22 オリンパス株式会社 Capsule endoscope system
JP2006234557A (en) * 2005-02-24 2006-09-07 Shimadzu Corp Method of correcting x-ray image and x-ray inspection apparatus
JP4874864B2 (en) * 2006-05-08 2012-02-15 パナソニック株式会社 Imaging device

Also Published As

Publication number Publication date
JP2010136101A (en) 2010-06-17

Similar Documents

Publication Publication Date Title
JP4388909B2 (en) Pixel defect correction device
US7203279B2 (en) Radiographic apparatus, and radiation detection signal processing method
JP4194336B2 (en) Semiconductor integrated circuit, defective pixel correction method, and image processor
US20110013053A1 (en) Defective pixel detection and correction
US10491815B2 (en) Image-processing apparatus, image-processing method, and non-transitory computer readable medium storing image-processing program
JP4533124B2 (en) Pixel defect correction device
JP4985403B2 (en) Image processing system and image processing program
US7471842B2 (en) Method and apparatus for dynamically detecting pixel values
TWI226196B (en) Circuit for correction of white pixel defects and an image sensor using circuit for the correction of white pixel defects
EP2373048B1 (en) Method for detecting and correcting bad pixels in image sensor
JP2008072565A (en) Imaging device and defective pixel correction method
JP5276423B2 (en) Image shooting device
JP2009194776A (en) Noise filter
JP2017055308A (en) Imaging apparatus and its control method
US8203630B2 (en) Method for correcting image sensor control circuitry having faulty output values and structure therefor
US20120008017A1 (en) Image sensor and pixel correction method
JP2010068329A (en) Imaging apparatus
JP5709472B2 (en) Signal processing device
US20110122299A1 (en) Image processing apparatus, image processing method, and camera module
JP2012070319A (en) Image processing method, image processing apparatus, and image processing program
JP2005210164A5 (en)
JP7118911B2 (en) Image processing device
JP4397869B2 (en) Smear correction method and smear correction circuit
JP5542727B2 (en) Error correction apparatus, error correction method, and error correction program
CN110786009B (en) Method, device and machine-readable storage medium for detecting Bell image

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111129

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121119

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121122

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130121

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: 20130419

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130517

R151 Written notification of patent or utility model registration

Ref document number: 5276423

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151