JP6137941B2 - Image processing system, image processing method and program, and imaging apparatus - Google Patents

Image processing system, image processing method and program, and imaging apparatus Download PDF

Info

Publication number
JP6137941B2
JP6137941B2 JP2013109062A JP2013109062A JP6137941B2 JP 6137941 B2 JP6137941 B2 JP 6137941B2 JP 2013109062 A JP2013109062 A JP 2013109062A JP 2013109062 A JP2013109062 A JP 2013109062A JP 6137941 B2 JP6137941 B2 JP 6137941B2
Authority
JP
Japan
Prior art keywords
image
information
reconstructed image
refocus
defective pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2013109062A
Other languages
Japanese (ja)
Other versions
JP2014230145A (en
Inventor
秀樹 池戸
秀樹 池戸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2013109062A priority Critical patent/JP6137941B2/en
Publication of JP2014230145A publication Critical patent/JP2014230145A/en
Application granted granted Critical
Publication of JP6137941B2 publication Critical patent/JP6137941B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、マイクロレンズアレイを用いた撮像装置で撮像された撮像信号を処理する画像処理システムに関し、特に撮像装置の欠陥画素を補正するための画像処理システムに関する。   The present invention relates to an image processing system that processes an imaging signal imaged by an imaging device using a microlens array, and more particularly to an image processing system for correcting defective pixels of the imaging device.

近年、光の強度分布に加えて、光の進行方向の情報も含むようにして撮像データを取得し、ユーザーが指定した任意の焦点位置における画像を再構成できるカメラが提案されている。例えば、非特許文献1では、「Light Field Photography」と呼ばれる手法を用いたライトフィールドカメラが提案されている。非特許文献1では、撮影レンズと撮像素子の間にマイクロレンズアレイを配置し、撮影レンズの異なる瞳領域を通過した光が各マイクロレンズに収束するように構成されている。そして、1つのマイクロレンズに対して複数の画素が割り当てられており、マイクロレンズに収束した光は複数の画素によって入射方向別に取得される。こうして取得した撮像画像から、仮想の像面(リフォーカス面)で結像して各マイクロレンズに入射する光線が受光されている画素の信号を集めてくることで、任意の焦点位置における画像を再構成できる。   In recent years, there has been proposed a camera capable of acquiring imaging data so as to include information on the light traveling direction in addition to the light intensity distribution and reconstructing an image at an arbitrary focal position designated by the user. For example, Non-Patent Document 1 proposes a light field camera using a technique called “Light Field Photography”. In Non-Patent Document 1, a microlens array is arranged between a photographing lens and an image sensor, and light that has passed through different pupil regions of the photographing lens is configured to converge on each microlens. A plurality of pixels are assigned to one microlens, and light converged on the microlens is acquired by the plurality of pixels for each incident direction. An image at an arbitrary focal position can be obtained by collecting the signals of the pixels that are formed on the virtual image plane (refocus plane) and received by the light incident on each microlens from the captured image thus acquired. Can be reconfigured.

ところで、CCDイメージセンサやCMOSイメージセンサなどの固体撮像素子では、半導体基板上に存在する局所的な結晶欠陥などにより欠陥画素が発生することがある。こういった欠陥画素の画素信号からは正しい出力が得られないため、欠陥画素の画素信号を補正する必要がある。例えば、特許文献1には、撮像装置もしくは撮像素子の製造工程において、あらかじめ撮影した画像に基づいて欠陥画素のアドレスを記録して撮像装置のメモリに保存し、前記アドレスに従って撮影画像中の欠陥画素の信号を補正する方法が開示されている。   By the way, in a solid-state imaging device such as a CCD image sensor or a CMOS image sensor, defective pixels may occur due to local crystal defects existing on a semiconductor substrate. Since a correct output cannot be obtained from the pixel signal of such a defective pixel, it is necessary to correct the pixel signal of the defective pixel. For example, in Patent Document 1, in the manufacturing process of an imaging device or an imaging element, an address of a defective pixel is recorded based on an image captured in advance and stored in a memory of the imaging device, and the defective pixel in the captured image is recorded according to the address. A method for correcting the signal is disclosed.

また、欠陥画素からの画素信号を補正する方法としては、欠陥画素の画素値を、欠陥画素に隣接する画素の画素値と置き換える方法や、欠陥画素の画素値を、欠陥画素に隣接する複数の画素の画素値の平均値と置き換える方法などが一般的である。   In addition, as a method of correcting the pixel signal from the defective pixel, a method of replacing the pixel value of the defective pixel with a pixel value of a pixel adjacent to the defective pixel, or a method of replacing the pixel value of the defective pixel with a plurality of pixels adjacent to the defective pixel. A method of replacing with an average value of pixel values of pixels is common.

Ren.Ng、他7名,「Light Field Photography with a Hand-Held Plenoptic Camera」,Stanford Tech Report CTSR 2005-02Ren.Ng and 7 others, “Light Field Photography with a Hand-Held Plenoptic Camera”, Stanford Tech Report CTSR 2005-02

特開2005−26794号公報JP 2005-26794 A

非特許文献1に記載されているようなライトフィールドカメラでは、リフォーカス面で結像する複数の光線は複数の画素に別々に受光されている。さらに、リフォーカス面の位置がマイクロレンズアレイの位置から離れるほど、前記複数の光線はより離れた位置にある画素にそれぞれ受光されている。   In a light field camera as described in Non-Patent Document 1, a plurality of light beams that form an image on a refocus plane are separately received by a plurality of pixels. Further, as the position of the refocus plane is further away from the position of the microlens array, the plurality of light beams are received by the pixels at further away positions.

そのため、特許文献1のように、あらかじめ取得した欠陥画素のアドレスをもとに欠陥画素の画素値を隣接画素の画素値を使って補正する方法では、リフォーカス面の位置によっては好適な補正ができないという問題があった。   Therefore, in the method of correcting the pixel value of the defective pixel using the pixel value of the adjacent pixel based on the address of the defective pixel acquired in advance as in Patent Document 1, a suitable correction is performed depending on the position of the refocus plane. There was a problem that I could not.

そこで本発明の目的は、光の進行方向の情報を含むようにして取得した撮像データに対して、適切な欠陥補正処理を施すことが可能な画像処理システムを提供することである。   Accordingly, an object of the present invention is to provide an image processing system capable of performing appropriate defect correction processing on imaging data acquired so as to include information on the traveling direction of light.

前記目的を達成するために、本発明によれば、撮影レンズの瞳分割手段と、撮影レンズと瞳分割手段によって形成される光学像を撮像する画素配列を有する撮像手段で生成された画像信号を処理する画像処理システムは、画素配列が有する欠陥画素についての欠陥画素情報を保持する保持手段と、再構成画像を生成するリフォーカス位置を設定する設定手段と、リフォーカス位置の再構成画像を、画像信号を用いて生成するリフォーカス手段と、欠陥画素情報に基づいて、生成された再構成画像を補正する補正手段とを備え、補正手段は、設定されたリフォーカス位置の再構成画像に対応した欠陥画素の位置情報と出力レベル情報を用いて生成された再構成画像を補正する。   In order to achieve the above object, according to the present invention, an image signal generated by an imaging unit having a pupil division unit of a photographic lens and a pixel array for imaging an optical image formed by the photographic lens and the pupil division unit is obtained. An image processing system to process includes a holding unit that holds defective pixel information about a defective pixel included in a pixel array, a setting unit that sets a refocus position for generating a reconstructed image, and a reconstructed image at a refocus position. A refocusing unit that generates using an image signal and a correcting unit that corrects the generated reconstructed image based on defective pixel information are provided. The correcting unit corresponds to the reconstructed image at the set refocus position. The reconstructed image generated using the defective pixel position information and output level information is corrected.

本発明によれば、ライトフィールドカメラの画像処理システムにおいて、撮像素子の欠陥画素を適切に補正することが可能となる画像処理システムを提供する。   According to the present invention, an image processing system capable of appropriately correcting defective pixels of an image sensor in an image processing system of a light field camera is provided.

本発明の第1の実施例に係る画像処理システムを適用した撮像装置の全体ブロック図1 is an overall block diagram of an imaging apparatus to which an image processing system according to a first embodiment of the present invention is applied. 本発明の第1の実施例の撮像装置の撮像素子とマイクロレンズアレイの構成を説明するための図The figure for demonstrating the structure of the image pick-up element and micro lens array of the imaging device of 1st Example of this invention. 本発明の第1の実施例の撮像装置の撮影レンズ、マイクロレンズアレイおよび撮像素子の構成を説明するための図The figure for demonstrating the structure of the imaging lens of the imaging device of 1st Example of this invention, a micro lens array, and an image pick-up element. 本発明の第1の実施例の撮像装置における撮影レンズの瞳領域と受光画素の対応関係を説明するための図The figure for demonstrating the correspondence of the pupil region of a taking lens, and a light reception pixel in the imaging device of 1st Example of this invention. 本発明の第1の実施例の撮像装置における撮影レンズの瞳領域、リフォーカス面上の画素およびマイクロレンズの対応関係を説明するための図The figure for demonstrating the correspondence of the pupil area | region of the imaging lens in the imaging device of 1st Example of this invention, the pixel on a refocus surface, and a micro lens. 本発明の第1の実施例に係る画像処理システムを構成する画像処理部の構成を説明するための図The figure for demonstrating the structure of the image process part which comprises the image processing system which concerns on 1st Example of this invention. 本発明の第1の実施例に係る欠陥画素情報のデータ構成例を示す図The figure which shows the data structural example of the defective pixel information which concerns on 1st Example of this invention. 本発明の第1の実施例に係る欠陥画素情報の生成動作のフローチャートを示す図The figure which shows the flowchart of the production | generation operation | movement of the defective pixel information based on 1st Example of this invention. 本発明の第1の実施例のキズレベルテーブルの例を示す図The figure which shows the example of the crack level table of 1st Example of this invention. 本発明の第1の実施例に係る欠陥画素情報の変換例を示す図The figure which shows the example of conversion of the defective pixel information which concerns on 1st Example of this invention. 本発明の第1の実施例における撮像装置の撮影動作のフローチャートを示す図The figure which shows the flowchart of imaging | photography operation | movement of the imaging device in 1st Example of this invention. 本発明の第1の実施例の欠陥補正動作のフローチャートを示す図The figure which shows the flowchart of the defect correction operation | movement of 1st Example of this invention. 本発明の第2の実施例に係る画像処理システムを適用した撮像装置の撮影動作のフローチャートを示す図The figure which shows the flowchart of imaging | photography operation | movement of the imaging device to which the image processing system which concerns on 2nd Example of this invention is applied.

以下、図面を参考にして本発明の好適な実施形態を詳細に説明する。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の第1の実施例に係る画像処理システムを適用した撮像装置の全体ブロック図である。図において、101は複数のレンズから構成された撮影レンズであり、被写体の焦点状態の調節を可能とする光学系である。撮影レンズ101を通過した光は撮影レンズ101の焦点位置近傍に光学像を形成する。102はマイクロレンズアレイであ(以下、MLAと記す)、複数のマイクロレンズ120で構成されている。MLA102は撮影レンズ101の焦点位置近傍に配置される。撮影レンズ101の異なる瞳領域を通過した光はMLA102に入射し、瞳領域ごとに分離して出射される(瞳分割手段)。   FIG. 1 is an overall block diagram of an imaging apparatus to which an image processing system according to a first embodiment of the present invention is applied. In the figure, reference numeral 101 denotes a photographic lens composed of a plurality of lenses, which is an optical system that can adjust the focus state of a subject. The light that has passed through the photographing lens 101 forms an optical image near the focal position of the photographing lens 101. Reference numeral 102 denotes a microlens array (hereinafter referred to as MLA), which is composed of a plurality of microlenses 120. The MLA 102 is disposed in the vicinity of the focal position of the taking lens 101. Light that has passed through different pupil regions of the taking lens 101 enters the MLA 102 and is emitted separately for each pupil region (pupil dividing means).

103は撮像素子であり、MLA102によって分離して出射された光を受光することで光学像を撮像する。撮像素子103は、例えば、CCDイメージセンサやCMOSイメージセンサを用いたものであり、MLA102の焦点位置付近に配置される。112はタイミング発生部(TG)であり、撮像素子103を駆動する各種タイミングを生成する。   Reference numeral 103 denotes an image sensor, which picks up an optical image by receiving light emitted by being separated by the MLA 102. The image sensor 103 uses, for example, a CCD image sensor or a CMOS image sensor, and is arranged near the focal position of the MLA 102. A timing generator (TG) 112 generates various timings for driving the image sensor 103.

104はアナログフロントエンド(AFE)であり、撮像素子103からの画像信号に対して基準レベルの調整(クランプ処理)やアナログデジタル変換処理等を行う。105はデジタルフロントエンド(DFE)であり、AFE104からのデジタル出力画像に対して、微小な基準レベルのずれ等のデジタル補正処理を行う。106は画像処理部であり、DFE105からのデジタル画像に対して所定の画像処理を施し、画像データを生成、出力する。また、画像処理部106では、後述するリフォーカス処理による画像の再構成および欠陥画素補正処理も行う。メモリ部107は欠陥画素情報(アドレス、キズレベル)等を保持しておくための不揮発性メモリで構成されている。108は制御部であり、撮像装置全体を統括的に制御し、周知のCPUなどを内蔵し、各部を制御するプログラムを実行する。109は、ボタン、タッチパネルなどの操作部であり、デジタルカメラにある操作部材を電気的に受け付ける。   An analog front end (AFE) 104 performs reference level adjustment (clamp processing), analog-digital conversion processing, and the like on the image signal from the image sensor 103. Reference numeral 105 denotes a digital front end (DFE), which performs digital correction processing such as a minute reference level shift on the digital output image from the AFE 104. An image processing unit 106 performs predetermined image processing on the digital image from the DFE 105 to generate and output image data. The image processing unit 106 also performs image reconstruction and defective pixel correction processing by refocus processing described later. The memory unit 107 is composed of a non-volatile memory for holding defective pixel information (address, scratch level) and the like. Reference numeral 108 denotes a control unit that comprehensively controls the entire imaging apparatus, incorporates a known CPU, and executes a program for controlling each unit. Reference numeral 109 denotes an operation unit such as a button or a touch panel, which electrically receives an operation member in the digital camera.

ユーザーは操作部109を使ってリフォーカス画像を生成するための任意のリフォーカス位置を設定できるようになっている。なお、このリフォーカス位置の設定は、制御部108が自動で設定するようにしてもよい。110は画像等を表示するための表示部であり、液晶ディスプレイなどで構成される。111はメモリカードやハードディスクなどの記録部である。   The user can set an arbitrary refocus position for generating a refocus image using the operation unit 109. The control unit 108 may automatically set the refocus position. Reference numeral 110 denotes a display unit for displaying an image or the like, which includes a liquid crystal display or the like. Reference numeral 111 denotes a recording unit such as a memory card or hard disk.

なお、本実施例の画像処理部106は、図6に示すように再構成部601と欠陥補正部602を有している。再構成部601では「Light Field Photography」と呼ばれる手法を用いた演算処理を行うことにより、撮像データから、設定された任意の焦点位置(リフォーカス位置)での画像を再構成することが可能である。   The image processing unit 106 according to the present exemplary embodiment includes a reconstruction unit 601 and a defect correction unit 602 as illustrated in FIG. The reconstructing unit 601 can reconstruct an image at a set arbitrary focal position (refocus position) from imaging data by performing arithmetic processing using a technique called “Light Field Photography”. is there.

欠陥補正部602はメモリ部107に記録された欠陥画素情報に基づいて、再構成部601で生成された画像に対して欠陥画素の補正処理を行う。再構成部601および欠陥補正部602の詳細については後述する。   The defect correction unit 602 performs defect pixel correction processing on the image generated by the reconstruction unit 601 based on the defective pixel information recorded in the memory unit 107. Details of the reconstruction unit 601 and the defect correction unit 602 will be described later.

次に、本実施例の撮像装置における撮影レンズ101、MLA102および撮像素子103の構成について図2〜4を用いて説明する。なお、図1乃至図4において同じ部分は、同じ符号を付して示す。   Next, the configuration of the taking lens 101, the MLA 102, and the image sensor 103 in the image pickup apparatus of the present embodiment will be described with reference to FIGS. 1 to 4 are denoted by the same reference numerals.

図2は、撮像素子103とMLA102の構成を説明する図である。同図は撮像素子103およびMLA102を図1の光軸Z方向から観察した図である。複数の単位画素201に対して1つのマイクロレンズ120が対応するように配置されている。1つのマイクロレンズ後方にある複数の単位画素201をまとめて画素配列200と定義する。なお、本実施例では画素配列200には、単位画素201が5行5列の計25個あるものとする。   FIG. 2 is a diagram illustrating the configuration of the image sensor 103 and the MLA 102. This figure is a diagram of the image sensor 103 and the MLA 102 observed from the optical axis Z direction in FIG. One microlens 120 is arranged to correspond to a plurality of unit pixels 201. A plurality of unit pixels 201 behind one microlens are collectively defined as a pixel array 200. In this embodiment, it is assumed that the pixel array 200 includes a total of 25 unit pixels 201 of 5 rows and 5 columns.

図3は、撮影レンズ101から出射された光束が1つのマイクロレンズ120を通過して撮像素子103で受光される様子を、光軸Zに対して垂直方向から観察した図である。撮影レンズ101の各瞳領域a1〜a5から出射され、マイクロレンズ120を通過した光は、後方の対応する単位画素p1〜p5でそれぞれ結像する。   FIG. 3 is a diagram in which a state in which the light beam emitted from the photographing lens 101 passes through one micro lens 120 and is received by the image sensor 103 is observed from a direction perpendicular to the optical axis Z. Light emitted from each of the pupil regions a1 to a5 of the photographing lens 101 and passed through the microlens 120 forms an image at the corresponding unit pixels p1 to p5 at the rear.

図4(a)は撮影レンズの開口を光軸Z方向から見た図である。図4(b)は1つのマイクロレンズ120とその後方に配置された画素配列200を光軸Z方向から見た図である。図4(a)に示すように撮影レンズ101の瞳領域を1つのマイクロレンズ下にある画素と同数の領域に分割した場合、1つの画素には撮影レンズ101の1つの瞳分割領域からの光が結像されることになる。ただし、ここでは撮影レンズとマイクロレンズ120のFナンバーがほぼ一致しているものとする。図4(a)に示す撮影レンズ101の瞳分割領域a11〜a55と、図4(b)に示す画素p11〜p55との対応関係は、光軸Z方向から見て点対称となる。したがって、撮影レンズの瞳分割領域a11から出射した光はマイクロレンズの後方にある画素配列20のうち、画素p11に結像する。これと同様に、瞳分割領域a11から出射し、別のマイクロレンズを通過する光も、そのマイクロレンズの後方にある画素配列200の中の画素p11に結像する。   FIG. 4A is a view of the aperture of the photographing lens viewed from the optical axis Z direction. FIG. 4B is a view of one microlens 120 and the pixel array 200 disposed behind the microlens 120 as viewed from the optical axis Z direction. As shown in FIG. 4A, when the pupil region of the photographing lens 101 is divided into the same number of regions as the pixels under one microlens, one pixel includes light from one pupil division region of the photographing lens 101. Will be imaged. However, here, it is assumed that the F-numbers of the photographing lens and the microlens 120 are substantially the same. The correspondence between the pupil division areas a11 to a55 of the photographing lens 101 shown in FIG. 4A and the pixels p11 to p55 shown in FIG. 4B is point-symmetric when viewed from the optical axis Z direction. Therefore, the light emitted from the pupil division area a11 of the photographing lens forms an image on the pixel p11 in the pixel array 20 behind the microlens. Similarly, the light emitted from the pupil division area a11 and passing through another microlens forms an image on the pixel p11 in the pixel array 200 behind the microlens.

次に、上記撮影レンズ101、MLA102および撮像素子103の構成によって取得された撮像データに対して、任意に設定した焦点位置(リフォーカス面)での画像の再構成処理について述べる。再構成処理は図6に示した再構成部601において、「Light Field Photography」と呼ばれる手法を用いて行う。   Next, image reconstruction processing at an arbitrarily set focal position (refocus plane) with respect to imaging data acquired by the configuration of the photographing lens 101, the MLA 102, and the imaging element 103 will be described. The reconstruction process is performed in the reconstruction unit 601 illustrated in FIG. 6 using a technique called “Light Field Photography”.

図5は、任意に設定したリフォーカス面上のある画素を通過する光束が、撮影レンズ101のどの瞳分割領域から出射され、どのマイクロレンズへ入射するかを、光軸Zの垂直方向から見た場合の図である。同図において、撮影レンズ101の瞳分割領域の位置を座標(u,v)、リフォーカス面上の画素位置を座標(x,y)、MLA102上のマイクロレンズの位置を座標(x’,y’)とする。また、撮影レンズ101からMLA102までの距離をF、撮影レンズ101からリフォーカス面までの距離をαFとする。ここで、αはリフォーカス面の位置を決定するためのリフォーカス係数であり、ユーザーが任意に設定することが可能である。なお、図5ではu、x、x’の方向のみを示し、v、y、y’については省略してある。   FIG. 5 shows, from the vertical direction of the optical axis Z, the light beam passing through a certain pixel on the refocus plane that is arbitrarily set, which pupil division region of the photographing lens 101 is emitted, and which microlens is incident. FIG. In the figure, the position of the pupil division area of the photographing lens 101 is coordinates (u, v), the pixel position on the refocus plane is coordinates (x, y), and the position of the microlens on the MLA 102 is coordinates (x ′, y). '). Further, the distance from the taking lens 101 to the MLA 102 is F, and the distance from the taking lens 101 to the refocus plane is αF. Here, α is a refocus coefficient for determining the position of the refocus plane, and can be arbitrarily set by the user. In FIG. 5, only the directions of u, x, and x ′ are shown, and v, y, and y ′ are omitted.

図5に示すように、座標(u,v)と座標(x,y)を通過した光束500は、MLA上の座標(x’,y’)に到達する。この座標(x’,y’)は式(1)のように表すことができる。

Figure 0006137941
As shown in FIG. 5, the light beam 500 that has passed the coordinates (u, v) and the coordinates (x, y) reaches the coordinates (x ′, y ′) on the MLA. These coordinates (x ′, y ′) can be expressed as in equation (1).
Figure 0006137941

そして、この光束500が受光される画素の出力をL(x’,y’,u,v)とすると、リフォーカス面上の座標(x,y)で得られる出力E(x,y)は、L(x’,y’,u,v)を撮影レンズ101の瞳領域に関して積分したものとなるため、式(2)のようになる。

Figure 0006137941
When the output of the pixel that receives the light beam 500 is L (x ′, y ′, u, v), the output E (x, y) obtained with the coordinates (x, y) on the refocus plane is , L (x ′, y ′, u, v) is integrated with respect to the pupil region of the taking lens 101, and therefore, Equation (2) is obtained.
Figure 0006137941

式(2)において、リフォーカス係数αはユーザーによって決定されるため、(x,y)、(u,v)を与えれば、光束の入射するマイクロレンズの位置(x’,y’)がわかる。そして、そのマイクロレンズに対応する画素配列200から(u,v)の位置に対応する画素がわかる。この画素の出力がL(x’,y’,u,v)となる。これをすべての瞳分割領域について行い、求めた画素出力を合計(積分)することでE(x,y)が算出できる。なお、(u,v)を撮影レンズ101の瞳分割領域の代表座標とすれば、式(2)の積分は、単純加算により計算することができる。   In equation (2), since the refocus coefficient α is determined by the user, if (x, y) and (u, v) are given, the position (x ′, y ′) of the microlens where the light beam enters can be known. . Then, the pixel corresponding to the position (u, v) is known from the pixel array 200 corresponding to the microlens. The output of this pixel is L (x ', y', u, v). E (x, y) can be calculated by performing this for all pupil division regions and summing (integrating) the obtained pixel outputs. If (u, v) is the representative coordinates of the pupil division area of the photographing lens 101, the integral of equation (2) can be calculated by simple addition.

以上のようにして、式(2)の演算処理を行うことで、任意の焦点位置における画像を再構成することができる。   As described above, an image at an arbitrary focal position can be reconstructed by performing the calculation process of Expression (2).

次に、メモリ部107に記録される欠陥画素情報について図7を用いて説明する。
図7はメモリ部107に記録される欠陥画素情報のデータ構成の例を示す図である。Xアドレス、Yアドレスはリフォーカス処理により再構成された画像における欠陥画素の座標を示す位置情報である。キズレベルは欠陥画素からの異常出力信号の大きさに応じて設定される値であり(出力レベル情報)、撮影条件(ISO感度、露光時間等)によって、対象となる欠陥画素を補正するかどうかの判定に用いられる。リフォーカス位置は、欠陥画素情報がどのリフォーカス位置におけるデータかを示すものであり、図5で説明したリフォーカス係数αに相当する。本実施例では、Xアドレス、Yアドレスにそれぞれ14ビット、キズレベルに4ビット、リフォーカス位置に8ビットのデータ長を割り当てている。
Next, defective pixel information recorded in the memory unit 107 will be described with reference to FIG.
FIG. 7 is a diagram illustrating an example of a data configuration of defective pixel information recorded in the memory unit 107. The X address and the Y address are position information indicating the coordinates of the defective pixel in the image reconstructed by the refocus processing. The scratch level is a value set according to the magnitude of the abnormal output signal from the defective pixel (output level information), and whether or not to correct the target defective pixel depending on the shooting conditions (ISO sensitivity, exposure time, etc.) Used for judgment. The refocus position indicates at which refocus position the defective pixel information is data, and corresponds to the refocus coefficient α described in FIG. In this embodiment, a data length of 14 bits is assigned to the X address and Y address, 4 bits are assigned to the scratch level, and 8 bits are assigned to the refocus position.

次に、メモリ部107に記録するための欠陥画素情報の生成動作を、図8に示すフローチャートを用いて説明する。なお、このフローチャートに従った動作は、撮像装置の工場調整等において、例えばPCなどの情報処理装置を用いて行う。   Next, an operation of generating defective pixel information for recording in the memory unit 107 will be described with reference to a flowchart shown in FIG. The operation according to this flowchart is performed using an information processing apparatus such as a PC in factory adjustment of the imaging apparatus.

S801では、撮像装置の調整工程等において取得した画像から撮像素子上の欠陥画素のアドレスを検出する。また、欠陥画素からの異常出力信号の大きさに応じてキズレベルを設定する。キズレベルは、例えば、異常出力信号の大きさに応じて図9に示すテーブルに従って設定すればよい。   In step S <b> 801, an address of a defective pixel on the image sensor is detected from an image acquired in an adjustment process or the like of the imaging device. Further, the scratch level is set according to the magnitude of the abnormal output signal from the defective pixel. The scratch level may be set according to the table shown in FIG. 9 according to the magnitude of the abnormal output signal, for example.

S802では、S801で取得した欠陥画素の撮像素子上のアドレスを複数のリフォーカス位置の再構成画像上のアドレスに変換する。この変換は式(1)をリフォーカス面上の座標(x,y)について変形させた式(3)によって行われる。

Figure 0006137941
In S802, the address on the image sensor of the defective pixel acquired in S801 is converted into an address on the reconstructed image at a plurality of refocus positions. This conversion is performed by Expression (3) obtained by transforming Expression (1) with respect to coordinates (x, y) on the refocus plane.
Figure 0006137941

式(3)によって変換される欠陥画素情報の例を図10に示す。図10に示すように、撮像素子の欠陥画素情報を複数のリフォーカス位置の各位置における欠陥画素情報に変換しておき、リフォーカス位置の情報も同時に関連付けて付加しておく。また、式(3)の座標変換では、撮像素子の複数の欠陥画素が変換後に同一の座標になることがある。座標変換後に座標が重複した欠陥画素情報は、1つにまとめる。図10では、座標X3、Y3が一つにまとめられた欠陥画素情報である。このとき時、各欠陥画素のキズレベルを、図9のテーブルに従って画素出力(例えば、各テーブル毎に最小の画素出力)に変換してから合算する。その後、図9のテーブルに従って、キズレベルを再設定する。なお、S802の処理は、撮像装置の工場調整工程等において、外部のPC等で行うが、撮像装置内の画像処理部106で行うようにしてもよい。   An example of defective pixel information converted by the equation (3) is shown in FIG. As shown in FIG. 10, the defective pixel information of the image sensor is converted into defective pixel information at each of a plurality of refocus positions, and information on the refocus position is also associated and added at the same time. Further, in the coordinate conversion of Expression (3), a plurality of defective pixels of the image sensor may have the same coordinates after conversion. The defective pixel information whose coordinates are duplicated after the coordinate conversion is collected into one. In FIG. 10, coordinates X3 and Y3 are defective pixel information combined into one. At this time, the defect level of each defective pixel is converted into a pixel output (for example, the minimum pixel output for each table) according to the table of FIG. Thereafter, the scratch level is reset according to the table of FIG. Note that the processing of S802 is performed by an external PC or the like in the factory adjustment process of the imaging apparatus, but may be performed by the image processing unit 106 in the imaging apparatus.

最後に、図8のS803で、S802で変換した欠陥画素情報をメモリ部117に記録して、欠陥画素情報の生成動作を終了する。   Finally, in S803 of FIG. 8, the defective pixel information converted in S802 is recorded in the memory unit 117, and the defective pixel information generation operation is terminated.

本発明にかかる撮像装置の撮影制御動作を図11に示すフローチャートを用いて説明する。この制御動作は、制御部108が撮像装置の各部を制御することで実行される。   The shooting control operation of the imaging apparatus according to the present invention will be described with reference to the flowchart shown in FIG. This control operation is executed by the control unit 108 controlling each unit of the imaging apparatus.

図11において、まずステップS1101で、ISO感度、露光時間等の撮影条件が、ユーザーによる操作部109の操作に従って設定する。なお、この設定は、制御部108が、自動で設定するようにしてもよい。   In FIG. 11, first, in step S <b> 1101, shooting conditions such as ISO sensitivity and exposure time are set according to the operation of the operation unit 109 by the user. Note that this setting may be automatically set by the control unit 108.

続けて、ステップS1102で、制御部108がTG112制御して駆動信号を撮像素子103に供給させ、撮像素子103を駆動して撮影を行ない、画像データを生成する。   In step S1102, the control unit 108 controls the TG 112 to supply a drive signal to the image sensor 103, and drives the image sensor 103 to perform shooting to generate image data.

次に、ステップS1103で、操作部109等によって任意のリフォーカス位置(リフォーカス係数α)を設定し、ステップS1104で、再構成部602が、図5を用いて説明したリフォーカス処理により、再構成画像を生成する。ステップS1104で生成された再構成画像には、ステップS1105において、欠陥補正部602より欠陥補正処理が行われる。この欠陥補正処理の詳細は後述する。   Next, in step S1103, an arbitrary refocus position (refocus coefficient α) is set by the operation unit 109 or the like, and in step S1104, the reconstruction unit 602 performs refocusing by the refocus processing described with reference to FIG. Generate a composition image. In step S1105, the defect correction unit 602 performs defect correction processing on the reconstructed image generated in step S1104. Details of this defect correction processing will be described later.

次に、ステップS1106において、ステップS1105で欠陥補正処理が行われた再構成画像に対して、ホワイトバランス補正、ガンマ補正等の各種信号処理を行い、ステップS1107において、記録部111が最終的な画像を記録する。以上で、図11に示すフローチャートに従った撮影制御動作を終了する。   Next, in step S1106, various signal processes such as white balance correction and gamma correction are performed on the reconstructed image that has been subjected to the defect correction process in step S1105. In step S1107, the recording unit 111 performs a final image. Record. The shooting control operation according to the flowchart shown in FIG.

次に、ステップS1106における欠陥補正部602による欠陥補正処理の動作について図12に示すフローチャートを用いて説明する。本動作は、制御部108による制御の下で、画像処理部106が行う。   Next, the operation of defect correction processing by the defect correction unit 602 in step S1106 will be described using the flowchart shown in FIG. This operation is performed by the image processing unit 106 under the control of the control unit 108.

ステップS1201において、画素毎に欠陥画素情報をメモリ部107から読み出す。ここで読み出される欠陥画素情報は、図10に示す再構成画像上の欠陥画素情報である。   In step S1201, defective pixel information is read from the memory unit 107 for each pixel. The defective pixel information read out here is defective pixel information on the reconstructed image shown in FIG.

ステップS1202では、読み出した欠陥画素情報のリフォーカス位置情報を参照し、再構成画像のリフォーカス位置と一致しているかどうかを判定し、その結果を保持する。次いで、ステップS1203において、読み出した欠陥画素情報のキズレベルを参照し、撮影条件(ISO感度、露光時間等)毎に決められた補正対象となるレベルを満たしているかどうかを判定し、その結果を保持する。   In step S1202, the refocus position information of the read out defective pixel information is referenced to determine whether or not the refocus position of the reconstructed image matches, and the result is retained. Next, in step S1203, the defect level of the read out defective pixel information is referred to, and it is determined whether or not a correction target level determined for each photographing condition (ISO sensitivity, exposure time, etc.) is satisfied, and the result is retained. To do.

ステップS1204では、ステップS1202、S1203で保持された判定結果に基づいて、対象画素が補正対象であるか否かを判定する。具体的には、欠陥画素情報のリフォーカス位置が再構成画像のリフォーカス位置と一致し、かつキズレベルが補正対象となるレベルを満たしている場合にステップS1205の補正処理を行う。それ以外の場合は、ステップS1205の補正処理を行わず、ステップS1206に移行する。   In step S1204, it is determined based on the determination results held in steps S1202 and S1203 whether the target pixel is a correction target. Specifically, the correction process in step S1205 is performed when the refocus position of the defective pixel information matches the refocus position of the reconstructed image and the scratch level satisfies the level to be corrected. In other cases, the correction process of step S1205 is not performed, and the process proceeds to step S1206.

ステップS1205では、画像処理部106は補正対象画素の補正処理を行う。補正処理の一例として、本実施例では、欠陥画素情報のアドレスの位置にある補正対象画素の上下または左右に隣接する同色の画素値から、補正対象の画素値を補間する方法を用いる。上下または左右に隣接する同色画素のどちらを用いるかは任意であるが、例えば被写体により適応的に判断しても良い。   In step S1205, the image processing unit 106 performs correction processing on the correction target pixel. As an example of the correction process, in this embodiment, a method of interpolating a pixel value to be corrected from pixel values of the same color adjacent to the correction target pixel at the position of the defective pixel information at the top and bottom or the left and right. It is arbitrary whether to use the same color pixels adjacent vertically or horizontally, but may be adaptively determined depending on the subject, for example.

ステップS1206では、ステップS1201からS1205までの処理を、メモリ部107に記録されている全ての欠陥画素情報に対して実行したか否かを判定する。判定の結果、記録されている全ての欠陥画素情報に対して本動作を実行した場合には、欠陥補正処理動作を終了する。未処理の欠陥画素情報が残っていれば、未処理の欠陥画素情報を読み出してステップS1201からS1205の処理を実行する。以上で、図12の欠陥補正処理の動作を終了する。   In step S1206, it is determined whether or not the processing from steps S1201 to S1205 has been executed for all defective pixel information recorded in the memory unit 107. As a result of the determination, when this operation is executed for all recorded defective pixel information, the defect correction processing operation is terminated. If unprocessed defective pixel information remains, the unprocessed defective pixel information is read and the processing from step S1201 to S1205 is executed. Thus, the operation of the defect correction process in FIG. 12 is finished.

以上、説明したように本実施形態によれば、欠陥画素の位置情報をリフォーカス後の座標に変換しておき、リフォーカス後の再構成画像に対して欠陥画素補正処理を行う。そのため、リフォーカス位置によらず適切に補正することが可能である。   As described above, according to the present embodiment, position information of defective pixels is converted into coordinates after refocusing, and defective pixel correction processing is performed on the reconstructed image after refocusing. Therefore, it is possible to correct appropriately regardless of the refocus position.

次に、図13を用いて、本発明の第2の実施例を説明する。本実施例における撮像装置の構成、欠陥画素情報の構成、キズレベルのテーブル構成、および欠陥補正処理は第1の実施例と同様であるので、ここでの説明は省略する。   Next, a second embodiment of the present invention will be described with reference to FIG. Since the configuration of the image pickup apparatus, the configuration of defective pixel information, the configuration of the scratch level table, and the defect correction process in this embodiment are the same as those in the first embodiment, description thereof is omitted here.

第1の実施例では、撮像素子の欠陥画素情報をあらかじめ工場調整等に複数のリフォーカス位置における欠陥画素情報に変換し、メモリ部107に記録しておいた。これに対し、本実施例では、変換前の撮像素子の欠陥画素情報をメモリ部107に記録しておき、その変換処理をリフォーカス処理後に行う。   In the first embodiment, defective pixel information of the image sensor is converted into defective pixel information at a plurality of refocus positions in advance for factory adjustment or the like and recorded in the memory unit 107. In contrast, in this embodiment, defective pixel information of the image sensor before conversion is recorded in the memory unit 107, and the conversion process is performed after the refocus process.

図13は本発明の第2の実施例に係る画像処理システムを適用した撮像装置の撮影制御動作のフローチャート図である。図13は、第1の実施例における図11に対応し、第1の実施例と同一の処理を行う箇所は同一の番号で示し、その説明は省略する。以下、第1の実施例と相違する処理動作について説明する。   FIG. 13 is a flowchart of the shooting control operation of the imaging apparatus to which the image processing system according to the second embodiment of the present invention is applied. FIG. 13 corresponds to FIG. 11 in the first embodiment, and parts that perform the same processing as in the first embodiment are denoted by the same reference numerals and description thereof is omitted. Hereinafter, processing operations different from those of the first embodiment will be described.

ステップS1301では、画像処理部106が、メモリ部107に記録した撮像素子の欠陥画素情報をリフォーカス後の座標に変換する。この処理は図8のステップS802で説明した処理と同じであるが、第1の実施例では、欠陥画素情報を複数のリフォーカス位置における座標に変換したのに対し、本実施例では、ステップS1103で設定したリフォーカス位置における座標のみに変換する。その後は、変換した欠陥画素情報を用いてステップS1105において欠陥補正処理を行う。したがって、第1の実施例と同様にリフォーカス位置によらず適切に欠陥補正することが可能である。   In step S1301, the image processing unit 106 converts the defective pixel information of the image sensor recorded in the memory unit 107 into coordinates after refocusing. This process is the same as the process described in step S802 of FIG. 8, but in the first embodiment, defective pixel information is converted into coordinates at a plurality of refocus positions, whereas in this embodiment, step S1103 is performed. Convert only to the coordinates at the refocus position set in. Thereafter, defect correction processing is performed in step S1105 using the converted defective pixel information. Therefore, it is possible to correct the defect appropriately regardless of the refocus position as in the first embodiment.

また、本実施例では、リフォーカス後に欠陥画素情報の変換を行うため、その分、最終画像を出力するまでの処理に時間がかかるが、メモリ部には撮像素子の欠陥画素情報のみを記録しておけばよいため、必要なメモリ容量は第1の実施例よりも少なくて済む。   In this embodiment, since defective pixel information is converted after refocusing, it takes time to output the final image, but only the defective pixel information of the image sensor is recorded in the memory unit. Therefore, the required memory capacity is smaller than that of the first embodiment.

以上、本発明の各実施形態について説明したが、本発明はこれらの実施形態に限定されるものではない。例えば、上述した実施例では撮像装置を例に本件発明を説明したが、本件発明を、PC等の情報処理装置において記録媒体などから提供される画像信号の画像処理システムに適用してもよい。   As mentioned above, although each embodiment of the present invention was described, the present invention is not limited to these embodiments. For example, in the above-described embodiments, the present invention has been described by taking the imaging apparatus as an example. However, the present invention may be applied to an image processing system for image signals provided from a recording medium or the like in an information processing apparatus such as a PC.

上述した実施形態において図11乃至13に示した各処理は、各処理の機能を実現する為のプログラムをメモリから読み出して制御部108のCPUが実行することによりその機能を実現させるものである。   In the above-described embodiment, each process shown in FIGS. 11 to 13 is realized by reading a program for realizing the function of each process from the memory and executing it by the CPU of the control unit 108.

尚、上述した構成に限定されるものではなく、図11乃至13に示した各処理の全部または一部の機能を、専用のハードウェアにより実現してもよい。また、上述したメモリは、光磁気ディスク装置、フラッシュメモリ等の不揮発性のメモリや、CD−ROM等の読み出しのみが可能な記憶媒体、RAM以外の揮発性のメモリであってもよい。また、それらの組合せによるコンピュータ読み取り、書き込み可能な記憶媒体より構成されてもよい。   Note that the present invention is not limited to the above-described configuration, and all or some of the functions shown in FIGS. 11 to 13 may be realized by dedicated hardware. The memory described above may be a non-volatile memory such as a magneto-optical disk device or a flash memory, a storage medium that can only be read such as a CD-ROM, or a volatile memory other than a RAM. Moreover, you may comprise from the computer-readable / writable storage medium by those combination.

また、図11乃至13に示した各処理の機能を実現する為のプログラムをコンピュータ読み取り可能な記憶媒体に記録して、この記憶媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより各処理を行っても良い。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。具体的には、記憶媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書きこまれる。その後、そのプログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含む。   Further, a program for realizing the functions of the processes shown in FIGS. 11 to 13 is recorded on a computer-readable storage medium, and the program recorded on the storage medium is read into a computer system and executed. Each process may be performed. Here, the “computer system” includes an OS and hardware such as peripheral devices. Specifically, the program read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. After that, the CPU of the function expansion board or function expansion unit performs part or all of the actual processing based on the instructions of the program, and the functions of the above-described embodiments are realized by the processing.

また、「コンピュータ読み取り可能な記憶媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記憶媒体」とは、一定時間プログラムを保持しているものも含むものとする。例えば、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発メモリ(RAM)も含む。   The “computer-readable storage medium” refers to a storage device such as a flexible disk, a magneto-optical disk, a portable medium such as a ROM or a CD-ROM, and a hard disk built in a computer system. Furthermore, the “computer-readable storage medium” includes a medium that holds a program for a certain period of time. For example, it includes a volatile memory (RAM) inside a computer system that becomes a server or a client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line.

また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。   The program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line.

また、上記プログラムは、前述した機能の一部を実現する為のものであっても良い。さらに、前述した機能をコンピュータシステムに既に記録されているプログラムとの組合せで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。   The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.

また、上記のプログラムを記録したコンピュータ読み取り可能な記録媒体等のプログラムプロダクトも本発明の実施形態として適用することができる。上記のプログラム、記録媒体、伝送媒体およびプログラムプロダクトは、本発明の範疇に含まれる。
以上、この発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。
A program product such as a computer-readable recording medium in which the above program is recorded can also be applied as an embodiment of the present invention. The above program, recording medium, transmission medium, and program product are included in the scope of the present invention.
The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes designs and the like that do not depart from the gist of the present invention.

Claims (13)

撮影レンズの瞳分割手段と、前記撮影レンズと瞳分割手段によって形成される光学像を撮像する画素配列を有する撮像手段で生成された画像信号を処理する画像処理システムにおいて、
前記画素配列が有する欠陥画素についての欠陥画素情報を保持する保持手段と、
再構成画像を生成するリフォーカス位置を設定する設定手段と、
前記リフォーカス位置の再構成画像を、前記画像信号を用いて生成するリフォーカス手段と、
前記欠陥画素情報に基づいて、前記生成された再構成画像を補正する補正手段と
を備え、
前記補正手段は、前記設定されたリフォーカス位置の再構成画像に対応した欠陥画素の位置情報と出力レベル情報を用いて前記生成された再構成画像を補正することを特徴とする画像処理システム。
In an image processing system for processing an image signal generated by a pupil division unit of a photographing lens and an image pickup unit having a pixel array for picking up an optical image formed by the photographing lens and the pupil division unit,
Holding means for holding defective pixel information about defective pixels of the pixel array;
Setting means for setting a refocus position for generating a reconstructed image;
Refocusing means for generating a reconstructed image of the refocus position using the image signal;
Correction means for correcting the generated reconstructed image based on the defective pixel information, and
The image processing system, wherein the correcting unit corrects the generated reconstructed image using position information and output level information of a defective pixel corresponding to the reconstructed image at the set refocus position.
前記保持手段は、前記欠陥画素情報として、複数の異なるリフォーカス位置の各位置での再構成画像に対応した欠陥画素の位置情報と出力レベル情報を、対応するリフォーカス位置の情報に関連付けて保持することを特徴とする請求項1に記載された画像処理システム。   The holding means holds, as the defective pixel information, position information and output level information of defective pixels corresponding to a reconstructed image at each of a plurality of different refocus positions in association with information on the corresponding refocus position. The image processing system according to claim 1, wherein: 前記保持手段は、前記欠陥画素情報として、前記画素配列に対応した欠陥画素の位置情報および出力レベル情報とを保持し、前記補正手段は、前記保持手段に保持された位置情報及び出力レベル情報を、前記設定されたリフォーカス位置の情報に関連付けて、前記設定されたリフォーカス位置の再構成画像に対応した位置情報及び出力レベル情報に変換し、前記変換された位置情報および出力レベル情報を用いて前記生成された再構成画像の補正を行うことを特徴とする請求項1に記載された画像処理システム。   The holding means holds, as the defective pixel information, position information and output level information of defective pixels corresponding to the pixel arrangement, and the correction means uses the position information and output level information held in the holding means. In association with the information on the set refocus position, the position information and the output level information corresponding to the reconstructed image at the set refocus position are converted, and the converted position information and output level information are used. The image processing system according to claim 1, wherein the generated reconstructed image is corrected. 前記補正手段は、前記画素配列に対応した異なる欠陥画素の位置情報が、前記設定されたリフォーカス位置の再構成画像に対応した同じ位置情報に変換されたときは、前記画素配列に対応した異なる欠陥画素の出力レベル情報を、前記再構成画像に対応した同じ位置情報に関連付けられた一つの出力レベル情報に変換ことを特徴とする請求項3に記載された画像処理システム。   When the position information of different defective pixels corresponding to the pixel array is converted into the same position information corresponding to the reconstructed image at the set refocus position, the correction unit is different corresponding to the pixel array. 4. The image processing system according to claim 3, wherein the output level information of the defective pixel is converted into one output level information associated with the same position information corresponding to the reconstructed image. 前記補正手段は、前記リフォーカス位置の情報、前記リフォーカス位置の情報で示されるリフォーカス位置の再構成画像に対応した出力レベル情報、および前記設定されたリフォーカス位置に基づいて、前記欠陥画素情報に基づいて前記生成された再構成画像の補正を行うかどうかを決定し、決定の結果に従って前記補正を行うことを特徴とする請求項2乃至4のいずれか一項に記載された画像処理システム。 The correction unit is configured to detect the defective pixel based on the refocus position information, output level information corresponding to the refocused position reconstructed image indicated by the refocus position information, and the set refocus position. 5. The image processing according to claim 2, wherein whether or not to correct the generated reconstructed image is determined based on information, and the correction is performed according to a determination result. system. 前記補正手段は、前記生成された再構成画像に対応する欠陥画素の位置情報で示される位置に隣接する画素を用いて、前記再構成画像を補正することを特徴とする請求項1乃至5のいずれか一項に記載された画像処理システム。   6. The correction unit according to claim 1, wherein the correction unit corrects the reconstructed image using a pixel adjacent to a position indicated by position information of a defective pixel corresponding to the generated reconstructed image. The image processing system described in any one of Claims. 被写体の光学像を形成する撮影レンズを有する光学系と、
前記撮影レンズの瞳分割手段を有し、前記撮影レンズと瞳分割手段によって形成される光学像を撮像して画像信号を生成する画素配列を有する撮像手段と、
前記画素配列が有する欠陥画素についての欠陥画素情報を保持する保持手段と、
再構成画像を生成するリフォーカス位置を設定する設定手段と、
前記画像信号を処理する画像処理手段を備え、
前記画像処理手段は、
前記リフォーカス位置の再構成画像を、前記画像信号を用いて生成するリフォーカス手段と、
前記欠陥画素情報に基づいて、前記生成された再構成画像を補正する補正手段と
を含み、
前記補正手段は、前記設定されたリフォーカス位置の再構成画像に対応した欠陥画素の位置情報と出力レベル情報を用いて前記生成された再構成画像を補正することを特徴とる撮像装置。
An optical system having a photographing lens for forming an optical image of a subject;
An imaging unit having a pixel array for capturing an optical image formed by the imaging lens and the pupil dividing unit, and generating an image signal;
Holding means for holding defective pixel information about defective pixels of the pixel array;
Setting means for setting a refocus position for generating a reconstructed image;
Image processing means for processing the image signal;
The image processing means includes
Refocusing means for generating a reconstructed image of the refocus position using the image signal;
Correction means for correcting the generated reconstructed image based on the defective pixel information, and
The image pickup apparatus, wherein the correction unit corrects the generated reconstructed image using position information and output level information of a defective pixel corresponding to the reconstructed image at the set refocus position.
前記画素配列に対応した欠陥画素の位置情報および出力レベル情報を取得し、前記取得した位置情報と出力レベル情報を、複数の異なるリフォーカス位置の各位置での再構成画像に対応した欠陥画素の位置情報および出力レベル情報に変換し、前記変換された位置情報および出力レベル情報を、対応する前記リフォーカス位置の情報と関連付けて欠陥画素情報として前記保持手段に保持する変換手段をさらに備えることを特徴とする請求項7に記載された撮像装置。   The position information and the output level information of the defective pixel corresponding to the pixel array are acquired, and the acquired position information and output level information are used for the defective pixel corresponding to the reconstructed image at each of a plurality of different refocus positions. Conversion means for converting into position information and output level information, and holding the converted position information and output level information in the holding means as defective pixel information in association with the corresponding refocus position information. The imaging apparatus according to claim 7, wherein the imaging apparatus is characterized. 撮影レンズの瞳分割手段と、前記撮影レンズと瞳分割手段によって形成される光学像を撮像する画素配列を有する撮像手段で生成された画像信号を処理する画像処理システムの制御方法において、
前記画素配列が有する欠陥画素についての欠陥画素情報をメモリ手段に保持する保持ステップと、
再構成画像を生成するリフォーカス位置を設定する設定ステップと、
前記リフォーカス位置の再構成画像を、前記画像信号を用いて生成するリフォーカスステップと、
前記欠陥画素情報に基づいて、前記生成された再構成画像を補正する補正ステップと
を備え、
前記補正ステップは、前記設定されたリフォーカス位置の再構成画像に対応した欠陥画素の位置情報と出力レベル情報を用いて前記生成された再構成画像を補正することを特徴とする制御方法。
In a control method of an image processing system for processing an image signal generated by a pupil dividing unit of a photographing lens and an image pickup unit having a pixel array for picking up an optical image formed by the photographing lens and the pupil dividing unit,
A holding step of holding in the memory means defective pixel information about defective pixels of the pixel array;
A setting step for setting a refocus position for generating a reconstructed image;
A refocusing step of generating a reconstructed image of the refocus position using the image signal;
A correction step of correcting the generated reconstructed image based on the defective pixel information, and
The control method is characterized in that the correcting step corrects the generated reconstructed image using position information and output level information of a defective pixel corresponding to the reconstructed image at the set refocus position.
撮影レンズの瞳分割手段と、前記撮影レンズと瞳分割手段によって形成される光学像を撮像する画素配列を有する撮像手段で生成された画像信号を処理する画像処理システムを制御するプログラムであり、
コンピュータを、
前記画素配列が有する欠陥画素についての欠陥画素情報を保持する保持手段、
再構成画像を生成するリフォーカス位置を設定する設定手段、
前記リフォーカス位置の再構成画像を、前記画像信号を用いて生成するリフォーカス手段、
前記欠陥画素情報に基づいて、前記生成された再構成画像を補正する補正手段であり、前記設定されたリフォーカス位置の再構成画像に対応した欠陥画素の位置情報と出力レベル情報を用いて前記生成された再構成画像を補正する補正手段として機能させるプログラム。
A program for controlling an image processing system that processes an image signal generated by a pupil division unit of a photographing lens and an image pickup unit that has a pixel array that captures an optical image formed by the photographing lens and the pupil division unit,
Computer
Holding means for holding defective pixel information about defective pixels of the pixel array;
Setting means for setting a refocus position for generating a reconstructed image;
Refocusing means for generating a reconstructed image of the refocus position using the image signal;
Correcting means for correcting the generated reconstructed image based on the defective pixel information, and using the position information and output level information of the defective pixel corresponding to the reconstructed image at the set refocus position, A program that functions as a correction unit that corrects a generated reconstructed image.
請求項8のプログラムを記録したコンピュータが読み取り可能な記憶媒体。   A computer-readable storage medium storing the program according to claim 8. コンピュータを、請求項1乃至6のいずれか一項に記載された画像処理システムの各手段として機能させるプログラム。   A program that causes a computer to function as each unit of the image processing system according to any one of claims 1 to 6. 請求項12のプログラムを記録した記憶媒体。   A storage medium on which the program according to claim 12 is recorded.
JP2013109062A 2013-05-23 2013-05-23 Image processing system, image processing method and program, and imaging apparatus Expired - Fee Related JP6137941B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013109062A JP6137941B2 (en) 2013-05-23 2013-05-23 Image processing system, image processing method and program, and imaging apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013109062A JP6137941B2 (en) 2013-05-23 2013-05-23 Image processing system, image processing method and program, and imaging apparatus

Publications (2)

Publication Number Publication Date
JP2014230145A JP2014230145A (en) 2014-12-08
JP6137941B2 true JP6137941B2 (en) 2017-05-31

Family

ID=52129607

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013109062A Expired - Fee Related JP6137941B2 (en) 2013-05-23 2013-05-23 Image processing system, image processing method and program, and imaging apparatus

Country Status (1)

Country Link
JP (1) JP6137941B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018098663A (en) * 2016-12-14 2018-06-21 キヤノン株式会社 Image processing device and method, and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007306506A (en) * 2006-05-15 2007-11-22 Fujifilm Corp Imaging apparatus
JP4900723B2 (en) * 2008-03-14 2012-03-21 ソニー株式会社 Image processing apparatus, image processing program, and display apparatus
JP5472584B2 (en) * 2008-11-21 2014-04-16 ソニー株式会社 Imaging device
JP5868039B2 (en) * 2011-06-30 2016-02-24 キヤノン株式会社 Imaging apparatus, image composition method, and computer program

Also Published As

Publication number Publication date
JP2014230145A (en) 2014-12-08

Similar Documents

Publication Publication Date Title
JP5913934B2 (en) Image processing apparatus, image processing method and program, and imaging apparatus having image processing apparatus
KR101631073B1 (en) Image processing apparatus, image processing method, and storage medium, and image pickup apparatus with image processing apparatus
JP6238657B2 (en) Image processing apparatus and control method thereof
JP5237978B2 (en) Imaging apparatus and imaging method, and image processing method for the imaging apparatus
JP6071333B2 (en) Image processing apparatus, method and program, and imaging apparatus having image processing apparatus
JP6271842B2 (en) Ranging device, ranging method, and imaging device
JP6947590B2 (en) Imaging device, control method of imaging device
JP6095266B2 (en) Image processing apparatus and control method thereof
JP2014007580A (en) Imaging apparatus, method of controlling the same and program therefor
JP5701942B2 (en) Imaging apparatus, camera system, and image processing method
JP5330439B2 (en) Camera module, image processing apparatus, and image processing method
JP6137941B2 (en) Image processing system, image processing method and program, and imaging apparatus
JP6362070B2 (en) Image processing apparatus, imaging apparatus, image processing method, program, and storage medium
JP2014033415A (en) Image processor, image processing method and imaging apparatus
JP2013145985A (en) Imaging device, control method therefor, and imaging system
US9596402B2 (en) Microlens array for solid-state image sensing device, solid-state image sensing device, imaging device, and lens unit
JP2013186355A (en) Automatic focusing apparatus, automatic focusing method, and program
JP5553862B2 (en) Image pickup apparatus and image pickup apparatus control method
JP6566800B2 (en) Imaging apparatus and imaging method
JP5527491B2 (en) Image processing apparatus, image processing method, and program
JP2018110299A (en) Image processing method, image processing device, and imaging device
JP5649702B2 (en) Imaging device
JP2017055317A (en) Image data generation device, imaging apparatus and image data generation program
JP6723709B2 (en) Imaging device, image processing device, and control method thereof
JP2018050231A (en) Imaging apparatus, imaging method and imaging control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160511

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170224

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170328

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170425

R151 Written notification of patent or utility model registration

Ref document number: 6137941

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees