JP2012124795A - Image processing system - Google Patents

Image processing system Download PDF

Info

Publication number
JP2012124795A
JP2012124795A JP2010275261A JP2010275261A JP2012124795A JP 2012124795 A JP2012124795 A JP 2012124795A JP 2010275261 A JP2010275261 A JP 2010275261A JP 2010275261 A JP2010275261 A JP 2010275261A JP 2012124795 A JP2012124795 A JP 2012124795A
Authority
JP
Japan
Prior art keywords
information
defective pixel
pixel
image
defect
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.)
Pending
Application number
JP2010275261A
Other languages
Japanese (ja)
Inventor
Yuichi Hirai
雄一 平井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2010275261A priority Critical patent/JP2012124795A/en
Publication of JP2012124795A publication Critical patent/JP2012124795A/en
Pending legal-status Critical Current

Links

Landscapes

  • Transforming Light Signals Into Electric Signals (AREA)
  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image processing system in which information is converted in an information form that can properly be corrected in a subsequent stage correction unit.SOLUTION: In the image processing system having information and means instructing correction of a pixel in a specified part, information (defective pixel information) instructing the correction of the pixel has information (positional information) on a position in a photographed image and information (attribute information) on a type of the correction in the pixel (defective pixel) requiring correction processing when it is processed as photographed image information. The system includes: non-volatile storage means storing the defective pixel information; temporary storage means which temporarily stores the defective pixel information; a control unit of the temporary storage means; and a decoding unit receiving the defective pixel information from the temporary storage means and analyzing content of information. The system also includes means overlapping a decoding result of the decoding unit on image information being a processing object as a status at every attribute information and/or storing the decoding result in the temporary storage means as information at every attribute information such as {0, 1} information.

Description

本発明は、撮像手段により撮影画像・映像を入力し、それを処理する画像処理装置に関する。   The present invention relates to an image processing apparatus that inputs a captured image / video by an imaging means and processes it.

従来、画像処理装置の具体的な例示としてはデジタルカメラ等の撮像装置が挙がる。該デジタルカメラ等撮像装置では、所定の撮像手段を備え、そこで光電変換された電気信号をデジタル化して画像処理を施して記憶するものである。   Conventionally, as a specific example of an image processing apparatus, there is an imaging apparatus such as a digital camera. The image pickup apparatus such as a digital camera is provided with a predetermined image pickup means, and the electric signal photoelectrically converted therein is digitized, subjected to image processing and stored.

デジタルカメラでは、CCD,CMOSセンサー等、光電変換部を高密度にマトリクス状に配置して画素配列を形成し、被写体を撮像している。これらの画素には、ある確率で正常に動作しない画素(以下、不良画素)が存在し、それが点状のノイズとなって画像の品質劣化を招く。   In a digital camera, photoelectric conversion units such as a CCD and a CMOS sensor are arranged at high density in a matrix to form a pixel array, and an object is imaged. Among these pixels, there is a pixel that does not operate normally with a certain probability (hereinafter referred to as a defective pixel), which becomes point-like noise and causes image quality degradation.

不良画素には、センサーをデジタルカメラ等撮像装置に組み込む時点で既にその存在が判明しており、常時、不良画素の補正処理を必要とするもの(以下、工程傷)や、センサーの感度不良(感度異常)に起因し、ある閾値と比較してそれ以下(またはそれ以上)であれば傷とせず、入力値を画像情報に用いるもの(感度傷)等が存在する。ある入力レンジにおいては、オフセット値の加減算処理をすれば、画像情報として用いられるものもある。(工程傷は、感度傷の程度の低い(常態で傷)ものともいえる)。   The existence of a defective pixel is already known when the sensor is incorporated into an imaging device such as a digital camera, and the defective pixel always requires correction processing of the defective pixel (hereinafter referred to as a process flaw), or the sensitivity of the sensor ( Due to (abnormal sensitivity), if it is less than (or more than) a certain threshold value, it will not be scratched, and there are those that use input values for image information (sensitivity scratch). Some input ranges may be used as image information by performing offset value addition / subtraction processing. (Process flaws can also be said to be low in sensitivity flaws (normally flaws)).

近年、撮像センサーの画素配列中に測距用のセンサーを設け、焦点検出処理を行う手段も提案されている。この焦点検出用のセンサー画素は、例えば、図7中S1,S2の様に、通常画素とは異なる開口部形状により所望の瞳の特性を実現し、位相差検出による焦点検出の実現を目論んでいる。   In recent years, means for performing focus detection processing by providing a distance measuring sensor in a pixel array of an image sensor has been proposed. The focus detection sensor pixel realizes a desired pupil characteristic with an aperture shape different from that of the normal pixel, for example, as shown in S1 and S2 in FIG. 7, and aims to realize focus detection by phase difference detection. Yes.

特許文献1は、固体撮像装置及びその制御方法及び撮像装置及び光電変換セルの基本配列及び記憶媒体について記載している。図8は、該文献1に於ける光電変換セルの配列である。光学系により結像された光学象を電気信号に変換する光電変換セルが二次元的に配列された固体撮像装置に於いて、光電変換セル群のうち少なくとも一部S1,S2が、画像信号を形成するため以外の信号を出力する様に構成される。   Patent Document 1 describes a solid-state imaging device, a control method thereof, an imaging device, a basic arrangement of photoelectric conversion cells, and a storage medium. FIG. 8 shows an arrangement of photoelectric conversion cells in the document 1. In a solid-state imaging device in which photoelectric conversion cells for converting an optical image formed by an optical system into an electrical signal are two-dimensionally arranged, at least some of the photoelectric conversion cell groups S1 and S2 receive an image signal. It is configured to output a signal other than for forming.

これらの測距用センサーの画素データは、そのまま通常画素と同様に画像処理を施したのでは、結果画像に対して品質の劣化を起こす。この様な、被写体の撮影情報に寄与しない画素データに対しても、画像処理時には、前記不良画素と同等の補正処理を施す必要がある。   If the pixel data of these distance measuring sensors is subjected to image processing as it is for normal pixels, the quality of the resulting image is degraded. Even for such pixel data that does not contribute to the photographing information of the subject, it is necessary to perform correction processing equivalent to the defective pixel at the time of image processing.

前記工程傷、感度傷等不良画素の補正処理を要する画素、前記焦点検出等に用いるための画素で不良画素同等の補正処理を要する画素、等、前記センサーの画素配列中の要補正処理の画素の数は多く、そのまま絶対位置情報として装置に格納していたのでは、記憶手段の容量を多く必要としてしまう。   Pixels that need correction processing in the pixel array of the sensor, such as pixels that require correction processing for defective pixels such as process scratches and sensitivity scratches, pixels that are used for focus detection and the like and require correction processing equivalent to defective pixels, etc. In the case where the absolute position information is stored in the apparatus as it is, a large amount of storage means is required.

そのため、これら要補正画素の位置を特定する方法としては、前回の補正位置と次回の補正位置との差分で持つ相対位置情報として記憶手段に格納する方法が提案されている。
例えば、特許文献2では、不良画素情報として、前記相対位置情報と補正の要否を示す情報とを関連付けて記憶部に記憶させる提案をしている。
Therefore, as a method for specifying the positions of these correction-needed pixels, a method of storing in the storage means as relative position information having a difference between the previous correction position and the next correction position has been proposed.
For example, Patent Document 2 proposes that the relative position information and information indicating the necessity of correction be associated with each other and stored in a storage unit as defective pixel information.

従来、前記不良画素補正の補正位置の検出は、前述の如く記憶部に記憶した不良画素情報中の位置情報と、前記撮像手段より入力される撮像データの位置カウント値と、夫々を参照しつつ行っている。特許文献3では、不良画素情報の格納部と、不良画素補に用いるための一時バッファとの制御方法について提案をしている。これは、傷補正対象となる前記撮像データに対して消費する前記不良画素情報を、スループットを下げない様、供給するための手段である。   Conventionally, the detection position of the defective pixel correction is detected while referring to the position information in the defective pixel information stored in the storage unit as described above and the position count value of the imaging data input from the imaging unit. Is going. Patent Document 3 proposes a method for controlling a storage unit for defective pixel information and a temporary buffer for use in defective pixel compensation. This is means for supplying the defective pixel information to be consumed for the imaging data to be subjected to flaw correction so as not to lower the throughput.

図4は、前記不良画素に用いるための一時バッファを用いた、不良画素補正の要部ブロック図の一例であり、DRAM等揮発性記憶手段401から不良画素情報402を読み出して、一時バッファ404に格納し、前記不良画素情報402中の位置情報と補正有無を判定する夫々距離カウンタ408及び、グレード判定手段407を持つ、傷補正回路要部ブロック図示である。   FIG. 4 is an example of a main block diagram of defective pixel correction using a temporary buffer for use in the defective pixel. The defective pixel information 402 is read from the volatile storage means 401 such as a DRAM and stored in the temporary buffer 404. FIG. 3 is a block diagram of a main part of a flaw correction circuit having a distance counter 408 and a grade determination means 407 for storing and determining position information in the defective pixel information 402 and whether or not correction is performed.

前述の如く、不良画素の位置情報を前不良との相対距離情報で持つ場合には、前記距離カウンタ408中で次期傷迄の距離を有効画像データを受信毎にデクリメントしながら計数していく。該デクリメント値が0値になったときの受信データが不良補正対象である。該距離カウンタ408は、該デクリメント値が0になった時点で同図4中405の(前記バッファ404の)リード/ライトコントローラに対して、出力バッファの指示更新を行い、前記不良情報解析手段に対して新しいデータを送出させる。   As described above, when the position information of the defective pixel is included as relative distance information with respect to the previous defect, the distance to the next wound is counted in the distance counter 408 while decrementing effective image data each time it is received. The received data when the decrement value becomes 0 is a defect correction target. When the decrement value reaches 0, the distance counter 408 updates the output buffer instruction to the read / write controller 405 (of the buffer 404) in FIG. In response, new data is sent.

また、該コントローラ405は、揮発性記憶手段制御部403に対して、前記不良画素情報402中の新規データ送出の要求をする。前記距離カウンタ408は、処理対象である画像データが不良であるというステータス(図では1値で不良)を、論理積411に対して送出する。前記不良情報解析手段406は、前記不良画素情報402の画素毎の情報中から前記位置情報(距離情報)と不良のグレード情報、及び付帯情報があればそれも抽出する。   In addition, the controller 405 requests the volatile storage unit control unit 403 to send new data in the defective pixel information 402. The distance counter 408 sends a status indicating that the image data to be processed is defective (1 value in the figure is defective) to the logical product 411. The defect information analysis means 406 extracts the position information (distance information), defect grade information, and incidental information from the information for each pixel of the defect pixel information 402, if any.

図4中407は、前記グレード情報を解析するグレード判定手段である。不良画素夫々は、異なる不良状態を持つ。前記工程傷は、常時補正対象ではあるが、その不良状態によっては、ISO感度、秒時設定、温度状態等々の撮影条件によっては傷とはせずに、通常画素として用いることが出来るレベルのものも存在する。その様な不良画素に対しては、幾つかのグレードを設けて情報としておき、回路側の補正条件としてグレード判定手段内で本処理時のグレードを設定して、傷とするかしないかを選択設定していくものである。   In FIG. 4, reference numeral 407 denotes grade determination means for analyzing the grade information. Each defective pixel has a different defective state. Although the above-mentioned process scratches are always subject to correction, depending on the defective state, the process scratches are of a level that can be used as normal pixels without being scratched depending on the shooting conditions such as ISO sensitivity, second setting, temperature state, etc. Is also present. For such defective pixels, several grades are provided as information, and the grade at the time of this processing is set in the grade judgment means as a correction condition on the circuit side to select whether or not to make a scratch It will be set.

該グレード判定手段の判定結果、該処理画素を不良とする場合には、該グレード判定手段は1値を出力する。また、前記不良情報解析手段406は、不良画素に対する付帯情報も抽出する。例えば、前記図4では、前記付帯情報として不良画素の閾値情報を持つ画素情報が存在するものとする。その場合、前記不良画素解析手段406が該閾値情報を抽出した場合には、図4中409の比較手段に対して該閾値を出力する。図4中比較器409では、該値と現在の画像データとの大小比較(又は/及び一致比較)をし、結果、条件が合う様であれば、その画素を不良画素として論理和410に対して1値を出力する。   If the result of the determination by the grade determination means is that the processed pixel is defective, the grade determination means outputs a value of 1. The defect information analysis unit 406 also extracts incidental information for the defective pixel. For example, in FIG. 4, it is assumed that pixel information having threshold information of defective pixels exists as the incidental information. In this case, when the defective pixel analyzing unit 406 extracts the threshold information, the threshold value is output to the comparing unit 409 in FIG. The comparator 409 in FIG. 4 compares the value with the current image data (or / and coincidence comparison). If the condition is satisfied, the pixel is regarded as a defective pixel with respect to the logical sum 410. 1 value is output.

前記論理和410の出力が1値である場合、不良画素を検出したことになる。該値は、そのまま前記論理積411に出力され、該論理積411では、画像データ有効ステータス、距離カウンタ408結果及び、論理和410結果の値が全て1値だった場合に、傷補正処理の実行を求めるステータスとして1値を出力する。その結果、セレクタ412によって、不良画素補正値として、直前の画像データ値が選択される。   When the output of the logical sum 410 is 1 value, a defective pixel is detected. The value is output as it is to the logical product 411. In the logical product 411, when the values of the image data valid status, the distance counter 408 result, and the logical sum 410 result are all one, the flaw correction process is executed. 1 value is output as the status for obtaining. As a result, the selector 412 selects the previous image data value as the defective pixel correction value.

図4中413は、前記画像データ有効ステータスの状態を保持するレジスタである。本図では、画像データ及び前記画像データ有効ステータスは同一のクロックに同期して転送されるものとする。該レジスタ413は、同様のクロックの立ち上がりエッジ(又は、立下りエッジ)によって動作保持を行うフリップフロップ回路によって実現される。同期転送用のクロック信号及び、レジスタのリセット信号については、図が煩雑になるので不図示とする。   In FIG. 4, reference numeral 413 denotes a register that holds the status of the image data valid status. In this figure, it is assumed that the image data and the image data valid status are transferred in synchronization with the same clock. The register 413 is realized by a flip-flop circuit that holds the operation by the rising edge (or falling edge) of the same clock. The clock signal for synchronous transfer and the reset signal of the register are not shown in the figure because they are complicated.

図4中414は、画像データを一時保持するレジスタであり、上記レジスタ413同様フリップフロップ回路構成で実現される。該レジスタ414には、セレクタ412出力結果が保持される。前記セレクタ412は、前記論理積411結果が1値であり、現在注目画素が不良画素だった場合に、直前の画像データ値を出力し、そうでない場合には注目画素値をそのまま出力する。本図4では、不良画素一般として、不良画素を直前の画素値で置き換える前置補間を図示している。   414 in FIG. 4 is a register that temporarily holds image data, and is realized by a flip-flop circuit configuration like the register 413. The register 414 holds the output result of the selector 412. The selector 412 outputs the previous image data value when the logical product 411 result is 1 and the current pixel of interest is a defective pixel, and outputs the pixel value of interest as it is otherwise. In FIG. 4, as a defective pixel in general, pre-interpolation for replacing the defective pixel with the previous pixel value is illustrated.

また、該前置補間回路部の後段の回路より、画像データ送出の停止要求が来た場合には、前記レジスタ413,414の状態を一時保持し、さらに前段の回路に対して画像データ送出停止要求のステータスを即時出力する回路を設けている。   Further, when an image data transmission stop request is received from a subsequent circuit of the pre-interpolation circuit unit, the state of the registers 413 and 414 is temporarily held, and further, image data transmission is stopped with respect to the previous circuit. A circuit that immediately outputs the status of the request is provided.

特許文献4では、不良画素補正処理の有無を事前にデコードしてステータスを生成し、補正処理部への撮像データ入力に同期して、該ステータスを送出する手段を提供している。これにより、少回路構成での高レート化を実現している。   Japanese Patent Application Laid-Open No. 2004-228688 provides a means for generating a status by decoding the presence / absence of defective pixel correction processing in advance and sending the status in synchronization with input of imaging data to the correction processing unit. As a result, a high rate is realized with a small circuit configuration.

特開2000−156823号公報JP 2000-156823 A 特開2008−187402号公報JP 2008-187402 A 特開2000−023051号公報JP 2000-023051 A 特開2003−259220号公報JP 2003-259220 A

前記不良画素補正対象とする画素数が少なくないことから、前記不良画素情報としては前記相対位置情報として保持しておきたい。また、工程傷、感度傷、焦点検出用センサー夫々の情報も、一にして保持した方が相対位置の表現としては、効率が良い。   Since the number of defective pixels to be corrected is not small, the defective pixel information should be retained as the relative position information. In addition, it is more efficient to express the relative position if the information of each of the process scratch, the sensitivity scratch, and the focus detection sensor is held together.

しかしながら、前述の如く、前記不良画素情報としては前記相対位置情報として、また、工程傷、感度傷、焦点検出用センサー夫々の情報も、一にして保持する場合において、各処理部夫々に個々に前記不良画素情報のデコード部を保持することは、装置簡素化を阻害する。   However, as described above, in the case where the defective pixel information is stored as the relative position information, and information on each of the process scratches, sensitivity scratches, and focus detection sensors is held together, each processing unit is individually provided. Holding the decoding unit for the defective pixel information hinders simplification of the apparatus.

前記工程傷は、常時補正対象であり、その位置情報さえ分かれば良い。なので、前もって撮影画像データのライン単位毎や、フレーム単位で傷処理のイメージを展開してしまえる。例えば、{ 0: 正常処理、1: 傷補正処理}の様な0/1の1bitデータに展開出来る。この様に処理できれば、撮像手段からの入力データの高レート化には有利である。   The process scratch is always subject to correction, and it is only necessary to know its position information. Therefore, it is possible to develop a scratch processing image in advance for each line of photographed image data or for each frame. For example, it can be developed into 0/1 1-bit data such as {0: normal processing, 1: flaw correction processing}. If it can be processed in this way, it is advantageous for increasing the rate of input data from the imaging means.

しかしながら、前記感度傷においては、撮像手段からの入力データに対して傷かどうかの判断をすることが必要であり、前記工程傷の様な事前処理は出来ない。また、補正対象としての焦点検出用センサー画素などは、前記工程傷同様、通常画素においては常時補正対象であるが、合焦動作制御時にはその画素データを別途抽出して、合焦処理の演算手段に送出する必要がある。この様に、同一装置内の傷補正対象の画素といっても、その処理時期がことなる場合が生じている。   However, for the sensitivity flaw, it is necessary to determine whether the input data from the imaging means is a flaw, and pre-processing like the process flaw cannot be performed. Further, the focus detection sensor pixel or the like as the correction target is always a correction target in the normal pixel as in the above-described process scratch, but when the focusing operation is controlled, the pixel data is separately extracted and the focusing processing calculation means Need to be sent out. In this way, there are cases where the processing time is different even if the pixel is a defect correction target pixel in the same apparatus.

位相差方式のための焦点検出用のセンサー画素は、不良画素では無い。しかし、左右の瞳をつくるために、開口形状や、マイクロレンズ位置等に工夫があったり、光を得るために色フィルターが通常画素とは異なる場合があるので、通常の画像処理としてみれば、不良画素同様の補正処理を施す必要がある場合も想定出来る。本提案書では、該焦点検出用のセンサー画素の情報も含めて、不良画素情報と呼んでいる。   The sensor pixel for focus detection for the phase difference method is not a defective pixel. However, in order to create left and right pupils, the aperture shape, microlens position, etc. are devised, or the color filter may be different from normal pixels to obtain light, so as normal image processing, A case where correction processing similar to that for defective pixels needs to be performed can also be assumed. In this proposal, the pixel information including the sensor pixel information for focus detection is called defective pixel information.

前述の様な不良画素情報の保持条件で、一箇所の不良画素情報のデコーダにより、異なる処理時期に対応することが課題である。   It is a problem to cope with different processing times by a decoder for defective pixel information at one location under the above-mentioned retention condition of defective pixel information.

本発明は、撮像データに対して、不良補正の要否を示すステータスを付加する手段と、それ以降の各画像処理部において、必要に応じて前記ステータスに反応し、適宜補正処理を実施する手段を具備することで、前記撮像データ毎に、前述の様な情報を一とする不良画像情報をデコードした結果の補正要否ステータス付加及び、各回路での夫々独立した補正処理の実行を実現する。   The present invention provides a means for adding status indicating whether or not defect correction is necessary to the imaged data, and means for appropriately performing a correction process in response to the status as necessary in each subsequent image processing section. By adding the above, for each of the imaging data, it is possible to add a correction necessity status as a result of decoding the defective image information having the same information as described above, and to execute independent correction processing in each circuit. .

また、本発明は、前記情報を一とする不良画素情報をデコードする過程で、常時補正の不良画素位置情報と、入力データ状態を鑑みて補正を実施する不良画素位置情報と、夫々に分離して、後段の各画像処理部に適宜送出可能とする装置構成を提供する。   Further, according to the present invention, in the process of decoding the defective pixel information having the same information, the defective pixel position information that is always corrected is separated from the defective pixel position information that is corrected in view of the input data state. Thus, an apparatus configuration is provided that can be appropriately sent to each subsequent image processing unit.

本発明によれば、多様化した補正対象毎に、前記情報を一とする相対位置情報を持つ不良画素情報を用いても、画像処理夫々に対して独立した前記不良画素位置を指示することによって、一度の不良画素位置検出(デコード)処理で済ませられることから、回路の簡素化が可能となる。   According to the present invention, even if defective pixel information having relative position information with the information as one is used for each diversified correction target, the independent defective pixel position is indicated to each image processing. Since the defective pixel position detection (decoding) process is completed once, the circuit can be simplified.

また、該不良画素位置検出(デコード)と補正処理との時期の分離が可能となるので、前記が祖不良位置情報の呼び出しに係る入力画像処理のスループットの低下を抑えることが可能となる。   In addition, since it is possible to separate the timing of the defective pixel position detection (decoding) and the correction processing, it is possible to suppress a decrease in the throughput of the input image processing related to the call of the ancestor defective position information.

本発明、要部ブロック図The present invention, main part block diagram 本発明実施例1、要部ブロック図Embodiment 1 of the present invention, main part block diagram 本発明実施例2、要部ブロック図Embodiment 2 of the present invention, main part block diagram 従来装置構成、不良画素情報処理部要部図示Conventional device configuration, defective pixel information processing unit 従来装置構成、要部ブロック図Conventional device configuration, principal block diagram 本発明実施例1、不良画素情報処理部要部図示Embodiment 1 of the present invention, main part of defective pixel information processing unit shown 焦点検出用センサー画素 開口状態図示Sensor pixel for focus detection 焦点検出用センサー画素(光電変換セル)配列図示Sensor pixel (photoelectric conversion cell) array for focus detection

[実施例1]
本発明実施例では、前記撮像データ夫々に対して、不良画素補正の要否ステータスを付加する例を提示する。本発明の効果を例示する前に、本発明を実施しない場合の状況について、図5を用いて例示する。
[Example 1]
In the embodiment of the present invention, an example in which a status indicating whether defective pixel correction is necessary is added to each of the imaging data will be presented. Before illustrating the effect of the present invention, the situation when the present invention is not implemented will be illustrated with reference to FIG.

図5は、本発明実施例が適用されない従来構成としての例示である。図5中500は、前記不良画素情報であり、ここでは、処理1・処理2・処理3夫々を要する夫々の属性と、不良画素位置情報を保持するものとする。また、前述の如く、位置情報は注目する不良画素とその前の不良画素との距離情報としての相対位置情報を保持するものである。距離の定義としては、前記センサーの走査順(撮像データの配列順)に画素を計数したものでよい。   FIG. 5 is an illustration of a conventional configuration to which the embodiment of the present invention is not applied. In FIG. 5, reference numeral 500 denotes the defective pixel information. Here, it is assumed that each attribute requiring processing 1, processing 2, and processing 3 and defective pixel position information are held. In addition, as described above, the position information holds relative position information as distance information between the defective pixel of interest and the previous defective pixel. The distance may be defined by counting pixels in the sensor scanning order (imaging data arrangement order).

図5中前記不良画素情報500は、装置中の不揮発性記憶手段(不図示)に格納しているものであるが、使用時にはアクセスの高速性からDRAM等の不揮発性記憶手段(図5中501)に一時格納して用いる。該不揮発性記憶手段501は、図5中502のコントローラーによって制御される。   In FIG. 5, the defective pixel information 500 is stored in a non-volatile storage means (not shown) in the apparatus, but in use, the non-volatile storage means (501 in FIG. ) For temporary storage. The nonvolatile storage means 501 is controlled by a controller 502 in FIG.

被写体を撮影時、図5中503の撮像手段は光電変換により光学情報を電気情報に換えて出力する。図5中504のCDS(相関二重サンプリング)/AGC(Auto Gain Control)は、アナログの電気信号のS/Nを改善するための処理部である。図5中505のA/D変換手段によって、撮像電気信号は、デジタルの撮像データに変換される。図5中506のFIFOは、後段のデータ処理のタイミング遅延緩衝用のバッファである。   When photographing a subject, the image pickup unit 503 in FIG. 5 outputs optical information by converting it into electrical information by photoelectric conversion. A CDS (correlated double sampling) / AGC (Auto Gain Control) 504 in FIG. 5 is a processing unit for improving the S / N of an analog electric signal. The imaged electrical signal is converted into digital imaged data by the A / D conversion means 505 in FIG. The FIFO 506 in FIG. 5 is a buffer for timing delay buffering in the subsequent data processing.

図5中507,508,509は、前記処理1・処理2・処理3夫々を示すモジュールのブロック図示であるが、夫々センサーの補償演算や、同時化・ノイズ抑圧等の画像処理や、前記合焦検出用の演算処理等、デジタルカメラのデータ処理に係るものであり、夫々モジュールや、内部サブモジュール間に、夫々相互に接続するセレクタを介すれば、その処理順位はその選択範囲において任意とすることが出来る。図示は、あくまでもその一例である。   In FIG. 5, reference numerals 507, 508, and 509 are block diagrams of modules indicating the processing 1, the processing 2, and the processing 3, respectively. However, the compensation processing of the sensor, the image processing such as synchronization / noise suppression, and the combination are performed. This is related to digital camera data processing, such as calculation processing for focus detection, and the processing order is arbitrary in the selection range by using a mutually connected selector between modules and internal submodules. I can do it. The illustration is merely an example.

例えば、モジュール507はセンサ補償処理に係り、ここで前記工程傷のみを対象に処理する。図5中5071は、前記不良画素位置抽出用のデコード部であり、図5中バッファ50711に蓄積された不良情報から前記工程傷の位置情報を抽出し、該位置の撮像データ受信時にはそれを不良情報として前データと置き換える前置補間を行っても良い。   For example, the module 507 is related to the sensor compensation process, and processes only the process scratch. In FIG. 5, reference numeral 5071 denotes a decoding unit for extracting the defective pixel position, which extracts the position information of the process scratch from the defect information stored in the buffer 50711 in FIG. Pre-interpolation that replaces the previous data as information may be performed.

図5中モジュール507中には、幾つかのサブモジュールが存在する。例えば、図5中5072はオフセット減算処理をする部位であり、5073はシェーディング補正をする部位であり、5074はデジタルゲイン演算部等々である。   In module 507 in FIG. 5, there are several submodules. For example, in FIG. 5, 5072 is a part for performing offset subtraction processing, 5073 is a part for performing shading correction, 5074 is a digital gain calculation unit, and the like.

例えば、図5中モジュール508は、焦点検出用のセンサー画素を処理するものとする。その場合、合焦に必要なデータを抽出すると共に、それ以外の画素は画像用の通常画素として手を加えずに後段の処理にまわす必要がある。図5中5081は、前記焦点検出用センサーの位置を抽出するデコード部であり、バッファ50811には、前記バッファ50711と同様の不良画素情報が格納される。   For example, the module 508 in FIG. 5 processes a sensor pixel for focus detection. In this case, it is necessary to extract data necessary for focusing and to pass the other pixels to subsequent processing without changing them as normal pixels for an image. In FIG. 5, reference numeral 5081 denotes a decoding unit that extracts the position of the focus detection sensor, and the buffer 50811 stores defective pixel information similar to that of the buffer 50711.

例えば、合焦処理においては、その特殊なセンサー画素の補償演算部5082や、像高による情報劣化の影響を補償し瞳を再現するための演算部5083や、画素値を像として写像し位相差を求めるための相関演算部5084等々が存在する。その他にも、確度を上げるためのフィルタ処理等々あるが、ここでは説明を省略する。   For example, in the focusing process, the compensation calculation unit 5082 for the special sensor pixel, the calculation unit 5083 for reproducing the pupil by compensating for the effect of information deterioration due to the image height, and the phase difference by mapping the pixel value as an image. There are a correlation calculation unit 5084 and the like. In addition, there are filter processes for increasing accuracy, and the description thereof is omitted here.

合焦処理としては、前記モジュール508結果を前記揮発性記憶手段501に戻すことで、CPU(不図示)が後の処理(レンズ駆動等々)を施すことが出来る。また、画像処理(現像処理)を実行する場合には、前記モジュール508は、前記焦点検出用のセンサー位置のデータを画像処理用に補正した結果を、図5中モジュール509へと送出する。   As the focusing process, the result of the module 508 is returned to the volatile storage unit 501 so that the CPU (not shown) can perform subsequent processes (lens driving, etc.). When executing image processing (development processing), the module 508 sends the result of correcting the focus detection sensor position data for image processing to the module 509 in FIG.

例えば、前記図5中モジュール509は、画像処理部として存在し、5092でホワイトバランスをとり、5093で同時化処理を施して、5094で偽色抑圧の処理を施しても良い。センサーの補償は、画素夫々に単独の要素として捕らえられるが、画像処理では水平・垂直(あるいは、時間軸方向にフレーム毎に等)隣接した参照画素を要するものであり、前記工程傷だけでなく、全ての不良画素の補正を最初に行っておく必要がある。   For example, the module 509 in FIG. 5 may exist as an image processing unit, take white balance at 5092, perform synchronization processing at 5093, and perform false color suppression processing at 5094. Sensor compensation is captured as a single element for each pixel, but image processing requires horizontal and vertical (or every other frame in the time axis direction) adjacent reference pixels, All defective pixels need to be corrected first.

前記図5中モジュール509には、工程傷の補正・焦点検出用センサーの画素補正が済んだ状態の撮像データとして受信しているので、図5中5091のデコード部では感度傷の位置情報を抽出して、同じく得られる閾値情報と、受信した撮像データ値とを比較して、傷と判断される様であれば、補正処理を施す。画処理部の参照画素用のラインバッファ等も活用出来る様であれば、水平・垂直の画素データから、補間画素データを生成しても良い。   The module 509 in FIG. 5 receives the captured image data in a state where the process flaw correction / focus detection sensor pixel correction has been completed, so the decoding unit 5091 in FIG. Then, the threshold information obtained in the same manner is compared with the received imaging data value, and if it is judged as a scratch, a correction process is performed. Interpolated pixel data may be generated from horizontal and vertical pixel data as long as the line buffer for the reference pixel of the image processing unit can be used.

図5中510は、前記揮発性記憶手段501と、各処理モジュール507,508,509,…,とのデータ授受に係るデータ管理部である。ここでは、接続先を前記処理モジュール507,508,509を対象とした構成として説明する。   In FIG. 5, reference numeral 510 denotes a data management unit related to data exchange between the volatile storage unit 501 and the processing modules 507, 508, 509,. Here, the connection destination will be described as a configuration targeting the processing modules 507, 508, and 509.

前記データ管理部510中5101は、前記揮発性記憶手段501から読み出したデータを前記バッファ50711へと送出するためのバッファであり、FIFO構成としている。前記デコード部5071はバッファ50711へのデータ充填を、前記データ管理部510中のステータスコントローラ5102に要求指示を出すと、該ステータスコントローラ5102は、図5中のアービター5100に前記揮発性記憶手段501からのデータ要求を出す。   5101 in the data management unit 510 is a buffer for sending data read from the volatile storage unit 501 to the buffer 50711, and has a FIFO configuration. When the decoding unit 5071 issues a request instruction to the status controller 5102 in the data management unit 510 to fill the buffer 50711, the status controller 5102 sends the arbiter 5100 in FIG. Submit a data request.

前記アービター5100は、他のステータスコントローラからの要求が無い様であれば、前記揮発性記憶手段のコントローラ502にデータ要求を出す。要求を受けた該コントローラ502は、前記揮発性記憶手段501から前記不良画素情報500の前記デコード部5071に対する次期データの読み出し指示を送出する。そして、読み出されたデータは、データ管理部510中5101のFIFOに格納される。前記揮発性記憶手段501からのリードと、処理結果の前記揮発性記憶手段501へのライトとの方向の違いはあるが、前記データ管理部510中の他のFIFO, ステータスコントローラについても、同様の処理を実施する。   If there is no request from another status controller, the arbiter 5100 issues a data request to the controller 502 of the volatile storage means. Upon receiving the request, the controller 502 sends an instruction to read next data from the volatile storage unit 501 to the decoding unit 5071 of the defective pixel information 500. The read data is stored in the FIFO 5101 in the data management unit 510. Although there is a difference in direction between reading from the volatile storage unit 501 and writing of processing results to the volatile storage unit 501, the same applies to other FIFOs and status controllers in the data management unit 510. Perform the process.

図2は、本発明の第一の実施例の要部ブロック図示である。図2中200は、相対位置での不良画素位置を含む不良画素情報であり、前述の如く揮発性記憶手段201に展開しておく。図2中202は、該揮発性記憶手段のコントローラである。図2中203〜206の所作は、図5中の503〜506の所作と等しいので、説明を省略する。   FIG. 2 is a block diagram showing the main part of the first embodiment of the present invention. In FIG. 2, reference numeral 200 denotes defective pixel information including a defective pixel position at a relative position, and is developed in the volatile storage unit 201 as described above. In FIG. 2, reference numeral 202 denotes a controller of the volatile storage means. The operations 203 to 206 in FIG. 2 are the same as the operations 503 to 506 in FIG.

ここで、図2中のモジュール207,208,209を、図5中のモジュール507,508,509と同様に定義する。図2中2071のデコード部は、前記不良画素情報200の内容を全てデコードする。本実施例における不良画素情報は、前記工程傷・前記焦点検出用センサー・前記感度傷の夫々の不良画素情報を含むものとする。勿論、本発明の実際の適用時には、これ以外の種類の例外的な画素情報が重畳されていても構わない。   Here, the modules 207, 208, and 209 in FIG. 2 are defined similarly to the modules 507, 508, and 509 in FIG. The decoding unit 2071 in FIG. 2 decodes all the contents of the defective pixel information 200. The defective pixel information in this embodiment includes defective pixel information of the process scratch, the focus detection sensor, and the sensitivity scratch. Of course, when the present invention is actually applied, other types of exceptional pixel information may be superimposed.

図2中デコード部2071の出力信号は、(m+n)bitとしている。前記モジュール207への撮像データ入力をm bitとすると、n bit分がマージされている。例えば、今、撮像データの入力を12bitデータとし、マージ分を3bitとすると、前記デコード部2071の出力データは15bitである。   In FIG. 2, the output signal of the decoding unit 2071 is (m + n) bits. When the imaging data input to the module 207 is m bits, n bits are merged. For example, if the input of imaging data is 12-bit data and the merge amount is 3 bits, the output data of the decoding unit 2071 is 15 bits.

マージ分の3bitは、夫々工程傷・感度傷・焦点検出用のセンサー位置を割り当てている。例えば、この記載順に下位bitから割り当てても構わない。また、その3bitを、15bit中の最下位bit側としても構わないし、最上位bit側でも良い。本発明の実行において、その添付位置を、限定はしない。   The 3 bits for the merge are assigned sensor positions for process scratches, sensitivity scratches, and focus detection, respectively. For example, you may assign from a low-order bit in this description order. The 3 bits may be the least significant bit side in 15 bits, or may be the most significant bit side. In carrying out the present invention, the attachment position is not limited.

該3bitは、夫々、不良画素位置を示すステータス信号としての役割を担う。例えば、最下位bitにおいて、0値時には正常画素状態を示し、1値時には工程傷状態を示す、とすれば良い。例えば、前記モジュール207中のサブモジュール(2072,2073,2074)は、全て、最下位bitの工程傷にのみ反応する。例えば、積分処理中に最下位bitが1になっていたら、前置補間をする、等々である。   Each of the 3 bits plays a role as a status signal indicating a defective pixel position. For example, in the least significant bit, a normal pixel state may be indicated when the value is 0, and a process scratch state may be indicated when the value is 1 value. For example, all the sub-modules (2072, 2073, 2074) in the module 207 react only to the process scratch of the least significant bit. For example, if the least significant bit is 1 during integration processing, pre-interpolation is performed, and so on.

例えば、図2中208を焦点検出用センサーの処理部とすると、該モジュールでは、最下位から見て2bit目の状態を参照する。該bitが1のときが、焦点検出用のセンサーの位置である。   For example, if 208 in FIG. 2 is a processing unit of the focus detection sensor, the module refers to the state of the second bit when viewed from the lowest order. When the bit is 1, it is the position of the focus detection sensor.

例えば、図2中209は画像処理部である。前述の如く、ここでは全ての不良画素補正の実施が必要である。画像処理にはデジタルフィルタ処理があるので、不良画素補正は画像処理前に行う必要がある。例えば、図2中2092の位置で実行しても良い。その場合、該サブモジュールでは、前記ステータスの3bit全てにおいて1値状態を確認して、夫々について適宜不良画素補正を施す。前記工程傷や焦点検出用センサ画素については、全て適宜補正を行い、前記感度傷については入力データの値を鑑みて傷と判断した場合に補正処理を行う。   For example, reference numeral 209 in FIG. 2 denotes an image processing unit. As described above, it is necessary to correct all defective pixels here. Since image processing includes digital filter processing, defective pixel correction must be performed before image processing. For example, it may be executed at the position 2092 in FIG. In that case, the sub-module confirms the one-value state in all three bits of the status, and appropriately performs defective pixel correction for each. The process scratches and focus detection sensor pixels are all corrected as appropriate, and the sensitivity scratches are corrected when they are determined to be scratches in view of the value of input data.

このように、前記不良補正位置を示すステータス信号を前記撮像データに対して付加する様に前記デコード部2071を構成することで、前記処理部208,209中のデコード部(図5中5081,5091に相当)を不要とすることが出来る。また、図2中210に位置する前記揮発性記憶手段201と各画像処理部207,208,209との間のデータ管理部中のFIFO,ステータスコントローラ等々も、構成を削減出来る。   In this manner, the decoding unit 2071 is configured to add the status signal indicating the defect correction position to the imaging data, so that the decoding units in the processing units 208 and 209 (5081 and 5091 in FIG. 5). Equivalent). Also, the configuration of the FIFO, status controller, etc. in the data management unit between the volatile storage unit 201 and the image processing units 207, 208, and 209 located at 210 in FIG. 2 can be reduced.

図6は、先程提示した画像処理部207の内部における不良画素情報処理部要部図示である。説明の簡素化・明示化のため、図2中と等価の要素についての符号添付は、図2中と番号を共通にしている。図2中画像処理部207において、前記不良画素情報をデコードするデコード部2071の機能は以下の様である。   FIG. 6 is a diagram illustrating the main part of the defective pixel information processing unit in the image processing unit 207 presented earlier. For simplification and clarification of the description, reference numerals for elements equivalent to those in FIG. 2 have the same numbers as in FIG. In the image processing unit 207 in FIG. 2, the function of the decoding unit 2071 for decoding the defective pixel information is as follows.

図6中デコード部2071は、不良画素情報を格納するバッファ20711が格納可能状態であれば、20712のバッファのリード/ライトコントローラを介して、前記データ管理部210にデータ転送要求を送出する。該データ管理部210中ステータスコントローラ2102は、該転送要求を受けて、前記揮発性記憶手段201のコントローラ202に対して前記不良画素情報200データの転送要求を出す。図6中2100は、(図6中不図示の)前記ステータスコントローラ2102の他のコントローラからのデータ送受信要求を調停するためのアービターである。   In FIG. 6, if the buffer 20711 for storing defective pixel information is in a storable state, the decoding unit 2071 sends a data transfer request to the data management unit 210 via the read / write controller of the buffer 20712. In response to the transfer request, the status controller 2102 in the data management unit 210 issues a transfer request for the defective pixel information 200 data to the controller 202 of the volatile storage unit 201. In FIG. 6, 2100 is an arbiter for arbitrating data transmission / reception requests from other controllers of the status controller 2102 (not shown in FIG. 6).

上記要求に従い、前記不良画素情報200が前記データ管理部210中2101のFIFOを介して前記バッファ20711に格納されると、前記デコード部2017は図6中20713の不良画素情報抽出部において次期不良画素の位置情報を抽出し、図6中20714のカウンタに送出する。該カウンタ20714は、例えば、入力画像データ(実際には、画像データ有効ステータスの状態)を計数するカウンタの初期値としてロードされ、該カウンタ20717は前記入力画素データ計数毎に1値デクリメントしていくダウンカウンタ構成とすることが出来る。そして、該カウンタ20714値が0値(相対距離がゼロ)となったときに、その入力データを不良画素として扱う様ステータスを出力する。   When the defective pixel information 200 is stored in the buffer 20711 via the FIFO 2101 in the data management unit 210 in accordance with the request, the decoding unit 2017 causes the defective pixel information extraction unit 20713 in FIG. Is extracted and sent to the counter 20714 in FIG. The counter 20714 is loaded, for example, as an initial value of a counter that counts input image data (actually, the status of the image data valid status), and the counter 20717 decrements by 1 every time the input pixel data is counted. A down counter configuration can be adopted. When the counter 20714 value becomes 0 (relative distance is zero), a status is output so that the input data is treated as a defective pixel.

該不良画素ステータスは、図6中207151,207152,207153夫々のAND処理部に入力すると共に、同図6中20712のリード/ライトコントローラにも入力する。該リード/ライトコントローラ20712は、1画素分の不良処理完了を認識して、前記バッファ20711の読出し先を次データに切り替えると共に、格納データ中の未処理データ数を減じて、もし、格納領域に余裕がある様ならば、前記データ管理部210のステータスコントローラ2102に対して、次期データの要求を出す。   The defective pixel status is input to the AND processing units 207151, 207152, and 207153 in FIG. 6, and is also input to the read / write controller 20712 in FIG. The read / write controller 20712 recognizes the completion of defective processing for one pixel, switches the reading destination of the buffer 20711 to the next data, reduces the number of unprocessed data in the stored data, and stores it in the storage area. If there is room, a request for next data is issued to the status controller 2102 of the data management unit 210.

また、該次期データ転送要求にも関わらず前記不良画素情報が前記バッファ20711に到達しない場合で、該バッファ20711内に未処理データが無くなったならば、前記リード/ライトコントローラ20712は画像データ送出部(この場合、図2中206のFIFO)に対して画像データ送出停止要求のステータスを発行する。前記FIFO206は、撮像データ入力に対して、該停止要求を吸収するだけの容量を要する。   Further, when the defective pixel information does not reach the buffer 20711 in spite of the next data transfer request, and there is no unprocessed data in the buffer 20711, the read / write controller 20712 displays the image data sending unit. In this case, an image data transmission stop request status is issued to (FIFO 206 in FIG. 2). The FIFO 206 requires a capacity for absorbing the stop request for imaging data input.

本発明実施例における前記不良画素情報200には、位置情報の他に、不良の属性情報及び、該画像処理パスにおいて不良補正処理をする/しないを指定せしめる情報等が付帯する。本実施例においては、位置情報は(不良の属性を問わず)前不良との距離情報(相対位置)として、不良の属性としては前記工程傷、前記感度傷及び、前記焦点検出用センサーを、有する様設定している。   In addition to position information, the defective pixel information 200 in the embodiment of the present invention is accompanied by defect attribute information, information for specifying whether or not to perform defect correction processing in the image processing pass, and the like. In this embodiment, the position information (regardless of the attribute of the defect) is distance information (relative position) with the previous defect, the defect attribute is the process defect, the sensitivity defect, and the focus detection sensor. It is set to have.

また、本発明実施例における前記不良画素情報200には、不良の状態を示すグレード情報をも付帯している。これは、不良の程度によっては、ある撮影条件下では不良とは見做さずに通常画素として処理せしめるための情報である。例えば前記工程傷は、ある条件下では常時補正とするものの定義であるが、そのある条件(ISO感度や、撮影秒時、温度等々)によっては、補正を必要としない程度のものも存在する。そこで、工程傷の属性には、その程度のグレードを添付することで、傷とする・しないの判断を回路に設定したグレードの閾値に照らして実行することが出来る。前記グレード情報とは、その情報を指す。   In addition, the defective pixel information 200 in the embodiment of the present invention also includes grade information indicating a defective state. This is information for processing as a normal pixel without considering it to be defective under certain photographing conditions depending on the degree of the defect. For example, the process scratch is defined as a constant correction under a certain condition, but there is a degree that does not require correction depending on the certain condition (ISO sensitivity, shooting time, temperature, etc.). Therefore, by attaching a grade of that degree to the attribute of the process scratch, it is possible to determine whether or not it is a scratch in accordance with the grade threshold set in the circuit. The grade information refers to the information.

図6中20715,20716,20717は、グレード判定手段であり、前記不良画素情報200中に位置情報と共に存在する前記グレード情報の値と、該判定手段に設定された(設定部不図示)値とを比較して、注目情報のグレードがグレード設定値よりも大きければ(小さければ、でも良いし、等しければでも良い)当該不良情報を有効に扱う様ステータスを発行する。   In FIG. 6, reference numerals 20715, 20716, and 20717 denote grade determination means, and the value of the grade information existing together with the position information in the defective pixel information 200, and the value (setting unit not shown) set in the determination means. If the grade of the attention information is larger than the grade setting value (may be smaller or equal), a status is issued so that the defect information is effectively handled.

本発明実施例では、前記焦点検出用センサー画素位置も不良情報中に含めているが、これらは通常センサーであるか、特殊センサーであるかのみの選択である。もし、グレードという概念の無い不良属性情報を扱う場合には、それに対応した前記グレード判定手段を省略しても良いし、スルーさせても良い。図6中では、装置仕様として全ての不良属性に対して該手段を具備しており、これら20715〜20717のどのパスに対しても、例えば前記工程傷のステータスを割り当てられる、といった実施形態が可能であるし、ハードウェア構成を鑑みた場合に、後から装置に追加・削除するといったことは容易ではないので、一律に設けて説明をする方が、実際に即しているので記載している。   In the embodiment of the present invention, the focus detection sensor pixel position is also included in the defect information. However, these are only selections of the normal sensor or the special sensor. If defective attribute information having no concept of grade is handled, the grade determining means corresponding thereto may be omitted or may be passed. In FIG. 6, this means is provided for all defect attributes as an apparatus specification, and an embodiment in which, for example, the status of the process flaw can be assigned to any path of these 20715 to 20717 is possible. However, when considering the hardware configuration, it is not easy to add to or delete from the device later, so it is described because it is more practical to provide a uniform explanation. .

前記不良画素情報抽出手段20713は、前記バッファ20711からの当該処理対象の不良画素情報より前記不良属性の情報及び、前記グレード情報を抽出し、前記グレード判定手段20715〜20717夫々に適宜送出する。本発明実施例では、例えば、前記グレード判定手段20715を前記工程傷のステータスのパスに、同20716を前記焦点検出用センサー画素のステータスのパスに、同20717を前記感度傷のステータスのパスに、夫々割付ける。   The defective pixel information extracting unit 20713 extracts the information of the defective attribute and the grade information from the defective pixel information to be processed from the buffer 20711, and appropriately transmits the information to the grade determining units 20715 to 20717. In the embodiment of the present invention, for example, the grade determination means 20715 is used as the process scratch status path, 20716 is used as the focus detection sensor pixel status path, and 20717 is used as the sensitivity scratch status path. Assign each one.

前記グレード判定手段20715では、前述の傷グレードの判断をする。判断の基準は別途レジスタ(不図示)に設定された参照グレードと照合することで可能である。工程傷として適用される様であれば、1値を出力する。また、例えば、同図6中グレード判定手段20716,20717側ではグレード判断が不要であれば、前記不良画素情報抽出手段の属性結果のみを参照して、適用される様であれば、1値を出力する。   The grade determination means 20715 determines the above-mentioned scratch grade. Judgment criteria can be obtained by comparing with a reference grade separately set in a register (not shown). If it is applied as a process scratch, 1 value is output. Further, for example, if grade judgment is unnecessary on the grade judging means 20716, 20717 side in FIG. 6, only the attribute result of the defective pixel information extracting means is referred to, and if applied, 1 value is set. Output.

前記図6中207151の論理積は、前記グレード判定手段20715出力と前記カウンタ20714出力及び、画像データ有効ステータス(1値で有効)との論理積を取る。現在の注目画像データが前記工程傷であると判断されると、前記論理積207151は1値を出力する。同図6中207161,207171の論理積についても、同様である。   The logical product of 207151 in FIG. 6 is the logical product of the output of the grade determination means 20715, the output of the counter 20714, and the image data valid status (valid with 1 value). If it is determined that the current target image data is the process flaw, the logical product 207151 outputs a 1 value. The same applies to the logical product of 207161 and 207171 in FIG.

該論理積207151,207161,207171の出力結果は、画像データにマージして、レジスタ20719に保持される。本発明実施例はデジタル回路構成としての実現を提示しており、前記画像処理部207内は同一のクロックに同期して動作する。前記レジスタ20719は、フリップフロップ回路であり、該クロックに同期してデータ転送を行うが、図の簡素化のためにクロック線は不図示としている。同図6中20718, 20721, 20722, 20723のレジスタについても同様である。リセット条件につても、同様に不図示としている。   The output results of the logical products 207151, 207161, and 207171 are merged with the image data and held in the register 20719. The embodiment of the present invention presents an implementation as a digital circuit configuration, and the image processing unit 207 operates in synchronization with the same clock. The register 20719 is a flip-flop circuit, and performs data transfer in synchronization with the clock, but the clock line is not shown for simplification of the drawing. The same applies to the registers 20718, 20721, 20722, and 20723 in FIG. Similarly, the reset condition is not shown.

本発明実施例では、前記画像データを12bitとし、不良補正ステータスとして前記論理積207151,207161,207171出力をマージしたので、前記レジスタ20719の出力は15bitである。前記画像データと、前記不良補正ステータスとのbit配列関係は限定するものではないが、図6中では、上位12bitを画像データとして、下位3bitを前記ステータスとしている。また、前記ステータスのbit配置は、下位bitより、前記工程傷、前記焦点検出用センサー画素、前記感度傷夫々の補正ステータスである。   In the embodiment of the present invention, the image data is set to 12 bits, and the outputs of the logical products 207151, 207161, and 207171 are merged as the defect correction status, so the output of the register 20719 is 15 bits. The bit arrangement relationship between the image data and the defect correction status is not limited, but in FIG. 6, the upper 12 bits are used as image data and the lower 3 bits are used as the status. The bit arrangement of the status is the correction status of each of the process flaw, the focus detection sensor pixel, and the sensitivity flaw from the lower bit.

図6中2071と2072との接続は、601,602のセレクタを介して行われる。前記セレクタ601(データ有効ステータス側),602(画像データ側)は、前記サブモジュール2072の入力側接続先を選択するものであるが、ここでは前記デコード部2071との接続を図示する。該セレクタ設定は、接続レジスタ(不図示)の設定により可能である。   Connection between 2071 and 2072 in FIG. 6 is performed via selectors 601 and 602. The selectors 601 (data valid status side) and 602 (image data side) select the input side connection destination of the submodule 2072. Here, the connection with the decoding unit 2071 is illustrated. The selector can be set by setting a connection register (not shown).

前記サブモジュール2072は、前記図2中の各サブモジュール(例えば、2071,2073,2074等々)と接続可能であり、その関係は他のサブモジュール間でも同様である。それは、本実施例図6で提示している(画像)データ、(画像)データ有効ステータス、(画像)データ送出停止要求ステータスを有するインターフェースにより可能としている。前記データ有効ステータスは、1値時に画像データが有効であることを示し、前記停止要求ステータスは、1値時に前段の前記画像データ及び有効ステータスが即時停止することを要求するものである。また、本発明実施例では、これら信号が前述のクロックの立ち上がりエッジに同期した同相転送を保証する。   The submodule 2072 can be connected to each submodule in FIG. 2 (for example, 2071, 2073, 2074, etc.), and the relationship is the same between the other submodules. This is made possible by the interface having (image) data, (image) data valid status, and (image) data transmission stop request status shown in FIG. The data valid status indicates that the image data is valid when the value is 1, and the stop request status requests that the previous image data and the valid status be immediately stopped when the value is 1. In the embodiment of the present invention, these signals guarantee in-phase transfer synchronized with the rising edge of the clock.

前記図6中603の論理和は、前記デコード部2071の後段となるサブモジュールから来る前記停止要求ステータスを重畳する為のものである。実際のロジックとしては、前記セレクタ601,602に設定される接続レジスタ(不図示)の値によって、後段各サブモジュールからの前記停止要求ステータスとの論理積(不図示)を取る必要がある。即ち、接続関係に無いサブモジュールからの前記停止要求を、前記論理和603に入れないためである。   The logical sum of 603 in FIG. 6 is for superimposing the stop request status coming from the submodule that follows the decoding unit 2071. As an actual logic, it is necessary to take a logical product (not shown) with the stop request status from each submodule in the subsequent stage according to the value of a connection register (not shown) set in the selectors 601 and 602. That is, it is because the stop request from the submodule not connected is not included in the logical sum 603.

前記図6中2072は、簡単な前置補間の機能を提供する。前置補間の採択は、説明を簡易にするためであり、本発明に係る装置において他の不良補正の採択を制限するものではない。本発明実施例では、前置補間部2072の不良時の処置として直前の画像データでの置換を提示している。これも、説明の簡素化のためである。   Reference numeral 2072 in FIG. 6 provides a simple pre-interpolation function. The adoption of pre-interpolation is for the sake of simplicity, and does not limit the adoption of other defect corrections in the apparatus according to the present invention. In the embodiment of the present invention, the replacement with the immediately preceding image data is presented as a measure when the pre-interpolation unit 2072 is defective. This is also for simplifying the explanation.

前記図6中20721は、後段へ転送する画像データを一時保持するレジスタである。同様に、図6中20722は前記画像データ有効ステータスの状態を一時保持するレジスタである。同図6中20723は、前記不良補正ステータス部の状態を一時保持するレジスタである。本発明実施例においてこれらは、前述の如くフリップフロップ回路構成であり、また同期クロック入力(不図示)を持つ。   In FIG. 6, reference numeral 20721 denotes a register that temporarily holds image data to be transferred to the subsequent stage. Similarly, reference numeral 20722 in FIG. 6 is a register that temporarily holds the state of the image data valid status. In FIG. 6, reference numeral 20723 denotes a register that temporarily holds the state of the defect correction status portion. In the embodiment of the present invention, these are flip-flop circuit configurations as described above, and have a synchronous clock input (not shown).

該レジスタ20721〜20723は、前記同期クロックの立ち上がり時において後段からの前記停止要求ステータスが1値の場合に、現在の値を保持するものである。本発明実施例において、前述の如く上位12bitが画像信号であり、下位3bitが各不良属性毎の不良補正ステータスである。   The registers 20721 to 20723 hold the current value when the stop request status from the subsequent stage is 1 at the rising edge of the synchronous clock. In the embodiment of the present invention, as described above, the upper 12 bits are the image signal and the lower 3 bits are the defect correction status for each defect attribute.

図6中20725の積和論理部は、属性選択の値(レジスタ部不図示。本実施例では、図6中属性1選択が前記工程傷選択、属性2選択が前記焦点検出用センサー画素選択、属性3選択が感度傷選択にあたる)によって、一致した不良補正ステータスとの論理積結果を同図6中20724のセレクタの選択条件とする。該条件が1値であれば、そのときの前記画像データを不良画素として、前記レジスタ20721の値(直前の画像データ)で置き換える。   The product-sum logic unit 20725 in FIG. 6 has an attribute selection value (register unit not shown. In this embodiment, the attribute 1 selection in FIG. 6 is the process flaw selection, the attribute 2 selection is the focus detection sensor pixel selection, The attribute AND selection with the corresponding defect correction status is used as the selection condition of the selector 20724 in FIG. If the condition is 1 value, the image data at that time is replaced with the value of the register 20721 (the previous image data) as a defective pixel.

前記属性選択の設定値は、前記工程傷、前記感度傷、前記焦点検出用センサー画素夫々独立にenable/disable設定可能である。もし、前置補間部2072中で、前記感度傷に対しても前置補間を施したい場合には、工程傷同様に、前記属性3選択をenableにすればよい。   The setting value for the attribute selection can be set to enable / disable independently for each of the process defect, the sensitivity defect, and the focus detection sensor pixel. If the pre-interpolation unit 2072 wishes to perform pre-interpolation for the sensitivity flaw, the attribute 3 selection may be set to enable as in the process flaw.

図6中20726の積和論理は、前記不良補正ステータスを解除するためのものである。例えば、該前置補間部2072中で不良補正した画素についての補正ステータスを解除したい場合には、該積和論理部20726出力側値を、同図6中20727のセレクタで選択する様、選択解除のレジスタ値を設定すれば良い(該レジスタ部は不図示)。   The product-sum logic 20726 in FIG. 6 is for canceling the defect correction status. For example, when it is desired to cancel the correction status for the pixel whose defect has been corrected in the pre-interpolation unit 2072, the selection is canceled so that the output value of the product-sum logic unit 20726 is selected by the selector 20727 in FIG. The register value may be set (the register unit is not shown).

この様な、補正ステータスの更新は有効であり、例えば、感度傷については検出手段と補正手段とに分け(例えば図2中2092で検出を、同図2中2093で補正を行う)、存在の確定した(前記デコード部2071で属性検出された)補正ステータスに対して、上記検出手段で検出した結果を該補正ステータスに重畳することも、容易に実現出来る。   Such updating of the correction status is effective. For example, sensitivity flaws are divided into detection means and correction means (for example, detection at 2092 in FIG. 2 and correction at 2093 in FIG. 2). It is also possible to easily superimpose the result detected by the detecting means on the correction status that has been determined (attribute detection by the decoding unit 2071).

例えば前記図2中208を前記焦点検出用センサー値の処理モジュールとしたときに、同図2中2082のサブモジュール中で該焦点検出用センサー画素位置のみを抽出することも可能である。例えば、前記図2中209が画像の現像処理部であり、同図2中2092が不良画素補正処理部であれば、それ以降のサブモジュールでは前記不良補正ステータスは不要となる。その様な場合には、前記補正処理部2092出力は、画像データ12bit分のみを出力すれば良い。   For example, when 208 in FIG. 2 is the focus detection sensor value processing module, it is possible to extract only the focus detection sensor pixel position in the sub module 2082 in FIG. For example, if 209 in FIG. 2 is an image development processing unit and 2092 in FIG. 2 is a defective pixel correction processing unit, the defect correction status is unnecessary in the subsequent submodules. In such a case, the correction processing unit 2092 only needs to output 12 bits of image data.

[実施例2]
本実施例は、前記工程傷やその他複数の解釈の異なる不良画素補正を要する画素の属性や位置情報を含む、前記不良画素情報から夫々属性に対して傷位置情報を独立に抽出する手段について、提示する。
[Example 2]
In this embodiment, the means for independently extracting the flaw position information for each attribute from the defective pixel information, including the attribute and position information of the pixel that requires correction of different defective pixels of the process flaw and a plurality of other interpretations, Present.

上記方法を具体化した前記不良画素情報のデコード部を構築し、そのデコード結果である不良処理対象画素位置情報を夫々の画像処理部で適宜参照することによっても、前記実施例1同様に、前記不良画素情報の読み込みを一としつつ、その補正については夫々独立に実施することが可能となる。   Also by constructing a decoding unit for the defective pixel information that embodies the above-described method, and appropriately referring to the defective processing target pixel position information that is the decoding result in each image processing unit, as in the first embodiment, The correction of the defective pixel information can be performed independently while the reading of the defective pixel information is made uniform.

図1は、本実施例における要部ブロック図であり、補正対象の異なる複数の属性を含んだ前記不良画素情報を読み込み、各対象毎に前記不良処理対象画素位置情報を抽出するデコード手段を示したものである。   FIG. 1 is a principal block diagram of the present embodiment, showing decoding means for reading the defective pixel information including a plurality of different correction target attributes and extracting the defective processing target pixel position information for each target. It is a thing.

図1中101は不良情報解析手段であり、前記不良画素情報から不良の属性(工程傷、感度傷、種類を指す)やその画素位置を解釈するものである。図1中102は常時補正対象となる不良画素の位置情報をライン単位やフレーム単位での{0, 1}情報に変換する不良情報変換手段である。図1中103は揮発性記憶手段であり、装置中に格納された前記不良画素情報を、一時展開・格納する一時記憶手段である。   In FIG. 1, reference numeral 101 denotes defect information analysis means for interpreting defect attributes (representing process scratches, sensitivity scratches, and types) and their pixel positions from the defective pixel information. In FIG. 1, reference numeral 102 denotes defect information conversion means for converting the position information of defective pixels that are always subject to correction into {0, 1} information in units of lines or frames. In FIG. 1, reference numeral 103 denotes volatile storage means, which is temporary storage means for temporarily developing and storing the defective pixel information stored in the apparatus.

図1中1031は前記不良画素情報であり、本実施例では前記工程傷と前記感度傷についての夫々の属性を画素位置情報と共に有し、前述の如く、位置情報としては相対位置情報で保持しているものとする。該不良画素情報1031は、前記揮発性記憶手段103中に展開されており、前記不良情報解析手段101に読み込まれる(本図1では、前記揮発性記憶手段103のデータ送受信に係る制御部は、図が煩雑になるので不図示としている。)。   In FIG. 1, reference numeral 1031 denotes the defective pixel information. In this embodiment, each of the process scratches and the sensitivity scratches has respective attributes together with pixel position information. As described above, the position information is held as relative position information. It shall be. The defective pixel information 1031 is expanded in the volatile storage means 103 and is read into the defect information analysis means 101 (in FIG. 1, the control unit related to data transmission / reception of the volatile storage means 103 is It is not shown because the figure becomes complicated.)

前記不良情報解析手段101に読み込まれた前記不良画素情報1031は、同図1中の位置情報抽出手段1011によって不良位置に係るデータのみを抽出し、同図1中の不良位置用カウンタ1012へと送出する。該不良位置用カウンタ1012は、相対位置として届く距離データを積算していく。該積算結果は、同図1中絶対位置変換手段1016によって、二次元の座標情報へと変換される。前記積算結果の上位をライン数、下位をライン中の画素位置に割り当てることで、容易に二次元の座標情報に変換出来る。   In the defective pixel information 1031 read by the defect information analyzing unit 101, only the data relating to the defective position is extracted by the position information extracting unit 1011 in FIG. 1, and the defect position counter 1012 in FIG. Send it out. The defect position counter 1012 accumulates distance data that arrives as a relative position. The integration result is converted into two-dimensional coordinate information by the absolute position conversion means 1016 in FIG. By assigning the higher order of the integration results to the number of lines and the lower order to the pixel positions in the line, it can be easily converted into two-dimensional coordinate information.

前述の如く、複数の属性を一の不良画素情報としてマージしているので、相対位置の解釈はその属性に因らず連続した作業としなければならない。よって、この前記絶対位置変換手段迄の過程は、全入力データに対して実施される。   As described above, since a plurality of attributes are merged as one piece of defective pixel information, the interpretation of the relative position must be a continuous operation regardless of the attributes. Therefore, the process up to the absolute position converting means is performed for all input data.

図1中1017の絶対位置調整手段は、実際に補正を実行する画像フレーム情報に対して抽出した補正位置の調整をするための手段である。例えば、前記不良画素情報1031として撮像センサーの全画面を対象とした情報を持たせた場合に、実際に撮影したフレーム情報がセンサーの一部の情報であったり、ある間隔毎の画素情報だったりした場合に、画素位置の整合がとれず補正を誤るので、その整合をとる手段が必要なためである。また、特に調整が要らない場合には、該絶対位置調整手段1017は何もしないで、入力絶対位置情報をそのまま出力する。   An absolute position adjusting unit 1017 in FIG. 1 is a unit for adjusting the correction position extracted with respect to image frame information for actually executing correction. For example, when the defective pixel information 1031 includes information for the entire screen of the image sensor, the actually captured frame information may be part of the sensor information or pixel information at certain intervals. In this case, the pixel position cannot be matched and the correction is incorrect, so that means for matching the pixel position is necessary. If no adjustment is required, the absolute position adjusting means 1017 does nothing and outputs the input absolute position information as it is.

また、本実施例では対象外としているが、画素加算といって、撮像センサーの画素情報を幾つか加算した結果を撮影データとして用いる場合がある。その様な場合にも不良画素を含む画素の位置情報として、整合をとることが必要である(例えば、加算画素中に不良画素を含む位置のものは、不良対象画素とする)。   Although not included in the present embodiment, there is a case where the result of adding several pieces of pixel information of the image sensor is used as shooting data as pixel addition. Even in such a case, it is necessary to match the position information of the pixel including the defective pixel (for example, the position including the defective pixel in the addition pixel is determined as the defective pixel).

図1中1013は、不良属性解析手段である。ここでは、前記工程傷・感度傷の属性を抽出する。もし、ここで感度傷の情報を認識したならば、該不良属性解析手段1013は、同図1中の抽出バッファ1018に対して、現在の絶対座標情報の保持を命令する。抽出バッファ1018は、蓄積データを前記揮発性記憶手段103へと送出する(揮発性記憶手段103のデータ送受信の制御部は、不図示)。図1中1033は、前記揮発性記憶手段103に格納された感度傷位置情報である。もし、前記感度傷に係る傷判定の閾値を画像フレーム内で一とするならば、該感度傷位置情報は、正に位置情報のみをその内容とすれば良い。   In FIG. 1, reference numeral 1013 denotes failure attribute analysis means. Here, the attributes of the process scratch / sensitivity scratch are extracted. If the information on the sensitivity flaw is recognized here, the defect attribute analyzing means 1013 instructs the extraction buffer 1018 in FIG. 1 to hold the current absolute coordinate information. The extraction buffer 1018 sends the accumulated data to the volatile storage unit 103 (a data transmission / reception control unit of the volatile storage unit 103 is not shown). In FIG. 1, 1033 is sensitivity flaw position information stored in the volatile storage means 103. If the threshold value for determining the flaw related to the sensitive flaw is set to be one in the image frame, the sensitive flaw position information may include only the position information.

図1中1014は、傷データ実行解析手段である。前記工程傷は、ある条件下では常時補正とするものの定義であるが、そのある条件(ISO感度や、撮影秒時、温度)によっては、補正を必要としない程度のものも存在する。そこで、工程傷の属性には、その程度のグレードを添付することで、傷とする・しないの判断を回路に設定したグレードの閾値に照らして実行することが出来る。その実行をする部位が、該傷データ実行解析手段1014である。   In FIG. 1, 1014 is a flaw data execution analysis means. The process scratch is defined as a constant correction under a certain condition, but depending on the certain condition (ISO sensitivity, shooting time, temperature), there is a defect that does not require correction. Therefore, by attaching a grade of that degree to the attribute of the process scratch, it is possible to determine whether or not it is a scratch in accordance with the grade threshold set in the circuit. The part to be executed is the flaw data execution analysis means 1014.

前記傷データ実行解析手段1014の工程傷補正要求の結果を受けて、前記図1中の実行バッファ1015には、前記絶対位置変換手段結果1016のH位置情報が格納される。   In response to the result of the process flaw correction request from the flaw data execution analysis means 1014, the H buffer information of the absolute position conversion means result 1016 is stored in the execution buffer 1015 in FIG.

前記図1中不良情報変換手段102は、前記工程傷の補正実施要否を{0,1}イメージに変換する部位である。図1中1021のラインバッファは、処理対象画像フレームの1H分の格納容量を持つ。該ラインバッファ1021は、前記絶対位置変換手段1016の結果座標が1H進む毎に同図1中1022の初期化手段によって、全データを0値に初期化される。該初期化手段1022は、不良画素情報の位置指定が撮影画像データの1Hを跨いだ時点で、リセットパルスを生成する。   The defect information conversion means 102 in FIG. 1 is a part that converts whether or not the process flaws need to be corrected into a {0, 1} image. The line buffer 1021 in FIG. 1 has a storage capacity for 1H of the processing target image frame. In the line buffer 1021, every time the result coordinate of the absolute position converting means 1016 advances by 1H, all data is initialized to 0 value by the initializing means 1022 in FIG. The initialization unit 1022 generates a reset pulse when the position designation of the defective pixel information crosses 1H of the captured image data.

図1中1023は、前記ラインバッファ1021の格納範囲内の書き換え位置を指示するライトコントローラである。前記実行バッファ1015のH位置情報の更新毎に、前記ラインバッファ1021に対して、該H位置を書き込みアドレスとして送出し、1値書き込みを命令する。前記要補正情報は、1画素に対して1bitである。前記ラインバッファ1021が、例えば32bitのSRAMで構成されるのならば、例えば32画素毎に書き込み指示をする。その場合、1値書き込みのbit位置の調整も、前記ライトコントローラ1023中で行う。   In FIG. 1, reference numeral 1023 denotes a write controller that indicates a rewrite position within the storage range of the line buffer 1021. Each time the H position information of the execution buffer 1015 is updated, the H position is sent as a write address to the line buffer 1021 to instruct one-value writing. The correction required information is 1 bit for one pixel. If the line buffer 1021 is composed of, for example, a 32-bit SRAM, a write instruction is given for every 32 pixels, for example. In this case, adjustment of the bit position for single value writing is also performed in the write controller 1023.

図1中1024は、前記ラインバッファ1021中のデータを前記揮発性記憶手段103へと送出する指示を行うリードコントローラである。前述の様、例えば前記不良画素情報1031は撮像センサーの全画素分の情報を格納していても、実際に不良補正を適用するのはその一部という場合が存在するので、その有効領域の判定は、同図1中1025の有効領域判定手段で行う。   In FIG. 1, reference numeral 1024 denotes a read controller that gives an instruction to send the data in the line buffer 1021 to the volatile storage means 103. As described above, for example, even if the defective pixel information 1031 stores information for all pixels of the image sensor, there are cases where the defect correction is actually applied in some cases. Is performed by the effective area determination means 1025 in FIG.

前記有効領域判定手段1025は、例えば、実際に現像する撮影画像データが、センサー画素よりも小さいのであれば、不要部分は読み出さない様に前記リードコントローラ1024に対して命令する。   For example, if the captured image data to be actually developed is smaller than the sensor pixel, the effective area determination unit 1025 instructs the read controller 1024 not to read unnecessary portions.

前記リードコントローラ1024の指示を受けて、前記ラインバッファ1021は同図1中1026の配列調整手段にデータを送出する。該配列調整手段1026はバッファを具備し、前記揮発性記憶手段103の受け入れデータ幅にデータ配列を調整して、同手段103に対してデータを送出する(前記揮発性記憶手段103へのデータ送受信の制御部は、不図示)。   In response to the instruction from the read controller 1024, the line buffer 1021 sends data to the arrangement adjusting means 1026 in FIG. The arrangement adjusting unit 1026 includes a buffer, adjusts the data arrangement to the received data width of the volatile storage unit 103, and sends data to the unit 103 (data transmission / reception to the volatile storage unit 103). (The control unit is not shown).

例えば、撮像センサーの2画素毎に有効データを持つ様な撮影画像に対しては、前記ラインバッファ1021中の2bit毎のデータを詰め込み直す作業も、該配列調整手段1026で行う。図1中1032は、この様に前記揮発性記憶手段103上に展開された、工程傷補正要否の{0,1}ステータス情報である。   For example, for the captured image having valid data for every two pixels of the image sensor, the arrangement adjusting means 1026 also performs the work of repacking the data for every 2 bits in the line buffer 1021. In FIG. 1, 1032 is {0, 1} status information of necessity / unnecessity of process scratches developed on the volatile storage unit 103 in this way.

図3は、前記不良画素情報中に前記工程傷、前記感度傷及び、前記焦点検出用センサー画素夫々の情報を含んだものに対する処理構成図示である。構成要素は、前記図1中の各モジュールと等しいので、ここではその差異だけを説明する。前記傷データ実行解析手段1014に相当する手段が、前記工程傷用の3013と、前記焦点検出用センサー画素用の3015と、2基搭載している。   FIG. 3 is a diagram showing a processing configuration for the defective pixel information including information on each of the process defect, the sensitivity defect, and the focus detection sensor pixel. Since the components are the same as those in FIG. 1, only the differences will be described here. Two means corresponding to the flaw data execution analysis means 1014 are mounted, the process flaw 3013 and the focus detection sensor pixel 3015.

前記焦点検出用センサー画素に対する傷データ実行解析手段3015は、その構造によっては画像処理時に常時補正対象なので不要である。例えば、任意の領域の前記焦点検出用センサー画素のみを(焦点検出用として)用いる場合に、その弁別が必要となるのでここでは手段3015を設けている。もし、上記領域外の前記焦点検出用センサー画素を画像処理する場合には、それを補正する様ステータスを送出する必要があるので、ブロック3015出力は、図1中3014の実行バッファ1の入力にも接続されている。   The flaw data execution analysis means 3015 for the focus detection sensor pixel is not necessary because it is subject to correction at all times during image processing depending on its structure. For example, when only the focus detection sensor pixel in an arbitrary region is used (for focus detection), the discrimination is necessary, and the means 3015 is provided here. If the focus detection sensor pixel outside the region is image-processed, it is necessary to send a status to correct it, so the output of the block 3015 is input to the execution buffer 1 at 3014 in FIG. Is also connected.

前記図1中1021に相当するラインバッファも工程傷ステータス用3020、焦点検出画素ステータス用3021と2基搭載している。また夫々に対応するライトコントローラも3023,3024と2基搭載している。不良位置用カウンタ3011による進捗管理は一であるので、夫々ラインバッファの初期化手段3022及び、実際に有効データとして読み出すための有効領域判定手段3026は、夫々1基の搭載である。   The line buffer corresponding to 1021 in FIG. 1 is also mounted with two for process scratch status 3020 and focus detection pixel status 3021. Moreover, two light controllers 3023 and 3024 corresponding to each are mounted. Since there is only one progress management by the defect position counter 3011, each of the line buffer initialization means 3022 and the effective area determination means 3026 for actually reading out as valid data is provided as one.

前記配列調整手段1026相当は、夫々工程傷ステータス用3027、焦点検出センサー画素ステータス用3028と、夫々独立に2基搭載する。結果として、処理対象である不良画素情報3031の不良情報を、工程傷補正ステータス3032、焦点検出センサー位置ステータス3033及び、感度傷補正位置情報3034に夫々分離・抽出することが出来る。   The arrangement adjustment means 1026 is equivalent to two independent processing defect statuses 3027 and focus detection sensor pixel statuses 3028, respectively. As a result, the defect information of the defective pixel information 3031 to be processed can be separated and extracted into the process defect correction status 3032, the focus detection sensor position status 3033, and the sensitivity defect correction position information 3034, respectively.

{0,1}情報化された前記工程傷補正ステータスや前記焦点検出用センサー画素補正ステータスに対する補正の実施は、その0値、1値が画素毎の不良有無と一対一になっているので、例えば図4中411の出力と等価な扱いをすることで補正可能である。また、感度傷補正位置情報。本実施例では、前記不良画素自体の補正方法詳細については、発明の特徴に含まれないのでここでは言及しない。   Since the correction for the process scratch correction status and the focus detection sensor pixel correction status that are {0, 1} information is performed, the 0 value and the 1 value are in one-to-one correspondence with the presence or absence of defects for each pixel. For example, the correction can be made by handling equivalent to the output 411 in FIG. Also, sensitivity flaw correction position information. In the present embodiment, the details of the method for correcting the defective pixel itself are not included in the features of the invention and will not be described here.

406 不良情報解析手段
102 不良情報変換手段
207,208,209 画像処理手段
2101,2103,2105 FIFO
2102,2104,2106 ステータスコントローラ
406 Failure information analysis means 102 Failure information conversion means 207, 208, 209 Image processing means 2101, 2103, 2105 FIFO
2102, 2104, 2106 Status controller

Claims (23)

画像情報を処理する画像処理装置内に在り、
前記画像情報中の任意の画素に対する補正要求情報(以下、不良画素情報)を受信し、該情報を解析する不良画素情報解析手段であり、
前記不良画素情報には、補正対象の画素(以下、不良画素)を特定する位置情報と、不良の原因又は(及び)補正の種類に係る属性情報と、を含み、
前記位置情報と前記属性情報より、各属性毎に正常画素であるか不良画素であるかを示すステータスを生成し、
前記画像情報に対して、夫々のステータスをまとめて付加することを特徴とした、不良画素情報解析手段。
Located in an image processing device that processes image information,
Correction pixel information analysis means for receiving correction request information (hereinafter referred to as defective pixel information) for an arbitrary pixel in the image information and analyzing the information;
The defective pixel information includes position information for specifying a pixel to be corrected (hereinafter referred to as a defective pixel), and attribute information regarding the cause of the defect or (and) the type of correction,
From the position information and the attribute information, generate a status indicating whether it is a normal pixel or a defective pixel for each attribute,
Defective pixel information analysis means, wherein the statuses are added together to the image information.
任意の属性に係る、前記正常画素であるか不良画素であるかを示すステータスは、0値,1値を夫々をどちらかに割り当てた1bitで示されることを特徴とした、請求項1に記載の不良画素情報解析手段。   The status indicating whether the pixel is a normal pixel or a defective pixel according to an arbitrary attribute is indicated by 1 bit in which a 0 value or a 1 value is assigned to either of them. Defective pixel information analysis means. 前記夫々のステータスの、前記画像情報への付加は、当該画像情報の最下位bit又は、最上位bitに対して拡張する様に付加することを特徴とした、請求項1又は請求項2に記載の不良画素情報解析手段。   The addition of the respective statuses to the image information is performed so as to be extended with respect to the least significant bit or the most significant bit of the image information. Defective pixel information analysis means. 請求項1乃至請求項3の何れか1項に記載の不良画素情報解析手段にて解析される前記不良画素情報であり、
該不良画素情報への対象となる前記不良画素とは、前記画像情報中に存在する画像形成とは別途の用途に用いられる画素(焦点検出用センサー画素)の情報をも含むことを特徴とした、不良画素情報。
The defective pixel information analyzed by the defective pixel information analyzing means according to any one of claims 1 to 3,
The defective pixel which is a target for the defective pixel information includes information on a pixel (focus detection sensor pixel) used for an application different from the image formation existing in the image information. , Defective pixel information.
撮像手段を有し、該撮像手段中の任意の画素の補正を指示する情報(以下、不良画素情報)と、当該不良画素情報解析手段と、を、有する画像処理装置であり、
前記不良画素情報には、補正対象の画素(以下、不良画素)を特定する位置情報と、不良の原因又は(及び)補正の種類に係る属性情報と、を含み、
前記不良画素情報を格納しておく不揮発性記憶手段と、
それを一時記憶させる一時記憶手段と、
該一時記憶手段の制御部と、
前記一時記憶手段からの前記不良画素情報を受信し、該情報の内容を解析するデコード部と、を有し、
前記デコード部は、不良画素情報抽出手段と、画素を計数するカウンタと、を、夫々具備し、
前記デコード部は、前記不良画素情報と、前記撮像手段より得た画像情報と、夫々を受信し、
前記不良画素情報抽出手段は、前記位置情報と、前記属性情報と、夫々を抽出する手段であり、
前記カウンタは、有効である前記画像情報を受信する毎に、計数・更新していくカウンタであり、
前記位置情報を鑑みた前記カウンタ値の計数・更新結果から、注目画素が不良であるかどうかを判断し、当該注目画素の不良有無を示す不良ステータスを生成し、
前記デコード部は、受信した前記画像情報の出力時に、生成した前記現在の不良ステータスを、前記属性情報に基き一つ以上のステータス情報として前記画像情報に重畳(マージ)して送出することを特徴とした、画像処理装置。
An image processing apparatus that includes an imaging unit, and includes information (hereinafter, defective pixel information) that instructs correction of an arbitrary pixel in the imaging unit, and the defective pixel information analysis unit.
The defective pixel information includes position information for specifying a pixel to be corrected (hereinafter referred to as a defective pixel), and attribute information regarding the cause of the defect or (and) the type of correction,
Nonvolatile storage means for storing the defective pixel information;
Temporary storage means for temporarily storing it,
A controller of the temporary storage means;
A decoding unit that receives the defective pixel information from the temporary storage unit and analyzes the content of the information;
The decoding unit comprises defective pixel information extraction means and a counter for counting pixels, respectively.
The decoding unit receives the defective pixel information and the image information obtained from the imaging unit,
The defective pixel information extracting means is means for extracting the position information and the attribute information, respectively.
The counter is a counter that counts and updates each time it receives the valid image information,
From the counting / update result of the counter value in consideration of the position information, it is determined whether the target pixel is defective, and a defect status indicating whether the target pixel is defective is generated,
The decoding unit outputs the generated current failure status by superimposing (merging) the generated current defect status with the image information as one or more status information based on the attribute information when outputting the received image information. An image processing apparatus.
前記不良ステータス情報を重畳(マージ)した画像情報を受け取り、当該画像情報を処理すべく画像情報処理手段を有し、
該画像情報処理手段は、画像情報処理時には、重畳(マージ)した前記不良ステータスを保持する手段(レジスタ)を、具備したことを特徴とする、請求項5に記載の画像処理装置。
Receiving image information on which the defect status information is superimposed (merged), and having image information processing means for processing the image information;
6. The image processing apparatus according to claim 5, wherein the image information processing means includes means (register) for holding the superimposed (merged) defect status during image information processing.
前記不良ステータス情報を重畳(マージ)した画像情報を受け取り、当該画像情報を処理すべく画像情報処理手段を有し、
該画像情報処理手段は、画像情報処理時には、重畳(マージ)した前記不良ステータスを分離する処理構成であること特徴とする、請求項5に記載の画像処理装置。
Receiving image information on which the defect status information is superimposed (merged), and having image information processing means for processing the image information;
The image processing apparatus according to claim 5, wherein the image information processing unit is configured to separate the superimposed (merged) defect statuses during image information processing.
前記不良ステータス情報を重畳(マージ)した画像情報を受け取り、当該画像情報を処理すべく画像情報処理手段を有し、
該画像情報処理手段の画像情報処理結果に基き、前記重畳(マージ)された不良ステータス情報の状態の更新を実施する処理構成を具備することを特徴とする、請求項5に記載の画像処理装置。
Receiving image information on which the defect status information is superimposed (merged), and having image information processing means for processing the image information;
6. The image processing apparatus according to claim 5, further comprising a processing configuration that updates the state of the superimposed (merged) defect status information based on an image information processing result of the image information processing means. .
前記画像情報処理手段は、前記不良ステータス情報に基く任意の画素に対する不良画素補正処理を行う処理を含み、
前記不良ステータス情報の更新は、上述の不良画素補正処理によって対象画素が補正された際に、前記不良ステータスを不良状態から通常画素扱いの状態へと変更することを示す、請求項8に記載の画像情報処理装置。
The image information processing means includes a process of performing a defective pixel correction process on an arbitrary pixel based on the defect status information,
The update of the defect status information indicates that, when the target pixel is corrected by the above-described defective pixel correction process, the defect status is changed from a defective state to a normal pixel handling state. Image information processing apparatus.
請求項5乃至請求項9の何れか1項に記載の画像情報処理装置にて解析される前記不良画素情報であり、
該不良画素情報への対象となる前記不良画素とは、前記画像情報中に存在する画像形成とは別途の用途に用いられる画素(焦点検出用センサー画素)の情報をも含むことを特徴とした、不良画素情報。
The defective pixel information analyzed by the image information processing apparatus according to any one of claims 5 to 9,
The defective pixel which is a target for the defective pixel information includes information on a pixel (focus detection sensor pixel) used for an application different from the image formation existing in the image information. , Defective pixel information.
画像情報を処理する画像処理装置内に在り、
前記画像情報中の任意の画素に対する補正要求情報(以下、不良画素情報)を受信し、該情報を解析する不良画素情報解析手段であり、
前記不良画素情報には、補正対象の画素(以下、不良画素)を特定する位置情報と、不良の原因又は(及び)補正の種類に係る属性情報と、を含み、
前記不良画素情報解析手段は、前記位置情報から前記不良画素位置を抽出する手段と、前記属性情報から前記不良の原因又は(及び)補正の種類を抽出する手段と、を具備し、
抽出した前記不良の原因又は(及び)補正の種類によって、
抽出した前記不良画素位置の情報を任意のフォーマットに変換する制御と、
抽出した前記不良画素位置とそれ以外の位置とで異なるステータスに切り替えて記憶する制御と、を、選択的に実行可能であることを特徴とした、前記不良画素情報解析手段。
Located in an image processing device that processes image information,
Correction pixel information analysis means for receiving correction request information (hereinafter referred to as defective pixel information) for an arbitrary pixel in the image information and analyzing the information;
The defective pixel information includes position information for specifying a pixel to be corrected (hereinafter referred to as a defective pixel), and attribute information regarding the cause of the defect or (and) the type of correction,
The defective pixel information analyzing means comprises means for extracting the defective pixel position from the position information, and means for extracting the cause of the defect or (and) the type of correction from the attribute information.
Depending on the cause of the extracted failure and / or the type of correction,
Control for converting the information of the extracted defective pixel position into an arbitrary format;
The defective pixel information analyzing means characterized in that it can selectively execute control of switching to a different status at the extracted defective pixel position and other positions.
前記不良画素情報中の位置情報は、注目不良画素に対する直前の不良画素までの距離を示す相対位置情報を含み、
前記不良画素位置の情報を変換する任意のフォーマットとは、フレーム中の座標を示す絶対位置情報を含むことを特徴とした、請求項11に記載の不良画素情報解析手段。
The position information in the defective pixel information includes relative position information indicating a distance to the defective pixel immediately before the defective pixel of interest,
12. The defective pixel information analyzing unit according to claim 11, wherein the arbitrary format for converting the information on the defective pixel position includes absolute position information indicating coordinates in a frame.
前記不良画素位置とそれ以外の位置とで異なるステータスは、
正常画素であるか、不良画素であるか、を0値,1値を夫々をどちらかに割り当てた1bitで示されることを特徴とした、請求項11に記載の不良画素情報解析手段。
The statuses that are different between the defective pixel position and other positions are:
12. The defective pixel information analyzing means according to claim 11, wherein whether the pixel is a normal pixel or a defective pixel is indicated by 1 bit in which 0 value and 1 value are assigned to either.
請求項11乃至請求項13の何れか1項に記載の不良画素情報解析手段にて解析される前記不良画素情報であり、
該不良画素情報への対象となる前記不良画素とは、前記画像情報中に存在する画像形成とは別途の用途に用いられる画素(焦点検出用センサー画素)の情報をも含むことを特徴とした、不良画素情報。
The defective pixel information analyzed by the defective pixel information analyzing unit according to any one of claims 11 to 13,
The defective pixel which is a target for the defective pixel information includes information on a pixel (focus detection sensor pixel) used for an application different from the image formation existing in the image information. , Defective pixel information.
請求項11に記載の不良画素情報解析手段と、記憶手段と、を含む画像処理装置であり、
前記任意のフォーマットに変換した不良画素位置の情報を、前記記憶手段に格納するためのインターフェースを前記不良画素情報解析手段に具備したことを特徴とする、画像処理装置。
An image processing apparatus including the defective pixel information analysis unit according to claim 11 and a storage unit,
An image processing apparatus, wherein the defective pixel information analyzing unit includes an interface for storing, in the storage unit, information on a defective pixel position converted into the arbitrary format.
請求項11に記載の不良画素情報解析手段と、記憶手段と、を含む画像処理装置であり、
生成した前記不良画素位置とそれ以外の位置とで異なるステータスの情報を、前記記憶手段に格納するためのインターフェースを前記不良画素情報解析手段に具備したことを特徴とする、画像処理装置。
An image processing apparatus including the defective pixel information analysis unit according to claim 11 and a storage unit,
An image processing apparatus comprising an interface for storing in the storage means information on statuses that differ between the generated defective pixel position and other positions in the storage means.
撮像手段を有し、該撮像手段中の任意の画素の補正を指示する情報(以下、不良画素情報)と、当該不良画素情報解析手段と、を、有する画像処理装置であり、
前記不良画素情報には、補正対象の画素(以下、不良画素)を特定する位置情報と、不良の原因又は(及び)補正の種類に係る属性情報と、を含み、
前記不良画素情報を格納しておく不揮発性記憶手段と、
それを一時記憶させる一時記憶手段と、
該一時記憶手段の制御部と、
前記一時記憶手段からの前記不良画素情報を受信し、該情報の内容を解析する不良情報解析手段と、
前記不良情報解析手段の出力情報を受信し、該情報の内容を変換する不良情報変換手段と、を有し、
前記不良情報解析手段は、前記不良画素情報から前記位置情報を抽出する位置情報抽出手段と、該位置情報分の値を計数・更新する不良位置用カウンタと、前記不良画素情報から前記属性情報を抽出する不良属性解析手段と、を、具備し、
前記不良情報変換手段は、連続した位置関係にある画素に対する不良補正の有無を示すステータス信号の状態を保持する一時バッファと、該一時バッファの初期化手段と、前記不良情報解析手段の不良属性解析手段の出力を鑑みた情報で制御される前記一時バッファのライトコントローラと、前記一時バッファのリードコントローラと、配列調整手段と、を具備し、
前記一時バッファに一時記憶される前記ステータス信号の状態は、{0, 1}信号であり、該信号は、前記配列調整手段を介して、前記一時記憶手段の格納に適した単位でのデータ扱いに変換されると共に、該一時記憶手段に記憶されることを特徴とした、画像処理装置。
An image processing apparatus that includes an imaging unit, and includes information (hereinafter, defective pixel information) that instructs correction of an arbitrary pixel in the imaging unit, and the defective pixel information analysis unit.
The defective pixel information includes position information for specifying a pixel to be corrected (hereinafter referred to as a defective pixel), and attribute information regarding the cause of the defect or (and) the type of correction,
Nonvolatile storage means for storing the defective pixel information;
Temporary storage means for temporarily storing it,
A controller of the temporary storage means;
Receiving the defective pixel information from the temporary storage means, and analyzing the content of the information;
Receiving the output information of the defect information analysis means, and having defect information conversion means for converting the content of the information,
The defect information analysis means includes position information extraction means for extracting the position information from the defective pixel information, a defect position counter for counting and updating a value corresponding to the position information, and the attribute information from the defective pixel information. A defect attribute analyzing means for extracting,
The defect information conversion means includes a temporary buffer for holding a status signal status indicating whether or not defect correction is performed for pixels in a continuous positional relationship, an initialization means for the temporary buffer, and a defect attribute analysis of the defect information analysis means. A write controller for the temporary buffer controlled by information in view of the output of the means, a read controller for the temporary buffer, and an arrangement adjusting means,
The state of the status signal temporarily stored in the temporary buffer is a {0, 1} signal, and the signal is handled as data in a unit suitable for storage in the temporary storage unit via the array adjustment unit. And an image processing apparatus characterized in that the image processing apparatus stores the temporary storage means.
前記不良情報変換手段中の一時バッファは、当該処理画像の水平方向1ライン分の前記ステータス信号の状態を記憶するのに十分な容量を持つラインバッファとして搭載されることを特徴とした、請求項17に記載の画像処理装置。   The temporary buffer in the defect information converting means is mounted as a line buffer having a capacity sufficient to store the status signal status for one horizontal line of the processed image. The image processing apparatus according to 17. 前記一時バッファのライトコントローラは、1bit情報として表現できる前記ステータス信号の状態{0, 1}を複数bitまとめて1ワード単位とし、
前記一時バッファは、そのデータ格納/読み出し単位を前記ワード単位とするSRAMのメモリ構成であることを特徴とした、請求項17又は請求項18に記載の画像処理装置。
The write controller of the temporary buffer makes the status signal state {0, 1}, which can be expressed as 1-bit information, a plurality of bits collectively in 1-word units,
19. The image processing apparatus according to claim 17, wherein the temporary buffer has an SRAM memory configuration in which a data storage / read unit is the word unit.
前記一時バッファのリードコントローラは、前記一時バッファの読み出しワード単位の読み出しを行うタイミングを発行すると共に、
前記配列調整手段は、前記リードコントローラの読み出しタイミングによって、前記一時バッファのデータを前記ワード単位で一旦受信することを特徴とした、請求項17乃至請求項19の何れか1項に記載の画像処理装置。
The read controller of the temporary buffer issues a timing for reading the read word unit of the temporary buffer, and
The image processing according to any one of claims 17 to 19, wherein the arrangement adjusting unit temporarily receives the data in the temporary buffer in units of words according to a read timing of the read controller. apparatus.
前記配列調整手段は、前記リードコントローラの読み出しタイミングによって一旦受信した前記一時バッファからのワード単位のデータを1つ以上受信し、前記一時記憶手段の取扱データ配列に調整した後に該一時記憶手段に対して出力することを特徴とした、請求項17乃至請求項20の何れか1項に記載の画像処理装置。   The arrangement adjusting means receives at least one word unit data from the temporary buffer once received according to the read timing of the read controller, adjusts it to the handling data arrangement of the temporary storage means, and then stores the data in the temporary storage means. The image processing apparatus according to claim 17, wherein the image processing apparatus outputs the output of the image processing apparatus. 前記一時記憶手段は、複数回リード/ライト可能な揮発性メモリ(DRAM)又は、不揮発性メモリ(FlashROM)であることを特徴とした、請求項17乃至請求項21の何れか1項に記載の画像処理装置。   The temporary storage unit is a volatile memory (DRAM) that can be read / written a plurality of times, or a nonvolatile memory (FlashROM), according to any one of claims 17 to 21. Image processing device. 請求項17乃至請求項22の何れか1項に記載の画像情報処理装置にて解析される前記不良画素情報であり、
該不良画素情報への対象となる前記不良画素とは、前記画像情報中に存在する画像形成とは別途の用途に用いられる画素(焦点検出用センサー画素)の情報をも含むことを特徴とした、不良画素情報。
The defective pixel information analyzed by the image information processing apparatus according to any one of claims 17 to 22.
The defective pixel which is a target for the defective pixel information includes information on a pixel (focus detection sensor pixel) used for an application different from the image formation existing in the image information. , Defective pixel information.
JP2010275261A 2010-12-10 2010-12-10 Image processing system Pending JP2012124795A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010275261A JP2012124795A (en) 2010-12-10 2010-12-10 Image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010275261A JP2012124795A (en) 2010-12-10 2010-12-10 Image processing system

Publications (1)

Publication Number Publication Date
JP2012124795A true JP2012124795A (en) 2012-06-28

Family

ID=46505768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010275261A Pending JP2012124795A (en) 2010-12-10 2010-12-10 Image processing system

Country Status (1)

Country Link
JP (1) JP2012124795A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103258478A (en) * 2013-05-09 2013-08-21 友达光电(厦门)有限公司 Substrate for displayer and display panel
JP2020057958A (en) * 2018-10-03 2020-04-09 キヤノン株式会社 Image processing apparatus and image processing method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103258478A (en) * 2013-05-09 2013-08-21 友达光电(厦门)有限公司 Substrate for displayer and display panel
JP2020057958A (en) * 2018-10-03 2020-04-09 キヤノン株式会社 Image processing apparatus and image processing method
JP7242235B2 (en) 2018-10-03 2023-03-20 キヤノン株式会社 Image processing device and image processing method

Similar Documents

Publication Publication Date Title
JP3773773B2 (en) Image signal processing apparatus and pixel defect detection method
JP2005528857A (en) Method and apparatus for real time identification and correction of pixel defects for an image sensor array
US20080278609A1 (en) Imaging apparatus, defective pixel correcting apparatus, processing method in the apparatuses, and program
US20030179418A1 (en) Producing a defective pixel map from defective cluster pixels in an area array image sensor
JP4533124B2 (en) Pixel defect correction device
JP2017216646A (en) Imaging device, imaging apparatus and imaging signal processing method
JP2009049858A (en) Imaging apparatus
JP2016220078A (en) Image processing apparatus and method, and imaging device
US8237827B2 (en) Digital photographing apparatus for correcting smear taking into consideration acquired location relationship
US9247168B2 (en) Imaging device including focusing pixels
JP2017055308A (en) Imaging apparatus and its control method
JP2012124795A (en) Image processing system
US10136088B2 (en) Image pickup apparatus that reduces amount of information of defective pixels, method of controlling the same, and storage medium
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
JPWO2018025323A1 (en) Image processing apparatus, image processing method and program
US9918028B2 (en) Image capturing apparatus comprising a plurality of processing circuits for correcting defective pixel by using information of defective pixel detected in different frames and control method for the same
JP2012070319A (en) Image processing method, image processing apparatus, and image processing program
JP5901188B2 (en) Imaging apparatus and image processing method
US20090091642A1 (en) Image defect correction system using directional detection
JP2011114473A (en) Pixel defect correction device
JP4807075B2 (en) Imaging device and defective pixel correction method thereof
JP4457874B2 (en) Video signal processing apparatus and method
JP6041523B2 (en) Image processing apparatus and method
JP6871795B2 (en) Imaging device, its control method, program and recording medium
JP2008148115A (en) Image defect correction system of imaging device using direction detection