JP5432657B2 - Imaging device, storage device, and control method - Google Patents

Imaging device, storage device, and control method Download PDF

Info

Publication number
JP5432657B2
JP5432657B2 JP2009231011A JP2009231011A JP5432657B2 JP 5432657 B2 JP5432657 B2 JP 5432657B2 JP 2009231011 A JP2009231011 A JP 2009231011A JP 2009231011 A JP2009231011 A JP 2009231011A JP 5432657 B2 JP5432657 B2 JP 5432657B2
Authority
JP
Japan
Prior art keywords
pixel
pixels
defective
type
information
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
Application number
JP2009231011A
Other languages
Japanese (ja)
Other versions
JP2011082634A (en
JP2011082634A5 (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 JP2009231011A priority Critical patent/JP5432657B2/en
Publication of JP2011082634A publication Critical patent/JP2011082634A/en
Publication of JP2011082634A5 publication Critical patent/JP2011082634A5/en
Application granted granted Critical
Publication of JP5432657B2 publication Critical patent/JP5432657B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Transforming Light Signals Into Electric Signals (AREA)

Description

本発明は、撮像装置、記憶装置、及び制御方法に関する。 The present invention relates to an imaging device , a storage device, and a control method .

デジタルカメラなどの撮像装置に用いられるCCDイメージセンサー、CMOSイメージセンサーなどの撮像センサは、光電変換部をそれぞれ含む複数の画素が2次元的に配列された画素配列を有している。画素配列は、その全体に均一なレベルの入射光が照射された場合に、特異なレベルの電気信号しか得られない欠陥画素を含むことが多い。この欠陥画素から出力された信号をそのまま用いて画像を得た場合、その画像の画質が劣化する。   An imaging sensor such as a CCD image sensor or a CMOS image sensor used in an imaging apparatus such as a digital camera has a pixel arrangement in which a plurality of pixels each including a photoelectric conversion unit are two-dimensionally arranged. In many cases, the pixel array includes defective pixels that can obtain only a specific level of electrical signal when the entire surface is irradiated with incident light of a uniform level. When an image is obtained using the signal output from the defective pixel as it is, the image quality of the image deteriorates.

この欠陥(傷)には、撮像センサの製造工程で既に発生している初期的欠陥(以下、工程傷とする)と、宇宙線、静電破壊等の外部要因や経時変化に起因して発生する後発的欠陥(以下、後傷とする)とが存在する。工程傷の位置情報は、撮像装置の製品出荷時に、撮像装置内の不揮発性メモリに記憶しておく。また、後傷の位置情報は、撮像装置内に欠陥画素検出回路を搭載して後発的な欠陥を検出する際に、その位置も検出することにより取得し不揮発性メモリに記憶する。そして、撮影時に撮像装置内の補間回路が不揮発性メモリに記憶されたそれらの位置情報を参照して特定した位置の傷画素の信号を周囲の画素の信号で補間することで撮影画像を得て、ユーザーが撮影画像を見るときに著しい違和感を持たない様にしている。   These defects (scratches) are caused by initial defects (hereinafter referred to as process scratches) that have already occurred in the manufacturing process of the imaging sensor, external factors such as cosmic rays and electrostatic breakdown, and changes over time. There is a subsequent defect (hereinafter referred to as a post-scratch). The process scratch position information is stored in a nonvolatile memory in the imaging device when the imaging device is shipped. Further, the position information of the back scratch is acquired by detecting the position when a defective pixel detection circuit is mounted in the imaging apparatus to detect a subsequent defect, and is stored in the nonvolatile memory. Then, the captured image is obtained by interpolating the signal of the scratched pixel at the position specified by the interpolation circuit in the imaging device with reference to the position information stored in the nonvolatile memory at the time of shooting with the signal of the surrounding pixels. , So that the user does not feel uncomfortable when viewing the captured image.

特許文献2には、固体撮像装置において、EEPROM26が、マトリックス状に配置された画素における第1〜第Nラインに対応した書き込み領域を有していることが記載されている。その書き込み領域には、特許文献2の図5に示すように、工場出荷時に、上記のマトリックス状の配置における欠陥画素の垂直位置(ラインの位置)及び水平位置がそのラインに対応する書き込み領域に書き込まれている。これにより、特許文献2によれば、マトリックス状の配置における欠陥画素が発生したラインと欠陥画素の位置情報を格納したアドレスとが対応しているために、従来方式に比べてEEPROM26の情報書き込み回路を簡易に構成することができるとされている。また、各ラインに対応した書き込み領域は、特許文献2の図6に示すように、2個分の欠陥画素の位置情報を追加で書き込める領域を有している。これにより、特許文献2によれば、マトリックス状の配置において欠陥画素が製品出荷後に検出された場合に、欠陥画素の位置情報を容易に記憶手段に追記できるとされている。   Patent Document 2 describes that in a solid-state imaging device, the EEPROM 26 has write areas corresponding to the first to Nth lines in pixels arranged in a matrix. In the writing area, as shown in FIG. 5 of Patent Document 2, the vertical position (line position) and the horizontal position of the defective pixel in the matrix arrangement described above are the writing areas corresponding to the line at the time of factory shipment. Has been written. Thus, according to Patent Document 2, since the line where the defective pixel is generated in the matrix arrangement and the address storing the position information of the defective pixel correspond to each other, the information writing circuit of the EEPROM 26 is compared with the conventional method. It can be easily configured. In addition, as shown in FIG. 6 of Patent Document 2, the writing area corresponding to each line has an area in which position information of two defective pixels can be additionally written. Thus, according to Patent Document 2, when a defective pixel is detected after product shipment in a matrix arrangement, the position information of the defective pixel can be easily added to the storage means.

特許文献3には、画像処理装置100において、工場出荷時に予め不揮発性メモリに格納された撮像素子14における傷画素のデータを、装置の動作時に検出された傷画素のデータで更新することが記載されている。具体的には、不揮発性メモリ56が、工場出荷時に予め、撮像素子14における傷画素の位置情報と傷画素の傷グレードとの対を格納する(特許文献2の図2参照)。装置の動作時に、不揮発性メモリ56のデータがメモリ19にロードされる。傷画素データ更新回路402は、新たに検出された傷画素のデータとメモリ19にロードされた傷画素のデータとを比較して、傷画素データの更新を行う。傷画素データ更新回路402は、検出された傷画素の位置(例えば、特許文献2の図5に示す位置(8,2))とメモリ19にロードされた傷画素の位置とが一致しない場合、メモリ19にロードされた傷画素のデータに、検出された傷画素のデータを追加する。その後、傷画素データ更新回路402により更新された傷画素データは、メモリ16から不揮発性メモリ56に書き戻される。これにより、特許文献3によれば、工場出荷後に新たに検出された傷画素のデータを、メモリ19にロードされた傷画素のデータに追加することができるとされている。   Patent Document 3 describes that in the image processing apparatus 100, the damaged pixel data in the image sensor 14 stored in advance in the nonvolatile memory at the time of factory shipment is updated with the damaged pixel data detected during the operation of the apparatus. Has been. Specifically, the nonvolatile memory 56 stores a pair of the position information of the damaged pixel and the damaged grade of the damaged pixel in advance at the time of factory shipment (see FIG. 2 of Patent Document 2). During operation of the device, data in the nonvolatile memory 56 is loaded into the memory 19. The damaged pixel data update circuit 402 compares the newly detected damaged pixel data with the damaged pixel data loaded in the memory 19 and updates the damaged pixel data. If the position of the detected flawed pixel (for example, the position (8, 2) shown in FIG. 5 of Patent Document 2) and the position of the flawed pixel loaded in the memory 19 do not match, the flawed pixel data update circuit 402 The detected flaw pixel data is added to the flaw pixel data loaded in the memory 19. Thereafter, the damaged pixel data updated by the damaged pixel data update circuit 402 is written back from the memory 16 to the nonvolatile memory 56. Thus, according to Patent Document 3, it is supposed that the data of a defective pixel newly detected after shipment from the factory can be added to the data of the defective pixel loaded in the memory 19.

特開2003-259211号公報JP 2003-259111 A 特開2001-257939号公報JP 2001-257939 A 特開2005-136970号公報JP 2005-136970 A

特許文献2及び3の技術では、工程傷画素の位置及び後傷画素の位置を、いずれも、画素配列(画素のマトリックス状の配置)における座標を含む同一のフォーマットで不揮発性メモリに記憶している。   In the techniques of Patent Documents 2 and 3, both the position of the process scratch pixel and the position of the back scratch pixel are stored in the nonvolatile memory in the same format including the coordinates in the pixel array (pixel matrix arrangement). Yes.

しかし、画素配列の多画素化に伴い、工程傷画素及び後傷画素の総数も増加する傾向にある。工程傷画素の位置及び後傷画素の位置が座標を示す同一のフォーマットで表されている場合、工程傷画素及び後傷画素の総数の増加に比例して、工程傷画素の位置と後傷画素の位置とを記憶するためのデータ容量の合計が増大してしまう。   However, with the increase in the number of pixels in the pixel array, the total number of process damaged pixels and back damaged pixels also tends to increase. If the position of the process scratch pixel and the position of the back scratch pixel are expressed in the same format indicating the coordinates, the position of the process scratch pixel and the back scratch pixel are proportional to the increase in the total number of the process scratch pixel and the back scratch pixel. The total data capacity for storing the positions increases.

一方、本発明者は、傷画素の位置情報を、2次元の座標として捉えた絶対位置情報として保持する場合と、注目対象の傷画素が前回の傷画素から何画素目に出現するかという様に画素距離として捉えた相対位置情報として保持する場合とがあると考えた。そして、本発明者は、工程傷画素の位置及び後傷画素の位置を、いずれも、傷画素の相対位置を含む同一のフォーマットで不揮発性メモリに記憶する場合について検討を行い、次のような見解を得た。   On the other hand, the inventor holds the position information of the wound pixel as absolute position information captured as two-dimensional coordinates, and the number of pixels from which the wound pixel of interest appears from the previous wound pixel. In some cases, the information is stored as relative position information captured as a pixel distance. Then, the present inventor has examined the case where the position of the process scratch pixel and the position of the back scratch pixel are both stored in the nonvolatile memory in the same format including the relative position of the scratch pixel. Got an opinion.

近年の撮像装置の低コスト化は、撮像センサの歩留まり向上にも影響し、それはつまり、工程傷画素の許容個数が増える方向に影響している。ある程度の数量のある工程傷画素の位置情報を格納するには、撮像センサーにおける信号(又は電荷)の転送方向を鑑みた相対位置を含むフォーマットを持つことが適している。   The recent cost reduction of the image pickup apparatus also affects the improvement of the yield of the image pickup sensor, that is, the direction in which the allowable number of process damaged pixels increases. In order to store the positional information of a certain number of process scratch pixels, it is suitable to have a format including a relative position in consideration of the signal (or charge) transfer direction in the image sensor.

それに対して、後傷画素は、後天的に発生していくものであり、出荷後ユーザーが手にする段階では、工程傷画素に対してその個数は少量である。この様な場合、その距離(転送方向における後傷画素と後傷画素との間隔)は大きく、相対位置を含むフォーマットで欠陥情報を記憶する場合、相対位置で表す桁によっては一度に表せない場合が起こる。例えば、16bit幅での相対位置で表せる範囲は0〜65535である。その数字を超えて傷画素の相対位置を表すには、途中で中継点(ダミー傷画素)を挟む必要があり、その分無駄に不揮発性記憶手段の容量を消費する。このようなダミー傷画素の数が増加すると、工程傷画素(第1の欠陥画素)の位置と後傷画素(第2の欠陥画素)の位置とを記憶するためのデータ容量が全体として増大してしまう。   On the other hand, after-scratch pixels are acquired afterward, and the number of process-scratched pixels is small at the stage that the user has after shipping. In such a case, the distance (the distance between the back-scratch pixel and the back-scratch pixel in the transfer direction) is large, and when the defect information is stored in a format including a relative position, it may not be possible to display at once depending on the digits represented by the relative position. Happens. For example, a range that can be represented by a relative position with a 16-bit width is 0 to 65535. In order to represent the relative position of the damaged pixel beyond that number, it is necessary to sandwich a relay point (dummy damaged pixel) on the way, and the capacity of the nonvolatile storage means is consumed wastefully. When the number of dummy damaged pixels increases, the data capacity for storing the position of the process damaged pixel (first defective pixel) and the position of the back damaged pixel (second defective pixel) increases as a whole. End up.

本発明の目的は、複数の第1の欠陥画素の位置と複数の第2の欠陥画素の位置とを互いに独立して記憶するためのデータ容量を全体として低減することにある。   An object of the present invention is to reduce the overall data capacity for storing the positions of a plurality of first defective pixels and the positions of a plurality of second defective pixels independently of each other.

本発明の1つの側面に係る撮像装置は、光電変換部をそれぞれ含む複数の画素が2次元的に配列された画素配列を有し、前記画素配列の各画素で光電変換された信号を転送順に従って順次転送する撮像手段と、前記画素配列における第1の種類の欠陥画素の位置を特定する情報であり、前記第1の種類の欠陥画素の各々について、前記転送順において前記第1の種類の欠陥画素間に信号が転送される画素数を示す相対位置を第1の欠陥情報として記憶する第1の記憶手段と、前記第1の種類の欠陥画素が検出された時期よりも後に前記撮像手段から転送された信号にいて周囲の画素との信号のレベル差が閾値を越える画素を第2の種類の欠陥画素として検出する検出手段と、前記検出手段により検出された前記第2の種類の欠陥画素の各々について、該画素の前記画素配列における座標を示す絶対位置を第2の欠陥情報として記憶する第2の記憶手段とを備えたことを特徴とする。 An imaging apparatus according to one aspect of the present invention has a pixel array in which a plurality of pixels each including a photoelectric conversion unit are two-dimensionally arrayed, and a signal photoelectrically converted by each pixel of the pixel array is transferred in the order of transfer. Imaging means for sequentially transferring according to the information, and information for specifying the position of the first type of defective pixels in the pixel array, and for each of the first type of defective pixels, the first type A first storage unit that stores, as first defect information, a relative position indicating the number of pixels to which a signal is transferred between the defective pixels; and the imaging unit that is later than the time when the first type of defective pixel is detected. detecting means for detecting a pixel exceeding the level difference threshold signal with pixels surrounding had us to the transferred signal as a defective pixel of the second type from the second type detected by said detecting means Each defective pixel For, characterized by comprising a second storage means for storing the absolute position indicating the coordinates in the pixel array of the pixel as a second defect information.

本発明によれば、複数の第1の欠陥画素の位置と複数の第2の欠陥画素の位置とを互いに独立して記憶するためのデータ容量を全体として低減することができる。   According to the present invention, the data capacity for storing the positions of the plurality of first defective pixels and the positions of the plurality of second defective pixels independently of each other can be reduced as a whole.

本発明の実施形態に係る撮像装置100の概略構成を示す図。1 is a diagram showing a schematic configuration of an imaging apparatus 100 according to an embodiment of the present invention. 本発明の実施形態における後傷検出処理フローを示す図。The figure which shows the back wound detection process flow in embodiment of this invention. 本発明の実施形態におけるマージ処理フローを示す図。The figure which shows the merge process flow in embodiment of this invention. 第1の欠陥情報及び第2の欠陥情報のフォーマット例を示す図。The figure which shows the example of a format of 1st defect information and 2nd defect information. 傷検出部107の内部構成例を示す図。The figure which shows the internal structural example of the flaw detection part 107. FIG. マージ部110の内部構成例を示す図。The figure which shows the internal structural example of the merge part 110. FIG.

本発明の実施形態に係る撮像装置100の概略構成を、図1を用いて説明する。   A schematic configuration of an imaging apparatus 100 according to an embodiment of the present invention will be described with reference to FIG.

CPU101は、撮像装置100における各部の全体的な制御を司る。CPU101は、周辺の制御ブロックへの処理キューの投入や、状態の監視等を行い、装置全体としての処理進捗の把握を行う。   The CPU 101 governs overall control of each unit in the imaging apparatus 100. The CPU 101 performs input of processing queues to peripheral control blocks, state monitoring, and the like, and grasps processing progress of the entire apparatus.

例えば、CPU101は、外的要因や経時変化による後傷画素を検出する為の実行条件が整うと、SSG(Synchronous Signal Generator :同期信号生成部)102に対して起動をかける。なお、実行条件は、メーカーの保守・サービスによるものであっても良いし、ユーザーが撮影を行う前の準備期間に設定しても良い。ここでは、条件を限定しない。後傷画素は、宇宙線、静電破壊等の外部要因や経時変化に起因して製品出荷後に後発的に欠陥を有することになった画素である。   For example, the CPU 101 activates an SSG (Synchronous Signal Generator) 102 when an execution condition for detecting a back-scratched pixel due to an external factor or a change with time is set. Note that the execution conditions may depend on the manufacturer's maintenance / service, or may be set in a preparation period before the user performs shooting. Here, the conditions are not limited. The back-scratched pixel is a pixel that has a defect later on after product shipment due to external factors such as cosmic rays and electrostatic breakdown and changes with time.

また、CPU101は、補間部101aを含む。補間部101aの機能及び動作については、後述する。   The CPU 101 includes an interpolation unit 101a. The function and operation of the interpolation unit 101a will be described later.

SSG102は、撮影画像取り込みのフレームタイミングとして、水平同期信号HD、垂直同期信号VDを生成してTG(Timing Generator)103へ供給する。それと共に、SSG102は、画像信号(デジタル信号)の取得タイミングを傷検出部107へ供給する。   The SSG 102 generates a horizontal synchronization signal HD and a vertical synchronization signal VD as frame timings for capturing captured images and supplies them to a TG (Timing Generator) 103. At the same time, the SSG 102 supplies the image signal (digital signal) acquisition timing to the flaw detection unit 107.

TG103は、撮像センサ104、CDS/AGC105、及びA/D変換器106のそれぞれを駆動するための駆動パルスを生成して、撮像センサ104、CDS/AGC105、及びA/D変換器106のそれぞれへ供給する。   The TG 103 generates drive pulses for driving the imaging sensor 104, the CDS / AGC 105, and the A / D converter 106, and sends them to the imaging sensor 104, the CDS / AGC 105, and the A / D converter 106. Supply.

光学系(図示せず)は、撮像センサ104の撮像面(画素配列)に被写体の像を形成する。光学系は、主として、シャッター(図示せず)、レンズ(図示せず)及び絞り(図示せず)を備える。シャッターは、光路上に設けられ、撮像センサ104の露出を制御する。レンズは、入射した光を屈折させて、撮像センサ104の撮像面に被写体の像を形成する。絞りは、光路上においてレンズと撮像センサ104との間に設けられ、レンズを通過後に撮像センサ104へ導かれる光の量を調節する。なお、光学系は、本実施形態における要部に該当しないので、図示を省略している。   The optical system (not shown) forms an image of the subject on the imaging surface (pixel array) of the imaging sensor 104. The optical system mainly includes a shutter (not shown), a lens (not shown), and a diaphragm (not shown). The shutter is provided on the optical path and controls the exposure of the image sensor 104. The lens refracts the incident light and forms an image of the subject on the imaging surface of the imaging sensor 104. The stop is provided between the lens and the image sensor 104 on the optical path, and adjusts the amount of light guided to the image sensor 104 after passing through the lens. Since the optical system does not correspond to the main part in this embodiment, the illustration is omitted.

撮像センサ104は、TG103からの駆動パルスを受けて、撮像面(画素配列)に形成された被写体の像を画像信号に変換して出力する。撮像センサ104は、例えば、CCDイメージセンサ、又はCMOSイメージセンサである。具体的には、画素配列104aでは、光電変換部をそれぞれ含む複数の画素が2次元的に配列されている。例えば、画素配列104aでは、複数の画素が行に沿った方向及び列に沿った方向に配列されている。光電変換部は、光に応じた電荷を発生させる。光電変換部は、例えば、フォトダイオードである。   The imaging sensor 104 receives the drive pulse from the TG 103, converts the image of the subject formed on the imaging surface (pixel array) into an image signal, and outputs the image signal. The image sensor 104 is, for example, a CCD image sensor or a CMOS image sensor. Specifically, in the pixel array 104a, a plurality of pixels each including a photoelectric conversion unit are two-dimensionally arranged. For example, in the pixel array 104a, a plurality of pixels are arranged in a direction along a row and a direction along a column. The photoelectric conversion unit generates a charge corresponding to light. The photoelectric conversion unit is, for example, a photodiode.

例えば、撮像センサ104がCCDイメージセンサである場合、垂直転送CCD(図示せず)及び水平転送CCD(図示せず)が、複数の画素から出力された電荷を順次に(例えば行アドレス及び列アドレス順に)出力アンプへ転送する。出力アンプは、順次に、転送された電荷を画像信号(アナログ信号)に変換して出力する。   For example, when the imaging sensor 104 is a CCD image sensor, a vertical transfer CCD (not shown) and a horizontal transfer CCD (not shown) sequentially output charges output from a plurality of pixels (for example, a row address and a column address). Transfer to output amplifier (in order). The output amplifier sequentially converts the transferred charges into an image signal (analog signal) and outputs the image signal.

例えば、撮像センサ104がCMOSイメージセンサである場合、垂直走査回路(図示せず)が、画素配列104aを垂直方向(列に沿った方向)に走査して読み出し行における各列の画素の信号が並行して読み出し回路(図示せず)へ読み出されるようにする。そして、水平走査回路(図示せず)が、読み出し回路を水平方向(行に沿った方向)に走査して読み出し行における各列の信号が順次に出力アンプへ転送されるようにする。   For example, when the imaging sensor 104 is a CMOS image sensor, a vertical scanning circuit (not shown) scans the pixel array 104a in the vertical direction (direction along the column), and the signal of the pixel in each column in the readout row is detected. In parallel, the data is read out to a reading circuit (not shown). Then, a horizontal scanning circuit (not shown) scans the readout circuit in the horizontal direction (the direction along the row) so that the signals of each column in the readout row are sequentially transferred to the output amplifier.

これにより、撮像センサ104は、画素配列104aにおける複数の画素の画像信号(アナログ信号)を順次に(例えば行アドレス及び列アドレス順に)出力する。   Thereby, the image sensor 104 sequentially outputs image signals (analog signals) of a plurality of pixels in the pixel array 104a (for example, in the order of row address and column address).

CDS/AGC105は、撮像センサ104から出力された画像信号(アナログ信号)を受ける。CDS/AGC105は、画像信号(アナログ信号)におけるS/N比を改善するために、画像信号(アナログ信号)に対して暗電流成分の除去処理やゲイン調整処理を含むアナログ信号処理を行う。CDS/AGC105は、処理後の画像信号(アナログ信号)をA/D変換器106へ転送する。   The CDS / AGC 105 receives an image signal (analog signal) output from the image sensor 104. The CDS / AGC 105 performs analog signal processing including dark current component removal processing and gain adjustment processing on the image signal (analog signal) in order to improve the S / N ratio in the image signal (analog signal). The CDS / AGC 105 transfers the processed image signal (analog signal) to the A / D converter 106.

A/D変換器106は、画像信号(アナログ信号)をCDS/AGC105から受ける。A/D変換器106は、受けた画像信号(アナログ信号)を画像信号(デジタル信号)へ変換する。A/D変換器106は、変換後の画像信号(デジタル信号)を傷検出部107へ転送する。   The A / D converter 106 receives an image signal (analog signal) from the CDS / AGC 105. The A / D converter 106 converts the received image signal (analog signal) into an image signal (digital signal). The A / D converter 106 transfers the converted image signal (digital signal) to the flaw detection unit 107.

傷検出部(検出手段)107は、複数の後傷画素の検出を行う。後傷画素は、宇宙線、静電破壊等の外部要因や経時変化に起因して製品出荷後に後発的に欠陥を有することになった画素である。すなわち、傷検出部107は、撮像センサ104から順次に出力され転送された複数の画素の信号に応じて、画素配列104a内(画素配列内)の複数の後傷画素(複数の第2の欠陥画素)を検出する。傷検出部107は、後傷画素の検出時に於いて、周囲の画素と著しく画像信号のレベルの異なる(例えば、周囲の画素との画像信号のレベル差が閾値を超える)画素を後傷画素として検出する。それとともに、傷検出部107は、撮像センサ104から順次に出力され転送された複数の画素の画像信号に応じて、複数の後傷画素のそれぞれに対する絶対位置を検出する。ここで、絶対位置は、画素配列104aにおける座標である。傷検出部107は、後傷画素の検出された絶対位置を含む後傷画素の情報を揮発性記憶部108へ供給する。   The flaw detection unit (detection means) 107 detects a plurality of back flaw pixels. The back-scratched pixel is a pixel that has a defect later on after product shipment due to external factors such as cosmic rays and electrostatic breakdown and changes with time. That is, the flaw detection unit 107 responds to the signals of a plurality of pixels sequentially output and transferred from the image sensor 104, and a plurality of rear flaw pixels (a plurality of second defects) in the pixel array 104a (in the pixel array). Pixel). The flaw detection unit 107 uses, as a back flaw pixel, a pixel whose image signal level is significantly different from the surrounding pixels (for example, the level difference of the image signal from the surrounding pixels exceeds a threshold value) at the time of detection of the back flaw pixel. To detect. At the same time, the flaw detection unit 107 detects the absolute position for each of the plurality of back flaw pixels in accordance with the image signals of the plurality of pixels sequentially output and transferred from the image sensor 104. Here, the absolute position is a coordinate in the pixel array 104a. The flaw detection unit 107 supplies information on the rear flaw pixel including the absolute position where the rear flaw pixel is detected to the volatile storage unit 108.

揮発性記憶部108は、傷検出部107により検出された後傷画素の絶対位置の情報を傷検出部107から受ける。揮発性記憶部108は、その検出された後傷画素の絶対位置の情報を一時的に記憶する。揮発性記憶部108は、例えば、RAM(Random Access Memory)を含む。もちろん、絶対位置の情報を、直接不揮発性記憶部111に格納しても良いが、本実施形態では、一旦揮発性記憶部108に格納している。不揮発性記憶部111(例えば、EEPROM)が、その書き込み応答速度が揮発性記憶部108(例えば、RAM)に比べて遅いことや、その書き込み電圧レベルが揮発性記憶部108と異なる等デジタルシーケンス以外の要素を含むことを考慮している。   The volatile storage unit 108 receives information on the absolute position of the post-scratch pixel detected by the scratch detection unit 107 from the scratch detection unit 107. The volatile storage unit 108 temporarily stores information on the absolute position of the detected post-scratch pixel. The volatile storage unit 108 includes, for example, a RAM (Random Access Memory). Of course, the absolute position information may be directly stored in the nonvolatile storage unit 111, but in the present embodiment, it is temporarily stored in the volatile storage unit 108. The non-volatile storage unit 111 (for example, EEPROM) has a slower write response speed than the volatile storage unit 108 (for example, RAM), and the write voltage level is different from that of the volatile storage unit 108. Is included.

第1のコントローラ112は、CPU101による制御のもと、不揮発性記憶部111を制御する。第2のコントローラ109は、CPU101による制御のもと、揮発性記憶部108を制御する。すなわち、CPU101は、次のように、第2のコントローラ109及び第1のコントローラ112を制御する。CPU101は、傷検出部107により検出された傷画素の絶対位置の情報を揮発性記憶部108に一時的に記憶させ、その後、記憶された後傷画素の絶対位置の情報を揮発性記憶部108から不揮発性記憶部111へ転送するように、制御する。   The first controller 112 controls the nonvolatile storage unit 111 under the control of the CPU 101. The second controller 109 controls the volatile storage unit 108 under the control of the CPU 101. That is, the CPU 101 controls the second controller 109 and the first controller 112 as follows. The CPU 101 temporarily stores information on the absolute position of the scratched pixel detected by the scratch detection unit 107 in the volatile storage unit 108, and then stores the stored information on the absolute position of the post-scratch pixel in the volatile storage unit 108. To transfer to the non-volatile storage unit 111.

また、第2のコントローラ109は、傷検出部107とのデータ転送に係るステータスの授受を行う。   In addition, the second controller 109 exchanges status regarding data transfer with the flaw detection unit 107.

不揮発性記憶部111は、第1の記憶部111a及び第2の記憶部111bを含む。第1の記憶部111aと第2の記憶部111bとは、不揮発性記憶部111における互いに独立した記憶領域(記憶部)である。   The non-volatile storage unit 111 includes a first storage unit 111a and a second storage unit 111b. The first storage unit 111 a and the second storage unit 111 b are storage areas (storage units) that are independent of each other in the nonvolatile storage unit 111.

第1の記憶部111aは、製品出荷前に、又は、製品出荷時に、複数の工程傷画素(複数の第1の欠陥画素)のそれぞれに対する相対位置を含む第1の欠陥情報(図4(a)参照)を予め記憶する。第1の欠陥情報は、撮像センサ104から順次に出力され転送された複数の画素の信号に応じて予め(例えば傷検出部107が工程傷画素を検出することにより)取得された画素配列104a内の複数の工程傷画素に関する情報である。工程傷画素は、撮像センサ104の製造工程で既に初期的な欠陥を有することになっている画素である。相対位置は、注目対象の工程傷画素(第1の欠陥画素)までの直前に検出された工程傷画素(第1の欠陥画素)からの転送された画素数(図4(a)に示すオフセットアドレス)を示している。   The first storage unit 111a includes first defect information including a relative position with respect to each of a plurality of process scratch pixels (a plurality of first defective pixels) before product shipment or at the time of product shipment (FIG. 4A )) Is stored in advance. The first defect information is stored in the pixel array 104a acquired in advance (for example, when the defect detection unit 107 detects a process defect pixel) according to the signals of a plurality of pixels sequentially output and transferred from the image sensor 104. It is the information regarding a plurality of process flaw pixels. The process scratch pixel is a pixel that has already had an initial defect in the manufacturing process of the image sensor 104. The relative position is the number of transferred pixels from the process defect pixel (first defective pixel) detected immediately before the process defect pixel (first defective pixel) of interest (the offset shown in FIG. 4A). Address).

第2の記憶部111bは、傷検出部107により検出された後傷画素の絶対位置の情報を、揮発性記憶部108から受ける。第2の記憶部111bは、その受けた絶対位置の情報に応じて、第2の欠陥情報(図4(b)参照)を記憶する。第2の欠陥情報は、複数の第2の欠陥画素のそれぞれに対する絶対位置を含む。ここで、絶対位置は、画素配列104aにおける行アドレス(図4(b)に示すVアドレス)及び列アドレス(図4(b)に示すHアドレス)を含む座標である。   The second storage unit 111 b receives, from the volatile storage unit 108, information on the absolute position of the back scratch pixel detected by the scratch detection unit 107. The second storage unit 111b stores second defect information (see FIG. 4B) according to the received absolute position information. The second defect information includes an absolute position for each of the plurality of second defective pixels. Here, the absolute position is a coordinate including a row address (V address shown in FIG. 4B) and a column address (H address shown in FIG. 4B) in the pixel array 104a.

マージ部110は、撮影前に、工程傷画素の相対位置を含む第1の欠陥情報と後傷画素の絶対位置を含む第2の欠陥情報とをそれぞれ第1の記憶部111a及び第2の記憶部111bから読み出してマージする。具体的には、マージ部110は、第1の記憶部111aに記憶された第1の欠陥情報における相対位置を絶対位置に変換することにより、複数の第1の欠陥画素のそれぞれに対する絶対位置を含む第3の欠陥情報を生成する。マージ部110は、その生成した第3の欠陥情報と第2の記憶手段に記憶された第2の欠陥情報とを絶対位置の順番にマージすることにより、複数の工程傷画素のそれぞれと複数の後傷画素のそれぞれとに対する絶対位置を含む第4の欠陥情報を生成する。   The merging unit 110 stores the first defect information including the relative position of the process scratched pixels and the second defect information including the absolute position of the post-scratch pixels before the shooting, respectively, in the first storage unit 111a and the second storage. Read from the unit 111b and merge. Specifically, the merging unit 110 converts the relative position in the first defect information stored in the first storage unit 111a into an absolute position, thereby calculating the absolute position for each of the plurality of first defective pixels. Third defect information including the generated defect information is generated. The merging unit 110 merges the generated third defect information and the second defect information stored in the second storage unit in the order of the absolute position, so that each of the plurality of process flaw pixels and the plurality of process defect pixels are merged. Fourth defect information including an absolute position with respect to each of the back scratch pixels is generated.

マージ部110は、さらに、生成した第4の欠陥情報における絶対位置を相対位置に変換することにより、複数の工程傷画素のそれぞれと複数の後傷画素のそれぞれとに対する相対位置を含む第5の欠陥情報を生成する。生成された第5の欠陥情報は、揮発性記憶部108上に展開して用いられる。すなわち、揮発性記憶部(第3の記憶手段)108は、マージ部110により生成された第5の欠陥情報を一時的に記憶する。   The merging unit 110 further converts the absolute position in the generated fourth defect information into a relative position, thereby including a relative position with respect to each of the plurality of process scratch pixels and each of the plurality of back scratch pixels. Generate defect information. The generated fifth defect information is developed on the volatile storage unit 108 and used. That is, the volatile storage unit (third storage unit) 108 temporarily stores the fifth defect information generated by the merge unit 110.

これに応じて、CPU101の補間部101aは、マージ部110により生成された第5の欠陥情報に応じて補間対象画素の位置を順次特定する。これにより、補間部101aは、位置の特定された補間対象画素の画像信号を、周囲の画素の画像信号を用いて補間する。   In response to this, the interpolation unit 101a of the CPU 101 sequentially specifies the position of the interpolation target pixel in accordance with the fifth defect information generated by the merge unit 110. Thereby, the interpolation unit 101a interpolates the image signal of the interpolation target pixel whose position is specified using the image signal of the surrounding pixels.

次に、実施形態における後傷検出処理のフローを、図2のフローチャートを用いて説明する。図2は、撮像装置の処理における、後傷検出要求が発生したときに飛んでいくサブルーチンの要部動作を示している。図2では、撮像センサにおける後傷画素を検出し、その絶対位置情報を揮発性記憶部108に一時記憶していく処理を示す。   Next, the flow of the back wound detection process in the embodiment will be described using the flowchart of FIG. FIG. 2 shows an operation of a main part of a subroutine that jumps when a back scratch detection request is generated in the processing of the imaging apparatus. FIG. 2 shows a process of detecting a back-scratched pixel in the image sensor and temporarily storing the absolute position information in the volatile storage unit 108.

S401では、CPU101が、後傷処理要求を受けて、第2のコントローラ109への設定更新を行う。後傷画素の検出結果は、不揮発性記憶部111に比べて処理速度が速いことから、一旦、揮発性記憶部108に記憶する。具体的には、CPU101は、第2のコントローラ109に対してこれから受信する後傷画素のデータを格納するための領域を設定する。データの格納領域指示として、揮発性記憶部108の書き込み開始アドレスを設定する。ここで、揮発性記憶部108が幾つかのバンク(例えば、制御を一とするRAM領域)に分かれて存在する場合には、そのバンクの書き込み開始アドレスが設定される。   In step S <b> 401, the CPU 101 receives a back scratch processing request and updates the setting for the second controller 109. The detection result of the back-scratched pixels is temporarily stored in the volatile storage unit 108 because the processing speed is higher than that of the nonvolatile storage unit 111. Specifically, the CPU 101 sets an area for storing the data of the back scratch pixels to be received from the second controller 109. A write start address of the volatile storage unit 108 is set as a data storage area instruction. Here, when the volatile storage unit 108 is divided into several banks (for example, a RAM area with one control), the write start address of the bank is set.

S402では、CPU101が、傷検出部107のレジスタ設定を行う。CPU101は、周囲の画素との画像信号のレベル差が閾値を超える画素を後傷画素として検出する検出処理が傷検出部107により行われるように、その検出処理で用いられる閾値を設定する。   In step S <b> 402, the CPU 101 performs register setting for the flaw detection unit 107. The CPU 101 sets a threshold value used in the detection process so that the detection process for detecting a pixel whose level difference of the image signal with the surrounding pixels exceeds the threshold value as a post-scratch pixel is performed by the scratch detection unit 107.

S403では、CPU101が、SSG(同期信号生成部)102のレジスタの設定を行う。SSG102は、レジスタを有する。そのレジスタは、撮像センサ104を含むアナログ部に対する同期信号を生成するTG(タイミング生成部)103への信号期間の設定、デジタル部である傷検出部107に対する取込タイミングの設定、フレームのサイズ設定等を記憶する。   In step S <b> 403, the CPU 101 sets a register of the SSG (synchronization signal generation unit) 102. The SSG 102 has a register. The register sets a signal period to a TG (timing generation unit) 103 that generates a synchronization signal for an analog unit including the imaging sensor 104, sets an acquisition timing to a scratch detection unit 107 that is a digital unit, and sets a frame size. Memorize etc.

S401〜S403の初期設定が完了すると、CPU101は、後傷画素の検出処理の実行を開始できる状態になる。後傷画素の検出処理の内容にもよるが、ここでは、例えばサービスセンター等で均一なレベルの入射光を撮像センサに感光したときの応答から、特異なレベルの画素を検出することとする。撮像センサから出力された画素の信号の取得は、写真撮影と同様に撮影釦が所定の状態まで押されたことを検知したタイミングで行うものとして、以下に記す。   When the initial settings in S401 to S403 are completed, the CPU 101 is in a state where it can start executing the detection process of the back-scratched pixels. Although depending on the content of the detection processing of the back-scratched pixels, here, for example, a specific level pixel is detected from a response when the imaging sensor is exposed to a uniform level of incident light in a service center or the like. The acquisition of the pixel signal output from the imaging sensor will be described below assuming that the pixel button output to the predetermined state is detected as in the case of the photo shooting.

S404では、CPU101が、SSG102に起動要求を出す。SSG102は、起動した後、水平同期信号HD、垂直同期信号VDを生成してTG(Timing Generator)103へ供給すると共に、画像信号(デジタル信号)の取得タイミングを傷検出部107へ供給する。これにより、撮像系(104〜107)の動作が開始する。   In S <b> 404, the CPU 101 issues a startup request to the SSG 102. After being activated, the SSG 102 generates a horizontal synchronization signal HD and a vertical synchronization signal VD, supplies them to a TG (Timing Generator) 103, and supplies the acquisition timing of an image signal (digital signal) to the flaw detection unit 107. Thereby, the operation of the imaging system (104 to 107) is started.

S405では、CPU101が、撮影釦が半押しされた状態(以下、S1状態とする)になったか否かを判断する。CPU101は、S1状態になっていない場合(S405でno)、処理をS405へ進め、S1状態になった場合(S405でyes)、処理をS406へ進める。   In S405, the CPU 101 determines whether or not the shooting button has been pressed halfway (hereinafter referred to as S1 state). If the CPU 101 is not in the S1 state (no in S405), the process proceeds to S405. If the CPU 101 is in the S1 state (yes in S405), the process proceeds to S406.

S406では、CPU101が、撮像センサから出力された画素の信号を取り込む準備に入る為、第2のコントローラ109に対してデータ受信要求を出す。データ受信要求を受けた第2のコントローラ109は、例えば受信の為のデータ領域のメモリバンクをアクティブにする等、揮発性記憶部108に対してデータ受信の為の制御を行う。   In step S <b> 406, the CPU 101 issues a data reception request to the second controller 109 in order to prepare for capturing the pixel signal output from the imaging sensor. Upon receiving the data reception request, the second controller 109 controls the volatile storage unit 108 for data reception, for example, by activating a memory bank in the data area for reception.

S407では、CPU101が、撮影釦が全押しされた状態(以下、S2状態とする)になったか否かを判断する。CPU101は、S2状態になっていない場合(S407でno)、処理をS407へ進め、S2状態になった場合(S407でyes)、処理をS408へ進める。   In S407, the CPU 101 determines whether or not the shooting button has been fully pressed (hereinafter referred to as S2 state). If the CPU 101 is not in the S2 state (no in S407), the process proceeds to S407. If the CPU 101 is in the S2 state (yes in S407), the process proceeds to S408.

S408では、CPU101が、SSG102に対してデータ取込要求を出す。データ取込要求を受けたSSG102は、次期フレームデータを取り込む様、各サブブロックにステータスを出す。ステータスを受けた傷検出部107は、有効であるデータを取り込んで、傷検出処理を実行する。その結果、傷検出部107を経て検出された後傷画素の絶対位置を含む欠陥情報(第2の欠陥情報)は、揮発性記憶部108に順次格納される。   In S <b> 408, the CPU 101 issues a data acquisition request to the SSG 102. The SSG 102 that has received the data capture request issues a status to each sub-block so as to capture the next frame data. Upon receiving the status, the flaw detection unit 107 takes in valid data and executes flaw detection processing. As a result, defect information (second defect information) including the absolute position of the post-scratch pixel detected through the scratch detection unit 107 is sequentially stored in the volatile storage unit 108.

S409では、CPU101が、設定量分(1フレームにおける設定画素数)のデータ(画素の信号)がSSG102により取得されたか否かを判断する。例えば、CPU101は、設定量分のデータの取得終了を示す通知をSSG102から受けた場合に、設定量分のデータが取得されたと判断する。CPU101は、設定量分のデータが取得されていないと判断した場合、そのフレームの処理を終了すべきでないと判断して(S409でno)、処理をS409へ進める。CPU101は、設定量分のデータが取得されたと判断した場合、そのフレームの処理を終了すべきと判断して(S409でyes)、処理をS410へ進める。   In step S <b> 409, the CPU 101 determines whether data (pixel signal) corresponding to a set amount (the number of set pixels in one frame) has been acquired by the SSG 102. For example, when the CPU 101 receives a notification indicating that acquisition of data for a set amount has been completed from the SSG 102, the CPU 101 determines that data for the set amount has been acquired. If the CPU 101 determines that the set amount of data has not been acquired, the CPU 101 determines that the processing for the frame should not be terminated (no in S409), and advances the processing to S409. If the CPU 101 determines that the set amount of data has been acquired, the CPU 101 determines that the processing for the frame should be terminated (yes in S409), and advances the processing to S410.

S410では、CPU101が、SSG102に対してフレーム処理の停止要求を出すと共に、第2のコントローラ109に対してデータ受信の完了を通知する。   In S410, the CPU 101 issues a frame processing stop request to the SSG 102 and notifies the second controller 109 of completion of data reception.

S411では、第2のコントローラ109が、予約されたデータ(後傷画素のデータ)の揮発性記憶部108への格納を完了すると、該当メモリバンクのアクティブを解除し、揮発性記憶部108をスタンバイ状態へと戻す制御を実施する。その後、CPU101は、揮発性記憶部108に格納した後傷画素のデータを不揮発性記憶部111における第2の記憶部111bに格納させる。なお、このとき、CPU101は、メモリバンクのアクティブを解除せずに、揮発性記憶部108領域のデータを不揮発性記憶部111における第2の記憶部111bに転送しても良い。   In S411, when the second controller 109 completes storing the reserved data (data of the back-damaged pixel) in the volatile storage unit 108, the second controller 109 cancels the activation of the corresponding memory bank and puts the volatile storage unit 108 in the standby state. Control to return to the state. Thereafter, the CPU 101 causes the second storage unit 111 b in the nonvolatile storage unit 111 to store the data of the back scratched pixel stored in the volatile storage unit 108. At this time, the CPU 101 may transfer the data in the volatile storage unit 108 area to the second storage unit 111b in the nonvolatile storage unit 111 without releasing the activation of the memory bank.

図2に示す処理フローの実施により、後傷画素の絶対位置を含む欠陥情報(第2の欠陥情報)を得ることができる。得られた後傷画素の欠陥情報は、不揮発性記憶部111における第2の記憶部111bに格納され、以降、適宜読み出されて使用される。このとき、取得された後傷画素の欠陥情報は、そのままでは使用されず、後述のように、工程傷画素の欠陥情報と後傷画素の欠陥情報とを重畳(マージ)するための処理を経て、フレーム全体における各傷画素に対して補間処理を施す。   By performing the processing flow shown in FIG. 2, defect information (second defect information) including the absolute position of the back scratch pixel can be obtained. The obtained defect information of the post-scratch pixel is stored in the second storage unit 111b in the non-volatile storage unit 111, and is read and used as appropriate thereafter. At this time, the acquired defect information of the back-scratch pixel is not used as it is, and is processed through a process for superimposing (merging) the defect information of the process-scratch pixel and the defect information of the back-scratch pixel as described later. Interpolation processing is performed on each scratched pixel in the entire frame.

ここで、工程傷画素の欠陥情報と後傷画素の欠陥情報とをマージしてから不揮発性記憶部111における同一の又は関連した記憶領域(記憶部)に格納すると、書込み時のアクシデントにより、工程傷画素の欠陥情報が破壊される可能性がある。そこで、本実施形態では、上記のように、工程傷画素の欠陥情報(第1の欠陥情報)と後傷画素の欠陥情報(第2の欠陥情報)とを、それぞれ、不揮発性記憶部111における互いに独立した第1の記憶部111aと第2の記憶部111bとに記憶する。このことから、工程傷画素の欠陥情報と後傷画素の欠陥情報とのマージ処理は、撮像装置100における傷画素の補間処理の直前までに実施されていれば良い。マージ処理を実施するトリガとなるタイミングは、撮像装置の起動直後でも良いし、現像処理の直前でも良い。   Here, if the defect information of the process scratch pixel and the defect information of the back scratch pixel are merged and then stored in the same or related storage area (storage unit) in the nonvolatile storage unit 111, the process is caused by an accident at the time of writing. There is a possibility that the defect information of the damaged pixel is destroyed. Therefore, in the present embodiment, as described above, the defect information (first defect information) of the process scratch pixels and the defect information (second defect information) of the back scratch pixels are respectively stored in the nonvolatile storage unit 111. It memorize | stores in the 1st memory | storage part 111a and the 2nd memory | storage part 111b which were mutually independent. From this, the merge processing of the defect information of the process scratched pixel and the defect information of the back scratched pixel may be performed just before the interpolation processing of the scratched pixel in the imaging apparatus 100. The trigger timing for performing the merge process may be immediately after the imaging apparatus is activated or just before the development process.

次に、実施形態におけるマージ処理のフローを、図3のフローチャートを用いて説明する。   Next, the merge processing flow in the embodiment will be described with reference to the flowchart of FIG.

S501では、CPU101が、上記のマージ処理を実施するトリガとなるタイミングに達したと判断すると、第1のコントローラ112に対して、工程傷画素のデータ先頭位置、後傷画素のデータ先頭位置、及び、夫々のデータ個数(画素数)等を設定する。また、CPU101は、不揮発性記憶部111に書き込み動作をする為に必要な初期準備を、第1のコントローラ112を介してこのステップで行う。   In S501, when the CPU 101 determines that the timing for triggering the merge processing has been reached, the data start position of the process scratch pixel, the data start position of the back scratch pixel, and Each data number (number of pixels) is set. In addition, the CPU 101 performs initial preparation necessary for performing a write operation on the nonvolatile storage unit 111 in this step via the first controller 112.

S502では、CPU101が、マージ部110の初期化を行う。マージ部110中には、処理中の現在位置を記憶する為の座標レジスタ等幾つかの処理レジスタがあるので、CPU101は、その値を初期化する為のレジスタ設定を行う。   In S <b> 502, the CPU 101 initializes the merge unit 110. In the merge unit 110, there are several processing registers such as a coordinate register for storing the current position being processed. Therefore, the CPU 101 performs a register setting for initializing the value.

S503では、CPU101が、第1のコントローラ112に対して、不揮発性記憶部111からの欠陥情報の読み出し処理の開始を要求する。これに応じて、第1のコントローラ112は、第1の記憶部111aから工程傷画素の欠陥情報を読み出し、第2の記憶部111bから後傷画素の欠陥情報を読み出す。   In step S <b> 503, the CPU 101 requests the first controller 112 to start a defect information reading process from the nonvolatile storage unit 111. In response to this, the first controller 112 reads the defect information of the process scratched pixel from the first storage unit 111a, and reads the defect information of the back scratched pixel from the second storage unit 111b.

S504では、CPU101が、所定量のデータの不揮発性記憶部111からの読み出し処理が完了したか否かを判断する。例えば、CPU101は、設定量分のデータの読み出し終了を示す通知(例えば、読み出し終了ステータス)を不揮発性記憶部111から受けた場合に、読み出し処理が完了したと判断する。CPU101は、読み出し処理が完了していないと判断した場合(S504でno)、処理をS504へ進める。CPU101は、読み出し処理が完了したと判断した場合(S504でyes)、処理をS505へ進める。   In step S <b> 504, the CPU 101 determines whether a process for reading a predetermined amount of data from the nonvolatile storage unit 111 has been completed. For example, the CPU 101 determines that the reading process has been completed when a notification (for example, a reading end status) indicating the end of reading data for a set amount is received from the nonvolatile storage unit 111. If the CPU 101 determines that the read process has not been completed (no in S504), the process proceeds to S504. If the CPU 101 determines that the reading process has been completed (YES in step S504), the process proceeds to step S505.

S505では、CPU101が、データ読み出し終了ステータスを受信後、マージ部110に、工程傷画素の欠陥情報と後傷画素の欠陥情報とのマージ処理を行うよう指示する。これに応じて、マージ部110は、撮影前に、S503でそれぞれ読み出された、工程傷画素の相対位置を含む第1の欠陥情報と後傷画素の絶対位置を含む第2の欠陥情報とをマージする。具体的には、マージ部110は、第1の記憶部111aに記憶された第1の欠陥情報における相対位置を絶対位置に変換することにより、複数の第1の欠陥画素のそれぞれに対する絶対位置を含む第3の欠陥情報を生成する。マージ部110は、その生成した第3の欠陥情報と第2の記憶手段に記憶された第2の欠陥情報とを絶対位置の順番にマージすることにより、複数の工程傷画素のそれぞれと複数の後傷画素のそれぞれとに対する絶対位置を含む第4の欠陥情報を生成する。   In step S <b> 505, after receiving the data reading end status, the CPU 101 instructs the merging unit 110 to perform a merge process on the defect information on the process scratch pixels and the defect information on the back scratch pixels. In response to this, the merging unit 110 reads the first defect information including the relative position of the process flaw pixel and the second defect information including the absolute position of the back flaw pixel, which are respectively read out in S503, before photographing. To merge. Specifically, the merging unit 110 converts the relative position in the first defect information stored in the first storage unit 111a into an absolute position, thereby calculating the absolute position for each of the plurality of first defective pixels. Third defect information including the generated defect information is generated. The merging unit 110 merges the generated third defect information and the second defect information stored in the second storage unit in the order of the absolute position, so that each of the plurality of process flaw pixels and the plurality of process defect pixels are merged. Fourth defect information including an absolute position with respect to each of the back scratch pixels is generated.

マージ部110は、さらに、生成した第4の欠陥情報における絶対位置を相対位置に変換することにより、複数の工程傷画素のそれぞれと複数の後傷画素のそれぞれとに対する相対位置を含む第5の欠陥情報を生成する。生成された第5の欠陥情報は、揮発性記憶部108上に展開して用いられる。すなわち、揮発性記憶部(第3の記憶手段)108は、マージ部110により生成された第5の欠陥情報を一時的に記憶する。   The merging unit 110 further converts the absolute position in the generated fourth defect information into a relative position, thereby including a relative position with respect to each of the plurality of process scratch pixels and each of the plurality of back scratch pixels. Generate defect information. The generated fifth defect information is developed on the volatile storage unit 108 and used. That is, the volatile storage unit (third storage unit) 108 temporarily stores the fifth defect information generated by the merge unit 110.

その後、CPU101は、マージ部110のレジスタに記憶された内容を読み出し、処理位置が終端まで行っていることを確認したら、マージ処理を完了させる。ここで、処理終端の判断の為に、CPU101は、工程傷画素の最後の位置と後傷画素の最後の位置とを取得する必要がある。その手間を省く為に、CPU101は、ダミーの傷データとして第1の欠陥情報及び第2の欠陥情報のそれぞれにフレーム終端位置の傷データを付加しておいても良い。   Thereafter, the CPU 101 reads the contents stored in the register of the merge unit 110, and when it is confirmed that the processing position has been performed to the end, the merge process is completed. Here, in order to determine the end of processing, the CPU 101 needs to acquire the last position of the process scratch pixel and the last position of the back scratch pixel. In order to save the trouble, the CPU 101 may add flaw data at the frame end position to each of the first defect information and the second defect information as dummy flaw data.

次に、不揮発性記憶部111における第1の記憶部111aと第2の記憶部111bとのそれぞれに記憶される傷データのフォーマット例を、図4を用いて説明する。   Next, a format example of flaw data stored in each of the first storage unit 111a and the second storage unit 111b in the nonvolatile storage unit 111 will be described with reference to FIG.

図4(a)に示すフォーマット601は、第1の記憶部111aに記憶される工程傷画素ごとの傷データのフォーマット例である。フォーマット601は、オフセットアドレス601aと傷情報601bとの組を含む。   A format 601 shown in FIG. 4A is a format example of flaw data for each process flaw pixel stored in the first storage unit 111a. The format 601 includes a set of an offset address 601a and flaw information 601b.

オフセットアドレス601aは、注目対象の工程傷画素(第1の欠陥画素)までの直前に検出された工程傷画素(第1の欠陥画素)からの転送された画素数、すなわち工程傷画素(第1の欠陥画素)の相対位置を示す。オフセットアドレス601aは、例えば、16bitのデータ長を有する。傷情報601bは、傷の欠損状態や傷の種類を示し、ISO感度やシャッター秒時、温度等のパラメータによって、傷補間時に傷として処理をするかどうかの判断基準として用いるものである。傷情報601bは、例えば、16bitのデータ長を有する。   The offset address 601a is the number of transferred pixels from the process defect pixel (first defect pixel) detected immediately before the process defect pixel (first defect pixel) of interest, that is, the process defect pixel (first defect pixel). The relative position of the defective pixel). The offset address 601a has a data length of 16 bits, for example. The flaw information 601b indicates the defect state of the flaw and the type of flaw, and is used as a criterion for determining whether or not to treat as a flaw at the time of flaw interpolation according to parameters such as ISO sensitivity, shutter speed, and temperature. The wound information 601b has a data length of 16 bits, for example.

図4(b)に示すフォーマット602は、第2の記憶部111bに記憶される後傷画素ごとの傷データのフォーマット例である。フォーマット602は、Hアドレス602a1とVアドレス602a2と傷情報602bとの組を含む。   A format 602 shown in FIG. 4B is a format example of flaw data for each rear flaw pixel stored in the second storage unit 111b. The format 602 includes a set of an H address 602a1, a V address 602a2, and flaw information 602b.

Hアドレス602a1とVアドレス602a2との組は、画素配列104aにおける行アドレス(Vアドレス)及び列アドレス(Hアドレス)を含む座標、すなわち絶対位置を示す。Hアドレス602a1は、例えば、14bitのデータ長を有する。Vアドレス602a2は、例えば、14bitのデータ長を有する。この場合、16384画素×16384画素までのフレームデータ中の傷位置を指定出来る。また、傷情報602bは、上記の傷情報601bと同様の情報である。   A set of an H address 602a1 and a V address 602a2 indicates coordinates including a row address (V address) and a column address (H address) in the pixel array 104a, that is, an absolute position. The H address 602a1 has a data length of 14 bits, for example. The V address 602a2 has a data length of 14 bits, for example. In this case, the flaw position in the frame data up to 16384 pixels × 16384 pixels can be designated. The scratch information 602b is the same information as the scratch information 601b.

ここで、仮に、工程傷画素の位置と後傷画素の位置とをいずれも絶対位置(座標)を含む同一のフォーマットで不揮発性記憶部に記憶する場合について考える。この場合、工程傷画素及び後傷画素の総数の増加に比例して、工程傷画素の位置と後傷画素の位置とを記憶するためのデータ容量の合計が増大してしまう。   Here, suppose that the process scratch pixel position and the back scratch pixel position are stored in the nonvolatile storage unit in the same format including the absolute position (coordinates). In this case, the total data capacity for storing the position of the process flaw pixel and the position of the back flaw pixel increases in proportion to the increase in the total number of the process flaw pixel and the back flaw pixel.

あるいは、仮に、工程傷画素の位置と後傷画素の位置とをいずれも相対位置(画素距離)を含む同一のフォーマットで不揮発性記憶部に記憶する場合について考える。この場合、ある程度の数量のある工程傷画素の欠陥情報を、絶対位置を含むフォーマット(例えば、(14bit+14bit+16bit)×画素数)に比べて少ないデータ容量(例えば、(16bit+16bit)×画素数)に抑えることができる。一方、後傷画素は、後天的に発生していくものであり、出荷後ユーザーが手にする段階では、工程傷画素に対してその個数は少量である。この様な場合、その距離(転送方向における後傷画素と後傷画素との間隔)は大きく、相対位置を含むフォーマットで欠陥情報を記憶する場合、相対位置で表す桁によっては一度に表せない場合が起こる。例えば、16bit幅での相対位置で表せる範囲は0〜65535である。その数字を超えて傷画素の相対位置を表すには、途中で中継点(ダミー傷画素)を追加して挟む必要があり、その分無駄に不揮発性記憶手段の容量を消費する。このようなダミー傷画素の数が増加すると、工程傷画素(第1の欠陥画素)の位置と後傷画素(第2の欠陥画素)の位置とを記憶するためのデータ容量が全体として増大してしまう。   Alternatively, suppose that the process scratch pixel position and the back scratch pixel position are both stored in the nonvolatile storage unit in the same format including the relative position (pixel distance). In this case, defect information of a certain number of process scratch pixels is suppressed to a data capacity (for example, (16 bits + 16 bits) × number of pixels) which is smaller than a format including absolute positions (for example, (14 bits + 14 bits + 16 bits) × number of pixels). Can do. On the other hand, the back-scratched pixels are acquired afterward, and the number of the back-scratched pixels is small with respect to the process-scratched pixels at the stage that the user has after shipping. In such a case, the distance (the distance between the back-scratch pixel and the back-scratch pixel in the transfer direction) is large, and when the defect information is stored in a format including a relative position, it may not be possible to display at once depending on the digits represented by the relative position. Happens. For example, a range that can be represented by a relative position with a 16-bit width is 0 to 65535. In order to express the relative position of the scratched pixels beyond that number, it is necessary to add a relay point (dummy scratched pixel) between them, and the capacity of the nonvolatile storage means is consumed unnecessarily. When the number of dummy damaged pixels increases, the data capacity for storing the position of the process damaged pixel (first defective pixel) and the position of the back damaged pixel (second defective pixel) increases as a whole. End up.

それに対して、本実施形態によれば、複数の工程傷画素の相対位置を含む第1の欠陥情報が第1の記憶部により記憶される。これにより、複数の工程傷画素の位置を記憶するためのデータ容量を容易に低減することができる。また、複数の後傷画素の絶対位置を含む第2の欠陥情報が第2の記憶部により記憶される。これにより、ダミー傷画素を追加する必要がないので、複数の後傷画素の位置を記憶するためのデータ容量の増加を容易に抑えることができる。   On the other hand, according to this embodiment, the first defect information including the relative positions of the plurality of process scratch pixels is stored in the first storage unit. Thereby, the data capacity for storing the positions of a plurality of process flaw pixels can be easily reduced. In addition, second defect information including the absolute positions of a plurality of back scratch pixels is stored in the second storage unit. Thereby, since there is no need to add a dummy scratched pixel, an increase in data capacity for storing the positions of a plurality of trailing scratched pixels can be easily suppressed.

また、仮に、後傷画素の位置を含む第2の欠陥情報を、不揮発性メモリにおける工程傷画素の位置を含む第1の欠陥情報が記憶された領域と関連した領域に記憶する場合について考える。この場合、第2の欠陥情報の書込み時のアクシデントにより工程傷画素の位置を含む第1の欠陥情報が破壊される可能性がある。   Further, suppose that the second defect information including the position of the back defect pixel is stored in an area related to the area in which the first defect information including the position of the process defect pixel is stored in the nonvolatile memory. In this case, there is a possibility that the first defect information including the position of the process defect pixel is destroyed by an accident at the time of writing the second defect information.

それに対して、本実施形態では、第1の欠陥情報を記憶する第1の記憶部と第2の欠陥情報を記憶する第2の記憶部とが不揮発性記憶部における互いに独立した記憶部(記憶領域)となっている。これにより、第2の欠陥情報の書込み時のアクシデントにより工程傷画素の位置を含む第1の欠陥情報が破壊されることを避けることができる。   On the other hand, in the present embodiment, the first storage unit that stores the first defect information and the second storage unit that stores the second defect information are independent storage units (memory) in the nonvolatile storage unit. Area). Thereby, it is possible to avoid the destruction of the first defect information including the position of the process defect pixel due to the accident at the time of writing the second defect information.

以上のように、本実施形態によれば、複数の工程傷画素の位置と複数の後傷画素の位置とを互いに独立して記憶するためのデータ容量を全体として低減することができる。   As described above, according to the present embodiment, it is possible to reduce the data capacity for storing the positions of a plurality of process scratch pixels and the positions of a plurality of back scratch pixels independently of each other.

また、本実施形態によれば、複数の工程傷画素のそれぞれと複数の後傷画素のそれぞれとに対する相対位置を含む第5の欠陥情報を生成して揮発性記憶部に一時的に記憶する。これにより、複数の工程傷画素の位置と複数の後傷画素の位置とを一時的に記憶するためのデータ容量を低減することができる。   Further, according to the present embodiment, the fifth defect information including the relative positions with respect to each of the plurality of process scratch pixels and each of the plurality of back scratch pixels is generated and temporarily stored in the volatile storage unit. Thereby, it is possible to reduce the data capacity for temporarily storing the positions of the plurality of process scratch pixels and the positions of the plurality of back scratch pixels.

なお、マージ部110への欠陥情報の供給は、直接不揮発性記憶部111からでも、一旦揮発性記憶部108へと展開してからでも、構わない。もちろん、工程傷画素の欠陥情報を揮発性記憶部108上に展開せずに、後傷画素の欠陥情報を揮発性記憶部108上に展開してあっても良い。あるいは、傷検出部107の出力がそのままマージ部110へ転送されても構わない。   The defect information may be supplied to the merge unit 110 either directly from the nonvolatile storage unit 111 or once developed into the volatile storage unit 108. Of course, the defect information on the back-scratched pixels may be developed on the volatile storage unit 108 without developing the defect information on the process scratch pixels on the volatile storage unit 108. Alternatively, the output of the flaw detection unit 107 may be transferred to the merge unit 110 as it is.

また、マージ部110による、工程傷画素と後傷画素とのマージ(重畳)された欠陥情報は、ユーザーの撮影時に既に生成されており使えれば良い。生成された第5の欠陥情報は、揮発性記憶部108上に展開して用いられるが、展開後のデータ扱いとしては、不揮発性記憶部111に格納しても良いし、そのまま補間部101aに転送されても構わない。   Further, the defect information merged (superimposed) between the process-scratched pixel and the back-scratch pixel by the merge unit 110 may be already generated and used at the time of photographing by the user. The generated fifth defect information is expanded and used on the volatile storage unit 108. However, as the data handling after the expansion, it may be stored in the nonvolatile storage unit 111, or may be directly stored in the interpolation unit 101a. It may be forwarded.

次に、傷検出部107の内部構成例について、図5を用いて説明する。   Next, an example of the internal configuration of the flaw detection unit 107 will be described with reference to FIG.

傷判定器201は、傷判定を行う。傷判定器201は、いくつかのバッファ(ハードウエアならば、幾つかのフリップフロップ構成で良い)を持つ。傷判定器201におけるいくつかのバッファは、判定注目画素の信号(データ)とその周辺画素の信号(データ)とを保持する。傷判定器201による判定は、例えば、注目画素の信号レベルと周辺画素の信号レベルの平均値との乖離や、転送方向における注目画素前後のメディアンフィルタ出力レベルと注目画素の信号レベルとの乖離が、閾値を超えたか否かについて行われる。   The scratch determination device 201 performs scratch determination. The flaw determiner 201 has several buffers (if hardware, several flip-flop configurations may be used). Some buffers in the flaw determiner 201 hold the signal (data) of the pixel of interest for determination and the signals (data) of the surrounding pixels. The determination by the flaw determiner 201 is, for example, the difference between the signal level of the target pixel and the average value of the signal levels of the peripheral pixels, or the difference between the median filter output level before and after the target pixel in the transfer direction and the signal level of the target pixel. It is performed as to whether or not the threshold value has been exceeded.

例えば、傷判定器201は、注目画素の信号レベルと設定指標(周辺画素)の信号レベルとの乖離が、事前に設定されたある閾値を超えた場合に、制御部204に対して1値を送出するものとする。傷判定器201には、前述の如く幾つかのバッファが存在するので、画素左端等のエッジ処理は備えていても良い。例えば、最初に受信したデータをバッファに画素コピーする。   For example, the flaw determiner 201 gives a value of 1 to the control unit 204 when the difference between the signal level of the target pixel and the signal level of the setting index (neighboring pixels) exceeds a predetermined threshold value. Shall be sent out. Since the scratch determiner 201 has several buffers as described above, edge processing such as the left end of the pixel may be provided. For example, the first received data is pixel copied to the buffer.

アドレスカウンタ202は、絶対位置を取得する。ハードウエア構成として言及すると、傷検出部107は、例えば、その前段・後段の回路とデータ授受を行う際に、valid statusと、hold (request) statusとを取り得る。valid statusは、現在のデータが有効であることを示す。hold (request) statusは、現在データの受信を行えないことを示す。   The address counter 202 acquires the absolute position. Speaking as a hardware configuration, the flaw detection unit 107 can take, for example, a valid status and a hold (request) status when exchanging data with the preceding and succeeding circuits. The valid status indicates that the current data is valid. hold (request) status indicates that the current data cannot be received.

信号の状態定義として、「valid status が1値(active high) を受信したときの受信データは有効である」と定義する。同様に、「有効な送信データを送信するときには、valid statusを1値にして送信する」、と定義する。この場合、valid statusの1値状態をカウントすることで、現在の注目データがフレームのどの位置に該当するのかを把握できる。   As a signal state definition, it is defined that “the received data is valid when the valid status is 1 (active high)”. Similarly, it is defined that “when valid transmission data is transmitted,“ valid status is set to 1 ”. In this case, by counting the one-value state of valid status, it is possible to grasp which position in the frame the current attention data corresponds to.

また、hold statusは、前段に対してデータの送出の停止を求めるrequest(status)として定義する。この場合、後段でデータ処理が滞った場合には、それ以前のデータ処理を停止することが出来る。例えば、hold statusが1値のときのvalid status の1値は保留として、前段はその状態(data送出状態も含めて)を保持しなければならない、と定義できる。   Also, hold status is defined as a request (status) for requesting to stop sending data to the previous stage. In this case, if the data processing is delayed in the subsequent stage, the previous data processing can be stopped. For example, it can be defined that one value of valid status when hold status is 1 is held, and the previous stage must hold the state (including the data transmission state).

もちろん、撮像センサ104のデータ読み出しを即時に停止できないので、stop statusの発生頻度は、撮像系(104〜107)のパスに於いて、HD(水平のブランキング期間)に収まることが必要である。バッファ203は、後段からのhold (request) status に対するタイミング緩衝の役目を持つ。又は(不図示ではあるが)、撮像データを一旦揮発性記憶部108に取り込んでから、傷検出部107に投入しても目的は達成出来る。   Of course, since the data reading of the image sensor 104 cannot be stopped immediately, the occurrence frequency of the stop status must be within HD (horizontal blanking period) in the path of the imaging system (104 to 107). . The buffer 203 serves as a timing buffer for hold (request) status from the subsequent stage. Alternatively (although not shown), the object can be achieved even if the imaging data is once taken into the volatile storage unit 108 and then input into the flaw detection unit 107.

アドレスカウンタ202は、水平画素カウンタ(以降、Hカウンタ)2021と、垂直ラインカウンタ(以降、Vカウンタ)2022とを含む。Hカウンタ2021とVカウンタ2022とは、hold status = 0時のvalid status = 1 値をカウントすることで、フレームの座標を把握する為のカウンタ構成である。Hカウンタ2021が事前に設定された値に達したときに、Hカウンタは0に戻り、Vカウンタ2022値が1インクリメントされる。   The address counter 202 includes a horizontal pixel counter (hereinafter referred to as “H counter”) 2021 and a vertical line counter (hereinafter referred to as “V counter”) 2022. The H counter 2021 and the V counter 2022 are counter configurations for grasping the coordinates of the frame by counting the valid status = 1 value when hold status = 0. When the H counter 2021 reaches a preset value, the H counter returns to 0 and the V counter 2022 value is incremented by 1.

このとき、傷判定器201の出力が1値であれば、Hカウンタ2021、Vカウンタ2022の値をバッファ203へと格納する。Hカウンタ2021のカウント値とVカウンタ2022のカウント値とも事前設定値に達したのであれば、アドレスカウンタ202は、制御部204に対してフレーム処理終了のdone status(パルスでも良い)を送出する。   At this time, if the output of the scratch judgment device 201 is 1, the values of the H counter 2021 and the V counter 2022 are stored in the buffer 203. If both the count value of the H counter 2021 and the count value of the V counter 2022 reach preset values, the address counter 202 sends a frame status completion done status (may be a pulse) to the control unit 204.

バッファ203は、制御部204から書き込み指示wrを受けたことに応じて、アドレスカウンタ202のカウント値を一時的にバッファに取り込む。バッファ203は、制御部204から読み出し指示rdを受けたことに応じて、取り込んだカウント値を後段へと出力する。バッファ203は、制御部204との間でstatusの授受を行う簡単なコントローラ(図示せず)を含む。このコントローラは、書き込み指示・読み出し指示のstatusに応じて、現在アクセスすべきバッファ領域を切り替えるものである。   The buffer 203 temporarily captures the count value of the address counter 202 in response to receiving the write instruction wr from the control unit 204. In response to receiving the read instruction rd from the control unit 204, the buffer 203 outputs the fetched count value to the subsequent stage. The buffer 203 includes a simple controller (not shown) that exchanges status with the control unit 204. This controller switches the buffer area to be currently accessed in accordance with the status of the write instruction / read instruction.

制御部204は、主にstatus signalの監視・制御を行う。制御部204は、CPU101からのデータ処理開始指示(不図示)を受けて、アドレスカウンタ202の初期化、バッファ203の初期化等を行う。制御部204は、傷判定器201に初期化機能があれば、その実行要求も発行する。   The control unit 204 mainly monitors and controls the status signal. In response to a data processing start instruction (not shown) from the CPU 101, the control unit 204 initializes the address counter 202, initializes the buffer 203, and the like. If the scratch determination unit 201 has an initialization function, the control unit 204 also issues an execution request.

また、制御部204は、次のようなstatusの監視・制御を行う。制御部204は、後段からhold requestが発行されたときに、バッファ203の読み出し処理を停止し、hold期間中にバッファ203がfull状態になった場合に、前段の回路に対してhold requestを発行する。   In addition, the control unit 204 performs the following status monitoring / control. The control unit 204 stops the reading process of the buffer 203 when a hold request is issued from the subsequent stage, and issues a hold request to the preceding stage circuit when the buffer 203 is in a full state during the hold period. To do.

そして、制御部204は、フレーム終了のdone statusを受信したときに、前段からのデータ受信処理・後段へのデータ送信処理を停止し、CPU101に対して終了statusを返す。   When the control unit 204 receives the frame end done status, the control unit 204 stops the data reception process from the previous stage and the data transmission process to the subsequent stage, and returns the end status to the CPU 101.

次に、マージ部110の内部構成例について、図6を用いて説明する。図6は、工程傷画素の欠陥情報と後傷画素の欠陥情報とのマージ処理における工程傷画素の相対位置の情報と後傷画素の絶対位置の情報とのマージを行うための構成(ロジック)を中心に説明する。   Next, an internal configuration example of the merge unit 110 will be described with reference to FIG. FIG. 6 shows a configuration (logic) for merging the information on the relative position of the process flaw pixel and the information on the absolute position of the back flaw pixel in the merge processing of the defect information on the process flaw pixel and the defect information on the back flaw pixel The explanation will be focused on.

マージ部110は、レジスタ301〜305,310,311,313と、FF(フリップフロップ)316,317とを含む。これらのイベントタイミングは、クロック同期であるが、レジスタ304,305の演算phaseと、その他のレジスタ更新phaseとは独立とする。また、レジスタ304,305,310,311は、リセット実行による初期化phase及び初期値を持つものとする。図6は、データパスの詳細を説明するための図なので、上記イベントについては不図示とする。また、説明を簡素化するために、夫々の傷データは全て有効なものとして説明していく。   The merge unit 110 includes registers 301 to 305, 310, 311 and 313, and FFs (flip-flops) 316 and 317. These event timings are clock-synchronized, but are independent of the operation phase of the registers 304 and 305 and other register update phases. The registers 304, 305, 310, and 311 have an initialization phase and an initial value by reset execution. Since FIG. 6 is a diagram for explaining the details of the data path, the above events are not shown. In addition, in order to simplify the description, each piece of flaw data will be described as being valid.

マージ部110は、工程傷画素の相対位置の情報群と、後傷画素の絶対位置の情報群とを、それぞれ不揮発性記憶部111から読み出す。マージ部110は、工程傷画素の相対位置を絶対位置に変換した後、工程傷画素の絶対位置と後傷画素の絶対位置とのそれぞれにおける絶対位置の順位(大小)を比較して、直前の傷画素の位置に対して近い情報を採択し、相対位置情報として出力するものである。   The merge unit 110 reads the information group of the relative position of the process scratched pixel and the information group of the absolute position of the back scratched pixel from the nonvolatile storage unit 111, respectively. The merge unit 110, after converting the relative position of the process scratch pixel to the absolute position, compares the absolute position rank (large and small) in each of the absolute position of the process scratch pixel and the absolute position of the back scratch pixel, Information close to the position of the damaged pixel is adopted and output as relative position information.

マージ部110は、比較対照である傷画素の位置の情報として、工程傷画素の相対位置の情報をレジスタ301に受けて格納し、後傷画素の絶対位置の情報をレジスタ302,303に受けて格納している。後傷画素の絶対位置情報は、H(水平位置情報)とV(垂直位置情報)との座標データとして格納している。   The merge unit 110 receives and stores the information on the relative position of the process flaw pixel in the register 301 and stores the information on the absolute position of the back flaw pixel in the registers 302 and 303 as the information on the position of the flaw pixel which is a comparison reference. Storing. The absolute position information of the back scratch pixel is stored as coordinate data of H (horizontal position information) and V (vertical position information).

マージ部110は、工程傷画素の相対位置の情報から、直前の傷とのオフセット位置を積算しながら座標位置を算出する、すなわち、工程傷画素の相対位置を絶対位置に変換する。その後、マージ部110は、工程傷画素の絶対位置と後傷画素の絶対位置とを比較していく。   The merge unit 110 calculates the coordinate position from the information on the relative position of the process flaw pixel while accumulating the offset position with the immediately previous flaw, that is, converts the relative position of the process flaw pixel into an absolute position. Thereafter, the merging unit 110 compares the absolute position of the process damaged pixel with the absolute position of the back damaged pixel.

具体的には、レジスタ301に格納された工程傷画素の相対位置が更新されると、オフセット加算後の結果の座標位置が示すH位置とV位置とを更新する。H位置はレジスタ304に、V位置はレジスタ305に、それぞれ保持される。   Specifically, when the relative position of the process defect pixel stored in the register 301 is updated, the H position and the V position indicated by the coordinate position of the result after the offset addition are updated. The H position is held in the register 304, and the V position is held in the register 305.

値の更新は、レジスタ304の保持する値の上位にレジスタ305の保持する値を連接して(座標値を、距離積算値に換算して)、それにオフセット値としてレジスタ301の保持する値を加算することで更新する。更新値をレジスタ304、305に戻すには、連接した距離積算値の下位をレジスタ304(H位置)に、上位をレジスタ305(V位置)に分けて保持すれば良い。   The value is updated by concatenating the value held in the register 305 above the value held in the register 304 (converting the coordinate value into a distance integrated value) and adding the value held in the register 301 as an offset value. To update. In order to return the updated values to the registers 304 and 305, the lower order of the connected distance integrated values may be stored in the register 304 (H position) and the upper order in the register 305 (V position).

もちろん、レジスタ304、305を一つの距離積算レジスタとして存在させても良い。また、加算器306等は、H情報とV情報とを連接した長bitでの演算を行うので、ハードウエアで構成する場合には、キャリー信号の通るゲート段数が大きくなる。HレジスタとVレジスタとに分けて演算をしても良いが、その場合には、H演算実行後の桁上げをV演算に反映させる等の処置が必要である。   Of course, the registers 304 and 305 may exist as one distance integration register. In addition, the adder 306 and the like perform an operation with a long bit in which the H information and the V information are concatenated. Therefore, when configured with hardware, the number of gate stages through which the carry signal passes increases. The calculation may be performed separately for the H register and the V register, but in that case, it is necessary to take a measure such as reflecting the carry after the H calculation is performed in the V calculation.

レジスタ302,303は、不揮発性記憶部111から読み出した後傷画素の絶対位置の情報を保持する。レジスタ302,303の保持する値もまた、レジスタ303(V位置の情報)を上位として連接して演算に用いる。図中’&’は連接演算子表記であり、ある信号と別の信号とをマージした状態で一つの信号として取り扱うことを示す。   The registers 302 and 303 hold information on the absolute position of the post-scratch pixel read from the nonvolatile storage unit 111. The values held in the registers 302 and 303 are also used in the calculation by connecting the register 303 (V position information) as the upper level. In the figure, “&” is a concatenation operator notation, indicating that one signal and another signal are merged and handled as one signal.

加算器(減算器)307は、工程傷画素の相対位置の情報(オフセット)を加算していき得た次期位置から、後傷画素の次期位置を引く演算を行う。加算器(減算器)307は、演算結果をセレクタ308へ出力する。   An adder (subtracter) 307 performs an operation of subtracting the next position of the back scratch pixel from the next position obtained by adding the information (offset) of the relative position of the process scratch pixel. The adder (subtracter) 307 outputs the calculation result to the selector 308.

セレクタ308は、加算器(減算器)307の演算結果におけるMSB(最上位bit:符号bit)を選択条件として用い、大小関係の結果を得る。すなわち、セレクタ308は、加算器(減算器)307の演算結果における符号が0ならば、工程傷画素の次期位置より後傷画素の次期位置が小さいと判断する。セレクタ308は、加算器(減算器)307の演算結果における符号が1ならば、後傷画素の次期位置より工程傷画素の次期位置が小さいと判断する。セレクタ308は、加算器(減算器)307の演算結果における符号に応じて、マージ結果へ追加すべき傷画素の次期位置の情報を選択して出力する。   The selector 308 uses the MSB (most significant bit: sign bit) in the calculation result of the adder (subtracter) 307 as a selection condition, and obtains a magnitude relation result. That is, if the sign in the calculation result of the adder (subtracter) 307 is 0, the selector 308 determines that the next position of the back scratch pixel is smaller than the next position of the process scratch pixel. If the sign in the calculation result of the adder (subtracter) 307 is 1, the selector 308 determines that the next position of the process flaw pixel is smaller than the next position of the rear flaw pixel. The selector 308 selects and outputs information on the next position of the damaged pixel to be added to the merge result according to the sign in the calculation result of the adder (subtracter) 307.

セレクタ308の出力である傷画素の次期位置の情報は、絶対位置としての情報を含んでいる。その為、一旦、レジスタ310,311に絶対位置の情報としてのH情報,V情報を保持する。図6では連接を解いて、Hhold値,Vhold値のそれぞれを保持する場合を示しているが、そのまま一つのレジスタで保持しても何ら問題は無い。   The information on the next position of the damaged pixel, which is the output of the selector 308, includes information on the absolute position. For this reason, the registers 310 and 311 temporarily hold H information and V information as absolute position information. FIG. 6 shows a case where the concatenation is solved and each of the Hold value and the Vhold value is held, but there is no problem if it is held in one register as it is.

前述の如く、マージ出力は相対位置情報とする為、レジスタ310,311への保持と同じタイミングで、レジスタ313に、レジスタ310,311の前の値と、セレクタ308の出力との差を保持する。加算器(減算器)312は、その差分を得るためのものである。すなわち、加算器(減算器)312は、セレクタ308から出力された絶対位置の値から直前の傷画素の絶対位置の値を引くことで相対位置の情報を求めレジスタ313へ供給する。レジスタ313は、求められた相対位置の情報を一時的に記憶する。   As described above, since the merge output is relative position information, the difference between the previous value of the registers 310 and 311 and the output of the selector 308 is held in the register 313 at the same timing as the holding in the registers 310 and 311. . The adder (subtracter) 312 is for obtaining the difference. That is, the adder (subtracter) 312 obtains information on the relative position by subtracting the value of the absolute position of the immediately previous flaw pixel from the value of the absolute position output from the selector 308 and supplies it to the register 313. The register 313 temporarily stores information on the obtained relative position.

等面コンパレータ(比較器)309は、2つの入力値が等しいときに1値を出力するものである。レジスタ301、302、及び303の保持する値は、その値がマージされる度に傷画素の次期位置の情報へと更新される。この更新は、加算器(減算器)の符号値の0/1に加えて、レジスタ302,303の保持する値とレジスタ304,305の保持する値とが等しい場合も考慮する必要がある。   The isosurface comparator (comparator) 309 outputs one value when two input values are equal. The values held in the registers 301, 302, and 303 are updated to information on the next position of the damaged pixel every time the values are merged. In addition to 0/1 of the sign value of the adder (subtracter), this update needs to be considered when the values held in the registers 302 and 303 and the values held in the registers 304 and 305 are equal.

工程傷画素の位置の情報としての次期相対位置情報の要求は、加算器(減算器)307の演算結果における符号(MSB)が1のときと、比較器309の出力値が1のときとに行う。すなわち、加算器(減算器)307の演算結果における符号(MSB)と比較器309の出力値とがOR回路314を経てFF316へ供給される。FF316は、そのステータスを保持して回路出力としている。   The request for the next relative position information as information on the position of the process flaw pixel is made when the sign (MSB) in the calculation result of the adder (subtracter) 307 is 1 and when the output value of the comparator 309 is 1. Do. That is, the sign (MSB) in the calculation result of the adder (subtracter) 307 and the output value of the comparator 309 are supplied to the FF 316 via the OR circuit 314. The FF 316 holds the status and uses it as a circuit output.

同様に、後傷画素の位置の情報としての次期絶対位置情報の要求は、加算器(減算器)307の演算結果における符号(MSB)が0のときと、比較器309の出力値が1のときとに行う。すなわち、加算器(減算器)307の演算結果における符号(MSB)を論理反転した信号と比較器309の出力値とがOR回路315を経てFF317へ供給される。FF317は、そのステータスを保持して回路出力としている。   Similarly, the request for the next absolute position information as the position information of the back-scratch pixel is that the sign (MSB) in the calculation result of the adder (subtracter) 307 is 0 and the output value of the comparator 309 is 1. When to do. That is, a signal obtained by logically inverting the sign (MSB) in the operation result of the adder (subtracter) 307 and the output value of the comparator 309 are supplied to the FF 317 via the OR circuit 315. The FF 317 holds the status and uses it as a circuit output.

マージ部110を経て得た相対位置情報としての傷画素の位置の情報は、揮発性記憶部108に一時的に記憶して、補間処理を実行時にそれを読み出し、その情報における相対位置を絶対位置に変換した後、補間対象画素の絶対位置を特定するために用いられる。もちろん、マージ部110の出力をそのまま補間部101aに供給しても構わないし、不揮発性記憶部111に一時的に記憶しても構わない。   The information on the position of the damaged pixel as the relative position information obtained through the merging unit 110 is temporarily stored in the volatile storage unit 108, read out when executing the interpolation process, and the relative position in the information is determined as the absolute position. Is used to specify the absolute position of the interpolation target pixel. Of course, the output of the merge unit 110 may be supplied to the interpolation unit 101a as it is, or may be temporarily stored in the non-volatile storage unit 111.

Claims (12)

光電変換部をそれぞれ含む複数の画素が2次元的に配列された画素配列を有し、前記画素配列の各画素で光電変換された信号を転送順に従って順次転送する撮像手段と、
前記画素配列における第1の種類の欠陥画素の位置を特定する情報であり、前記第1の種類の欠陥画素の各々について、前記転送順において前記第1の種類の欠陥画素間に信号が転送される画素数を示す相対位置を第1の欠陥情報として記憶する第1の記憶手段と、
前記第1の種類の欠陥画素が検出された時期よりも後に前記撮像手段から転送された信号にいて周囲の画素との信号のレベル差が閾値を越える画素を第2の種類の欠陥画素として検出する検出手段と、
前記検出手段により検出された前記第2の種類の欠陥画素の各々について、該画素の前記画素配列における座標を示す絶対位置を第2の欠陥情報として記憶する第2の記憶手段と、
を備えたことを特徴とする撮像装置。
An imaging unit that has a pixel array in which a plurality of pixels each including a photoelectric conversion unit are two-dimensionally arranged, and sequentially transfers a signal photoelectrically converted in each pixel of the pixel array according to a transfer order;
Information specifying the position of the first type of defective pixel in the pixel array, and a signal is transferred between the first type of defective pixels in the transfer order for each of the first type of defective pixels. First storage means for storing a relative position indicating the number of pixels to be stored as first defect information;
Pixels exceeding the first type of level difference threshold signal with pixels surrounding have you to transfer the signal from the imaging means after the time when the defective pixel is detected as a defective pixel of the second type Detecting means for detecting;
Second storage means for storing, as second defect information , an absolute position indicating coordinates of the pixel in the pixel array for each of the second type of defective pixels detected by the detection means;
An imaging apparatus comprising:
前記第1の記憶手段に記憶された前記第1の欠陥情報を絶対位置に変換し、前記第2の記憶手段に記憶された前記第2の欠陥情報と結合することで、前記画素配列における欠陥画素の絶対位置を特定する生成手段をさらに備えたことを特徴とした請求項1に記載の撮像装置。   The first defect information stored in the first storage means is converted into an absolute position and combined with the second defect information stored in the second storage means, so that defects in the pixel array are obtained. The imaging apparatus according to claim 1, further comprising generation means for specifying an absolute position of a pixel. 前記生成手段は、さらに、特定した前記画素配列における欠陥画素の絶対位置を変換することで、各欠陥画素について、前記転送順において欠陥画素間に信号が転送される画素数を示す相対位置を第3の欠陥情報として生成することを特徴とした請求項2に記載の撮像装置。   The generating means further converts the absolute position of the defective pixel in the specified pixel array to obtain a relative position indicating the number of pixels to which a signal is transferred between the defective pixels in the transfer order for each defective pixel. The imaging device according to claim 2, wherein the imaging device is generated as defect information 3. 前記生成手段により生成された前記第3の欠陥情報を記憶する第3の記憶手段をさらに備えたことを特徴とした請求項3に記載の撮像装置。   The imaging apparatus according to claim 3, further comprising a third storage unit that stores the third defect information generated by the generation unit. 前記撮像手段から転送された信号のうち、前記第3の欠陥情報により特定される位置の画素に対応する信号を、該画素の周囲の画素に対応する信号を用いて補間する補間手段をさらに備えたことを特徴とする請求項3又は4に記載の撮像装置。   Interpolation means for interpolating a signal corresponding to a pixel at a position specified by the third defect information among signals transferred from the imaging means using a signal corresponding to pixels around the pixel is further provided. The imaging apparatus according to claim 3 or 4, wherein 前記第1の種類の欠陥画素は、工場出荷前に予め判明している欠陥画素であることを特徴とする請求項1乃至5のいずれか1項に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the first type of defective pixel is a defective pixel that has been identified in advance before shipping from a factory. 光電変換部をそれぞれ含む複数の画素が2次元的に配列された画素配列について、該画素配列における欠陥画素の位置を特定する位置情報を記憶する記憶装置であって、
第1の種類の欠陥画素の位置情報であって、前記第1の種類の欠陥画素の各々について、前記画素配列の各画素で光電変換された信号の転送順において前記第1の種類の欠陥画素間に転送される画素数を示す相対位置を特定する位置情報を第1の欠陥情報として記憶する第1の記憶手段と、
前記第1の種類の欠陥画素検出された時期よりも後に周囲の画素との信号のレベル差が閾値を越える画素として検出された第2の種類の欠陥画素の位置情報であって、前記第2の種類の欠陥画素の各々について、前記画素配列における絶対位置を特定する位置情報を第2の欠陥情報として記憶する第2の記憶手段と、
を備えたことを特徴とする記憶装置。
A storage device that stores position information for specifying a position of a defective pixel in a pixel array in which a plurality of pixels each including a photoelectric conversion unit are two-dimensionally arranged,
Position information of a first type of defective pixel, and for each of the first type of defective pixel, the first type of defective pixel in the order of transfer of signals photoelectrically converted by each pixel of the pixel array. First storage means for storing position information for specifying a relative position indicating the number of pixels transferred between the first defect information;
Position information of a second type of defective pixel detected as a pixel whose signal level difference with surrounding pixels exceeds a threshold after a time when the first type of defective pixel is detected, Second storage means for storing position information specifying an absolute position in the pixel array as second defect information for each of the two types of defective pixels;
A storage device comprising:
前記画素配列から転送された信号に基づいて、前記第2の種類の欠陥画素を検出する検出手段をさらに備えたことを特徴とする請求項7に記載の記憶装置。   8. The storage device according to claim 7, further comprising detection means for detecting the second type of defective pixels based on a signal transferred from the pixel array. 前記第1の欠陥情報と前記第2の欠陥情報とを結合し、前記画素配列に含まれる各欠陥画素について、前記転送順において欠陥画素間に信号が転送される画素を示す相対位置を特定する第3の欠陥情報を生成する生成手段と、
前記画素配列から転送された信号のうち、前記第3の欠陥情報により特定される位置の画素に対応する信号を、該画素の周囲の画素に対応する信号を用いて補間する補間手段と、
をさらに備えたことを特徴とする請求項7または8に記載の記憶装置。
The first defect information and the second defect information are combined, and for each defective pixel included in the pixel array, a relative position indicating a pixel to which a signal is transferred between the defective pixels in the transfer order is specified. Generating means for generating third defect information;
Interpolation means for interpolating a signal corresponding to a pixel at a position specified by the third defect information among signals transferred from the pixel array, using a signal corresponding to a pixel around the pixel;
The storage device according to claim 7 or 8, further comprising:
前記第1の種類の欠陥画素は、工場出荷前に予め判明している欠陥画素であることを特徴とする請求項7乃至9のいずれか1項に記載の記憶装置。   10. The storage device according to claim 7, wherein the first type of defective pixel is a defective pixel that is known in advance before shipping from a factory. 光電変換部をそれぞれ含む複数の画素が2次元的に配列された画素配列を有し、前記画素配列の各画素で光電変換された信号を転送順に従って順次転送する撮像手段を備える撮像装置の制御方法であって、
前記撮像装置の制御手段が、前記画素配列における第1の種類の欠陥画素の位置を特定する情報であり、前記第1の種類の欠陥画素の各々について、前記転送順において前記第1の種類の欠陥画素間に信号が転送される画素数を示す相対位置を第1の欠陥情報として記憶する第1の記憶工程と、
前記撮像装置の検出手段が、前記第1の種類の欠陥画素が検出された時期よりも後に前記撮像手段から転送された信号にいて周囲の画素との信号のレベル差が閾値を越える画素を第2の種類の欠陥画素として検出する検出工程と、
前記制御手段が、前記検出工程において検出された前記第2の種類の欠陥画素の各々について、該画素の前記画素配列における座標を示す絶対位置を第2の欠陥情報として記憶する第2の記憶工程と、
を備えたことを特徴とする撮像装置の制御方法。
Control of an imaging apparatus having a pixel array in which a plurality of pixels each including a photoelectric conversion unit are two-dimensionally arranged and sequentially transferring signals photoelectrically converted by each pixel of the pixel array according to a transfer order A method,
The control means of the imaging device is information for specifying a position of a first type of defective pixel in the pixel array, and for each of the first type of defective pixels, the first type of pixels in the transfer order. A first storage step of storing, as first defect information, a relative position indicating the number of pixels to which signals are transferred between defective pixels;
Detecting means of the image pickup device, pixels exceeding the first type of level difference threshold signal with pixels surrounding have you to transfer the signal from the imaging means after the time when the defective pixel is detected A detection step of detecting as a second type of defective pixel;
A second storage step in which the control means stores, for each of the second type defective pixels detected in the detection step, an absolute position indicating coordinates of the pixel in the pixel array as second defect information; When,
An image pickup apparatus control method comprising:
光電変換部をそれぞれ含む複数の画素が2次元的に配列された画素配列について、該画素配列における欠陥画素の位置を特定する位置情報を記憶する記憶装置の制御方法であって、前記記憶装置は第1の種類の欠陥画素の位置情報であって、前記第1の種類の欠陥画素の各々について、前記画素配列の各画素で光電変換された信号の転送順において前記第1の種類の欠陥画素間に転送される画素数を示す相対位置を特定する位置情報を第1の位置情報として記憶する第1の記憶手段を有し、
前記記憶装置の制御手段が、前記第1の種類検出された時期よりも後に周囲の画素との信号のレベル差が閾値を越える画素として検出された第2の種類の欠陥画素の位置情報であって、前記第2の種類の欠陥画素の各々について、前記画素配列における絶対位置を特定する位置情報を第2の位置情報として記憶する第2の記憶工程
を備えることを特徴とする記憶装置の制御方法。
A storage device control method for storing position information for specifying a position of a defective pixel in a pixel array in which a plurality of pixels each including a photoelectric conversion unit are two-dimensionally arrayed, wherein the storage device includes: Position information of a first type of defective pixel, and for each of the first type of defective pixel, the first type of defective pixel in the order of transfer of signals photoelectrically converted by each pixel of the pixel array. First storage means for storing position information for specifying a relative position indicating the number of pixels transferred between the first position information;
The control means of the storage device uses the positional information of the second type defective pixel detected as a pixel whose signal level difference with surrounding pixels exceeds the threshold after the time when the first type is detected. A second storage step of storing, as second position information, position information for specifying an absolute position in the pixel array for each of the second type defective pixels. Control method.
JP2009231011A 2009-10-02 2009-10-02 Imaging device, storage device, and control method Expired - Fee Related JP5432657B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009231011A JP5432657B2 (en) 2009-10-02 2009-10-02 Imaging device, storage device, and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009231011A JP5432657B2 (en) 2009-10-02 2009-10-02 Imaging device, storage device, and control method

Publications (3)

Publication Number Publication Date
JP2011082634A JP2011082634A (en) 2011-04-21
JP2011082634A5 JP2011082634A5 (en) 2012-11-08
JP5432657B2 true JP5432657B2 (en) 2014-03-05

Family

ID=44076270

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009231011A Expired - Fee Related JP5432657B2 (en) 2009-10-02 2009-10-02 Imaging device, storage device, and control method

Country Status (1)

Country Link
JP (1) JP5432657B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6759088B2 (en) 2016-12-20 2020-09-23 キヤノン株式会社 Imaging device and its control method and program
JP7256661B2 (en) 2019-03-19 2023-04-12 キヤノン株式会社 IMAGING DEVICE, CONTROL METHOD OF IMAGING MEANS, PROGRAM AND STORAGE MEDIUM

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3680334B2 (en) * 1995-01-17 2005-08-10 ソニー株式会社 Pixel unevenness correction apparatus and method

Also Published As

Publication number Publication date
JP2011082634A (en) 2011-04-21

Similar Documents

Publication Publication Date Title
TWI364983B (en) Image sensor, electronic apparatus, and driving method of electronic apparatus
JP6271926B2 (en) Imaging device, control method thereof, and program
JP5746521B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP7481313B2 (en) Image pickup device, image pickup device operation method, and program
JP2011109281A5 (en)
CN109474781A (en) Photographic device, the control method of photographic device, recording medium
JP6013247B2 (en) Imaging device
JP5696419B2 (en) Image processing apparatus and method, and program
JP2007174266A (en) Imaging apparatus
JP5432657B2 (en) Imaging device, storage device, and control method
US10965896B2 (en) Photoelectric conversion device, moving body, and signal processing device
US9282245B2 (en) Image capturing apparatus and method of controlling the same
JP2018157371A (en) Imaging apparatus and method of correcting defective pixels
JP2014033415A (en) Image processor, image processing method and imaging apparatus
JP6763215B2 (en) Signal processing device
JP2008312169A (en) Image processing apparatus and method, and imaging apparatus
JP5968145B2 (en) Image processing apparatus and control method thereof
US11729506B2 (en) Imaging element with processor configured to receive vibration information, imaging apparatus, operation method of imaging element, and program
JP5874473B2 (en) Electronic camera
JP7020463B2 (en) Imaging device
JP6765953B2 (en) Imaging device and its control method
JP2004056407A (en) Solid-state electronic imaging device and solid-state electronic imaging unit
JP2012120076A (en) Imaging apparatus
JP2009212603A (en) Imaging apparatus and its control method
JP2009033498A (en) Optical distortion correction device, method and program therefor, and imaging apparatus

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120920

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120920

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130415

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130507

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130705

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131206

R151 Written notification of patent or utility model registration

Ref document number: 5432657

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees