JP2011171892A - Imaging device - Google Patents

Imaging device Download PDF

Info

Publication number
JP2011171892A
JP2011171892A JP2010032230A JP2010032230A JP2011171892A JP 2011171892 A JP2011171892 A JP 2011171892A JP 2010032230 A JP2010032230 A JP 2010032230A JP 2010032230 A JP2010032230 A JP 2010032230A JP 2011171892 A JP2011171892 A JP 2011171892A
Authority
JP
Japan
Prior art keywords
address
defect
replacement
addresses
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010032230A
Other languages
Japanese (ja)
Other versions
JP5477035B2 (en
Inventor
Takahiro Fujimoto
高広 藤本
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2010032230A priority Critical patent/JP5477035B2/en
Publication of JP2011171892A publication Critical patent/JP2011171892A/en
Application granted granted Critical
Publication of JP5477035B2 publication Critical patent/JP5477035B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Transforming Light Signals Into Electric Signals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To determine the address of a detection element for substitution for the address of a defective element in a short time. <P>SOLUTION: This imaging device (10) includes logic circuits (334-342) which read first defect information of an address generated according to a first address sequence (308) and second defect information of an address generated according to a second address sequence (306) from defect determination storage devices (442, 312), and write the address generated according to the second address sequence in the address generated according to the first address sequence in a defect substitution storage device (446) when the first defect information shows a defect and the second defect information shows no defect. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、撮像装置に関し、特に、欠陥素子位置の画素の置換機能を有する撮像装置に関する。   The present invention relates to an imaging device, and more particularly, to an imaging device having a pixel replacement function at a defective element position.

赤外線カメラの検知器およびカラー・カメラ装置用のCCD素子などの撮像素子には、一般的に欠陥素子と呼ばれる不良素子が存在する。欠陥素子は、正常な撮像画素データを供給することができず、撮像データをモニタに表示された画像の品質に悪影響を与える。赤外線カメラの検知器の場合、その数は、多い場合には検知素子全体の1%以上を占めることもある。その数は、例えば、640×480画素のVGAサイズの素子数に換算すると、3000個の素子を超える。   An image sensor such as a detector for an infrared camera and a CCD element for a color camera device generally includes a defective element called a defective element. The defective element cannot supply normal imaging pixel data, and adversely affects the quality of the image displayed on the monitor. In the case of infrared camera detectors, the number of detectors may occupy 1% or more of the entire detector element if the number is large. For example, this number exceeds 3000 elements when converted into the number of elements of VGA size of 640 × 480 pixels.

このような欠陥素子に起因する欠陥画素を補償するために、一般的に、欠陥画素値が周辺の正常な周辺の画素値で置換される。   In order to compensate for defective pixels due to such defective elements, the defective pixel values are generally replaced with normal peripheral pixel values in the vicinity.

既知の赤外線撮像装置の画素置換方法は、多素子赤外線検知器を用いてフレーム・メモリ上に二次元画像を形成して二次元画像表示を行う。その赤外線撮像装置は、高温と低温の基準温度に対する各検知素子の高温データと低温データとを記憶する基準温度データメモリを備える。その赤外線撮像装置は、さらに、各検知素子の高温データと低温データとの差を求め、全検知素子について差の平均値を算出して、平均値と上限設定値との和が差の値より大きいか、平均値と下限設定値との和が差の値より小さいとき、検知素子を欠陥素子と判定する欠陥判定部を備える。その赤外線撮像装置は、さらに、フレーム・メモリにおける欠陥画素に対応する検知素子のアドレスを、欠陥画素に隣接する正常画素に対応する検知素子のアドレスによって置き換える置換メモリを備える。それによって、欠陥画素と隣接画素との自動置換が行われる。   A known pixel replacement method of an infrared imaging device forms a two-dimensional image on a frame memory using a multi-element infrared detector to display a two-dimensional image. The infrared imaging device includes a reference temperature data memory that stores high-temperature data and low-temperature data of each sensing element with respect to high and low reference temperatures. The infrared imaging device further calculates the difference between the high temperature data and the low temperature data of each sensing element, calculates the average value of the differences for all the sensing elements, and the sum of the average value and the upper limit set value is calculated from the difference value. When it is larger or the sum of the average value and the lower limit set value is smaller than the difference value, a defect determination unit is provided that determines the detection element as a defective element. The infrared imaging device further includes a replacement memory that replaces the address of the sensing element corresponding to the defective pixel in the frame memory with the address of the sensing element corresponding to the normal pixel adjacent to the defective pixel. Thereby, automatic replacement of defective pixels and adjacent pixels is performed.

既知の撮像装置は、アレイ状読取素子による基準となる画像の読取データに基づき欠陥素子を抽出し、目標物撮像時における欠陥素子の画素データを他の素子の画素データで置換する。その撮像装置は、感度の無い又は小さい素子を欠陥素子と判定する。また、その撮像装置は、複数種のノイズレベルにつき最も厳しい閾値を選択し、かつ検出した何れかのノイズレベルが対応する閾値を越える欠陥素子数をアレイ状読取素子の全素子につき計数すると共に、該欠陥素子数が所定数以下となるまで、その都度、最大の欠陥数を記録したノイズレベル種の閾値の選択を緩い方に切り替える。さらに、その撮像装置は、目標物撮像時の撮像データから所定方向の均一レベルの撮像データ列を抽出・蓄積し、基準となる画像の読取データとして利用する。それによって、表示画像の感度が改善され、欠陥画素置換のための最適の閾値が容易に設定でき、基準画像源の使用頻度を大幅に軽減できる。   A known imaging device extracts defective elements based on read data of an image serving as a reference by an array-shaped reading element, and replaces pixel data of the defective element at the time of target imaging with pixel data of another element. The imaging apparatus determines an insensitive or small element as a defective element. Further, the imaging device selects the strictest threshold value for a plurality of types of noise levels, and counts the number of defective elements for which any detected noise level exceeds the corresponding threshold value for all elements of the array-shaped reading element, Each time the number of defective elements is equal to or less than a predetermined number, the selection of the threshold of the noise level type that records the maximum number of defects is switched to a looser one. Further, the imaging apparatus extracts and accumulates a uniform level of imaging data string in a predetermined direction from imaging data at the time of target imaging, and uses it as read data of a reference image. Thereby, the sensitivity of the display image is improved, the optimum threshold for defective pixel replacement can be easily set, and the frequency of use of the reference image source can be greatly reduced.

特開平 9−163228号公報JP 9-163228 A 特開平10−341375号公報Japanese Patent Laid-Open No. 10-341375

カメラ装置の欠陥素子のアドレスを判定するために、その画像データをパーソナル・コンピュータ等に転送して、ソフトウェアによって検知素子の欠陥とアドレスを判定するかまたは操作者がそのディスプレイ上で確認して検知素子の欠陥とアドレスを決定する。その決定された欠陥素子のアドレス・データはカメラ装置に転送されてその内部の不揮発性メモリに記憶される。カメラ装置は、使用されるとき、欠陥素子のアドレス・データに基づいて欠陥画素値を正常な近隣の画素値と置換する。   In order to determine the address of the defective element of the camera device, the image data is transferred to a personal computer or the like, and the defect and address of the detection element are determined by software, or the operator confirms and detects on the display. Determine device defects and addresses. The address data of the determined defective element is transferred to the camera device and stored in the nonvolatile memory inside. When used, the camera device replaces defective pixel values with normal neighboring pixel values based on the address data of the defective elements.

カメラ装置の外部または内部で欠陥素子のアドレスを判定した後、その欠陥素子のアドレスに対する置換後の検知素子のアドレスを決定してカメラ装置内の不揮発性または揮発性メモリに記憶させることができる。   After determining the address of the defective element outside or inside the camera device, the address of the sensing element after replacement with respect to the address of the defective device can be determined and stored in a nonvolatile or volatile memory in the camera device.

赤外線カメラ装置用のCCD等の撮像素子または撮像デバイスの欠陥には、製造時に検出される初期の欠陥と、主に経年劣化に起因し使用開始後に検出される欠陥とがある。製造時に検出される初期の欠陥素子を補償するだけでは、使用開始後に検出される欠陥に対処できない。従って、カメラ装置内で欠陥素子のアドレスを判定してその欠陥画素を補償または置換できるようにすることが望ましい。   The defect of an image pickup device such as a CCD for an infrared camera device or an image pickup device includes an initial defect detected at the time of manufacture and a defect detected after the start of use mainly due to deterioration over time. It is not possible to deal with defects detected after the start of use only by compensating for the initial defective elements detected at the time of manufacture. Therefore, it is desirable to determine the address of the defective element in the camera device so that the defective pixel can be compensated or replaced.

ソフトウェアに従ってマイクロコントローラまたはディジタル信号プロセッサを動作させて、カメラ装置の欠陥素子に対する置換候補の検知素子の相対的アドレス位置の優先順に従って、欠陥素子のアドレスに対する置換用の正常な検知素子のアドレスを決定できる。しかし、ソフトウェアによって、欠陥素子のアドレスに対する置換用の検知素子のアドレスを決定する方式では、カメラ装置の使用を頻繁に中断して時間をかけて欠陥画素の置換のための処理を行う必要がある。また、各検知素子について1つ1つそのアドレス、欠陥フラグおよび置換フラグの処理をソフトウェアによって大記憶容量のSRAMまたはSDRAM等のメモリを用いて行うと、そのメモリへのアクセス遅延が大きいので置換用の検知素子の決定に時間がかかる。   Operate the microcontroller or digital signal processor according to software to determine the address of the normal sensing element for replacement with respect to the address of the defective element according to the priority order of the relative address position of the sensing element of the replacement candidate with respect to the defective element of the camera device it can. However, in the method of determining the address of the detection element for replacement with respect to the address of the defective element by software, it is necessary to frequently interrupt the use of the camera device and perform processing for replacement of the defective pixel over time. . In addition, if the address, defect flag, and replacement flag are processed one by one for each detection element using a memory such as SRAM or SDRAM with a large storage capacity, the access delay to the memory is large, so replacement is performed. It takes time to determine the detection element.

発明者は、ハードウェアによって、カメラ装置の欠陥素子のアドレスに対する置換用の検知素子のアドレスを短時間で決定できるようにする必要がある、と認識した。   The inventor has recognized that it is necessary to be able to determine the address of the detection element for replacement with respect to the address of the defective element of the camera device in a short time by hardware.

本発明の目的は、ハードウェアによって、欠陥素子のアドレスに対する置換用の検知素子のアドレスを決定できるようにすることである。
本発明の別の目的は、欠陥素子のアドレスに対する置換用の検知素子のアドレスを短時間で決定できるようにすることである。
An object of the present invention is to enable hardware to determine the address of a sensing element for replacement with respect to the address of a defective element.
Another object of the present invention is to enable determination of the address of a sensing element for replacement with respect to the address of a defective element in a short time.

本発明の実施形態の一観点(特徴)によれば、撮像装置は、物体から放射される赤外線を検知する複数の検知素子を有する撮像素子と、その複数の検知素子のそれぞれのアドレスとそのそれぞれのアドレスの検知素子の欠陥情報とを格納する欠陥判定記憶装置と、その欠陥情報が格納されたアドレスに対応する置換先アドレスを格納する欠陥置換記憶装置と、そのそれぞれのアドレスを含む第1のアドレス・シーケンスを生成する第1のアドレス発生部と、その第1のアドレス・シーケンスにオフセット値を付加した第2のアドレス・シーケンスを生成する第2のアドレス発生部と、その第1のアドレス・シーケンスに従って生成されたアドレスの第1の欠陥情報と、その第2のアドレス・シーケンスに従って生成されたアドレスの第2の欠陥情報とをその欠陥判定記憶装置から読み出して、その第1の欠陥情報が欠陥を示しその第2の欠陥情報が無欠陥を示している場合に、その欠陥置換記憶装置においてその第1のアドレス・シーケンスに従って生成されたアドレスに、その第2のアドレス・シーケンスに従って生成されたアドレスを書き込む論理回路と、を具えている。   According to one aspect (feature) of an embodiment of the present invention, an imaging device includes: an imaging element having a plurality of detection elements that detect infrared rays emitted from an object; and each address of each of the plurality of detection elements. A defect determination storage device that stores the defect information of the detection element at the address of the defect, a defect replacement storage device that stores a replacement destination address corresponding to the address at which the defect information is stored, and a first including the respective addresses A first address generator for generating an address sequence; a second address generator for generating a second address sequence obtained by adding an offset value to the first address sequence; The first defect information of the address generated according to the sequence and the second defect information of the address generated according to the second address sequence. Information is read from the defect determination storage device, and when the first defect information indicates a defect and the second defect information indicates no defect, the defect replacement storage device has the first address And a logic circuit for writing the address generated according to the second address sequence to the address generated according to the sequence.

本発明の実施形態の一観点によれば、欠陥素子のアドレスに対する置換用の検知素子のアドレスを、ハードウェアによって決定でき、また短時間で決定できる。   According to one aspect of the embodiment of the present invention, the address of the detection element for replacement with respect to the address of the defective element can be determined by hardware, and can be determined in a short time.

図1は、実施形態による、カメラ装置の概略的構成の例を示している。FIG. 1 shows an example of a schematic configuration of a camera device according to the embodiment. 図2は、欠陥判定および欠陥置換部の概略的な構成の例を示している。FIG. 2 shows an example of a schematic configuration of the defect determination and defect replacement unit. 図3は、欠陥置換メモリに格納されている欠陥アドレス・マップの例を示している。FIG. 3 shows an example of a defect address map stored in the defect replacement memory. 図4Aは、着目素子に対する近隣の置換候補の検知素子の優先度の配置の例を示している。図4Bは、各フレーム番号における図4Aの各着目素子のアドレスに対する置換候補の検知素子の相対的なオフセット・アドレスまたは差分のアドレス加算値を表すオフセット・アドレス生成テーブルを示している。FIG. 4A shows an example of arrangement of priorities of neighboring replacement candidate detection elements with respect to the element of interest. FIG. 4B shows an offset / address generation table that represents the relative offset address of the detection element as a replacement candidate with respect to the address of each element of interest in FIG. 図5は、欠陥置換アドレス生成部の動作を説明するための、赤外線用の撮像装置16の検知素子のアレイにおける欠陥素子の配置の例を示している。FIG. 5 shows an example of the arrangement of the defective elements in the array of detection elements of the infrared imaging device 16 for explaining the operation of the defect replacement address generation unit. 図6は、例えばFPGA、ASICまたはLSI等で実装可能な欠陥置換アドレス生成部の概略的構成の例を示している。FIG. 6 shows an example of a schematic configuration of a defect replacement address generation unit that can be implemented by, for example, FPGA, ASIC, LSI, or the like. 図7Aは、制御部によって設定される、図6の欠陥置換アドレス生成部におけるフレーム0に対する論理構成を示している。FIG. 7A shows a logical configuration for frame 0 in the defect replacement address generation unit of FIG. 6 set by the control unit. 図7Bは、制御部によって設定される、図6の欠陥置換アドレス生成部におけるフレーム1〜8に対する論理構成を示している。FIG. 7B shows a logical configuration for frames 1 to 8 in the defect replacement address generation unit of FIG. 6 set by the control unit. 図8A〜8Dは、図7Aの論理構成の欠陥置換アドレス生成部の動作に用いられる、フレーム0に対するタイムチャートを示している。8A to 8D show time charts for frame 0, which are used in the operation of the defect replacement address generation unit having the logical configuration of FIG. 7A. 図9A〜9Gは、図7Bの論理構成の欠陥置換アドレス生成部の動作に用いられる、フレーム1に対するタイムチャートを示している。9A to 9G show time charts for the frame 1 used for the operation of the defect replacement address generation unit having the logical configuration of FIG. 7B. 図10A〜10Gは、図7Bの論理構成の欠陥置換アドレス生成部の動作に用いられる、フレーム2に対するタイムチャートを示している。FIGS. 10A to 10G show time charts for the frame 2 used for the operation of the defect replacement address generation unit having the logic configuration of FIG. 7B. 図11A〜11Gは、図7Bの論理構成の欠陥置換アドレス生成部の動作に用いられる、フレーム3に対するタイムチャートを示している。11A to 11G show time charts for the frame 3 used for the operation of the defect replacement address generation unit having the logical configuration of FIG. 7B. 図12A〜12Gは、図7Bの論理構成の欠陥置換アドレス生成部の動作に用いられる、フレーム4に対するタイムチャートを示している。12A to 12G show time charts for the frame 4 used for the operation of the defect replacement address generation unit having the logical configuration of FIG. 7B. 図13A〜13Gは、図7Bの論理構成の欠陥置換アドレス生成部の動作に用いられる、フレーム5に対するタイムチャートを示している。13A to 13G show time charts for the frame 5 used in the operation of the defect replacement address generation unit having the logical configuration of FIG. 7B.

発明の目的および利点は、請求の範囲に具体的に記載された構成要素および組み合わせによって実現され達成される。
前述の一般的な説明および以下の詳細な説明は、典型例および説明のためのものであって、本発明を限定するためのものではない。
The objects and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the appended claims.
The foregoing general description and the following detailed description are exemplary and explanatory only and are not intended to limit the invention.

本発明の非限定的な実施形態を、図面を参照して説明する。図面において、同様のコンポーネントおよび素子には同じ参照番号が付されている。   Non-limiting embodiments of the present invention will be described with reference to the drawings. In the drawings, similar components and elements are provided with the same reference numerals.

図1は、実施形態による、カメラ装置または撮像装置10の概略的構成の例を示している。
カメラ装置10は、レンズ・ユニット12、赤外線フィルタ14、赤外線用の撮像器または赤外線検出器(IRID)16、アナログ信号増幅器(AMP)18、およびアナログ−ディジタル変換器(A/D)20を含んでいる。カメラ装置10は、さらに、制御部22、メモリ24、レベル補正器28、欠陥判定および欠陥置換部30およびフォーマット化画像データ生成器70を含んでいる。
FIG. 1 shows an example of a schematic configuration of a camera device or an imaging device 10 according to the embodiment.
The camera device 10 includes a lens unit 12, an infrared filter 14, an infrared imager or infrared detector (IRID) 16, an analog signal amplifier (AMP) 18, and an analog-digital converter (A / D) 20. It is out. The camera device 10 further includes a control unit 22, a memory 24, a level corrector 28, a defect determination and defect replacement unit 30, and a formatted image data generator 70.

制御部22は、メモリ24、検知素子レベル補正器28、欠陥判定および欠陥置換部30、およびフォーマット化画像データ生成器70等を制御する。レベル補正器28、欠陥判定および欠陥置換部30、およびフォーマット化画像データ生成器70の一部は、メモリ25に格納されたプログラムに従って動作するディジタル信号プロセッサ(DSP)上に実装されてもよい。   The control unit 22 controls the memory 24, the sensing element level corrector 28, the defect determination and defect replacement unit 30, the formatted image data generator 70, and the like. The level corrector 28, the defect determination and defect replacement unit 30, and a part of the formatted image data generator 70 may be implemented on a digital signal processor (DSP) that operates according to a program stored in the memory 25.

赤外線用の撮像器または赤外線検出器16は、例えばマトリックス状に配置された赤外線用の検知素子のアレイを含んでいる。赤外線用の撮像素子またはデバイスは、検出対象の波長帯等に応じて異なる構造および材料を用いることができる。その材料は、例えば、低温で使用される温度分解能の高い水銀カドミウムテルル(HgCdTe)、または常温で使用されるボロメータであってもよい。赤外線用の撮像器16はコストが高い。従って、撮像器16の検知素子中に幾つかの欠陥があっても、その欠陥素子によって生成される欠陥画素値を他の正常な検知素子によって生成される画素値で補償または置換して、その撮像器16を使用することが望ましい。   The infrared imager or infrared detector 16 includes, for example, an array of infrared detection elements arranged in a matrix. An infrared imaging element or device can use different structures and materials depending on the wavelength band to be detected. The material may be, for example, mercury cadmium tellurium (HgCdTe) with high temperature resolution used at a low temperature, or a bolometer used at room temperature. The infrared imager 16 is expensive. Therefore, even if there are some defects in the sensing element of the imager 16, the defective pixel value generated by the defective element is compensated or replaced with the pixel value generated by another normal sensing element, It is desirable to use the imager 16.

しかし、ソフトウェアによって、欠陥素子のアドレスに対する置換用の正常な撮像素子のアドレスを決定する方式では、カメラ装置の使用を頻繁に中断して時間をかけて欠陥画素置換のための処理を行う必要がある。また、撮像素子またはデバイスのアドレスおよびフラグの処理に、ソフトウェアによって大記憶容量メモリを用いて一素子ずつ処理すると、そのメモリはアクセス遅延が大きいので、置換用の検知素子の決定までに長い時間を要する。   However, in the method of determining the address of the normal image sensor for replacement with respect to the address of the defective element by software, it is necessary to frequently interrupt the use of the camera apparatus and perform processing for defective pixel replacement over time. is there. In addition, when the image sensor or device address and flag are processed one element at a time using software with a large storage capacity memory, the memory has a large access delay, so it takes a long time to determine the detection element for replacement. Cost.

図2は、欠陥判定および欠陥置換部30の概略的な構成の例を示している。   FIG. 2 shows an example of a schematic configuration of the defect determination and defect replacement unit 30.

欠陥判定および欠陥置換部30は、欠陥判定部32、欠陥置換アドレス生成部34、および画素置換制御部36を含んでいる。欠陥判定および欠陥置換部30は、メモリ24の、欠陥判定用メモリ42、欠陥置換メモリ44、およびフレーム画像メモリ46の各メモリ領域を使用する。メモリ24は、例えば、大容量のSRAMまたはSDRAM、等であってもよい。   The defect determination and defect replacement unit 30 includes a defect determination unit 32, a defect replacement address generation unit 34, and a pixel replacement control unit 36. The defect determination and defect replacement unit 30 uses the memory areas of the memory 24 such as the defect determination memory 42, the defect replacement memory 44, and the frame image memory 46. The memory 24 may be, for example, a large capacity SRAM or SDRAM.

カメラ装置10の出荷時および使用開始後に、操作者またはユーザは、最初に、カメラ装置10の赤外線用の撮像器16によって高温と低温または明と暗の2種類の基準画像プレートを撮像する。撮像器16は、アナログ増幅器22を介してアナログ−ディジタル変換器20にその高温と低温または明と暗を表す各検知素子の2種類のアナログ信号を受け取る。次いで、アナログ−ディジタル変換器20は、それぞれのアナログ信号をディジタル・データに変換して基準画像データとしてそれぞれメモリ24の基準画像メモリ46の領域に格納する。   At the time of shipment of the camera apparatus 10 and after the start of use, the operator or user first images two types of reference image plates of high temperature and low temperature or light and dark by the infrared imager 16 of the camera apparatus 10. The imager 16 receives two types of analog signals of each sensing element representing the high temperature and low temperature or light and dark through the analog amplifier 22 to the analog-to-digital converter 20. Next, the analog-to-digital converter 20 converts each analog signal into digital data and stores it as reference image data in the area of the reference image memory 46 of the memory 24.

レベル補正器28は、基準画像メモリ46の領域中の基準の高低温または明暗を表すその基準画像データを処理して、検知素子間の信号レベルのバラツキを補正するための補正係数を生成して、メモリ24の補正係数メモリ26の領域に格納する。そのために、レベル補正部28は、基準画像メモリ46の領域中の各検知素子の高温と低温または明と暗のレベル差を決定して欠陥判定用メモリ42に格納し、そのレベル差に応じて各検知素子ごとの補正係数を決定する。その補正係数の値は、各検知素子の高温と低温または明と暗の値に補正係数を乗算した補正後のレベル差が標準化されたレベル差になるような値であってもよく、例えば、各検知素子の高温と低温または明と暗のレベル差の逆数であってもよい。カメラ装置10の使用時に、赤外線用の撮像器16によって撮像されアナログ−ディジタル変換器26によって生成された画像データの各画素データに、対応するアドレス位置の対応する補正係数を乗算することによって、その画像データを補正することができる。   The level corrector 28 processes the reference image data representing the reference high / low temperature or light / dark in the region of the reference image memory 46 to generate a correction coefficient for correcting the signal level variation between the sensing elements. And stored in the area of the correction coefficient memory 26 of the memory 24. For this purpose, the level correction unit 28 determines the high / low temperature or light / dark level difference of each detection element in the region of the reference image memory 46, stores it in the defect determination memory 42, and according to the level difference. A correction coefficient for each sensing element is determined. The value of the correction coefficient may be a value such that the level difference after correction obtained by multiplying the high temperature and low temperature or light and dark values of each detection element by the correction coefficient becomes a standardized level difference. It may be the reciprocal of the difference between the high and low temperatures or the light and dark levels of each sensing element. When the camera device 10 is used, each pixel data of the image data imaged by the infrared imager 16 and generated by the analog-digital converter 26 is multiplied by a corresponding correction coefficient at the corresponding address position. Image data can be corrected.

欠陥判定部32は、例えば、ディジタル信号プロセッサ(DSP)上に実装することができる。欠陥判定部32は、欠陥判定用メモリ42中の各検知素子の高温と低温または明と暗のレベル差を欠陥判定用メモリ42中の許容範囲を表すデータと比較して、画像データの各画素データについて欠陥かまたは正常かを判定する。欠陥判定部32は、n行m列の検知素子または画素のそれぞれのアドレス位置に、対応する欠陥フラグ(0/1)を欠陥判定用メモリ42に格納する。例えば、欠陥フラグ0は欠陥が無く正常であることを表し、欠陥フラグ1は欠陥を表す。   The defect determination unit 32 can be mounted on a digital signal processor (DSP), for example. The defect determination unit 32 compares the level difference between the high and low temperatures or the brightness and darkness of each detection element in the defect determination memory 42 with data representing the allowable range in the defect determination memory 42, and determines each pixel of the image data. Determine if the data is defective or normal. The defect determination unit 32 stores a corresponding defect flag (0/1) in the defect determination memory 42 at each address position of the n-row / m-column detection element or pixel. For example, the defect flag 0 represents that there is no defect and is normal, and the defect flag 1 represents a defect.

検知素子の欠陥の有無を判定するために、欠陥判定部32は、メモリ24の基準画像メモリ25における各検知素子の高温と低温または明と暗のレベル差が、メモリ24の欠陥判定用メモリ4に格納されている許容範囲内にあるかどうかを判定してもよい。或る検知素子のレベル差が許容範囲より大きいか小さい場合に、欠陥判定部32は、その検知素子を欠陥と判定して、メモリ25の欠陥置換メモリ44のその検知素子のアドレス位置の欠陥フラグに値1(欠陥有)を書き込む。その許容範囲は、例えば、全検知素子に対する高温と低温または明と暗のレベル差の平均値と上側許容値(正)の和で表される上側の閾値と、その平均値と下側許容値(負)の和で表される下側の閾値とによって、規定されるものであってもよい。   In order to determine the presence or absence of a defect in the detection element, the defect determination unit 32 determines whether the difference between the high and low temperatures or the light and dark levels of each detection element in the reference image memory 25 of the memory 24 is the defect determination memory 4 It may be determined whether or not it is within the allowable range stored in. When the level difference of a certain detection element is larger or smaller than the allowable range, the defect determination unit 32 determines that the detection element is defective, and the defect flag at the address position of the detection element in the defect replacement memory 44 of the memory 25. A value of 1 (has a defect) is written in The allowable range is, for example, the upper threshold value expressed by the sum of the average value of the high and low temperature or light and dark level differences for all the sensing elements and the upper allowable value (positive), and the average value and the lower allowable value. It may be defined by a lower threshold value represented by a (negative) sum.

欠陥素子の検出は、これに限定されることなく、例えば、特開平9−163228号公報および特開平10−341375号公報、等に開示された公知の方法によって行うことができる。ここで、これらの文献を参照により組み込む。   The detection of the defective element is not limited to this, and can be performed by a known method disclosed in, for example, JP-A-9-163228 and JP-A-10-341375. These documents are hereby incorporated by reference.

次いで、欠陥置換アドレス生成部34は、その欠陥素子のアドレスと置換後の検知素子のアドレスを決定する。欠陥置換アドレス生成部34は、例えば、FPGA(Field Programmable Gate Array)、ASIC(Application Specific Integrated Circuit)、またはLSI(Large Integrated Circuit)のような回路上にハードウェア形態で実装することができる。欠陥置換アドレス生成部34は、欠陥置換メモリ44中の欠陥素子のアドレスに関する情報に従って、置換候補の検知素子のアドレスを生成して、欠陥素子のアドレスから置換後の正常な検知素子のアドレスへのマップ(写像)を表す情報を欠陥置換メモリ44に格納する。   Next, the defect replacement address generation unit 34 determines the address of the defective element and the address of the detection element after replacement. The defect replacement address generation unit 34 can be mounted in a hardware form on a circuit such as an FPGA (Field Programmable Gate Array), an ASIC (Application Specific Integrated Circuit), or an LSI (Large Integrated Circuit). The defect replacement address generation unit 34 generates an address of the detection element as a replacement candidate in accordance with the information regarding the address of the defective element in the defect replacement memory 44, and converts the defective element address to the address of the normal detection element after replacement. Information representing the map (mapping) is stored in the defect replacement memory 44.

その後、カメラ装置10の使用開始後、画素置換制御部36は、欠陥置換メモリ44内の置換アドレス・マップに従って、レベル補正部28からのレベル補正後の画像データに対して、欠陥素子の画素データを置換用の検知素子の画素データで置換するよう処理する。画素置換制御部36は、その処理した画素データの画像フレームを組み立ててフレーム画像メモリ46に格納する。   Thereafter, after the use of the camera device 10 is started, the pixel replacement control unit 36 performs pixel data of defective elements on the image data after level correction from the level correction unit 28 according to the replacement address map in the defect replacement memory 44. Is replaced with the pixel data of the detecting element for replacement. The pixel replacement control unit 36 assembles an image frame of the processed pixel data and stores it in the frame image memory 46.

フレーム画像メモリ46は、画像フレームを画像フォーマット生成部70へ供給する。次いで、フォーマット化画像生成部70は、その置換処理後のフレームの画像データをフォーマット化して、フォーマット化された画像データを生成する。   The frame image memory 46 supplies the image frame to the image format generation unit 70. Next, the formatted image generation unit 70 formats the image data of the frame after the replacement process, and generates formatted image data.

フォーマット化画像データ生成器70からの出力画像データは、例えば、入室退出者の監視のために記録装置、モニタ装置、警報装置(図示せず)等に供給される。   The output image data from the formatted image data generator 70 is supplied to, for example, a recording device, a monitor device, an alarm device (not shown) or the like for monitoring persons who have entered and exited the room.

図3は、欠陥置換メモリ44に格納されている欠陥アドレス・マップの例を示している。
図3の欠陥アドレス・マップは、n行m列の検知素子のアレイにおいて欠陥素子のアドレスを置換用または置換先の検知素子のアドレスにマッピングするためのテーブルである。そのマッピングによって、欠陥素子の画素データが、置換用または置換先の検知素子の画素データで置換される。
FIG. 3 shows an example of a defect address map stored in the defect replacement memory 44.
The defect address map in FIG. 3 is a table for mapping the address of the defective element to the address of the detection element for replacement or replacement in the array of detection elements of n rows and m columns. By the mapping, the pixel data of the defective element is replaced with the pixel data of the replacement or replacement destination detection element.

図3の欠陥アドレス・マップは、n行m列の検知素子のアレイに対して、置換されるまたは置換前の検知素子のアドレス(行、列)、欠陥の有無を表す欠陥フラグ(0/1)、置換完了を表す処理完了フラグ(0/1)、置換後または置換先の検知素子のアドレス(行、列)を含んでいる。図3において、アドレス(1,1)の欠陥フラグ1の検知素子の画素データについて、アドレス(0,1)の検知素子の画素データで置換され、その置換処理の完了が完了フラグ1によって表される場合の例が、示されている。   The defect address map shown in FIG. 3 shows the detection element address (row, column) to be replaced or not replaced, and a defect flag (0/1) indicating the presence / absence of a defect for an array of n-row / m-column detection elements. ), A processing completion flag (0/1) indicating completion of replacement, and the address (row, column) of the detection element after replacement or replacement. In FIG. 3, the pixel data of the detection element of the defect flag 1 at the address (1, 1) is replaced with the pixel data of the detection element at the address (0, 1), and the completion of the replacement process is represented by the completion flag 1. An example is shown.

図4Aは、着目素子Xに対する近隣の置換候補の検知素子の優先度1〜8の配置の例を示している。ここで、優先度の数値が小さいほど、優先度が高いものとする。
図4Bは、各フレーム番号0〜8における図4Aの各着目素子Xのアドレス(0,0)に対する置換候補の検知素子の相対的なオフセット・アドレスまたは差分のアドレス加算値を表すオフセット・アドレス生成テーブルを示している。
FIG. 4A shows an example of the arrangement of the priorities 1 to 8 of the neighboring replacement candidate detection elements with respect to the element of interest X. Here, it is assumed that the smaller the numerical value of the priority, the higher the priority.
FIG. 4B shows an offset address generation that represents the relative offset address of the detection element that is a replacement candidate with respect to the address (0, 0) of each element of interest X in FIG. Shows the table.

図4Aにおいて、第i行、第j列すなわちアドレス(i,j)の着目素子Xが欠陥でなく正常であった場合は、当然、検知素子Xの画素は置換されない。検知素子Xの画素自体は、最高の優先度0の置換候補の検知素子と見ることもできる。しかし、第i行、第j列すなわちアドレス(i,j)の着目素子Xが欠陥であった場合は、同じ行で1列前のアドレス(i,j−1)の検知素子が優先度1の置換候補の検知素子となる。アドレス(i,j−1)の検知素子が正常であった場合は、アドレス(i,j)の検知素子Xの画素はアドレス(i,j−1)の検知素子の画素に置換される。   In FIG. 4A, when the element of interest X in the i-th row and j-th column, that is, the address (i, j) is normal and not defective, the pixel of the sensing element X is naturally not replaced. The pixel itself of the detection element X can also be regarded as a replacement candidate detection element with the highest priority 0. However, if the target element X in the i-th row and j-th column, that is, the address (i, j) is defective, the detection element at the address (i, j−1) in the same row and the previous column is 1 in priority. This is a detection element for replacement candidates. When the detection element at the address (i, j-1) is normal, the pixel of the detection element X at the address (i, j) is replaced with the pixel of the detection element at the address (i, j-1).

しかし、アドレス(i,j−1)の検知素子も欠陥であった場合、同じ行で1列後のアドレス(i,j+1)の検知素子が優先度2の置換候補の検知素子となる。アドレス(i,j+1)の検知素子が正常であった場合は、アドレス(i,j)の検知素子Xの画素はアドレス(i,j+1)の検知素子の画素に置換される。   However, when the detection element at the address (i, j−1) is also defective, the detection element at the address (i, j + 1) after one column in the same row becomes the detection element for the replacement candidate of priority 2. When the sensing element at the address (i, j + 1) is normal, the pixel of the sensing element X at the address (i, j) is replaced with the pixel of the sensing element at the address (i, j + 1).

アドレス(i,j+1)の検知素子も欠陥であった場合、検知素子Xの1行前で検知素子Xと同じ列のアドレス(i−1,j)の検知素子が優先度3の検知素子となる。アドレス(i−1,j)の検知素子が正常であった場合は、アドレス(i,j)の検知素子Xの画素はアドレス(i−1,j)の検知素子の画素に置換される。   If the sensing element at address (i, j + 1) is also defective, the sensing element at address (i-1, j) in the same column as sensing element X one row before sensing element X is a sensing element with priority 3. Become. When the detection element at the address (i-1, j) is normal, the pixel of the detection element X at the address (i, j) is replaced with the pixel of the detection element at the address (i-1, j).

アドレス(i−1,j)の検知素子も欠陥であった場合、検知素子Xの1行後で検知素子Xと同じ列のアドレス(i+1,j)の検知素子が優先度4の検知素子となる。アドレス(i+1,j)の検知素子が正常であった場合は、アドレス(i,j)の検知素子Xの画素はアドレス(i+1,j)の検知素子の画素に置換される。   When the detection element at the address (i−1, j) is also defective, the detection element at the address (i + 1, j) in the same column as the detection element X after the first row of the detection element X is a detection element with priority 4 Become. When the sensing element at the address (i + 1, j) is normal, the pixel of the sensing element X at the address (i, j) is replaced with the pixel of the sensing element at the address (i + 1, j).

アドレス(i+1,j)の検知素子も欠陥であった場合、検知素子Xと同じ行で2列前のアドレス(i,j−2)の検知素子が優先度5の置換候補の検知素子となる。アドレス(i,j−2)の検知素子が正常であった場合は、アドレス(i,j)の検知素子Xの画素はアドレス(i,j−2)の検知素子の画素に置換される。   When the detection element at the address (i + 1, j) is also defective, the detection element at the address (i, j-2) two columns before in the same row as the detection element X becomes the detection element of the replacement candidate with priority 5. . When the detection element at the address (i, j-2) is normal, the pixel of the detection element X at the address (i, j) is replaced with the pixel of the detection element at the address (i, j-2).

アドレス(i,j−2)の検知素子も欠陥であった場合、検知素子Xと同じ行で2列後のアドレス(i,j+2)の検知素子が優先度6の置換候補の検知素子となる。アドレス(i,j+2)の検知素子が正常であった場合は、アドレス(i,j)の検知素子Xの画素はアドレス(i,j+2)の検知素子の画素に置換される。   When the detection element at the address (i, j-2) is also defective, the detection element at the address (i, j + 2) after two columns in the same row as the detection element X becomes a detection candidate for the priority 6 replacement candidate. . When the detection element at the address (i, j + 2) is normal, the pixel of the detection element X at the address (i, j) is replaced with the pixel of the detection element at the address (i, j + 2).

アドレス(i,j+2)の検知素子も欠陥であった場合、検知素子Xの2行前で検知素子Xと同じ列のアドレス(i−2,j)の検知素子が優先度7の検知素子となる。アドレス(i−2,j)の検知素子が正常であった場合は、アドレス(i,j)の検知素子Xの画素はアドレス(i−2,j)の検知素子の画素に置換される。   If the detection element at the address (i, j + 2) is also defective, the detection element at the address (i-2, j) in the same column as the detection element X two rows before the detection element X is a detection element with priority 7. Become. When the detection element at the address (i-2, j) is normal, the pixel of the detection element X at the address (i, j) is replaced with the pixel of the detection element at the address (i-2, j).

アドレス(i−1,j)の検知素子も欠陥であった場合、検知素子Xの2行後で検知素子Xと同じ列のアドレス(i+2,j)の検知素子が優先度8の検知素子となる。アドレス(i+2,j)の検知素子が正常であった場合は、アドレス(i,j)の検知素子Xの画素はアドレス(i+2,j)の検知素子の画素に置換される。   If the detection element at the address (i−1, j) is also defective, the detection element at the address (i + 2, j) in the same column as the detection element X after the second row of the detection element X is a detection element with priority 8 Become. When the sensing element at the address (i + 2, j) is normal, the pixel of the sensing element X at the address (i, j) is replaced with the pixel of the sensing element at the address (i + 2, j).

アドレス(i+2,j)の検知素子も欠陥であった場合、ここでは優先度8より低い優先度は設定されていないので、アドレス(i,j)の検知素子Xの画素は置換されないようにしてもよい。代替形態として、優先度8より低い優先度の別の検知素子を設定して、それを置換候補として同様に処理しもよい。   If the detection element at the address (i + 2, j) is also defective, since the priority lower than the priority 8 is not set here, the pixel of the detection element X at the address (i, j) is not replaced. Also good. As an alternative, another detection element with a priority lower than priority 8 may be set and processed as a replacement candidate in the same manner.

図4Bのオフセット・アドレス生成テーブルにおいて、フレーム0に対して、オフセット・アドレスは(±0,±0)である。従って、欠陥置換アドレス生成部34は、アドレス(i,j)=(i±0,j±0)の着目素子Xについて正常か欠陥かを確認する処理を行う。   In the offset address generation table of FIG. 4B, for frame 0, the offset address is (± 0, ± 0). Therefore, the defect replacement address generation unit 34 performs a process of confirming whether the target element X at the address (i, j) = (i ± 0, j ± 0) is normal or defective.

フレーム1に対して、オフセット・アドレスは(±0,−1)である。従って、欠陥置換アドレス生成部34は、アドレス(i,j)の着目素子Xの1列前のアドレス(i,j−1)について正常か欠陥かを確認する処理を行う。   For frame 1, the offset address is (± 0, −1). Accordingly, the defect replacement address generation unit 34 performs processing for confirming whether the address (i, j−1) one column before the target element X of the address (i, j) is normal or defective.

フレーム2に対して、オフセット・アドレスは(±0,+1)である。従って、欠陥置換アドレス生成部34は、アドレス(i,j)の着目素子Xの1列後のアドレス(i,j+1)について正常か欠陥かを確認する処理を行う。   For frame 2, the offset address is (± 0, +1). Therefore, the defect replacement address generation unit 34 performs a process of confirming whether the address (i, j + 1) after one column of the target element X of the address (i, j) is normal or defective.

フレーム3に対して、オフセット・アドレスは(−1,±0)である。従って、欠陥置換アドレス生成部34は、アドレス(i,j)の着目素子Xの1行前のアドレス(i−1,j)について正常か欠陥かを確認する処理を行う。   For frame 3, the offset address is (-1, ± 0). Accordingly, the defect replacement address generation unit 34 performs processing for confirming whether the address (i−1, j) one row before the target element X of the address (i, j) is normal or defective.

フレーム4に対して、オフセット・アドレスは(+1,±0)である。従って、欠陥置換アドレス生成部34は、アドレス(i,j)の着目素子Xの1行後のアドレス(i+1,j)について正常か欠陥かを確認する処理を行う。   For frame 4, the offset address is (+1, ± 0). Therefore, the defect replacement address generation unit 34 performs processing for confirming whether the address (i + 1, j) after one row of the target element X of the address (i, j) is normal or defective.

同様に、フレーム5に対して、オフセット・アドレスは(±0,−2)である。フレーム6に対して、オフセット・アドレスは(±0,+2)である。フレーム7に対して、オフセット・アドレスは(−2,±0)である。フレーム8に対して、オフセット・アドレスは(+2,±0)である。欠陥置換アドレス生成部34は、アドレス(i,j)の着目素子Xに対してそれぞれのオフセット・アドレス(Δi,Δj)を加算したアドレス(i+Δi,j+Δj)について正常か欠陥かを確認する処理を行う。   Similarly, for frame 5, the offset address is (± 0, -2). For frame 6, the offset address is (± 0, +2). For frame 7, the offset address is (−2, ± 0). For frame 8, the offset address is (+2, ± 0). The defect replacement address generation unit 34 performs processing for confirming whether the address (i + Δi, j + Δj) obtained by adding the respective offset addresses (Δi, Δj) to the target element X of the address (i, j) is normal or defective. Do.

図5は、欠陥置換アドレス生成部34の動作を説明するための、赤外線用の撮像器16の検知素子のアレイにおける欠陥素子の配置の例を示している。この場合、赤外線用の撮像器16が5×5のマトリックスの検知素子のアレイを含み、暗い陰影で示されたアドレス(0,0)、(0,1)、(0,2)、(0,3)、(3,4)、(4,3)および(4,4)の検知素子が欠陥であったと仮定する。この場合、図3のアドレス・マップにおいて、アドレス(0,0)、(0,1)、(0,2)、(0,3)、(3,4)、(4,3)および(4,4)の欠陥フラグに値1が設定される。   FIG. 5 shows an example of the arrangement of defective elements in the array of detection elements of the infrared imager 16 for explaining the operation of the defect replacement address generation unit 34. In this case, the infrared imager 16 includes an array of 5 × 5 matrix detector elements, and addresses (0,0), (0,1), (0,2), (0) indicated by dark shadows. , 3), (3,4), (4, 3) and (4, 4) are assumed to be defective. In this case, in the address map of FIG. 3, the addresses (0,0), (0,1), (0,2), (0,3), (3,4), (4,3) and (4 , 4) is set to a value of 1 in the defect flag.

図6は、例えばFPGA、ASICまたはLSI等で実装可能な欠陥置換アドレス生成部34の概略的構成の例を示している。   FIG. 6 shows an example of a schematic configuration of the defect replacement address generation unit 34 that can be implemented by, for example, FPGA, ASIC, LSI, or the like.

欠陥置換アドレス生成部34は、フレーム・カウンタ302、加算器306、アドレス・カウンタ308、および欠陥フラグ・メモリまたはレジスタ312(、442)を含んでいる。欠陥置換アドレス生成部34は、欠陥置換メモリ44中の、オフセット・アドレス生成テーブル404、欠陥フラグ・メモリ442、処理完了フラグ・メモリ444、および置換アドレス・メモリ446の各領域を使用する。欠陥フラグ・メモリ442、処理完了フラグ・メモリ444および置換アドレス・メモリ446の各領域は、図3のアドレス・マップ中のそれぞれ対応する部分の情報を格納する。欠陥置換アドレス生成部34は、欠陥フラグ・メモリ442から欠陥フラグを読み出しながらその内部の欠陥フラグ・メモリまたはレジスタ312にコピーして保持する。代替形態として、欠陥フラグ・メモリ312に加えて、欠陥フラグ・メモリ442も、欠陥置換メモリ44のアドレス・マップから、各アドレスに対する欠陥フラグを読み込んで格納する欠陥置換アドレス生成部34内のレジスタであってもよい。   The defect replacement address generator 34 includes a frame counter 302, an adder 306, an address counter 308, and a defect flag memory or register 312 (, 442). The defect replacement address generation unit 34 uses the areas of the offset address generation table 404, the defect flag memory 442, the processing completion flag memory 444, and the replacement address memory 446 in the defect replacement memory 44. Each area of the defect flag memory 442, the processing completion flag memory 444, and the replacement address memory 446 stores information of a corresponding portion in the address map of FIG. The defect replacement address generation unit 34 reads the defect flag from the defect flag memory 442 and copies and stores it in the internal defect flag memory or register 312. As an alternative, in addition to the defect flag memory 312, the defect flag memory 442 is a register in the defect replacement address generation unit 34 that reads and stores a defect flag for each address from the address map of the defect replacement memory 44. There may be.

欠陥置換アドレス生成部34は、制御部22からの制御信号に従って動作を開始する。フレーム・カウンタ302は、制御部22からの起動信号に従って動作を開始し、それぞれの優先度に対応する置換処理のためのフレーム番号0〜8を順次生成する。欠陥置換メモリ44中のオフセット・アドレス生成テーブル404は、現在のフレーム番号に対応するオフセット・アドレスまたは差のアドレスを加算器306に供給する。アドレス・カウンタ308はアドレス発生器として機能する。アドレス・カウンタ308は、検知素子アレイの全てのアドレス(0,0)〜(n,m)のシーケンス(一連の連続的な順次のアドレス)を生成する。加算器306は別のアドレス発生器として機能する。加算器306は、アドレス・カウンタ308またはその出力アドレス・シーケンスに同期して、アドレス・カウンタ308の各出力アドレスに、現在のフレーム番号に対するオフセット・アドレスを加算して、その和のアドレスのシーケンス(一連の連続的な順次のアドレス)を生成する。   The defect replacement address generation unit 34 starts an operation according to a control signal from the control unit 22. The frame counter 302 starts its operation in accordance with the activation signal from the control unit 22 and sequentially generates frame numbers 0 to 8 for replacement processing corresponding to the respective priorities. The offset address generation table 404 in the defect replacement memory 44 supplies an adder 306 with an offset address or a difference address corresponding to the current frame number. The address counter 308 functions as an address generator. The address counter 308 generates a sequence (a series of consecutive sequential addresses) of all the addresses (0, 0) to (n, m) of the sensing element array. The adder 306 functions as another address generator. The adder 306 adds the offset address for the current frame number to each output address of the address counter 308 in synchronization with the address counter 308 or its output address sequence, and the sequence of the sum addresses ( A series of consecutive sequential addresses).

欠陥置換アドレス生成部34は、さらに、ノット回路320、334、337および338、アンド回路342、オア回路346、フレーム判定部352、置換数判定部354、およびオア回路360を含んでいる。欠陥置換アドレス生成部34において、制御部22からの制御信号に従って、スイッチSW1、SW2a、SW2b、SW3によって、その論理構成(configuration)が切り換えられる。欠陥置換アドレス生成部34の同様の機能を、別の論理構成で実現できることは明らかである。   The defect replacement address generation unit 34 further includes knot circuits 320, 334, 337 and 338, an AND circuit 342, an OR circuit 346, a frame determination unit 352, a replacement number determination unit 354, and an OR circuit 360. In the defect replacement address generation unit 34, the logical configuration is switched by the switches SW 1, SW 2 a, SW 2 b, SW 3 in accordance with the control signal from the control unit 22. It is obvious that the same function of the defect replacement address generation unit 34 can be realized with another logical configuration.

図7Aは、制御部22によって設定される、図6の欠陥置換アドレス生成部34におけるフレーム0に対する論理構成を示している。この場合、図6の要素334、336、337、338、342および346は使用されない。
図8A〜8Dは、図7Aの論理構成の欠陥置換アドレス生成部34の動作に用いられる、フレーム0に対するタイムチャートを示している。
FIG. 7A shows a logical configuration for frame 0 in the defect replacement address generation unit 34 of FIG. 6 set by the control unit 22. In this case, elements 334, 336, 337, 338, 342 and 346 of FIG. 6 are not used.
8A to 8D show time charts for the frame 0 used for the operation of the defect replacement address generation unit 34 having the logical configuration of FIG. 7A.

図7Aを参照すると、欠陥置換アドレス生成部34は、図8A〜8Dのタイムチャートに従って、各アドレスの検知素子が欠陥であるかどうか、即ちその各アドレスの検知素子の画素を置換候補の別の検知素子の画素で置換する必要があるかどうかを判定する。或る検知素子が正常な素子で、置換を必要としない場合は、その検知素子に対して置換のための処理の完了を表す値1を、処理完了フラグ・メモリ444中の処理完了フラグに設定する。一方、或る検知素子が欠陥素子で、置換を必要としない場合は、その検知素子に対して置換のための処理の未完了を表す値0を、処理完了フラグ・メモリ444中の処理完了フラグに設定する。   Referring to FIG. 7A, according to the time charts of FIGS. 8A to 8D, the defect replacement address generation unit 34 determines whether the detection element at each address is defective, that is, the pixel of the detection element at each address is replaced with another replacement candidate. It is determined whether it is necessary to replace with a pixel of the sensing element. When a certain detection element is a normal element and does not require replacement, a value 1 indicating the completion of the replacement process for the detection element is set in the processing completion flag in the processing completion flag memory 444. To do. On the other hand, when a certain detection element is a defective element and does not require replacement, a value 0 indicating that the replacement process has not been completed for that detection element is set to a process completion flag in the process completion flag memory 444. Set to.

その置換処理のために、制御部22は、フレーム0に対して、欠陥置換メモリ44中の欠陥フラグ・メモリ442の領域から、アドレスのシーケンスに対する検知素子の一連の欠陥フラグまたは情報(0/1)を順次読み込み、欠陥フラグ・メモリ312に格納する。制御部22は、さらに、アドレス・シーケンスに対するその一連の欠陥フラグを内部の欠陥フラグ・メモリ(442)に格納してもよい。   For the replacement process, the control unit 22 for the frame 0, from the defect flag memory 442 area in the defect replacement memory 44, detects a series of defect flags or information (0/1) of the sensing element for the sequence of addresses. ) Are sequentially read and stored in the defect flag memory 312. The controller 22 may further store the series of defect flags for the address sequence in an internal defect flag memory (442).

アドレス・カウンタ308は、図8Aに示されているように、検知素子のアレイの(行,列)のアドレス(0,0)、(0,1)、(0,2)、...(n,m)のシーケンスを順次生成する。アドレス・カウンタ308は、欠陥フラグ・メモリ442、処理完了フラグ・メモリ444、および置換アドレス・メモリ446の各アドレス入力にそのアドレスのシーケンスを順次供給する。   The address counter 308, as shown in FIG. 8A, includes the (row, column) address (0,0), (0,1), (0,2),. . . A sequence of (n, m) is sequentially generated. The address counter 308 sequentially supplies the sequence of addresses to each address input of the defect flag memory 442, the process completion flag memory 444, and the replacement address memory 446.

加算器306は、アドレス・カウンタ308からのアドレス(0,0)〜(n,m)のシーケンスに対して、オフセット・アドレス生成テーブル404のフレーム1(図4B)に対する置換候補アドレスのオフセット・アドレス(±0,±0)を加算する。従って、加算器306は、アドレス・カウンタ308からのものと同じアドレス(0,0)〜(n,m)のシーケンスを置換候補の検知素子のアドレスとして順次生成する。加算器306は、生成したアドレスを、欠陥フラグ・メモリ312のアドレス入力、および置換アドレス・メモリ446のデータ入力に供給する。   For the sequence of addresses (0, 0) to (n, m) from the address counter 308, the adder 306 performs the offset address of the replacement candidate address for frame 1 (FIG. 4B) of the offset address generation table 404. Add (± 0, ± 0). Accordingly, the adder 306 sequentially generates the same address (0, 0) to (n, m) sequence as that from the address counter 308 as the address of the detection element as the replacement candidate. The adder 306 supplies the generated address to the address input of the defect flag memory 312 and the data input of the replacement address memory 446.

欠陥フラグ・メモリ442は、その生成され指定されたアドレスのシーケンスに対する検知素子の一連の欠陥フラグ(0/1)をノット回路320の入力に供給する。欠陥フラグは、欠陥を有する検知素子に対して値1を、欠陥の無い正常な検知素子に対して値0を有する。従って、欠陥フラグ・メモリ442は、図5の検知素子のアレイについて、図8Bに示されているように、アドレス(0,0)、(0,1)、(0,2)、(0,3)、(3,4)、(4,3)および(4,4)に対して値1を欠陥フラグとしてノット回路320の入力に供給する。欠陥フラグ・メモリ442は、その他のアドレス(0,4)〜(3,3)、(4,0)〜(4,2)に対して正常を表す値0を欠陥フラグとしてノット回路320の入力に供給する。   The defect flag memory 442 provides the input of the knot circuit 320 with a series of sense element defect flags (0/1) for the generated and specified sequence of addresses. The defect flag has a value of 1 for a detection element having a defect and a value of 0 for a normal detection element having no defect. Accordingly, the defect flag memory 442 provides the addresses (0,0), (0,1), (0,2), (0,2) for the array of sensing elements of FIG. 5 as shown in FIG. 8B. The value 1 is supplied to the input of the knot circuit 320 as a defect flag for 3), (3, 4), (4, 3) and (4, 4). The defect flag memory 442 receives the value 0 indicating normal for the other addresses (0, 4) to (3, 3) and (4, 0) to (4, 2) as inputs to the knot circuit 320. To supply.

ノット回路320は、各アドレスに対して、欠陥フラグの値(0/1)を反転させた値(1/0)を、処理完了を表すデータとして処理完了フラグ・メモリ444に供給する。ここで、処理完了フラグの値1は処理完了を表し、値0は処理の未完了を表す。この場合、ノット回路320は、アドレス(0,4)〜(3,3)、(4,0)〜(4,2)に対して、置換が必要なく、または置換のための処理が完了したことを表す処理完了フラグまたはデータとして、その値(1/0)を処理完了フラグ・メモリ444に供給する。   The knot circuit 320 supplies a value (1/0) obtained by inverting the value (0/1) of the defect flag for each address to the processing completion flag memory 444 as data indicating processing completion. Here, the value 1 of the process completion flag represents the completion of the process, and the value 0 represents the incomplete process. In this case, the knot circuit 320 does not need replacement for the addresses (0, 4) to (3, 3) and (4, 0) to (4, 2), or the processing for replacement is completed. As a process completion flag or data indicating this, the value (1/0) is supplied to the process completion flag memory 444.

フレーム0では、全てのアドレスに対して、処理完了フラグ・メモリ444および置換アドレス・メモリ446に対して、書き込みイネーブル信号(1)が供給される。処理完了フラグ・メモリ444は、各アドレスに対して、欠陥フラグの値(0/1)を反転させた値を、置換処理の完了を表す処理完了フラグとして処理完了フラグ・メモリ444に格納する。この場合、処理完了フラグ・メモリ444において、図5の検知素子のアレイについて、アドレス(0,4)〜(3,3)、(4,0)〜(4,2)に対して、処理完了フラグに値1が設定され、アドレス(0,0)〜(0,3)、(3,4)、(4,3)〜(4,4)に対して、処理完了フラグにおいて値0が維持される。処理完了フラグを値1に設定するアドレスについて、置換アドレス・メモリ446には、置換後の検知素子のアドレスに値が書き込まれず未設定に維持されてもよい。代替形態として、処理完了フラグを値1に設定するアドレスについて、置換アドレス・メモリ446には、置換後の検知素子のアドレスとして置換前のものと同じアドレスが書き込まれてもよい。この場合、置換前のアドレスの検知素子は最高の優先度0の置換候補の検知素子であると見ることができる。   In frame 0, the write enable signal (1) is supplied to the processing completion flag memory 444 and the replacement address memory 446 for all addresses. The process completion flag memory 444 stores a value obtained by inverting the defect flag value (0/1) for each address in the process completion flag memory 444 as a process completion flag indicating completion of the replacement process. In this case, in the processing completion flag memory 444, processing is completed for the addresses (0, 4) to (3, 3) and (4, 0) to (4, 2) for the array of sensing elements in FIG. The value 1 is set in the flag, and the value 0 is maintained in the processing completion flag for the addresses (0,0) to (0,3), (3,4), (4,3) to (4,4). Is done. For the address for which the processing completion flag is set to the value 1, the replacement address memory 446 may be left unset without being written to the address of the detection element after replacement. As an alternative, for the address for which the processing completion flag is set to the value 1, the same address as that before replacement may be written in the replacement address memory 446 as the address of the detection element after replacement. In this case, the detection element at the address before replacement can be regarded as the replacement element detection element with the highest priority 0.

また、ノット回路320からの処理完了フラグ(1/0)は、全アドレス(0,0)〜(n,m)に対する置換処理を完了したアドレスの数を判定する処理数判定部354に供給される。図5の検知素子のアレイについて、置換が不要なまたは置換処理を完了したアドレスの数は18である。全ての検知素子が正常で欠陥がないかまたは置換処理を完了したアドレスの数が全てのアドレスの総数(n+1)×(m+1)(例えば、25)と等しい場合に、処理数判定部354は出力1をオア回路360の1つの入力に供給する。それによって所定の全ての優先度(例えば、1〜8)について置換処理が完了したか否かに関係なく、全ての検知素子について置換処理が完了したときに、図7Bのアンド回路342を含む論理による置換処理を完了させることができる。一方、置換処理を完了したアドレスの数が全てのアドレスの総数(n+1)×(m+1)(例えば、25)と等しくないまたはその総数に満たない場合は、処理数判定部354は処理未完了を表す出力0をオア回路360の1つの入力に供給する。   Further, the processing completion flag (1/0) from the knot circuit 320 is supplied to a processing number determination unit 354 that determines the number of addresses for which replacement processing for all addresses (0, 0) to (n, m) has been completed. The For the array of sensing elements of FIG. 5, the number of addresses that do not require replacement or have completed replacement processing is eighteen. When all the detection elements are normal and free of defects or the number of addresses for which replacement processing has been completed is equal to the total number of all addresses (n + 1) × (m + 1) (for example, 25), the processing number determination unit 354 outputs 1 is supplied to one input of the OR circuit 360. Thereby, the logic including the AND circuit 342 of FIG. 7B when the replacement process is completed for all the sensing elements regardless of whether the replacement process is completed for all predetermined priorities (for example, 1 to 8). The replacement process by can be completed. On the other hand, if the number of addresses for which replacement processing has been completed is not equal to or less than the total number (n + 1) × (m + 1) (for example, 25) of all addresses, the processing number determination unit 354 determines that processing has not been completed. A representative output 0 is provided to one input of the OR circuit 360.

フレーム判定部352は、フレーム・カウンタ302からのフレーム番号が最後のフレーム番号(例えば、8)に等しいかどうかを判定する。フレーム・カウンタ302からのフレーム番号が最後のフレーム番号または優先度(例えば、8)に等しい場合には、検知素子アレイ中の全ての検知素子について置換処理が完了したか否かに関係なく、フレーム判定部352は出力1をオア回路360の別の入力に供給する。それによって、全ての検知素子について置換処理が完了したか否かに関係なく、所定の全ての優先度(例えば、1〜8)について置換処理が完了したときに、図7Bのアンド回路342を含む論理による置換処理を完了させることができる。   The frame determination unit 352 determines whether the frame number from the frame counter 302 is equal to the last frame number (for example, 8). If the frame number from the frame counter 302 is equal to the last frame number or priority (e.g., 8), the frame regardless of whether or not the replacement process has been completed for all the sensing elements in the sensing element array. The determination unit 352 supplies the output 1 to another input of the OR circuit 360. Accordingly, the AND circuit 342 of FIG. 7B is included when the replacement process is completed for all predetermined priorities (for example, 1 to 8) regardless of whether or not the replacement process is completed for all the detection elements. The replacement process by logic can be completed.

オア回路360は、処理数判定部354およびフレーム判定部352からの入力の論理和をとって出力として生成する。従って、検知素子アレイ中の全ての検知素子について置換処理が完了したか、またはフレーム番号が最後のフレーム番号に等しい場合に、オア回路360は置換処理完了を表す値1を置換処理完了フラグとして制御部22に供給する。その双方の入力が値0の場合、オア回路360は、置換処理の未完了を表す値0を置換処理完了フラグとして制御部22に供給する。制御部22は、置換処理完了フラグ1に応答して、画素を置換する処理を実行できるようになる。   The OR circuit 360 takes the logical sum of the inputs from the processing number determination unit 354 and the frame determination unit 352 and generates an output. Accordingly, when the replacement process is completed for all the detection elements in the detection element array or the frame number is equal to the last frame number, the OR circuit 360 controls the value 1 indicating the completion of the replacement process as a replacement process completion flag. Supplied to the unit 22. When both the inputs are the value 0, the OR circuit 360 supplies the control unit 22 with a value 0 indicating that the replacement process is not completed as a replacement process completion flag. In response to the replacement process completion flag 1, the control unit 22 can execute a process for replacing a pixel.

図7Bは、制御部22によって設定される、図6の欠陥置換アドレス生成部34におけるフレーム1〜8に対する論理構成を示している。この場合、図6の要素320は使用されない。
図9A〜9Gは、図7Bの論理構成の欠陥置換アドレス生成部34の動作に用いられる、フレーム1に対するタイムチャートを示している。
FIG. 7B shows a logical configuration for frames 1 to 8 in the defect replacement address generation unit 34 of FIG. 6 set by the control unit 22. In this case, the element 320 of FIG. 6 is not used.
9A to 9G show time charts for the frame 1 used for the operation of the defect replacement address generation unit 34 having the logical configuration of FIG. 7B.

図7Bを参照すると、アドレス・カウンタ308は、図9Aに示されているように、フレーム1に対して、図5のアドレス(0,0)、(0,1)、(0,2)、...(n,m)のシーケンスを順次生成する。アドレス・カウンタ308は、欠陥フラグ・メモリ442、処理完了フラグ・メモリ444、および置換アドレス・メモリ446の各アドレス入力にそのアドレスのシーケンスを順次供給する。   Referring to FIG. 7B, as shown in FIG. 9A, the address counter 308 performs the address (0,0), (0,1), (0,2), FIG. . . . A sequence of (n, m) is sequentially generated. The address counter 308 sequentially supplies the sequence of addresses to each address input of the defect flag memory 442, the process completion flag memory 444, and the replacement address memory 446.

加算器306は、アドレス・カウンタ308からのアドレス(0,0)〜(n,m)のシーケンスに対して、オフセット・アドレス生成テーブル404のフレーム1(図4B)に対する置換候補アドレスのオフセット・アドレス(±0,−1)を加算する。加算器306は、置換候補の検知素子のアドレス(0,−1)、(0,0)、(0,1)、...、(0,m−1)、(1,−1)、...(n,m−1)のシーケンスを順次生成する。この場合、加算器306は、図9Cに示されているように、置換候補の検知素子のアドレス(0,−1)、(0,0)、(0,1)、...、(0,3)、(1,−1)、...(4,3)のシーケンスを順次生成する。加算器306は、生成したアドレスを、欠陥フラグ・メモリ312のアドレス入力、および置換アドレス・メモリ446のデータ入力に供給する。   For the sequence of addresses (0, 0) to (n, m) from the address counter 308, the adder 306 performs the offset address of the replacement candidate address for frame 1 (FIG. 4B) of the offset address generation table 404. Add (± 0, -1). The adder 306 includes addresses (0, −1), (0, 0), (0, 1),. . . , (0, m-1), (1, -1),. . . A sequence of (n, m-1) is sequentially generated. In this case, the adder 306, as shown in FIG. 9C, addresses (0, −1), (0, 0), (0, 1),. . . , (0,3), (1, -1),. . . The sequence of (4, 3) is sequentially generated. The adder 306 supplies the generated address to the address input of the defect flag memory 312 and the data input of the replacement address memory 446.

欠陥フラグ・メモリ442は、図9Bに示されているように、その生成され指定されたアドレスのシーケンスに対する検知素子の一連の欠陥フラグ(0/1)をアンド回路342の1つの入力にそのまま供給する。従って、欠陥フラグ・メモリ442は、図9Bに示されているように、アドレス(0,0)、(0,1)、(0,2)、(0,3)、(3,4)、(4,3)、(4,4)に対して値1を欠陥フラグとしてアンド回路342の1つの入力に供給する。欠陥フラグ・メモリ442は、その他のアドレス(0,4)〜(3,3)、(4,0)〜(4,2)に対して正常を表す値0を欠陥フラグとしてアンド回路342の1つの入力に供給する。   As shown in FIG. 9B, the defect flag memory 442 supplies a series of detection element defect flags (0/1) for the sequence of generated and designated addresses to one input of the AND circuit 342 as it is. To do. Therefore, the defect flag memory 442 has addresses (0, 0), (0, 1), (0, 2), (0, 3), (3, 4), as shown in FIG. 9B. For (4, 3) and (4, 4), the value 1 is supplied as a defect flag to one input of the AND circuit 342. The defect flag memory 442 uses the value 0 representing normality for other addresses (0, 4) to (3, 3), (4, 0) to (4, 2) as a defect flag, and is 1 in the AND circuit 342. Supply to one input.

欠陥フラグ・メモリ312は、図9Dに示されているように、加算器306からの各アドレスのシーケンスに対する検知素子の一連の欠陥フラグ(0/1)を置換候補欠陥フラグとしてノット回路334の入力に供給する。この場合、欠陥フラグ・メモリ312は、図9Aの置換前の検知素子のアドレス(0,0)、(1,0)〜(4,3)に対して、加算器306からの図9Cのアドレス(0,−1)、(1,−1)〜(1,3)、(2,−1)〜(2,3)、(3,−1)〜(3,3)、(4,−1)〜(4,2)に対する置換候補の検知素子の欠陥フラグ値0をノット回路334の入力に供給する。ノット回路334は、指定されたアドレスに対する欠陥フラグ(0/1)を反転させた値(1/0)を置換候補非欠陥フラグとしてアンド回路342の別の入力に供給する。この場合、ノット回路334は、図9Aの置換前の検知素子のアドレス(0,0)、(1,0)〜(4,3)に対して、図9Cのアドレス(0,−1)、(1,−1)〜(4,2)に対する置換候補の検知素子が非欠陥素子であることを表す欠陥フラグ0を反転させた値1を、置換候補非欠陥フラグとしてアンド回路342の入力に供給する。   As shown in FIG. 9D, the defect flag memory 312 receives a series of defect flags (0/1) of the sensing elements for the sequence of each address from the adder 306 and inputs the knot circuit 334 as a replacement candidate defect flag. To supply. In this case, the defect flag memory 312 receives the address of FIG. 9C from the adder 306 with respect to the addresses (0, 0) and (1, 0) to (4, 3) of the sensing element before replacement in FIG. 9A. (0, -1), (1, -1) to (1,3), (2, -1) to (2,3), (3, -1) to (3,3), (4,- The defect flag value 0 of the detection element as the replacement candidate for 1) to (4, 2) is supplied to the input of the knot circuit 334. The knot circuit 334 supplies a value (1/0) obtained by inverting the defect flag (0/1) for the designated address to another input of the AND circuit 342 as a replacement candidate non-defect flag. In this case, the knot circuit 334 uses the addresses (0, -1), FIG. 9C, and the addresses (0, 0), (1,0) to (4, 3) of the sensing elements before replacement in FIG. 9A. The value 1 obtained by inverting the defect flag 0 indicating that the replacement candidate detection elements for (1, -1) to (4, 2) are non-defective elements is input to the AND circuit 342 as a replacement candidate non-defective flag. Supply.

アドレス範囲判定部336は、加算器306からのアドレス(0,−1)〜(n,m−1)が検知素子のアドレス(0,0)〜(n,m)の範囲内であるかどうかを判定して、その範囲内の加算器306からのアドレスに対して値0を、範囲外の加算器306からのアドレスに対して値1を生成する。この場合、アドレス範囲判定部336は、その範囲内のアドレス(0,0)〜(0,3)、(1,0)〜(1,3)、(2,0)〜(2,3)、(3,0)〜(3,3)、(4,0)〜(4,3)に対して値0を生成する。また、アドレス範囲判定部336は、その範囲外のアドレス(0,−1)、(1,−1)、(2,−1)、(3,−1)、(4,−1)に対して値1を生成する。アドレス範囲判定部336は、その判定結果の値(0/1)をノット回路337の入力に供給する。ノット回路337は、その判定結果の値を反転させた値(1/0)をアンド回路342のさらに別の入力に供給する。この場合、ノット回路337は、その範囲内のアドレス(0,0)〜(0,3)、(1,0)〜(1,3)、(2,0)〜(2,3)、(3,0)〜(3,3)、(4,0)〜(4,3)に対して値1を生成する。また、ノット回路337は、その範囲外のアドレス(0,−1)、(1,−1)、(2,−1)、(3,−1)、(4,−1)に対して値0を生成する。   The address range determination unit 336 determines whether the addresses (0, −1) to (n, m−1) from the adder 306 are within the range of the detection element addresses (0, 0) to (n, m). And a value 0 is generated for the address from the adder 306 within the range, and a value 1 is generated for the address from the adder 306 outside the range. In this case, the address range determination unit 336 has addresses (0, 0) to (0, 3), (1, 0) to (1, 3), (2, 0) to (2, 3) within the range. , (3,0) to (3,3), (4,0) to (4,3) are generated with a value of 0. In addition, the address range determination unit 336 applies the addresses (0, -1), (1, -1), (2, -1), (3, -1), and (4, -1) outside the range. Value 1 is generated. The address range determination unit 336 supplies the value (0/1) of the determination result to the input of the knot circuit 337. The knot circuit 337 supplies a value (1/0) obtained by inverting the value of the determination result to yet another input of the AND circuit 342. In this case, the knot circuit 337 includes addresses (0, 0) to (0, 3), (1, 0) to (1, 3), (2, 0) to (2, 3), ( The value 1 is generated for (3,0) to (3,3) and (4,0) to (4,3). Further, the knot circuit 337 has values for addresses (0, -1), (1, -1), (2, -1), (3, -1), and (4, -1) outside the range. Generate 0.

図9Eに示されているように、処理完了フラグ・メモリ444は、アドレス・カウンタ308によって指定されたアドレスのシーケンスに対する検知素子の一連の処理完了フラグ(0/1)をノット回路338の入力およびオア回路346の1つの入力に供給する。この場合、処理完了フラグ・メモリ444は、アドレス・カウンタ308からの図9Aのアドレス(0,4)〜(3,3)、(4,0)〜(4,2)に対して処理完了フラグ値1をノット回路338の入力に供給する。また、処理完了フラグ・メモリ444は、アドレス・カウンタ308からのアドレス(0,0)〜(0,3)、(3,4)、(4,3)〜(4,4)に対して、処理の未完了を表す処理完了フラグ値0をノット回路338の入力に供給する。ノット回路338は、処理完了フラグ値を反転させた値(0/1)をアンド回路342のさらに別の入力に供給する。この場合、ノット回路338は、アドレス・カウンタ308からの図9Aのアドレス(0,4)〜(3,3)、(4,0)〜(4,2)に対して出力0を生成する。また、ノット回路338は、アドレス・カウンタ308からのアドレス(0,0)〜(0,3)、(3,4)、(4,3)〜(4,4)に対して、出力1を生成する。   As shown in FIG. 9E, the processing completion flag memory 444 receives a series of sensing element processing completion flags (0/1) for the sequence of addresses specified by the address counter 308 and inputs to the knot circuit 338. Supply to one input of OR circuit 346. In this case, the processing completion flag memory 444 receives processing completion flags for the addresses (0, 4) to (3, 3) and (4, 0) to (4, 2) in FIG. 9A from the address counter 308. The value 1 is supplied to the input of the knot circuit 338. Further, the processing completion flag memory 444 is provided for the addresses (0, 0) to (0, 3), (3,4), (4, 3) to (4, 4) from the address counter 308. A process completion flag value 0 representing the incomplete process is supplied to the input of the knot circuit 338. The knot circuit 338 supplies a value (0/1) obtained by inverting the process completion flag value to another input of the AND circuit 342. In this case, the knot circuit 338 generates an output 0 for the addresses (0, 4) to (3, 3) and (4, 0) to (4, 2) in FIG. 9A from the address counter 308. The knot circuit 338 outputs 1 to the addresses (0,0) to (0,3), (3,4), (4,3) to (4,4) from the address counter 308. Generate.

アンド回路342は、その4つの入力の論理積をその出力として生成する。アンド回路342は、(a)アドレス・カウンタ308からのアドレスの検知素子に欠陥が有り、(b)オフセットまたは優先位置の置換候補の検知素子が非欠陥素子であり、(c)置換候補の検知素子のアドレスが実際のアドレス範囲内にあり、かつ(d)アドレス・カウンタ308からのアドレスに対する処理完了フラグが未完了を示す場合に、出力値1を生成する。それ以外の場合は、アンド回路342は出力値0を生成する。この場合、アンド回路342は、図9Fに示されているように、アドレス・カウンタ308からのアドレス(3,4)、(4,3)に対して書き込みイネーブル信号1を出力として生成する。書き込みイネーブル信号1は、処理完了フラグ・メモリ444に対する書き込みデータとしての処理完了フラグの値1でもある。   The AND circuit 342 generates a logical product of the four inputs as its output. In the AND circuit 342, (a) the detection element of the address from the address counter 308 is defective, (b) the detection element for the replacement candidate at the offset or priority position is a non-defective element, and (c) the detection of the replacement candidate. When the element address is within the actual address range and (d) the processing completion flag for the address from the address counter 308 indicates incomplete, an output value 1 is generated. In other cases, the AND circuit 342 generates an output value 0. In this case, the AND circuit 342 generates the write enable signal 1 as an output for the addresses (3, 4) and (4, 3) from the address counter 308, as shown in FIG. 9F. The write enable signal 1 is also the value 1 of the process completion flag as write data to the process completion flag memory 444.

アンド回路342の出力が値1の場合、処理完了フラグ・メモリ444に書き込みイネーブル信号1と書き込みフラグ・データ1が供給され、置換アドレス・メモリ446に書き込みイネーブル信号1が供給される。それによって、アドレス・カウンタ308からの図9Aの対応するアドレス位置の処理完了フラグ・メモリ444内の処理完了フラグが値0から値1に変更される。フレーム1〜8の順に処理する場合には、そのアドレスの処理完了フラグ・メモリ444の処理完了フラグは、その後、変更されたりまたは上書きされることがない。この場合、処理完了フラグ・メモリ444において、アドレス(3,4)、(4,3)に対して処理完了フラグに値1が追加的に書き込まれる。また、加算器306からの図9Cの置換候補の検知素子のアドレスが置換後(置換先)の検知素子のアドレスのデータとして、アドレス・カウンタ308からの図9Aの置換前の検知素子のアドレスと対応付けて置換アドレス・メモリ446に格納される。この場合、置換アドレス・メモリ446において、置換前の検知素子のアドレス(3,4)、(4,3)のそれぞれに対応付けて置換後の検知素子のアドレス(3,3)、(4,3)が書き込まれる。   When the output of the AND circuit 342 is 1, the write enable signal 1 and the write flag data 1 are supplied to the processing completion flag memory 444, and the write enable signal 1 is supplied to the replacement address memory 446. As a result, the processing completion flag in the processing completion flag memory 444 at the corresponding address position in FIG. 9A from the address counter 308 is changed from the value 0 to the value 1. In the case of processing in the order of frames 1 to 8, the processing completion flag and the processing completion flag in the memory 444 at that address are not changed or overwritten thereafter. In this case, in the processing completion flag memory 444, a value 1 is additionally written to the processing completion flag for the addresses (3, 4) and (4, 3). Further, the address of the detection element of the replacement candidate in FIG. 9C from the adder 306 is the data of the detection element address after replacement (replacement destination), and the address of the detection element before replacement in FIG. The associated address is stored in the replacement address memory 446. In this case, in the replacement address memory 446, the addresses (3, 3), (4, 4) of the detection elements after replacement are associated with the addresses (3,4), (4, 3) of the detection elements before replacement. 3) is written.

処理完了フラグ・メモリ444からの処理完了フラグと、処理完了フラグ・メモリ444への書き込みフラグ・データまたはイネーブル信号とがオア回路346のそれぞれの入力に供給される。オア回路346は、図9Gに示されているように、その2つ入力の論理和を書込み済みの処理完了フラグとして出力に供給する。この場合、オア回路346は、アドレス(0,4)〜(4,3)に対して書き込み済みの処理完了フラグ値1を生成する。   A processing completion flag from the processing completion flag memory 444 and a write flag data to the processing completion flag memory 444 or an enable signal are supplied to respective inputs of the OR circuit 346. As shown in FIG. 9G, the OR circuit 346 supplies the logical sum of the two inputs to the output as a written processing completion flag. In this case, the OR circuit 346 generates a process completion flag value 1 that has been written to the addresses (0, 4) to (4, 3).

オア回路346からの書き込み済み処理完了フラグは、全アドレス(0,0)〜(n,m)に対する置換処理を完了したアドレスの数を判定する処理数判定部354に供給される。この場合、置換処理を完了したアドレスの数は20である。置換処理を完了したアドレスの数が全てのアドレスの総数(n+1)×(m+1)(例えば、25)と等しい場合に、処理数判定部354は出力1をオア回路360の1つの入力に供給する。一方、置換処理を完了したアドレスの数が全てのアドレスの総数(例えば、25)と等しくないまたはその総数に満たない場合は、処理数判定部354は処理未完了を表す出力0をオア回路360の1つの入力に供給する。   The written processing completion flag from the OR circuit 346 is supplied to a processing number determination unit 354 that determines the number of addresses for which replacement processing for all addresses (0, 0) to (n, m) has been completed. In this case, the number of addresses that have completed the replacement process is 20. When the number of addresses for which replacement processing has been completed is equal to the total number of all addresses (n + 1) × (m + 1) (for example, 25), the processing number determination unit 354 supplies output 1 to one input of the OR circuit 360. . On the other hand, when the number of addresses for which replacement processing has been completed is not equal to or less than the total number of all addresses (for example, 25), the processing number determination unit 354 outputs an output 0 indicating that processing has not been completed to the OR circuit 360. To one input.

フレーム判定部352は、フレーム・カウンタ302からのフレーム番号が最後のフレーム番号(例えば、8)に等しいかどうかを判定する。フレーム番号が最後のフレーム番号に等しい場合に、フレーム判定部352は、処理完了を表す出力1をオア回路360の別の入力に供給する。一方、フレーム番号が最後のフレーム番号に等しくない場合は、フレーム判定部352は、処理未完了を表す出力0をオア回路360のその別の入力に供給する。   The frame determination unit 352 determines whether the frame number from the frame counter 302 is equal to the last frame number (for example, 8). When the frame number is equal to the last frame number, the frame determination unit 352 supplies the output 1 indicating the completion of processing to another input of the OR circuit 360. On the other hand, when the frame number is not equal to the last frame number, the frame determination unit 352 supplies the output 0 indicating the incomplete processing to the other input of the OR circuit 360.

オア回路360は、処理数判定部354およびフレーム判定部352からの入力の論理和をとって、いずれか一方が処理完了を表す値1の場合に、置換処理完了を表す値1を置換処理完了フラグとして制御部22に供給する。一方、その双方の入力が値0の場合、オア回路360は、置換処理の未完了を表す値0を置換処理完了フラグとして制御部22に供給する。制御部22は、置換処理完了フラグ1に応答して、画素を置換する処理を実行できるようになる。   The OR circuit 360 takes the logical sum of the inputs from the processing number determination unit 354 and the frame determination unit 352, and when either one is the value 1 indicating the completion of the processing, the replacement processing is completed with the value 1 indicating the completion of the replacement processing. The flag is supplied to the control unit 22 as a flag. On the other hand, when both of the inputs are the value 0, the OR circuit 360 supplies the control unit 22 with a value 0 indicating that the replacement process is not completed as a replacement process completion flag. In response to the replacement process completion flag 1, the control unit 22 can execute a process for replacing a pixel.

図10A〜10Gは、図7Bの論理構成の欠陥置換アドレス生成部34の動作に用いられる、フレーム2に対するタイムチャートを示している。   FIGS. 10A to 10G show time charts for the frame 2 used in the operation of the defect replacement address generation unit 34 having the logical configuration of FIG. 7B.

図7Bを参照すると、アドレス・カウンタ308は、図10Aに示されているように、フレーム2に対して、図9Aと同様に、図5のアドレス(0,0)〜(n,m)のシーケンスを順次生成する。   Referring to FIG. 7B, as shown in FIG. 10A, the address counter 308 performs the operations for the addresses (0, 0) to (n, m) of FIG. Generate sequences sequentially.

加算器306は、アドレス・カウンタ308からのアドレス(0,0)〜(n,m)のシーケンスに対して、オフセット・アドレス生成テーブル404のフレーム2(図4B)に対する置換候補アドレスのオフセット・アドレス(±0,+1)を加算する。加算器306は、置換候補の検知素子のアドレス(0,1)、(0,2)、...、(m+1)、(1,1)、...(n,m+1)のシーケンスを順次生成する。この場合、加算器306は、図10Cに示されているように、置換候補の検知素子のアドレス(0,1)、(0,2)、...、(0,5)、(1,1)、...(4,5)のシーケンスを順次生成する。   For the sequence of addresses (0, 0) to (n, m) from the address counter 308, the adder 306 offsets the replacement candidate address for frame 2 (FIG. 4B) of the offset address generation table 404. Add (± 0, +1). The adder 306 includes addresses (0, 1), (0, 2),. . . , (M + 1), (1,1),. . . A sequence of (n, m + 1) is sequentially generated. In this case, the adder 306, as shown in FIG. 10C, addresses (0, 1), (0, 2),. . . , (0,5), (1,1),. . . The sequence of (4, 5) is sequentially generated.

欠陥フラグ・メモリ442は、図9Bの場合と同様に、図10Bに示されているように、その生成され指定されたアドレスのシーケンスに対する検知素子の一連の欠陥フラグ(0/1)をアンド回路342の1つの入力にそのまま供給する。   As shown in FIG. 10B, the defect flag memory 442 performs an AND circuit for a series of defect flags (0/1) of the sensing element for the generated and specified sequence of addresses, as shown in FIG. 10B. It is supplied to one input of 342 as it is.

欠陥フラグ・メモリ312は、図10Dに示されているように、加算器306からの各アドレスのシーケンスに対する検知素子の一連の欠陥フラグ(0/1)を置換候補欠陥フラグとしてノット回路334の入力に供給する。この場合、欠陥フラグ・メモリ312は、図10Aの置換前の検知素子のアドレス(0,3)〜(3,2)、(3,4)〜(4,1)、(4,4)に対して、加算器306からの図10Cのアドレス(0,4)〜(3,3)、(3,5)〜(4,2)、(4,5)に対する置換候補の検知素子の欠陥フラグ値0をノット回路334の入力に供給する。ノット回路334は、指定されたアドレスに対する欠陥フラグ(1/0)を反転させた値(0/1)を置換候補非欠陥フラグとしてアンド回路342の別の入力に供給する。この場合、ノット回路334は、置換前の検知素子のアドレス(0,3)〜(3,2)、(3,4)〜(4,1)、(4,4)に対して、アドレス(0,4)〜(3,3)、(3,5)〜(4,2)、(4,5)に対する置換候補の検知素子が非欠陥素子であることを表す欠陥フラグ0を反転させた値1を、置換候補非欠陥フラグとしてアンド回路342の入力に供給する。   As shown in FIG. 10D, the defect flag memory 312 receives a series of defect flags (0/1) of the sensing element for each address sequence from the adder 306 as an input to the knot circuit 334 as a replacement candidate defect flag. To supply. In this case, the defect flag memory 312 stores the addresses (0, 3) to (3, 2), (3, 4) to (4, 1), and (4, 4) of the sensing elements before replacement in FIG. 10A. On the other hand, the defect flag of the detection element of the replacement candidate for the addresses (0, 4) to (3, 3), (3, 5) to (4, 2), (4, 5) of FIG. The value 0 is supplied to the input of the knot circuit 334. The knot circuit 334 supplies a value (0/1) obtained by inverting the defect flag (1/0) for the designated address to another input of the AND circuit 342 as a replacement candidate non-defect flag. In this case, the knot circuit 334 applies the address (0, 3) to (3, 2), (3,4) to (4, 1), (4, 4) of the sensing element before replacement to the address ( 0,4) to (3,3), (3,5) to (4,2), (4,5), the defect flag 0 indicating that the replacement candidate detection element is a non-defective element is inverted. The value 1 is supplied to the input of the AND circuit 342 as a replacement candidate non-defective flag.

アドレス範囲判定部336は、加算器306からのアドレス(0,1)〜(n,m+1)が検知素子のアドレス(0,0)〜(n,m)の範囲であるかどうかを判定して、その範囲内の加算器306からのアドレスに対して値0を、範囲外の加算器306からのアドレスに対して値1を生成する。この場合、アドレス範囲判定部336は、その範囲内のアドレス(0,1)〜(0,4)、(1,1)〜(1,4)、(2,1)〜(2,4)、(3,1)〜(3,4)、(4,1)〜(4,4)に対して値0を生成する。また、アドレス範囲判定部336は、その範囲外のアドレス(0,5)、(1,5)、(2,5)、(3,5)、(4,5)に対して値1を生成する。アドレス範囲判定部336は、その判定結果の値(0/1)をノット回路337の入力に供給する。ノット回路337は、その判定結果の値を反転させた値(1/0)をアンド回路342のさらに別の入力に供給する。   The address range determination unit 336 determines whether the addresses (0, 1) to (n, m + 1) from the adder 306 are in the range of the detection element addresses (0, 0) to (n, m). The value 0 is generated for the address from the adder 306 within the range, and the value 1 is generated for the address from the adder 306 outside the range. In this case, the address range determination unit 336 has addresses (0, 1) to (0, 4), (1, 1) to (1, 4), (2, 1) to (2, 4) within the range. , (3,1) to (3,4), (4,1) to (4,4), the value 0 is generated. The address range determination unit 336 generates a value 1 for addresses (0, 5), (1, 5), (2, 5), (3, 5), and (4, 5) outside the range. To do. The address range determination unit 336 supplies the value (0/1) of the determination result to the input of the knot circuit 337. The knot circuit 337 supplies a value (1/0) obtained by inverting the value of the determination result to yet another input of the AND circuit 342.

図10Eに示されているように、処理完了フラグ・メモリ444は、アドレス・カウンタ308からのアドレスのシーケンスに対する検知素子の一連の処理完了フラグ(0/1)をノット回路338の入力およびオア回路346の1つの入力に供給する。この場合、処理完了フラグ・メモリ444は、アドレス・カウンタ308からの図10Aのアドレス(0,4)〜(4,3)に対して処理完了フラグ値1をノット回路338の入力に供給する。また、処理完了フラグ・メモリ444は、アドレス・カウンタ308からのアドレス(0,0)〜(0,3)、(4,4)に対して、処理の未完了を表す処理完了フラグ値0をノット回路338の入力に供給する。ノット回路338は、処理完了フラグを反転させた値(0/1)をアンド回路342のさらに別の入力に供給する。   As shown in FIG. 10E, the processing completion flag memory 444 provides a series of sensing element processing completion flags (0/1) for the sequence of addresses from the address counter 308 to the input and OR circuit of the knot circuit 338. 346 to one input. In this case, the processing completion flag memory 444 supplies the processing completion flag value 1 to the input of the knot circuit 338 for the addresses (0, 4) to (4, 3) of FIG. Further, the processing completion flag memory 444 sets a processing completion flag value 0 indicating that processing has not been completed to the addresses (0, 0) to (0, 3), (4, 4) from the address counter 308. Supply to the input of the knot circuit 338. The knot circuit 338 supplies a value (0/1) obtained by inverting the processing completion flag to yet another input of the AND circuit 342.

アンド回路342は、その4つの入力の論理積をとって、図9Fの場合と同様に、図10Fに示されているようにその出力を生成する。この場合、アンド回路342は、アドレス・カウンタ308からのアドレス(0,3)に対して書き込みイネーブル信号1を出力として生成する。   The AND circuit 342 takes the logical product of the four inputs and generates its output as shown in FIG. 10F, as in FIG. 9F. In this case, the AND circuit 342 generates the write enable signal 1 as an output for the address (0, 3) from the address counter 308.

アンド回路342の出力が値1の場合、処理完了フラグ・メモリ444に書き込みイネーブル信号1と書き込みフラグ・データ1が供給され、置換アドレス・メモリ446に書き込みイネーブル信号1が供給される。アドレス・カウンタ308からの図10Aの対応するアドレス位置の処理完了フラグ・メモリ444内の処理完了フラグが0から1に変更される。この場合、処理完了フラグ・メモリ444において、アドレス(0,3)に対して処理完了フラグ1が追加的に書き込まれる。また、加算器306からの図10Cの置換候補の検知素子のアドレスが置換後の検知素子のアドレスのデータとして、アドレス・カウンタ308からの図10Aの置換前の検知素子のアドレスと対応付けて置換アドレス・メモリ446に格納される。この場合、置換アドレス・メモリ446において、置換前の検知素子のアドレス(0,3)に対応付けて置換後の検知素子のアドレス(0,4)が書き込まれる。   When the output of the AND circuit 342 is 1, the write enable signal 1 and the write flag data 1 are supplied to the processing completion flag memory 444, and the write enable signal 1 is supplied to the replacement address memory 446. A processing completion flag in the processing completion flag memory 444 at the corresponding address position in FIG. 10A from the address counter 308 is changed from 0 to 1. In this case, in the processing completion flag memory 444, the processing completion flag 1 is additionally written to the address (0, 3). Also, the replacement candidate detection element address in FIG. 10C from the adder 306 is replaced with the detection element address data after replacement in association with the detection element address in FIG. 10A from the address counter 308 before replacement. Stored in the address memory 446. In this case, in the replacement address memory 446, the address (0, 4) of the detection element after replacement is written in association with the address (0, 3) of the detection element before replacement.

処理完了フラグ・メモリ444からの処理完了フラグと、処理完了フラグ・メモリ444への書き込みフラグ・データまたはイネーブル信号とがオア回路346のそれぞれの入力に供給される。オア回路346は、図10Gに示されているように、その2つ入力の論理和を書込み済み処理完了フラグとして出力に供給する。この場合、オア回路346は、アドレス(0,3)〜(4,3)に対して書き込み済みの処理完了フラグ値1を生成する。欠陥置換アドレス生成部34は、フレーム2に対するその他の処理について、フレーム1に対する処理と同様に動作する。   A processing completion flag from the processing completion flag memory 444 and a write flag data to the processing completion flag memory 444 or an enable signal are supplied to respective inputs of the OR circuit 346. As shown in FIG. 10G, the OR circuit 346 supplies the logical sum of the two inputs to the output as a written processing completion flag. In this case, the OR circuit 346 generates a process completion flag value 1 that has been written to the addresses (0, 3) to (4, 3). The defect replacement address generation unit 34 operates in the same manner as the process for the frame 1 for the other processes for the frame 2.

図11A〜11Gは、図7Bの論理構成の欠陥置換アドレス生成部34の動作に用いられる、フレーム3に対するタイムチャートを示している。   11A to 11G show time charts for the frame 3 used for the operation of the defect replacement address generation unit 34 having the logical configuration of FIG. 7B.

アドレス・カウンタ308は、図11Aに示されているように、フレーム3に対して、図9Aと同様に、図5のアドレス(0,0)〜(n,m)のシーケンスを順次生成する。   As shown in FIG. 11A, the address counter 308 sequentially generates the sequence of addresses (0, 0) to (n, m) in FIG. 5 for the frame 3 as in FIG. 9A.

加算器306は、アドレス・カウンタ308からのアドレス(0,0)〜(n,m)のシーケンスに対して、オフセット・アドレス生成テーブル404のフレーム2(図4B)に対する置換候補アドレスのオフセット・アドレス(−1,±0)を加算する。この場合、加算器306は、図11Cに示されているように、置換候補の検知素子のアドレス(−1,0)、(−1,0)、...、(−1,4)、(0,0)、...(3,4)のシーケンスを順次生成する。   For the sequence of addresses (0, 0) to (n, m) from the address counter 308, the adder 306 offsets the replacement candidate address for frame 2 (FIG. 4B) of the offset address generation table 404. Add (-1, 0). In this case, the adder 306, as shown in FIG. 11C, addresses (−1, 0), (−1, 0),. . . , (-1, 4), (0, 0),. . . The sequence (3, 4) is sequentially generated.

欠陥フラグ・メモリ442は、図9Bの場合と同様に、図11Bに示されているように、その生成され指定されたアドレスのシーケンスに対する検知素子の一連の欠陥フラグ(0/1)をアンド回路342の1つの入力にそのまま供給する。   As shown in FIG. 11B, the defect flag memory 442 performs an AND circuit for a series of defect flags (0/1) of the sensing element corresponding to the generated and specified sequence of addresses, as shown in FIG. 11B. It is supplied to one input of 342 as it is.

欠陥フラグ・メモリ312は、図11Dに示されているように、加算器306からの各アドレスのシーケンスに対する検知素子の一連の欠陥フラグ(0/1)を置換候補欠陥フラグとしてノット回路334の入力に供給する。この場合、欠陥フラグ・メモリ312は、置換前の検知素子のアドレス(0,0)〜(0,4)、(1,4)〜(4,3)に対して、加算器306からの図11Cのアドレス(−1,0)〜(−1,4)、(0,4)〜(3,3)に対する置換候補の検知素子の欠陥フラグ値0をノット回路334の入力に供給する。   As shown in FIG. 11D, the defect flag memory 312 receives a series of defect flags (0/1) of the detection elements for each address sequence from the adder 306 as an input to the knot circuit 334 as a replacement candidate defect flag. To supply. In this case, the defect flag memory 312 receives the figure from the adder 306 for the addresses (0, 0) to (0, 4) and (1, 4) to (4, 3) of the sensing elements before replacement. The defect flag value 0 of the replacement candidate detection element for the addresses (−1, 0) to (−1, 4) and (0, 4) to (3, 3) of 11C is supplied to the input of the knot circuit 334.

アドレス範囲判定部336は、この場合、加算器306からのアドレス(−1,0)〜(3,4)が検知素子のアドレス(0,0)〜(4,4)の範囲であるかどうかを判定して、その範囲内の加算器306からのアドレスに対して値0を、範囲外の加算器306からのアドレスに対して値1を生成する。アドレス範囲判定部336は、その範囲内のアドレス(0,0)〜(3,4)に対して値0を生成する。また、アドレス範囲判定部336は、その範囲外のアドレス(−1,0)〜(−1,4)に対して値1を生成する。   In this case, the address range determination unit 336 determines whether the addresses (−1, 0) to (3, 4) from the adder 306 are in the range of addresses (0, 0) to (4, 4) of the detection elements. And a value 0 is generated for the address from the adder 306 within the range, and a value 1 is generated for the address from the adder 306 outside the range. The address range determination unit 336 generates a value 0 for the addresses (0, 0) to (3, 4) within the range. Further, the address range determination unit 336 generates a value 1 for addresses (−1, 0) to (−1, 4) outside the range.

図11Eに示されているように、処理完了フラグ・メモリ444は、アドレス・カウンタ308からのアドレスのシーケンスに対する検知素子の一連の処理完了フラグ(0/1)をノット回路338の入力に供給する。この場合、処理完了フラグ・メモリ444は、アドレス・カウンタ308からの図11Aのアドレス(0,3)〜(4,3)に対して処理完了フラグ値1をノット回路338の入力に供給する。また、処理完了フラグ・メモリ444は、アドレス・カウンタ308からのアドレス(0,0)〜(0,2)、(4,4)に対して、処理の未完了を表す処理完了フラグ0をノット回路338の入力に供給する。   As shown in FIG. 11E, the processing completion flag memory 444 supplies a series of sensing element processing completion flags (0/1) for the sequence of addresses from the address counter 308 to the input of the knot circuit 338. . In this case, the processing completion flag memory 444 supplies the processing completion flag value 1 to the input of the knot circuit 338 for the addresses (0, 3) to (4, 3) of FIG. Further, the processing completion flag memory 444 knots the processing completion flag 0 indicating that processing is incomplete for the addresses (0, 0) to (0, 2), (4, 4) from the address counter 308. Supply to input of circuit 338.

アンド回路342は、その4つの入力の論理積をとって、図9Fの場合と同様に、図11Fに示されているようにその出力を生成する。この場合、置換処理が完了していない欠陥素子と、欠陥のない正常な置換候補の検知素子との組み合わせは存在しないので、アンド回路342は書き込みイネーブル信号1を生成しない。   The AND circuit 342 takes the logical product of the four inputs and generates its output as shown in FIG. 11F, as in FIG. 9F. In this case, the AND circuit 342 does not generate the write enable signal 1 because there is no combination of a defective element for which the replacement process has not been completed and a normal replacement candidate detecting element having no defect.

処理完了フラグ・メモリ444からの処理完了フラグと、処理完了フラグ・メモリ444への書き込みフラグ・データまたはイネーブル信号とがオア回路346のそれぞれの入力に供給される。オア回路346は、図11Gに示されているように、その2つ入力の論理和を書き込み済み処理完了フラグとして出力に供給する。欠陥置換アドレス生成部34は、フレーム3に対するその他の処理については、フレーム1に対する処理と同様に動作する。   A processing completion flag from the processing completion flag memory 444 and a write flag data to the processing completion flag memory 444 or an enable signal are supplied to respective inputs of the OR circuit 346. As shown in FIG. 11G, the OR circuit 346 supplies the logical sum of the two inputs to the output as a written processing completion flag. The defect replacement address generation unit 34 operates in the same manner as the process for the frame 1 for the other processes for the frame 3.

図12A〜12Gは、図7Bの論理構成の欠陥置換アドレス生成部34の動作に用いられる、フレーム4に対するタイムチャートを示している。   12A to 12G show time charts for the frame 4 used in the operation of the defect replacement address generation unit 34 having the logical configuration of FIG. 7B.

図12Aに示されているように、フレーム4に対して、アドレス・カウンタ308は、図9Aと同様に、図5のアドレス(0,n)〜(4,m)のシーケンスを順次生成する。   As shown in FIG. 12A, for the frame 4, the address counter 308 sequentially generates the sequence of addresses (0, n) to (4, m) in FIG. 5 as in FIG. 9A.

加算器306は、アドレス・カウンタ308からのアドレス(0,0)〜(n,m)のシーケンスに対して、オフセット・アドレス生成テーブル404のフレーム4(図4B)に対する置換候補アドレスのオフセット・アドレス(+1,±0)を加算する。加算器306は、図12Cに示されているように、置換候補の検知素子のアドレス(1,0)、(1,1)、...、(1,4)、(2,0)、...(5,4)のシーケンスを順次生成する。   For the sequence of addresses (0, 0) to (n, m) from the address counter 308, the adder 306 offsets the replacement candidate address for the frame 4 (FIG. 4B) of the offset address generation table 404. Add (+1, ± 0). As shown in FIG. 12C, the adder 306 includes addresses (1, 0), (1, 1),. . . , (1,4), (2,0),. . . The sequence (5, 4) is sequentially generated.

欠陥フラグ・メモリ442は、図9Bの場合と同様に、図12Bに示されているように、その生成され指定されたアドレスのシーケンスに対する検知素子の一連の欠陥フラグ(0/1)をアンド回路342の1つの入力にそのまま供給する。   As shown in FIG. 12B, the defect flag memory 442 performs an AND circuit for a series of defect flags (0/1) of the sensing element for the generated and specified sequence of addresses, as shown in FIG. 12B. It is supplied to one input of 342 as it is.

欠陥フラグ・メモリ312は、図12Dに示されているように、加算器306からの各アドレスのシーケンスに対する検知素子の一連の欠陥フラグ(0/1)を置換候補欠陥フラグとしてノット回路334の入力に供給する。この場合、欠陥フラグ・メモリ312は、置換前の検知素子のアドレス(0,0)〜(3,3)、(3,0)〜(3,2)、(4,0)〜(4,4)に対して、加算器306からの図12Cのアドレス(1,0)〜(3,3)、(4,0)〜(4,2)、(5,0)〜(5,4)に対する置換候補の検知素子の欠陥フラグ値0をノット回路334の入力に供給する。   As shown in FIG. 12D, the defect flag memory 312 receives a series of defect flags (0/1) of the sensing elements for each address sequence from the adder 306 and inputs the knot circuit 334 as a replacement candidate defect flag. To supply. In this case, the defect flag memory 312 stores the addresses (0,0) to (3,3), (3,0) to (3,2), (4,0) to (4,4) of the sensing element before replacement. 4), the addresses (1, 0) to (3, 3), (4, 0) to (4, 2), (5, 0) to (5, 4) of FIG. Is supplied to the input of the knot circuit 334.

アドレス範囲判定部336は、加算器306からのアドレス(1,0)〜(5,4)が検知素子のアドレス(0,0)〜(4,4)の範囲であるかどうかを判定して、その範囲内の加算器306からのアドレスに対して値0を、範囲外の加算器306からのアドレスに対して値1を生成する。この場合、アドレス範囲判定部336は、その範囲内のアドレス(1,0)〜(4,4)に対して値0を生成する。また、アドレス範囲判定部336は、その範囲外のアドレス(5,0)〜(5,4)に対して値1を生成する。   The address range determination unit 336 determines whether the addresses (1, 0) to (5, 4) from the adder 306 are in the range of the detection element addresses (0, 0) to (4, 4). The value 0 is generated for the address from the adder 306 within the range, and the value 1 is generated for the address from the adder 306 outside the range. In this case, the address range determination unit 336 generates a value 0 for the addresses (1, 0) to (4, 4) within the range. The address range determination unit 336 generates a value 1 for addresses (5, 0) to (5, 4) outside the range.

図12Eに示されているように、処理完了フラグ・メモリ444は、アドレス・カウンタ308からのアドレスのシーケンスに対する検知素子の一連の処理完了フラグ(0/1)をノット回路338の入力およびオア回路346の1つの入力に供給する。この場合、処理完了フラグ・メモリ444は、アドレス・カウンタ308からの図12Aのアドレス(0,3)〜(4,3)に対して処理完了フラグ1をノット回路338の入力に供給する。また、処理完了フラグ・メモリ444は、アドレス・カウンタ308からのアドレス(0,0)〜(0,2)、(4,4)に対して、処理の未完了を表す処理完了フラグ0をノット回路338の入力に供給する。   As shown in FIG. 12E, the processing completion flag memory 444 provides a series of sensing element processing completion flags (0/1) for the sequence of addresses from the address counter 308 to the input and OR circuit of the knot circuit 338. 346 to one input. In this case, the processing completion flag memory 444 supplies the processing completion flag 1 to the input of the knot circuit 338 for the addresses (0, 3) to (4, 3) in FIG. Further, the processing completion flag memory 444 knots the processing completion flag 0 indicating that processing is incomplete for the addresses (0, 0) to (0, 2), (4, 4) from the address counter 308. Supply to input of circuit 338.

アンド回路342は、その4つの入力の論理積をとって、図9Fの場合と同様に、図12Fに示されているようにその出力を生成する。この場合、アンド回路342は、アドレス・カウンタ308からのアドレス(0,0)〜(0,2)に対して書き込みイネーブル信号1を出力として生成する。   The AND circuit 342 takes the logical product of the four inputs and generates its output as shown in FIG. 12F, as in FIG. 9F. In this case, the AND circuit 342 generates the write enable signal 1 as an output for the addresses (0, 0) to (0, 2) from the address counter 308.

アンド回路342の出力が値1の場合、処理完了フラグ・メモリ444に書き込みイネーブル信号1と書き込みフラグ・データ1が供給され、置換アドレス・メモリ446に書き込みイネーブル信号1が供給される。アドレス・カウンタ308からの図12Aの対応するアドレス位置の処理完了フラグ・メモリ444内の処理完了フラグが0から1に変更される。この場合、処理完了フラグ・メモリ444において、アドレス(0,0)〜(0,2)に対して処理完了フラグ1が追加的に書き込まれる。また、加算器306からの図12Cの置換候補の検知素子のアドレスが置換後の検知素子のアドレスのデータとして、アドレス・カウンタ308からの図12Aの置換前の検知素子のアドレスと対応付けて置換アドレス・メモリ446に格納される。この場合、置換アドレス・メモリ446において、置換前の検知素子のアドレス(0,0)〜(0,2)に対応付けて置換後の検知素子のアドレス(1,0)〜(1,2)が書き込まれる。   When the output of the AND circuit 342 is 1, the write enable signal 1 and the write flag data 1 are supplied to the processing completion flag memory 444, and the write enable signal 1 is supplied to the replacement address memory 446. The processing completion flag in the corresponding address position in FIG. 12A from the address counter 308 is changed from 0 to 1. In this case, the processing completion flag 1 is additionally written in the processing completion flag memory 444 to the addresses (0, 0) to (0, 2). Also, the replacement candidate detection element address of FIG. 12C from the adder 306 is replaced with the detection element address data after replacement in association with the detection element address before replacement of FIG. 12A from the address counter 308. Stored in the address memory 446. In this case, in the replacement address memory 446, the addresses (1,0) to (1,2) of the detection elements after replacement in association with the addresses (0,0) to (0,2) of the detection elements before replacement. Is written.

処理完了フラグ・メモリ444からの処理完了フラグと、処理完了フラグ・メモリ444への書き込みフラグ・データまたはイネーブル信号とがオア回路346のそれぞれの入力に供給される。オア回路346は、図12Gに示されているように、その2つ入力の論理和を書き込み済み処理完了フラグとして出力に供給する。この場合、オア回路346は、アドレス(0,0)〜(4,3)に対して処理完了フラグ1を生成する。欠陥置換アドレス生成部34は、フレーム4に対するその他の処理について、フレーム1に対する処理と同様に動作する。   A processing completion flag from the processing completion flag memory 444 and a write flag data to the processing completion flag memory 444 or an enable signal are supplied to respective inputs of the OR circuit 346. As shown in FIG. 12G, the OR circuit 346 supplies the logical sum of the two inputs to the output as a written processing completion flag. In this case, the OR circuit 346 generates the processing completion flag 1 for the addresses (0, 0) to (4, 3). The defect replacement address generation unit 34 operates in the same manner as the process for the frame 1 for the other processes for the frame 4.

図13A〜13Gは、図7Bの論理構成の欠陥置換アドレス生成部34の動作に用いられる、フレーム5に対するタイムチャートを示している。   13A to 13G show time charts for the frame 5 used for the operation of the defect replacement address generation unit 34 having the logical configuration of FIG. 7B.

アドレス・カウンタ308は、図13Aに示されているように、フレーム5に対して、図9Aと同様に、図5のアドレス(0,0)〜(4,4)のシーケンスを順次生成する。   As shown in FIG. 13A, the address counter 308 sequentially generates the sequence of addresses (0, 0) to (4, 4) in FIG. 5 for the frame 5 as in FIG. 9A.

加算器306は、アドレス・カウンタ308からのアドレス(0,0)〜(4,4)のシーケンスに対して、オフセット・アドレス生成テーブル404のフレーム5(図4B)に対する置換候補アドレスのオフセット・アドレス(±0,−2)を加算する。加算器306は、図13Cに示されているように、置換候補の検知素子のアドレス(0,−2)、(0,−1)、...、(0,2)、(1,−2)、...(4,2)のシーケンスを順次生成する。   For the sequence of addresses (0, 0) to (4, 4) from the address counter 308, the adder 306 offsets the replacement candidate address for the frame 5 (FIG. 4B) of the offset address generation table 404. Add (± 0, -2). As shown in FIG. 13C, the adder 306 includes addresses (0, -2), (0, -1),. . . , (0,2), (1, -2),. . . The sequence of (4, 2) is sequentially generated.

欠陥フラグ・メモリ442は、図9Bの場合と同様に、図13Bに示されているように、その生成され指定されたアドレスのシーケンスに対する検知素子の一連の欠陥フラグ(0/1)をアンド回路342の1つの入力にそのまま供給する。   As shown in FIG. 13B, the defect flag memory 442 performs an AND circuit for a series of defect flags (0/1) of the sensing element for the generated and specified sequence of addresses, as shown in FIG. 13B. It is supplied to one input of 342 as it is.

欠陥フラグ・メモリ312は、図13Dに示されているように、加算器306からの各アドレスのシーケンスに対する検知素子の一連の欠陥フラグ(0/1)を置換候補欠陥フラグとしてノット回路334の入力に供給する。この場合、欠陥フラグ・メモリ312は、置換前の検知素子のアドレス(0,0)〜(0,1)、(1,0)〜(4,4)に対して、加算器306からの図13Cのアドレス(0,−2)〜(0,−1)、(1,−2)〜(4,2)に対する置換候補の検知素子の欠陥フラグ値0をノット回路334の入力に供給する。   As shown in FIG. 13D, the defect flag memory 312 inputs a knot circuit 334 using a series of defect flags (0/1) of the sensing elements for each address sequence from the adder 306 as replacement candidate defect flags. To supply. In this case, the defect flag memory 312 receives the figure from the adder 306 for the addresses (0, 0) to (0, 1) and (1, 0) to (4, 4) of the sensing elements before replacement. The defect flag value 0 of the replacement candidate detection element for the addresses (0, -2) to (0, -1) and (1, -2) to (4, 2) of 13C is supplied to the input of the knot circuit 334.

アドレス範囲判定部336は、加算器306からのアドレス(0,−2)〜(4,2)が検知素子のアドレス(0,0)〜(4,4)の範囲であるかどうかを判定して、その範囲内の加算器306からのアドレスに対して値0を、範囲外の加算器306からのアドレスに対して値1を生成する。この場合、アドレス範囲判定部336は、その範囲内のアドレス(0,0)〜(0,2)、(1,0)〜(1,2)、(2,0)〜(2,2)、(3,0)〜(3,2)、(4,0)〜(4,2)に対して値0を生成する。また、アドレス範囲判定部336は、その範囲外のアドレス(0,−2)〜(0,−1)、(1,−2)〜(1,−1)、(2,−2)〜(2,−1)、(3,−2)〜(3,−1)、(4,−2)〜(4,−1)に対して値1を生成する。   The address range determination unit 336 determines whether the addresses (0, -2) to (4, 2) from the adder 306 are in the range of the detection element addresses (0, 0) to (4, 4). Thus, the value 0 is generated for the address from the adder 306 within the range, and the value 1 is generated for the address from the adder 306 outside the range. In this case, the address range determination unit 336 has addresses (0, 0) to (0, 2), (1, 0) to (1, 2), (2, 0) to (2, 2) within the range. , (3,0) to (3,2) and (4,0) to (4,2) are generated with a value of 0. The address range determination unit 336 also includes addresses (0, -2) to (0, -1), (1, -2) to (1, -1), (2, -2) to ( 2, -1), (3, -2) to (3, -1), and (4, -2) to (4, -1).

図13Eに示されているように、処理完了フラグ・メモリ444は、アドレス・カウンタ308からのアドレスのシーケンスに対する検知素子の一連の処理完了フラグ(0/1)をノット回路338の入力に供給する。この場合、処理完了フラグ・メモリ444は、アドレス・カウンタ308からの図13Aのアドレス(0,0)〜(4,3)に対して処理完了フラグ値1をノット回路338の入力に供給する。また、処理完了フラグ・メモリ444は、アドレス・カウンタ308からのアドレス(4,4)に対して、処理の未完了を表す処理完了フラグ0をノット回路338の入力に供給する。   As shown in FIG. 13E, the processing completion flag memory 444 supplies a series of sensing element processing completion flags (0/1) for the sequence of addresses from the address counter 308 to the input of the knot circuit 338. . In this case, the processing completion flag memory 444 supplies the processing completion flag value 1 to the input of the knot circuit 338 for the addresses (0, 0) to (4, 3) in FIG. The processing completion flag memory 444 supplies a processing completion flag 0 indicating that processing is not completed to the input of the knot circuit 338 for the address (4, 4) from the address counter 308.

アンド回路342は、その4つの入力の論理積をとって、図9Fの場合と同様に、図13Fに示されているようにその出力を生成する。この場合、アンド回路342は、アドレス・カウンタ308からのアドレス(4,4)に対して書き込みイネーブル信号1を出力として生成する。   The AND circuit 342 takes the logical product of the four inputs and generates its output as shown in FIG. 13F, as in FIG. 9F. In this case, the AND circuit 342 generates the write enable signal 1 as an output for the address (4, 4) from the address counter 308.

アンド回路342の出力が値1の場合、処理完了フラグ・メモリ444に書き込みイネーブル信号1と書き込みフラグ・データ1が供給され、置換アドレス・メモリ446に書き込みイネーブル信号1が供給される。アドレス・カウンタ308からの図13Aの対応するアドレス位置の処理完了フラグ・メモリ444の処理完了フラグが0から1に変更される。この場合、処理完了フラグ・メモリ444において、アドレス(4,4)に対して処理完了フラグ1が追加的に書き込まれる。また、加算器306からの図13Cの置換候補の検知素子のアドレスが置換後の検知素子のアドレスのデータとして、アドレス・カウンタ308からの図13Aの置換前の検知素子のアドレスと対応付けて置換アドレス・メモリ446に格納される。この場合、置換アドレス・メモリ446において、置換前の検知素子のアドレス(4,4)に対応付けて置換後の検知素子のアドレス(4,2)が書き込まれる。   When the output of the AND circuit 342 is 1, the write enable signal 1 and the write flag data 1 are supplied to the processing completion flag memory 444, and the write enable signal 1 is supplied to the replacement address memory 446. The processing completion flag at the corresponding address position in FIG. 13A from the address counter 308 is changed from 0 to 1. In this case, the processing completion flag 1 is additionally written to the address (4, 4) in the processing completion flag memory 444. Further, the replacement candidate detection element address of FIG. 13C from the adder 306 is replaced with the detection element address data after replacement in association with the detection element address before replacement of FIG. 13A from the address counter 308. Stored in the address memory 446. In this case, in the replacement address memory 446, the address (4, 2) of the detection element after replacement is written in association with the address (4, 4) of the detection element before replacement.

処理完了フラグ・メモリ444からの処理完了フラグと、処理完了フラグ・メモリ444への書き込みフラグ・データまたはイネーブル信号とがオア回路346のそれぞれの入力に供給される。オア回路346は、図13Gに示されているように、その2つ入力の論理和を書き込み済み処理完了フラグとして出力に供給する。この場合、オア回路346は、全てのアドレス(0,0)〜(4,4)に対して処理完了フラグ1を生成する。   A processing completion flag from the processing completion flag memory 444 and a write flag data to the processing completion flag memory 444 or an enable signal are supplied to respective inputs of the OR circuit 346. As shown in FIG. 13G, the OR circuit 346 supplies the logical sum of the two inputs to the output as a written processing completion flag. In this case, the OR circuit 346 generates the processing completion flag 1 for all addresses (0, 0) to (4, 4).

処理完了フラグ・メモリ444からの処理完了フラグと、処理完了フラグ・メモリ444への書き込みイネーブル信号とがオア回路346のそれぞれの入力に供給される。オア回路346は、図13Gに示されているように、その2つ入力の論理和として全て1の信号を書き込み済み処理完了フラグとして出力に供給する。   A processing completion flag from the processing completion flag memory 444 and a write enable signal to the processing completion flag memory 444 are supplied to respective inputs of the OR circuit 346. As shown in FIG. 13G, the OR circuit 346 supplies all 1 signals as the logical sum of the two inputs to the output as a written processing completion flag.

オア回路346からの書き込み済み処理完了フラグは、全体アドレスに対する置換処理を完了したアドレスの数を判定する処理数判定部354に供給される。この場合、置換処理を完了したアドレスの数25が全てのアドレスの総和25と等しいので、処理数判定部354は出力1をオア回路360の1つの入力に供給する。   The written processing completion flag from the OR circuit 346 is supplied to a processing number determination unit 354 that determines the number of addresses for which replacement processing for all addresses has been completed. In this case, since the number of addresses 25 for which the replacement process has been completed is equal to the sum 25 of all addresses, the processing number determination unit 354 supplies the output 1 to one input of the OR circuit 360.

フレーム判定部352は、フレーム・カウンタ302からのフレーム番号が最後のフレーム番号8に等しいかどうかを判定する。フレーム番号が最後のフレーム番号8に等しくないので、フレーム判定部352は出力0をオア回路360の別の入力に供給する。欠陥置換アドレス生成部34は、フレーム4に対するその他の処理については、フレーム1に対する処理と同様に動作する。   The frame determination unit 352 determines whether or not the frame number from the frame counter 302 is equal to the last frame number 8. Since the frame number is not equal to the last frame number 8, the frame determination unit 352 supplies the output 0 to another input of the OR circuit 360. The defect replacement address generation unit 34 operates in the same manner as the process for the frame 1 for the other processes for the frame 4.

オア回路360は、処理数判定部354およびフレーム判定部352からの入力の論理和をとって、処理数判定部354からの入力が1なので出力1を制御部22に供給する。それによって、図7Aおよび7Bの論理構成の欠陥置換アドレス生成部34の置換処理が完了する。   The OR circuit 360 calculates the logical sum of the inputs from the processing number determination unit 354 and the frame determination unit 352 and supplies the output 1 to the control unit 22 because the input from the processing number determination unit 354 is 1. Thereby, the replacement process of the defect replacement address generation unit 34 of the logical configuration of FIGS. 7A and 7B is completed.

フレーム判定部352は、フレーム・カウンタ302からのフレーム番号が最後のフレーム番号8に等しい場合には、全ての欠陥ある検知素子の置換処理が完了したか否かに関係なく、フレーム判定部352は出力1をオア回路360の別の入力に供給する。この場合、オア回路360は、処理数判定部354およびフレーム判定部352からの入力の論理和をとって、フレーム判定部352からの入力が1なので出力1を制御部22に供給する。   When the frame number from the frame counter 302 is equal to the last frame number 8, the frame determination unit 352 determines whether or not the replacement process for all defective detection elements has been completed. Output 1 is provided to another input of OR circuit 360. In this case, the OR circuit 360 takes the logical sum of the inputs from the processing number determination unit 354 and the frame determination unit 352 and supplies the output 1 to the control unit 22 because the input from the frame determination unit 352 is 1.

フレーム5において、オア回路346からの処理完了フラグが全てのアドレス(0,0)〜(4,4)に対して1でない場合は、オア回路346からの処理完了フラグが全てのアドレス(0,0)〜(4,4)に対して1となるまで、その後のフレーム6〜8について図9A〜13Gの場合と同様の処理が欠陥置換アドレス生成部34によって繰り返される。一方、最後のフレーム8において、オア回路346からの処理完了フラグが全てのアドレス(0,0)〜(4,4)に対して1でない場合であっても、フレーム番号が最後のフレーム番号に等しい場合には、置換処理が完了する。   In frame 5, when the processing completion flag from the OR circuit 346 is not 1 for all addresses (0, 0) to (4, 4), the processing completion flag from the OR circuit 346 is set to all addresses (0, 0). The process similar to that in the case of FIGS. 9A to 13G is repeated by the defect replacement address generation unit 34 for the subsequent frames 6 to 8 until it becomes 1 for 0) to (4, 4). On the other hand, in the last frame 8, even when the processing completion flag from the OR circuit 346 is not 1 for all addresses (0, 0) to (4, 4), the frame number is set to the last frame number. If they are equal, the replacement process is complete.

代替形態として、欠陥置換アドレス生成部34は、フレーム0に対して図7Aの論理構成で図8A〜8Dに従って処理した後で、低い優先度から高い優先度へフレーム8〜1の順序で置換処理を行ってもよい。この場合、各アドレスに対して処理完了フラグ・メモリ444中に処理完了フラグ1が立っているか否かに関係なく、欠陥のない正常な置換候補の検知素子との組み合わせがある限り、処理完了フラグ1は処理完了フラグ1で上書きされ、置換後のアドレスが新しい優先度の高い置換後のアドレスで上書きされる。   As an alternative, the defect replacement address generation unit 34 performs the replacement process in the order of the frames 8 to 1 from the low priority to the high priority after processing the frame 0 according to FIGS. 8A to 8D with the logical configuration of FIG. 7A. May be performed. In this case, regardless of whether the processing completion flag 1 is set in the processing completion flag memory 444 for each address, as long as there is a combination with a normal replacement candidate detection element having no defect, the processing completion flag 1 is overwritten by the processing completion flag 1, and the replaced address is overwritten with the new replaced address having a higher priority.

上述の実施形態によれば、ソフトウェアによるランダム・アドレス制御でメモリにアクセスする場合に比べて、ハードウェアによる高速の順次アドレス制御でメモリにアクセスすることによって、検知素子の置換処理の時間を例えば約1/10以下に短縮できるであろう。   According to the above-described embodiment, compared with the case where the memory is accessed by the random address control by software, the time for the replacement process of the sensing element is reduced by, for example, approximately one time by accessing the memory by high-speed sequential address control by hardware. It can be shortened to 1/10 or less.

ここで挙げた全ての例および条件的表現は、発明者が技術促進に貢献した発明および概念を読者が理解するのを助けるためのものであり、ここで具体的に挙げたそのような例および条件に限定することなく解釈すべきである。また、明細書におけるそのような例の編成は本発明の優劣を示すこととは関係ない。本発明の実施形態を詳細に説明したが、本発明の精神および範囲から逸脱することなく、それに対して種々の変更、置換および変形を施すことができると理解すべきである。   All examples and conditional expressions given here are intended to help the reader understand the inventions and concepts that have contributed to the promotion of technology, such examples and It should be interpreted without being limited to the conditions. Also, the organization of such examples in the specification is not related to showing the superiority or inferiority of the present invention. Although embodiments of the present invention have been described in detail, it should be understood that various changes, substitutions and variations can be made thereto without departing from the spirit and scope of the present invention.

以上の実施例を含む実施形態に関して、さらに以下の付記を開示する。
(付記1) 物体から放射される赤外線を検知する複数の検知素子を有する撮像素子と、
前記複数の検知素子のそれぞれのアドレスと前記それぞれのアドレスの検知素子の欠陥情報とを格納する欠陥判定記憶装置と、
前記欠陥情報が格納されたアドレスに対応する置換先アドレスを格納する欠陥置換記憶装置と、
前記それぞれのアドレスを含む第1のアドレス・シーケンスを生成する第1のアドレス発生部と、
前記第1のアドレス・シーケンスにオフセット値を付加した第2のアドレス・シーケンスを生成する第2のアドレス発生部と、
前記第1のアドレス・シーケンスに従って生成されたアドレスの第1の欠陥情報と、前記第2のアドレス・シーケンスに従って生成されたアドレスの第2の欠陥情報とを前記欠陥判定記憶装置から読み出して、前記第1の欠陥情報が欠陥を示し前記第2の欠陥情報が無欠陥を示している場合に、前記欠陥置換記憶装置において前記第1のアドレス・シーケンスに従って生成されたアドレスに、前記第2のアドレス・シーケンスに従って生成されたアドレスを書き込む論理回路と、
を具えることを特徴とする、撮像装置。
(付記2) 前記論理回路は、前記無欠陥のアドレスを書き込む場合に、さらに処理完了を表す情報を書き込むものであることを特徴とする、付記1に記載の撮像装置。
(付記3) 前記第1のアドレス発生部からの前記第1のアドレス・シーケンスに従って、前記欠陥判定記憶装置から対応する一連の欠陥情報を順次読み出して、前記欠陥置換記憶装置において前記複数の検知素子の中の無欠陥の検知素子のアドレスに処理完了を表す情報を書き込む別の論理回路を具えることを特徴とする、付記1または2に記載の撮像装置。
(付記4) 前記第1の論理回路は、異なる各優先度に対して、前記第1のアドレス・シーケンスに従って前記欠陥判定記憶装置のアドレスを順次指定し、それと同時に前記第2のアドレス・シーケンスに従って前記欠陥判定記憶装置から対応する一連の欠陥情報を順次読み出すものであることを特徴とする、付記1乃至3のいずれかに記載の撮像装置。
(付記5) さらに、前記第1の論理回路によって、前記複数の検知素子の全てのアドレスに前記処理完了を表す情報が前記欠陥置換記憶装置において格納された場合に、前記第1の論理回路の動作を完了させる第3の論理回路を具えることを特徴とする、付記2に記載の撮像装置。
(付記6) 所定数の優先度の全てについて前記第1のアドレス・シーケンスが生成されたと判定された場合に、前記第1の論理回路の動作を完了させる第4の論理回路を具えることを特徴とする、付記2または5に記載の撮像装置。
Regarding the embodiment including the above examples, the following additional notes are further disclosed.
(Appendix 1) An image sensor having a plurality of detection elements for detecting infrared rays emitted from an object;
A defect determination storage device for storing respective addresses of the plurality of detection elements and defect information of the detection elements of the respective addresses;
A defect replacement storage device for storing a replacement destination address corresponding to the address where the defect information is stored;
A first address generator for generating a first address sequence including the respective addresses;
A second address generator for generating a second address sequence by adding an offset value to the first address sequence;
First defect information of an address generated according to the first address sequence and second defect information of an address generated according to the second address sequence are read from the defect determination storage device, and When the first defect information indicates a defect and the second defect information indicates no defect, the second address is added to the address generated according to the first address sequence in the defect replacement storage device. A logic circuit for writing addresses generated according to a sequence;
An imaging apparatus comprising:
(Supplementary Note 2) The imaging apparatus according to Supplementary Note 1, wherein the logic circuit further writes information indicating processing completion when writing the defect-free address.
(Supplementary Note 3) According to the first address sequence from the first address generation unit, a corresponding series of defect information is sequentially read out from the defect determination storage device, and the plurality of detection elements in the defect replacement storage device The imaging apparatus according to appendix 1 or 2, further comprising another logic circuit that writes information indicating processing completion to an address of a defect-free sensing element.
(Supplementary Note 4) For each of the different priorities, the first logic circuit sequentially designates the address of the defect determination storage device according to the first address sequence, and at the same time, according to the second address sequence. 4. The imaging apparatus according to any one of appendices 1 to 3, wherein a series of corresponding defect information is sequentially read from the defect determination storage device.
(Supplementary Note 5) Further, when information indicating completion of the processing is stored in all the addresses of the plurality of detection elements in the defect replacement storage device by the first logic circuit, the first logic circuit The imaging apparatus according to appendix 2, further comprising a third logic circuit that completes the operation.
(Additional remark 6) It is provided with the 4th logic circuit which completes operation | movement of a said 1st logic circuit, when it determines with the said 1st address sequence having been produced | generated about all the predetermined number of priorities. 6. The imaging device according to appendix 2 or 5, which is characterized.

10 カメラ装置
302 フレーム・カウンタ
306 加算器
308 アドレス・カウンタ
312 欠陥フラグ・メモリ
320、334、337、338 ノット回路
342 アンド回路
346、360 オア回路
352 フレーム判定部
354 置換数判定部
336 アドレス範囲判定部
442 欠陥フラグ・メモリ(レジスタ)
444 処理完了フラグ・メモリ
446 置換アドレス・メモリ
DESCRIPTION OF SYMBOLS 10 Camera apparatus 302 Frame counter 306 Adder 308 Address counter 312 Defect flag memory 320, 334, 337, 338 Not circuit 342 AND circuit 346, 360 OR circuit 352 Frame determination part 354 Replacement number determination part 336 Address range determination part 336 442 Defect flag memory (register)
444 Processing completion flag memory 446 Replacement address memory

Claims (3)

物体から放射される赤外線を検知する複数の検知素子を有する撮像素子と、
前記複数の検知素子のそれぞれのアドレスと前記それぞれのアドレスの検知素子の欠陥情報とを格納する欠陥判定記憶装置と、
前記欠陥情報が格納されたアドレスに対応する置換先アドレスを格納する欠陥置換記憶装置と、
前記それぞれのアドレスを含む第1のアドレス・シーケンスを生成する第1のアドレス発生部と、
前記第1のアドレス・シーケンスにオフセット値を付加した第2のアドレス・シーケンスを生成する第2のアドレス発生部と、
前記第1のアドレス・シーケンスに従って生成されたアドレスの第1の欠陥情報と、前記第2のアドレス・シーケンスに従って生成されたアドレスの第2の欠陥情報とを前記欠陥判定記憶装置から読み出して、前記第1の欠陥情報が欠陥を示し前記第2の欠陥情報が無欠陥を示している場合に、前記欠陥置換記憶装置において前記第1のアドレス・シーケンスに従って生成されたアドレスに、前記第2のアドレス・シーケンスに従って生成されたアドレスを書き込む論理回路と、
を具えることを特徴とする、撮像装置。
An image sensor having a plurality of detection elements for detecting infrared rays emitted from an object;
A defect determination storage device for storing respective addresses of the plurality of detection elements and defect information of the detection elements of the respective addresses;
A defect replacement storage device for storing a replacement destination address corresponding to the address where the defect information is stored;
A first address generator for generating a first address sequence including the respective addresses;
A second address generator for generating a second address sequence by adding an offset value to the first address sequence;
First defect information of an address generated according to the first address sequence and second defect information of an address generated according to the second address sequence are read from the defect determination storage device, and When the first defect information indicates a defect and the second defect information indicates no defect, the second address is added to the address generated according to the first address sequence in the defect replacement storage device. A logic circuit for writing addresses generated according to a sequence;
An imaging apparatus comprising:
前記論理回路は、前記無欠陥のアドレスを書き込む場合に、さらに処理完了を表す情報を書き込むものであることを特徴とする、請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the logic circuit further writes information indicating processing completion when writing the defect-free address. さらに、前記第1のアドレス発生部からの前記第1のアドレス・シーケンスに従って、前記欠陥判定記憶装置から対応する一連の欠陥情報を順次読み出して、前記欠陥置換記憶装置に前記複数の検知素子の中の無欠陥の検知素子のアドレスにおいて処理完了を表す情報を書き込む別の論理回路を具えることを特徴とする、請求項1または2に記載の撮像装置。   Further, according to the first address sequence from the first address generation unit, a series of corresponding defect information is sequentially read from the defect determination storage device, and the defect replacement storage device stores the plurality of detection elements. The imaging apparatus according to claim 1, further comprising another logic circuit that writes information indicating processing completion at an address of the defect-free sensing element.
JP2010032230A 2010-02-17 2010-02-17 Imaging device Active JP5477035B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010032230A JP5477035B2 (en) 2010-02-17 2010-02-17 Imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010032230A JP5477035B2 (en) 2010-02-17 2010-02-17 Imaging device

Publications (2)

Publication Number Publication Date
JP2011171892A true JP2011171892A (en) 2011-09-01
JP5477035B2 JP5477035B2 (en) 2014-04-23

Family

ID=44685565

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010032230A Active JP5477035B2 (en) 2010-02-17 2010-02-17 Imaging device

Country Status (1)

Country Link
JP (1) JP5477035B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9064766B2 (en) 2012-11-13 2015-06-23 Kabushiki Kaisha Toshiba Solid-state imaging device
US9404963B2 (en) 2012-11-12 2016-08-02 Kabushiki Kaisha Toshiba Apparatus and method for inspecting infrared solid-state image sensor

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001008100A (en) * 1999-06-23 2001-01-12 Fujitsu Ltd Infrared ray image pickup device and element defect compensation method
JP2003224779A (en) * 2001-11-22 2003-08-08 Fujitsu Ltd Imaging apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001008100A (en) * 1999-06-23 2001-01-12 Fujitsu Ltd Infrared ray image pickup device and element defect compensation method
JP2003224779A (en) * 2001-11-22 2003-08-08 Fujitsu Ltd Imaging apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9404963B2 (en) 2012-11-12 2016-08-02 Kabushiki Kaisha Toshiba Apparatus and method for inspecting infrared solid-state image sensor
US9064766B2 (en) 2012-11-13 2015-06-23 Kabushiki Kaisha Toshiba Solid-state imaging device

Also Published As

Publication number Publication date
JP5477035B2 (en) 2014-04-23

Similar Documents

Publication Publication Date Title
JP5379601B2 (en) Defective pixel data correction device, imaging device, and defective pixel data correction method
JP2000050317A (en) Device for detecting and correcting error of image sensor
US9264685B2 (en) Image capture apparatus
US8643751B2 (en) Method for detecting dead pixels and computer program product thereof
US8531529B2 (en) Dead pixel compensation testing apparatus
JP4793059B2 (en) Imaging apparatus and imaging system
US9900533B2 (en) Image processing apparatus and method, and image capturing apparatus
JP2011151792A (en) Image processing apparatus and method
JP3914216B2 (en) Image defect correction apparatus and image defect correction method
JP5477035B2 (en) Imaging device
JP4508740B2 (en) Image processing device
JP2000200896A (en) Defective pixel detection of image sensor, correction device and method therefor
US10742914B2 (en) Head-wearable imaging apparatus with two imaging elements corresponding to a user left eye and right eye, method, and computer readable storage medium for correcting a defective pixel among plural pixels forming each image captured by the two imaging elements based on defective-pixel related position information
JP2020022135A (en) Defective pixel correction device, imaging device, and defective pixel correction method
JP3578384B2 (en) Detector / corrector for defective pixels in solid-state image sensors
JPH09163228A (en) Picture element replacement method for infrared ray image pickup device
JP4329677B2 (en) Motion detection device
JP2006217113A (en) Electronic camera and method of inspecting electronic camera
JP2012070319A (en) Image processing method, image processing apparatus, and image processing program
JP5432657B2 (en) Imaging device, storage device, and control method
JP5222654B2 (en) Defective pixel detection device for imaging device and marking device for imaging device
JP5028077B2 (en) Imaging device, method for determining defective pixel thereof, and program
CN109803073A (en) No frame random-access image sensing
JPH0759011A (en) Automatic detector and automatic correction device for defective picture element on solid-state image pickup element
JP2010118067A (en) Image processor, computer readable storage medium, and digital photographing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130108

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130723

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130730

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130930

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140127

R150 Certificate of patent or registration of utility model

Ref document number: 5477035

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150