JP2011130381A - Imaging apparatus and control method thereof - Google Patents

Imaging apparatus and control method thereof Download PDF

Info

Publication number
JP2011130381A
JP2011130381A JP2009289648A JP2009289648A JP2011130381A JP 2011130381 A JP2011130381 A JP 2011130381A JP 2009289648 A JP2009289648 A JP 2009289648A JP 2009289648 A JP2009289648 A JP 2009289648A JP 2011130381 A JP2011130381 A JP 2011130381A
Authority
JP
Japan
Prior art keywords
imaging
correction
mode
image
correction amount
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.)
Abandoned
Application number
JP2009289648A
Other languages
Japanese (ja)
Other versions
JP2011130381A5 (en
Inventor
Ken Terasawa
見 寺澤
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 JP2009289648A priority Critical patent/JP2011130381A/en
Publication of JP2011130381A publication Critical patent/JP2011130381A/en
Publication of JP2011130381A5 publication Critical patent/JP2011130381A5/ja
Abandoned legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To calculate correction amounts suited to each of motion picture imaging and still picture imaging, when calculating from discrete data, the correction amount for correcting image quality deterioration caused by any optical factor. <P>SOLUTION: An optical correction database discretely holds therein correction amounts for correcting image quality deterioration caused by an imaging optical system with respect to image heights, for a plurality of combinations of values of a plurality of optical parameters of an imaging optical system. When an imaging mode of an imaging apparatus is a motion picture mode, a plurality of correction amounts are selected more preferentially for the number of combinations of optical parameters than for the number of image heights, rather than during a still picture mode. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は撮像装置及びその制御方法に関し、特に光学系の特性に起因する画質劣化を補正する機能を有する撮像装置及びその制御方法に関する。   The present invention relates to an imaging apparatus and a control method thereof, and more particularly to an imaging apparatus having a function of correcting image quality degradation caused by characteristics of an optical system and a control method thereof.

近年、小型かつ高画素数の撮像素子が普及し、小型のデジタルビデオカメラ、デジタルカメラでも高画素数の画像を得ることが可能である。一方で、画素の微細化や、小型レンズの光学設計の困難さなどの要因で、像円周辺部の光量低下や、倍率色収差、軸上色収差など、光学系が原理的に引き起こしてしまう画質劣化が顕在化するようになってきている。   In recent years, small-sized and high-pixel imaging devices have become widespread, and it is possible to obtain high-pixel-number images even with small digital video cameras and digital cameras. On the other hand, due to factors such as pixel miniaturization and the difficulty in optical design of small lenses, image quality degradation that the optical system causes in principle, such as reduced light intensity around the image circle, lateral chromatic aberration, and axial chromatic aberration Is becoming apparent.

このような問題に対し、光学系のパラメータ情報から画質劣化を補正する技術が知られている。特許文献1には、画像を撮像したレンズの特性と、画像の位置情報とから、倍率色収差、歪曲収差、周辺光量、および画像ボケの少なくとも一つを補正することが開示されている。また、特許文献2には、離散的な複数のズーム位置に対して歪み補正用のパラメータを保持し、現在のズーム位置情報に対応する補正パラメータを、保持したパラメータを補間して生成して歪み補正を行うことが開示されている。   To solve such a problem, a technique for correcting image quality deterioration from parameter information of an optical system is known. Patent Document 1 discloses correcting at least one of lateral chromatic aberration, distortion, peripheral light amount, and image blur from the characteristics of a lens that picks up an image and the positional information of the image. In Patent Document 2, distortion correction parameters are held for a plurality of discrete zoom positions, and correction parameters corresponding to the current zoom position information are generated by interpolating the held parameters for distortion. It is disclosed to make corrections.

また、現在のデジタルビデオカメラ、デジタルカメラは、動画と静止画の両方を撮像可能なものがほとんどであるが、動画の各フレームに対して静止画と同様の補正処理を適用した場合、装置の処理能力によってはリアルタイムに補正することが難しい。そのため、特許文献3では、静止画撮像モードでは処理速度よりも補正精度を優先した精密演算用テーブルを用いて補正し、動画撮像モードでは補正精度よりも処理速度を優先した近似演算用テーブルを用いて補正することが開示されている。   In addition, most current digital video cameras and digital cameras can capture both moving images and still images. However, if correction processing similar to still images is applied to each frame of moving images, Depending on the processing capacity, it is difficult to correct in real time. For this reason, in Patent Document 3, correction is performed using a precision calculation table that prioritizes correction accuracy over processing speed in the still image capturing mode, and approximate calculation table that prioritizes processing speed over correction accuracy is used in the moving image capturing mode. Correction is disclosed.

特開平11-225270号公報JP 11-225270 A 特開2005-057605号公報JP 2005-057605 A 特開2004-128565号公報JP 2004-128565 JP

特に、動画撮像のような、焦点距離、絞り、フォーカス位置を代表とする光学パラメータが撮像中に常に変動するような撮像において、光学的要因による画質劣化の大きさも光学パラメータの変化によって逐次変動している。   In particular, in the case of imaging where the optical parameters such as focal length, aperture, and focus position always change during imaging, such as moving image imaging, the magnitude of image quality degradation due to optical factors also changes sequentially due to changes in optical parameters. ing.

光学パラメータの全ての組み合わせについて、像高(光軸からの距離)と補正量との関係を予め求めて記憶しておけば、どのような組み合わせに対しても適切な補正が可能であろう。しかし、光学パラメータの組み合わせは膨大な数になるため、全ての組み合わせに対する補正量を撮像装置に記憶しておくことは現実的でない。   If the relationship between the image height (distance from the optical axis) and the correction amount is obtained and stored in advance for all combinations of optical parameters, appropriate correction will be possible for any combination. However, since there are an enormous number of combinations of optical parameters, it is not realistic to store correction amounts for all combinations in the imaging apparatus.

そのため、特許文献1では、近似関数を用いて補正特性を生成するとともに、要求される補正精度やフォトプリンタに要求される処理能力等に応じて、近似関数の次数を決定することが記載されている。
また、特許文献2では、離散的な複数のズーム位置に対して保持したパラメータを補間して、現在のズーム位置に対応する補正パラメータを生成している。
Therefore, Patent Document 1 describes that the correction function is generated using an approximate function, and the order of the approximate function is determined according to the required correction accuracy, the processing capability required for the photo printer, and the like. Yes.
Further, in Patent Document 2, the parameters held for a plurality of discrete zoom positions are interpolated to generate a correction parameter corresponding to the current zoom position.

パラメータの組み合わせ毎の画質劣化の変化を単純なモデルで近似できれば、少ないデータ量で多くのパラメータの組み合わせに対する補正量を求めることは比較的容易である。しかし、実際には光学要因の画質劣化の補正特性は非線形かつ複雑に変動するため、画質劣化の変化を単純なモデルで近似するのは困難である。そのため、特許文献1に記載されるような近似関数の利用や、特許文献2に記載されるような離散データの単純な補間では、様々なパラメータの組み合わせに対して適切な補正を実現することは困難である。   If the change in image quality degradation for each parameter combination can be approximated by a simple model, it is relatively easy to obtain the correction amount for many parameter combinations with a small amount of data. However, since the correction characteristic for the image quality degradation due to optical factors varies in a nonlinear and complicated manner, it is difficult to approximate the change in the image quality degradation with a simple model. Therefore, the use of the approximation function as described in Patent Document 1 and the simple interpolation of discrete data as described in Patent Document 2 do not realize appropriate correction for various parameter combinations. Have difficulty.

また、動画の場合には撮像中に光学パラメータが変動するため、像高の変動に対する補正精度よりも光学パラメータの組み合わせに関する補正精度を優先すべきである。また、1枚ごとに鑑賞される静止画の場合には、光学パラメータの組み合わせに関する補正精度よりも1枚の画像内の像高の変動に対する補正精度を優先すべきである。従って、特に限られた時間並びに処理能力で効果的に動画と静止画とを補正するには、補正量の算出方法をそれぞれに適した方法とすることが望ましい。   In the case of a moving image, since the optical parameter fluctuates during imaging, the correction accuracy related to the combination of optical parameters should be prioritized over the correction accuracy for fluctuations in image height. In the case of still images that are viewed one by one, priority should be given to correction accuracy with respect to fluctuations in image height in one image over correction accuracy relating to a combination of optical parameters. Accordingly, in order to effectively correct a moving image and a still image with a limited time and processing capability, it is desirable to use a correction amount calculation method suitable for each.

しかし、特許文献1,2では、動画撮像時の処理について言及がない。特許文献3には、動画撮像モードと静止画撮像モードとで補正量の算出に用いるテーブルを異ならせることが開示されている。しかし、特許文献3ではリアルタイム処理を実現するために動画の補正精度を静止画の補正精度より低下させているに過ぎず、動画に適した補正を行っている訳ではない。   However, Patent Documents 1 and 2 do not mention processing at the time of moving image capturing. Patent Document 3 discloses that different tables are used for calculating the correction amount in the moving image capturing mode and the still image capturing mode. However, in Patent Document 3, in order to realize real-time processing, the correction accuracy of moving images is merely lowered than the correction accuracy of still images, and correction suitable for moving images is not performed.

本発明はこのような従来技術の課題に鑑みなされたものであり、離散的なデータから光学的な要因による画質劣化を補正するための補正量を算出する撮像装置及びその制御方法において、動画撮像時と静止画撮像時のそれぞれに適した補正量の算出を可能とする。   The present invention has been made in view of the above-described problems of the prior art, and in an imaging apparatus for calculating a correction amount for correcting image quality degradation due to optical factors from discrete data, and a control method thereof, moving image imaging It is possible to calculate a correction amount suitable for each time and still image capturing.

上記課題を解決するため、本発明は、動画モードと静止画モードとを含む撮像モードを有する撮像装置であって、撮像光学系により結像された被写体像を撮像し、画像データを生成する撮像手段と、撮像光学系の複数の光学パラメータの値の複数の組み合わせについて、像高に対する撮像光学系に起因する画質劣化を補正するための補正量を離散的に保持する補正量記憶手段と、撮像装置の撮像モードが動画モードであるか静止画モードであるかに応じて補正量記憶手段に保持された複数の補正量を選択し、出力する選択手段と、選択手段が選択した複数の補正量を補間して、撮像手段が撮像した時点における撮像光学系の複数の光学パラメータの値の組み合わせについて、画像データの各画素に対する補正量を求める補正量生成手段と、補正量生成手段が生成した補正量を画像データの各画素に対して適用する補正手段とを有している。さらに、この撮像装置の選択手段は、撮像装置の撮像モードが動画モードである場合には、撮像装置の撮像モードが静止画モードである場合よりも、像高の数よりも光学パラメータの組み合わせの数を優先して複数の補正量を選択する。   In order to solve the above-described problems, the present invention is an imaging apparatus having an imaging mode including a moving image mode and a still image mode, which captures a subject image formed by an imaging optical system and generates image data. Correction amount storage means for discretely holding correction amounts for correcting image quality degradation caused by the imaging optical system with respect to the image height, for a plurality of combinations of a plurality of optical parameter values of the imaging optical system, and imaging A selection unit that selects and outputs a plurality of correction amounts held in the correction amount storage unit according to whether the imaging mode of the apparatus is a moving image mode or a still image mode, and a plurality of correction amounts selected by the selection unit Correction amount generating means for obtaining a correction amount for each pixel of the image data with respect to a combination of values of a plurality of optical parameters of the imaging optical system at the time when the imaging means picks up the image. And a correction means for applying the correction amount is an amount generation means generates for each pixel of the image data. Furthermore, the selection unit of the imaging device is configured to select a combination of optical parameters rather than the number of image heights when the imaging mode of the imaging device is the moving image mode than when the imaging mode of the imaging device is the still image mode. A plurality of correction amounts are selected giving priority to the number.

このような構成により、本発明によれば、離散的なデータから光学的な要因による画質劣化を補正するための補正量を算出する際、動画撮像時と静止画撮像時のそれぞれに適した補正量の算出が可能となる。   With such a configuration, according to the present invention, when calculating a correction amount for correcting image quality deterioration due to optical factors from discrete data, correction suitable for each of moving image capturing and still image capturing is performed. The amount can be calculated.

本発明の実施形態に係る撮像装置の一例としてのデジタルビデオカメラの構成例を示すブロック図。1 is a block diagram illustrating a configuration example of a digital video camera as an example of an imaging apparatus according to an embodiment of the present invention. (a)は光学補正特性の例を示す図、(b)〜(d)は動画モードでの補正量プロットデータの選択と補正量の算出方法を説明する図。(A) is a figure which shows the example of an optical correction characteristic, (b)-(d) is a figure explaining the selection method of the correction amount plot data in a moving image mode, and the calculation method of a correction amount. (a)TG11が生成する水平同期信号HD、垂直同期信号VDの例を示す図、(b)は画素座標生成回路12の構成例を示すブロック図、(c)は像高を説明する図である。(A) The figure which shows the example of the horizontal synchronizing signal HD and the vertical synchronizing signal VD which TG11 produces | generates, (b) is a block diagram which shows the structural example of the pixel coordinate generation circuit 12, (c) is a figure explaining image height. is there. 本発明の第1の実施形態における、補正量プロットデータセットCmの読み出し制御処理動作の例を示すフローチャート。5 is a flowchart showing an example of a read control processing operation of a correction amount plot data set Cm in the first embodiment of the present invention. 静止画モードでの補正量プロットデータの選択と補正量の算出方法を説明する図。The figure explaining the selection method of the correction amount plot data in still image mode, and the calculation method of correction amount. 係数生成回路14の構成例を示すブロック図。FIG. 3 is a block diagram illustrating a configuration example of a coefficient generation circuit 14. (a)は光学補正回路6の一例としての周辺光量落ち補正回路の構成例を示すブロック図、(b)は光学補正回路6の別の例としての倍率色収差補正回路または歪曲収差補正回路の構成例を示すブロック図。(A) is a block diagram showing a configuration example of a peripheral light amount drop correction circuit as an example of the optical correction circuit 6, and (b) is a configuration of a magnification chromatic aberration correction circuit or a distortion correction circuit as another example of the optical correction circuit 6. The block diagram which shows an example. 倍率色収差補正または歪曲収差補正の原理を説明する模式図。The schematic diagram explaining the principle of lateral chromatic aberration correction or distortion aberration correction. 本発明の第2の実施形態における、補正量プロットデータセットCmの読み出し制御処理動作の例を示すフローチャート。10 is a flowchart showing an example of a read control processing operation of a correction amount plot data set Cm in the second embodiment of the present invention. 動き検出回路16の構成例を示すブロック図。FIG. 3 is a block diagram illustrating a configuration example of a motion detection circuit 16. 動き検出回路の動作を説明するための図。The figure for demonstrating operation | movement of a motion detection circuit. 本発明の第3の実施形態における、補正量プロットデータセットCmの読み出し制御処理動作の例を示すフローチャート。The flowchart which shows the example of the read-out control processing operation | movement of the correction amount plot data set Cm in the 3rd Embodiment of this invention.

以下、添付図面を参照しながら本発明の例示的な実施形態を説明する。
(第1の実施形態)
図1(a)は、本発明の第1の実施形態に係る撮像装置の一例としてのデジタルビデオカメラにおいて、本実施形態に関わる構成の例を示すブロック図である。なお、本実施形態では3板式のデジタルビデオカメラに本発明を適用した場合について説明するが、本発明は単板式のデジタルビデオカメラや動画撮像可能なデジタルカメラはもとより、静止画撮像及び動画撮像が可能なカメラを搭載した任意の機器に適用できる。
Hereinafter, exemplary embodiments of the present invention will be described with reference to the accompanying drawings.
(First embodiment)
FIG. 1A is a block diagram illustrating an example of a configuration related to the present embodiment in a digital video camera as an example of an imaging apparatus according to the first embodiment of the present invention. In this embodiment, the case where the present invention is applied to a three-plate type digital video camera will be described. Applicable to any device equipped with a possible camera.

デジタルビデオカメラ100は、ズームレンズ及びフォーカスレンズで構成されるレンズユニット1と、絞り2と、ズームレンズ、フォーカスレンズ及び絞り2を駆動するためのアクチュエータ8〜10とから構成される光学ユニットを有する。また、以下の説明においては、レンズユニット1と絞り2を合わせて撮像光学系と呼ぶ。光学ユニットにより結像された被写体像は、色分離プリズム3で赤(R)成分、緑(G)成分、及び青(B)成分に色分離された後、色成分毎に設けられた撮像素子41,42,43で撮像される。撮像素子41,42,43は例えばCCDイメージセンサやCMOSイメージセンサであり、被写体像の各色成分画像を画素単位の映像信号に変換する。各色成分の映像信号はアナログフロントエンド(以降AFEと略す)5で、相関二重サンプリング(CDS)、自動利得制御(AGC)、アナログ/デジタル変換(ADC)などを行い、デジタル映像信号Sr、Sg、Sbからなる画像データに変換する。   The digital video camera 100 includes an optical unit that includes a lens unit 1 including a zoom lens and a focus lens, an aperture 2, and actuators 8 to 10 for driving the zoom lens, the focus lens, and the aperture 2. . In the following description, the lens unit 1 and the diaphragm 2 are collectively referred to as an imaging optical system. The subject image formed by the optical unit is color-separated into a red (R) component, a green (G) component, and a blue (B) component by the color separation prism 3, and then an image sensor provided for each color component Images are taken at 41, 42 and 43. The imaging elements 41, 42, 43 are, for example, CCD image sensors or CMOS image sensors, and convert each color component image of the subject image into a video signal in pixel units. The video signal of each color component is analog front end (hereinafter abbreviated as AFE) 5 and performs correlated double sampling (CDS), automatic gain control (AGC), analog / digital conversion (ADC), etc., and digital video signals Sr, Sg , Sb is converted into image data.

光学補正回路6は、デジタル映像信号Sr、Sg、Sbに対して係数生成回路14から供給される補正値Ztを画素毎に順次適用し、レンズユニット1、絞り2の光学的特性によって生じた画質劣化を補正する。そして光学補正回路6はデジタル映像信号Sr’、Sg’、Sb’からなる補正後の画像データを出力する。   The optical correction circuit 6 sequentially applies the correction value Zt supplied from the coefficient generation circuit 14 to the digital video signals Sr, Sg, and Sb for each pixel, and the image quality generated by the optical characteristics of the lens unit 1 and the aperture stop 2. Compensate for deterioration. The optical correction circuit 6 outputs corrected image data composed of digital video signals Sr ′, Sg ′, and Sb ′.

次に、補正値Ztの生成に関わる、制御部7、タイミングジェネレータ(以降TGと略す)11、画素座標生成回路12、光学補正データベース13、係数生成回路14について、詳細に説明する。なお、メモリ15は本実施形態では使用しない。   Next, the control unit 7, the timing generator (hereinafter abbreviated as TG) 11, the pixel coordinate generation circuit 12, the optical correction database 13, and the coefficient generation circuit 14 related to the generation of the correction value Zt will be described in detail. Note that the memory 15 is not used in this embodiment.

デジタルビデオカメラ100の光学パラメータは、ズーミング操作や被写体の移動、撮像対象の変更、周囲の明るさの環境変化や撮像者の意図する撮像効果などの様々な要因により変動する。ここで、光学パラメータとは、撮像光学系に起因する画質劣化に対して影響を与えるパラメータであり、本明細書において以後、焦点距離(画角)、フォーカス位置(画面内で焦点検出する位置)、絞り値を総称して光学パラメータと呼ぶ。ただし、本発明において、光学パラメータの種類や数に制限はなく、焦点距離、フォーカス位置、絞り値は光学パラメータの例示的な組み合わせを示すに過ぎない。   The optical parameters of the digital video camera 100 vary depending on various factors such as zooming operation, movement of the subject, change of the imaging target, environmental change of ambient brightness, and imaging effect intended by the photographer. Here, the optical parameter is a parameter that affects image quality degradation caused by the imaging optical system. In this specification, the focal length (angle of view) and the focus position (the position at which focus is detected in the screen) will be referred to hereinafter. The aperture value is generically called an optical parameter. However, in the present invention, the type and number of optical parameters are not limited, and the focal length, the focus position, and the aperture value merely indicate exemplary combinations of optical parameters.

撮像光学系に起因して生じる画質劣化の要因としては、倍率色収差、歪曲収差及び周辺光量落ちが例示できるが、これら画質劣化の程度は像高(光軸中心からの距離)に応じて変動することが知られている。従って、画質劣化を補正するための補正量もまた同様に像高に応じて変動する。   Illustrative factors of image quality degradation caused by the imaging optical system include lateral chromatic aberration, distortion, and peripheral light loss, but the degree of image quality degradation varies depending on the image height (distance from the center of the optical axis). It is known. Therefore, the correction amount for correcting the image quality deterioration also varies according to the image height.

図2(a)は、像高と補正量の関係(補正特性)の例を示している。図2(a)には複数の補正特性が示されているが、個々の補正特性は光学パラメータの具体的な値の組み合わせの1つに対応する。このように、パラメータの値の組み合わせにより、補正特性(換言すれば、画質劣化の程度と像高との関係)は像高に応じて大きく変動する。   FIG. 2A shows an example of the relationship between the image height and the correction amount (correction characteristics). FIG. 2A shows a plurality of correction characteristics, and each correction characteristic corresponds to one specific combination of optical parameter values. As described above, the correction characteristic (in other words, the relationship between the degree of image quality degradation and the image height) varies greatly depending on the image height depending on the combination of the parameter values.

図1(a)に戻り、制御部7は例えばマイクロコンピュータであり、メモリ15や図示しないメモリ又は記憶装置に記憶されたプログラムを実行することにより本実施形態に係る補正方法はもとより、露出制御や焦点検出も行う。なお、自動露出制御や焦点検出の方法は本発明に直接関係せず、かつ公知の任意の方法を使用可能であるため、その具体的な手法や必要な構成についての説明は省略する。   Returning to FIG. 1A, the control unit 7 is, for example, a microcomputer, and by executing a program stored in the memory 15, a memory (not shown) or a storage device, not only the correction method according to the present embodiment, but also exposure control and Focus detection is also performed. Note that automatic exposure control and focus detection methods are not directly related to the present invention, and any known method can be used, and therefore a description of specific methods and necessary configurations is omitted.

制御部7は、例えば図示しない操作部材を通じて与えられるズーム指示に応じて駆動パルス位置CLを出力し、レンズユニット1のズームレンズ用アクチュエータ8を駆動する。これにより、レンズユニット1の画角が変化する。   For example, the control unit 7 outputs a drive pulse position CL in response to a zoom instruction given through an operation member (not shown), and drives the zoom lens actuator 8 of the lens unit 1. Thereby, the angle of view of the lens unit 1 changes.

また、制御部7は、所定の焦点距離を実現するための駆動パルス位置CFを出力し、レンズユニット1のフォーカスレンズ用アクチュエータ9を駆動する。さらに制御部7は、所定の絞り値を実現するための駆動パルス位置Cfを出力し、絞り2のアクチュエータ10を駆動する。   The control unit 7 outputs a drive pulse position CF for realizing a predetermined focal length, and drives the focus lens actuator 9 of the lens unit 1. Further, the control unit 7 outputs a drive pulse position Cf for realizing a predetermined aperture value, and drives the actuator 10 of the aperture 2.

TG11は、デジタルビデオカメラ100が使用する撮像素子41,42,43の駆動仕様に合わせて、図3(a)に示すような水平同期信号HD、垂直同期信号VDを発生し、AFE5は駆動波形を生成して撮像素子41,42,43に入力する。   The TG 11 generates a horizontal synchronization signal HD and a vertical synchronization signal VD as shown in FIG. 3A in accordance with the drive specifications of the image sensors 41, 42, and 43 used by the digital video camera 100, and the AFE 5 has a drive waveform. Is input to the image sensors 41, 42, and 43.

水平同期信号HDの周期は、撮像素子41,42,43が出力する映像信号の1ラインの期間であり、垂直同期信号VDの周期は、1フレームの期間である。
この水平同期信号HD、垂直同期信号VDは、制御部7から出力される光軸中心位置情報Cx、Cyとともに、画素座標生成回路12に入力される。
The period of the horizontal synchronization signal HD is a period of one line of the video signal output from the image pickup devices 41, 42, and 43, and the period of the vertical synchronization signal VD is a period of one frame.
The horizontal synchronization signal HD and the vertical synchronization signal VD are input to the pixel coordinate generation circuit 12 together with the optical axis center position information Cx and Cy output from the control unit 7.

画素座標生成回路12の構成例を図3(b)に示す。画素座標生成回路12では、水平同期信号HDの立ち下りでリセットされるHカウンタ121が水平カウンタ値Xtを出力し、垂直同期信号VDの立ち下がりでリセットされるVカウンタ122垂直カウンタ値Ytを出力する。   A configuration example of the pixel coordinate generation circuit 12 is shown in FIG. In the pixel coordinate generation circuit 12, the H counter 121 reset at the falling edge of the horizontal synchronization signal HD outputs the horizontal counter value Xt, and the V counter 122 at the falling edge of the vertical synchronization signal VD outputs the vertical counter value Yt. To do.

水平カウンタ値Xt及び垂直カウンタ値Ytは、撮像素子41,42,43の左上隅の出力画素を原点とし、走査方向(図面右方向)に増加する水平軸と、走査方向に直交する方向に増加する垂直軸で規定される二次元直交座標系(図3(c))の座標を表す。   The horizontal counter value Xt and the vertical counter value Yt increase in the direction perpendicular to the scanning axis and the horizontal axis that increases in the scanning direction (right direction in the drawing) with the output pixel at the upper left corner of the image sensor 41, 42, 43 as the origin. Represents the coordinates of the two-dimensional orthogonal coordinate system (FIG. 3C) defined by the vertical axis.

画素座標生成回路12に入力される光軸中心位置情報Cx、Cyは、レンズユニット1、絞り2で構成される撮像光学系の光軸中心位置cに対応する図3(c)の直交座標系の座標である。   The optical axis center position information Cx and Cy input to the pixel coordinate generation circuit 12 corresponds to the orthogonal coordinate system of FIG. 3C corresponding to the optical axis center position c of the imaging optical system constituted by the lens unit 1 and the aperture stop 2. Coordinates.

ここで、着目画素tの座標を(Xt,Yt)とすると、着目画素tの像高Rtは、光軸中心位置cからの距離であるため、

Figure 2011130381
と表すことができるので、像高算出回路123は、上記式の演算を行い、像高Rtを出力する。像高を求める際の開平演算は、二分法、開平法などの既知の手法を有限語長精度で表現することにより、ハードウェアで実現可能である。もちろん、CPUがソフトウェアを実行して実現してもよい。 Here, if the coordinate of the pixel of interest t is (Xt, Yt), the image height Rt of the pixel of interest t is the distance from the optical axis center position c.
Figure 2011130381
Therefore, the image height calculation circuit 123 calculates the above formula and outputs the image height Rt. The square root calculation for obtaining the image height can be realized by hardware by expressing known methods such as the bisection method and the square root method with finite word length accuracy. Of course, the CPU may execute the software.

制御部7は、アクチュエータ8〜10に駆動パルス位置CL、CF、Cfを出力する際、例えば不揮発性メモリに記憶された光学補正データベース13にアクセスし、係数生成回路14に与える補正量プロットデータセットCmを出力する。補正量記憶手段としての光学補正データベース13は、複数の光学パラメータの値の複数の組み合わせについて、像高に対する前記撮像光学系に起因する画質劣化を補正するための補正量を離散的に保持している。以下、光学補正データベース13が保持する個々の離散的な補正量を補正量プロットデータと呼ぶ。   When the control unit 7 outputs the drive pulse positions CL, CF, and Cf to the actuators 8 to 10, for example, the control unit 7 accesses the optical correction database 13 stored in the nonvolatile memory and supplies the correction amount plot data set to the coefficient generation circuit 14. Cm is output. The optical correction database 13 as a correction amount storage means discretely holds correction amounts for correcting image quality degradation caused by the imaging optical system with respect to image height for a plurality of combinations of values of a plurality of optical parameters. Yes. Hereinafter, each discrete correction amount stored in the optical correction database 13 is referred to as correction amount plot data.

動画像の各フレームにリアルタイムで補正を適用するには、補正処理を垂直同期信号VDの1周期(1フレーム期間)内に終わらせる必要がある。従って制御部7は、光学補正データベース13に記憶された離散的な補正量のうち、現在のデジタルビデオカメラ100の光学パラメータ値の組み合わせに合致するもの、あるいは最も近い組み合わせに対応するものを取得して係数生成回路14に供給する。   In order to apply correction to each frame of a moving image in real time, it is necessary to finish the correction process within one cycle (one frame period) of the vertical synchronization signal VD. Therefore, the control unit 7 obtains a discrete correction amount stored in the optical correction database 13 that matches the current combination of optical parameter values of the digital video camera 100, or that corresponds to the closest combination. To the coefficient generation circuit 14.

この際、本実施形態では、デジタルビデオカメラ100の撮像モードが動画モードか静止画モードかに応じて、同じ光学パラメータ値の組み合わせであっても、少なくとも一部が異なるデータセットを係数生成回路14に供給する。また、制御部7は、動画モードか静止画モードかを表す撮像モード情報も係数生成回路14に供給する。   At this time, in the present embodiment, the coefficient generation circuit 14 selects at least a part of a different data set even if the combination of the optical parameter values is the same depending on whether the imaging mode of the digital video camera 100 is the moving image mode or the still image mode. To supply. In addition, the control unit 7 also supplies the coefficient generation circuit 14 with imaging mode information indicating the moving image mode or the still image mode.

動画撮像の場合、光学パラメータの変動による光学収差または周辺光量落ちの変化が連続して記録される。このため、撮像光学系に起因する画像劣化を適切に補正するには、光学補正データベース13から、光学パラメータの変化(異なる値の組み合わせ)に対して精度よい補正量の算出が必要である。従って、像高の数よりも光学パラメータの組み合わせの数を優先して補正量プロットデータを選択した補正量プロットデータセットを係数生成回路14に提供することが適切である。   In the case of moving image capturing, a change in optical aberration or a decrease in peripheral light amount due to a change in optical parameters is continuously recorded. For this reason, in order to appropriately correct the image degradation caused by the imaging optical system, it is necessary to calculate the correction amount with high accuracy with respect to the optical parameter change (combination of different values) from the optical correction database 13. Accordingly, it is appropriate to provide the coefficient generation circuit 14 with a correction amount plot data set in which correction amount plot data is selected with priority given to the number of combinations of optical parameters over the number of image heights.

一方、静止画撮像の場合、撮像中に光学パラメータが大きく変動することはないが、変動像高位置による光学収差または周辺光量落ちの細かい変化が記録される。このため、撮像光学系に起因する画像劣化を適切に補正するには、光学補正データベース13から、像高の変化方向において精度よい補正量の算出が必要である。従って、光学パラメータの組み合わせの数よりも像高の数を優先して補正量プロットデータを選択した補正量プロットデータセットを係数生成回路14に提供することが適切である。   On the other hand, in the case of still image capturing, the optical parameter does not change greatly during image capturing, but a small change in optical aberration or peripheral light loss due to the changing image height position is recorded. For this reason, in order to appropriately correct the image deterioration caused by the imaging optical system, it is necessary to calculate a correction amount with high accuracy in the image height changing direction from the optical correction database 13. Therefore, it is appropriate to provide the coefficient generation circuit 14 with a correction amount plot data set in which the correction amount plot data is selected with priority given to the number of image heights over the number of combinations of optical parameters.

制御部7による、補正量プロットデータセットCmの読み出し制御処理動作の例を、図4のフローチャートを用いて説明する。
まず、S901で、制御部7は、現在の(撮像時点の)撮像モードが動画モードか静止画モードかを判断し、動画モードであればS902へ、静止画モードであればS903へ進む。
An example of the read control processing operation of the correction amount plot data set Cm by the control unit 7 will be described with reference to the flowchart of FIG.
First, in S901, the control unit 7 determines whether the current imaging mode (at the time of imaging) is the moving image mode or the still image mode. If the moving image mode is selected, the control unit 7 proceeds to S902.

補正量プロットデータセットは、撮像の時点の光学パラメータの近傍(合致するものがあればそれを含む)に対応する複数の補正特性に対応したデータ系列から、複数の像高に対応したデータを選択することによって構成する。   The correction amount plot data set selects data corresponding to multiple image heights from a data series corresponding to multiple correction characteristics corresponding to the vicinity of the optical parameters at the time of imaging (including any that match). Configure by doing.

動画モードの場合は、S902で制御部7は、m種類の補正特性(図中Opと略す)の各々から、n種類の像高(図中Dpと略す)に対応する補正量プロットデータを選択する。そして、S904で制御部7は、選択したm×n個の補正量プロットデータを光学補正データベース13から読み出し、補正量プロットデータセットCmを構成する。   In the moving image mode, in step S902, the control unit 7 selects correction amount plot data corresponding to n types of image heights (abbreviated as Dp in the figure) from each of m types of correction characteristics (abbreviated as Op in the figure). To do. In step S904, the control unit 7 reads out the selected m × n correction amount plot data from the optical correction database 13, and configures a correction amount plot data set Cm.

図2(b)は、動画モードで構成される補正量プロットデータセットCmに含まれる補正量プロットデータの例を示している。この例では、現在の光学パラメータ近傍の8種類の光学パラメータに対応する補正特性の各々から、光軸から等間隔に4つの像高における補正量プロットデータを選択して補正量プロットデータセットCmを構成している。   FIG. 2B shows an example of correction amount plot data included in the correction amount plot data set Cm configured in the moving image mode. In this example, correction amount plot data sets Cm are selected by selecting correction amount plot data at four image heights at equal intervals from the optical axis from each of the correction characteristics corresponding to the eight types of optical parameters in the vicinity of the current optical parameter. It is composed.

一方、静止画モードの場合、S903で制御部は、u種類の補正特性の各々から、v種類の像高(図中Dpと略す)に対応する補正量プロットデータを選択する。そして、S904で制御部7は、選択したu×v個の補正量プロットデータを光学補正データベース13から読み出し、補正量プロットデータセットCmを構成する。   On the other hand, in the still image mode, in step S903, the control unit selects correction amount plot data corresponding to v types of image heights (abbreviated as Dp in the drawing) from each of the u types of correction characteristics. In step S904, the control unit 7 reads the selected u × v correction amount plot data from the optical correction database 13, and configures a correction amount plot data set Cm.

図5(a)は、静止画モードで構成される補正量プロットデータセットCmに含まれる補正量プロットデータの例を示している。この例では、現在の光学パラメータ近傍の2種類の光学パラメータに対応する補正特性の各々から、光軸から等間隔に16の像高における補正量プロットデータを選択して補正量プロットデータセットCmを構成している。   FIG. 5A shows an example of correction amount plot data included in the correction amount plot data set Cm configured in the still image mode. In this example, the correction amount plot data set Cm is selected by selecting correction amount plot data at 16 image heights at equal intervals from the optical axis from each of the correction characteristics corresponding to two types of optical parameters in the vicinity of the current optical parameter. It is composed.

このように、動画モード、静止画モードで読み出される補正量プロットデータセットCmを構成する補正量プロットデータの総数は等しい(m×n=u×v)が、m>uかつn<vの関係を有する。   As described above, the total number of correction amount plot data constituting the correction amount plot data set Cm read in the moving image mode and the still image mode is equal (m × n = u × v), but a relationship of m> u and n <v. Have

このようにして、制御部7は、動画モードでは補正特性(光学パラメータ)の数を像高の数より多く、静止画モードでは補正特性(光学パラメータ)の数よりも像高の数を多く、光学補正データベース13から補正量プロットデータセットCmを読み出す。   In this way, the control unit 7 has a larger number of correction characteristics (optical parameters) than the number of image heights in the moving image mode, and a larger number of image heights than the number of correction characteristics (optical parameters) in the still image mode. A correction amount plot data set Cm is read from the optical correction database 13.

なお、ここでは、光学補正データベース13が光学補正量を直接示すプロットデータを保持している場合を説明した。しかし、補正特性を近似した関数の係数項を保持していてもよく、その場合は、補正量プロットデータとして近似関数の次数を同様に選択すればよい。   Here, the case where the optical correction database 13 holds plot data directly indicating the optical correction amount has been described. However, the coefficient term of the function approximating the correction characteristic may be held, and in that case, the order of the approximate function may be similarly selected as the correction amount plot data.

図6は、補正量生成手段としての係数生成回路14の構成例を示す図である。画素座標生成回路12から出力された現在の着目画素の像高Rtと、制御部7から出力された補正量プロットデータセットCm(この例では32点の補正量プロットデータCm0〜Cm31で構成されている)は、関数係数算出回路141に入力される。
関数係数算出回路141は、制御部7から出力された撮像モード情報modeによって、補正量プロットデータセットCmの処理を変更する。
FIG. 6 is a diagram illustrating a configuration example of the coefficient generation circuit 14 as a correction amount generation unit. The current image height Rt of the pixel of interest output from the pixel coordinate generation circuit 12 and the correction amount plot data set Cm (in this example, 32 correction amount plot data Cm0 to Cm31 output from the control unit 7). Is input to the function coefficient calculation circuit 141.
The function coefficient calculation circuit 141 changes the processing of the correction amount plot data set Cm according to the imaging mode information mode output from the control unit 7.

撮像モード情報modeが動画モードを示している場合、関数係数算出回路141は、図2(b)に示した32個の補正量プロットデータ(8個/像高×4)を、像高毎に補間して、図2(c)に示すような4つの補正プロットデータを算出する。   When the imaging mode information mode indicates the moving image mode, the function coefficient calculation circuit 141 uses the 32 correction amount plot data (8 pieces / image height × 4) shown in FIG. 2B for each image height. Four correction plot data as shown in FIG. 2C are calculated by interpolation.

次に、関数係数算出回路141は、図2(d)に示すように、現在の着目画素の像高Rtが属するプロット区間を求め(黒線区間)、プロット区間に対応する近似関数の係数a、b、cを出力する。   Next, as shown in FIG. 2D, the function coefficient calculation circuit 141 obtains a plot section to which the image height Rt of the current pixel of interest belongs (black line section), and approximates the coefficient a of the approximate function corresponding to the plot section. , B, c are output.

一方、撮像モード情報modeが静止画モードを示している場合、関数係数算出回路141は、図5(a)に示した32個の補正量プロットデータ(2個/像高×16)を、像高毎に補間して、図5(b)に示すような16個の補正プロットデータを算出する。   On the other hand, when the imaging mode information mode indicates the still image mode, the function coefficient calculation circuit 141 converts the 32 correction amount plot data (2 pieces / image height × 16) shown in FIG. By interpolating every height, 16 correction plot data as shown in FIG. 5B are calculated.

次に、関数係数算出回路141は、図5(c)に示すように、現在の注目画素の像高Rtが属するプロット区間を求め(黒線区間)、プロット区間に対応する近似関数の係数a、b、cを出力する。   Next, as shown in FIG. 5C, the function coefficient calculation circuit 141 obtains a plot section to which the image height Rt of the current pixel of interest belongs (black line section), and the coefficient a of the approximate function corresponding to the plot section. , B, c are output.

本実施形態において、プロット区間の近似関数は、

Figure 2011130381
という2次関数であるが、1次関数(折れ線近似)や3次以上の高次関数で近似するように構成してもよい。 In this embodiment, the approximation function of the plot interval is
Figure 2011130381
However, it may be configured to approximate with a linear function (polygonal line approximation) or a higher order function of 3 or more.

そして、補正値算出回路142は、近似関数に基づいて、現在の注目画素の像高Rtから、補正量Ztを算出する。
周辺光量落ち補正の場合、補正量Ztはデジタル映像信号Sr、Sg、Sbに共通のゲインとなる。
倍率色収差補正や歪曲収差補正の場合、補正量Ztはデジタル映像信号Sr、Sg、Sbの各々に対して独立で、水平、垂直方向の位置ずれ成分を表す位置ずれ量ZtHr,ZtVrである。
Then, the correction value calculation circuit 142 calculates the correction amount Zt from the current image height Rt of the target pixel based on the approximate function.
In the case of the peripheral light amount drop correction, the correction amount Zt is a gain common to the digital video signals Sr, Sg, Sb.
In the case of lateral chromatic aberration correction and distortion aberration correction, the correction amount Zt is a position shift amount ZtHr, ZtVr representing a position shift component in the horizontal and vertical directions, independent of each of the digital video signals Sr, Sg, Sb.

次に、光学補正回路6について詳細に説明する。
図7(a)は、光学補正回路6が周辺光量落ち補正回路である場合の構成例を示す。周辺光量落ちの場合、係数生成回路14から出力される補正量Ztは、着目画素位置における光量落ち量(低下割合)の逆数で表されるゲイン値となる。
Next, the optical correction circuit 6 will be described in detail.
FIG. 7A shows a configuration example when the optical correction circuit 6 is a peripheral light amount drop correction circuit. In the case of the peripheral light amount drop, the correction amount Zt output from the coefficient generation circuit 14 is a gain value represented by the reciprocal of the light amount drop amount (decrease rate) at the target pixel position.

光学補正回路6は、デジタル映像信号Sr、Sg、Sbに対して補正量Ztを乗算器701、702、703で乗じ、光学補正処理されたデジタル映像信号Sr’、Sg’、Sb’からなる補正後の画像データを出力する。   The optical correction circuit 6 multiplies the digital video signals Sr, Sg, Sb by a correction amount Zt by multipliers 701, 702, 703, and corrects the digital video signals Sr ′, Sg ′, Sb ′ subjected to optical correction processing. The later image data is output.

図7(b)は、光学補正回路6が倍率色収差補正回路または歪曲収差補正回路である場合の構成例を示す。
倍率色収差補正や歪曲収差補正の場合、光学補正値は、着目画素位置における歪み量を水平、垂直方向の位置ずれ成分として表した位置ずれ量である。
FIG. 7B shows a configuration example when the optical correction circuit 6 is a magnification chromatic aberration correction circuit or a distortion aberration correction circuit.
In the case of lateral chromatic aberration correction and distortion aberration correction, the optical correction value is a positional deviation amount representing the distortion amount at the target pixel position as a horizontal and vertical positional deviation component.

この位置ずれ量から収差を補正する原理について、図8(a)〜(c)を参照して説明する。
図8(a)の黒画素は、着目画素Sが本来あるべき位置を示しており、グレー画素は、着目画素Sが倍率色収差や歪曲収差の影響で、位置ずれして撮像された位置を示す仮想画素S’である。倍率色収差や歪曲収差を補正するには、水平方向にHp、垂直方向にVp位置がずれてしまった仮想画素S’を求め、着目画素Sが本来あるべき位置に再配置すればよい。
The principle of correcting the aberration from this displacement amount will be described with reference to FIGS.
A black pixel in FIG. 8A indicates a position where the target pixel S should be originally, and a gray pixel indicates a position where the target pixel S is imaged with a positional shift due to the influence of lateral chromatic aberration or distortion. This is a virtual pixel S ′. In order to correct lateral chromatic aberration and distortion, a virtual pixel S ′ whose Hp is shifted in the horizontal direction and Vp is shifted in the vertical direction is obtained, and the target pixel S may be rearranged at the position where it should be.

仮想画素S’は、図8(b)のように、近傍に存在する実際に撮像した画素S1、S2、S3、S4の値から、画素S1、S2、S3、S4と仮想画素S’との画素間距離c1、c2、c3、c4に応じた重み付け補間演算により生成することができる。例えば、距離が短いほど大きな重みを付加することができる。図8(c)に示すように、生成された仮想画素S’で、着目画素Sを置き換えることで倍率色収差や歪曲収差が補正される。   As shown in FIG. 8B, the virtual pixel S ′ is obtained from the values of the pixels S1, S2, S3, and S4 that are actually imaged in the vicinity and the pixels S1, S2, S3, and S4 and the virtual pixel S ′. It can be generated by a weighted interpolation calculation according to the inter-pixel distances c1, c2, c3, c4. For example, a larger weight can be added as the distance is shorter. As shown in FIG. 8C, the chromatic aberration of magnification and distortion are corrected by replacing the pixel of interest S with the generated virtual pixel S ′.

光学補正回路6に入力された補正量ZtHr、ZtVrは、R,G,B成分毎に設けられた3つの補間制御回路601,608,615に入力される。補間制御回路601,608,615は、仮想画素S’の整数の水平ずれ成分Hpと垂直ずれ成分Vp(図8(a)参照)の各色成分Hrp,Hgp,HbpとVrp,Vgp,Vbpを出力する。   The correction amounts ZtHr and ZtVr input to the optical correction circuit 6 are input to three interpolation control circuits 601, 608, and 615 provided for each of the R, G, and B components. The interpolation control circuits 601, 608, 615 output the respective color components Hrp, Hgp, Hbp and Vrp, Vgp, Vbp of the integer horizontal shift component Hp and vertical shift component Vp (see FIG. 8A) of the virtual pixel S ′. To do.

ここで、R成分の処理に着目すると、補間制御回路601は、仮想画素S’の小数の位置ずれ成分として、参照画素Sr1、Sr2、Sr3、Sr4から仮想画素Sr’を求めるための重み付け係数cr1、cr2、cr3、cr4を出力する。重み付け係数は、上述のように、参照画素と仮想画素との距離に応じた値を有する。   Here, paying attention to the processing of the R component, the interpolation control circuit 601 obtains the virtual pixel Sr ′ from the reference pixels Sr1, Sr2, Sr3, Sr4 as the fractional displacement component of the virtual pixel S ′. , Cr2, cr3, cr4 are output. As described above, the weighting coefficient has a value corresponding to the distance between the reference pixel and the virtual pixel.

バッファメモリ602は、デジタル映像信号Sr(画像データの赤色成分)を、例えば1フレーム分保持している。そして、バッファメモリ602は、Hrp、Vrpで画素毎に指示された位置に保持されている画素を含む複数の画素を、仮想画素Sr’近傍の参照画素sr1、sr2、sr3、sr4として順次出力する。   The buffer memory 602 holds a digital video signal Sr (red component of image data), for example, for one frame. The buffer memory 602 sequentially outputs, as reference pixels sr1, sr2, sr3, and sr4 in the vicinity of the virtual pixel Sr ′, a plurality of pixels including the pixel held at the position designated for each pixel by Hrp and Vrp. .

仮想画素Sr’の値、すなわち補正後の画素値は、

Figure 2011130381
で表され、参照画素sr1、sr2、sr3、sr4は、乗算器603、604、605、606で、補間係数cr1、cr2、cr3、cr4とそれぞれ乗じられ、平均値化回路607で平均されて補正後のデジタル映像信号Sr’として出力される。 The value of the virtual pixel Sr ′, that is, the corrected pixel value is
Figure 2011130381
Reference pixels sr1, sr2, sr3, and sr4 are multiplied by interpolation coefficients cr1, cr2, cr3, and cr4 by multipliers 603, 604, 605, and 606, respectively, and averaged and corrected by an averaging circuit 607. It is output as a later digital video signal Sr ′.

G成分、B成分についても同様にしてバッファメモリ609,616、乗算器610〜613、617〜620、並びに平均値化回路614、621で処理され、補正後のデジタル映像信号Sg’、Sb’として出力される。   Similarly, the G component and the B component are processed by the buffer memories 609 and 616, the multipliers 610 to 613 and 617 to 620, and the averaging circuits 614 and 621, respectively, as corrected digital video signals Sg ′ and Sb ′. Is output.

以上説明したように、本実施形態では、離散的な光学パラメータ値の組み合わせ毎に複数の離散的な像高に対応した補正データを保存するので、補正量の保存に必要な記憶容量を節約することができる。さらに、光学パラメータが常に変化する動画モードでは像高の数よりも光学パラメータの組み合わせの数を優先し、静止画モードでは光学パラメータの組み合わせの数よりも像高の数を優先して離散的な補正量を選択する。そのため、例えば選択する補正値の総数が等しい場合でも、動画に適切な補正量と静止画に適切な補正量を算出することが可能になる。このように、少ない記憶容量で、動画に適切な補正量と静止画に適切な補正量を算出することが可能になるという顕著な効果が実現できる。   As described above, in this embodiment, correction data corresponding to a plurality of discrete image heights is stored for each combination of discrete optical parameter values, so that the storage capacity necessary for storing the correction amount is saved. be able to. Furthermore, in the moving image mode in which the optical parameters constantly change, the number of optical parameter combinations has priority over the number of image heights, and in the still image mode, the number of image heights has priority over the number of optical parameter combinations. Select the correction amount. Therefore, for example, even when the total number of correction values to be selected is equal, it is possible to calculate a correction amount appropriate for a moving image and a correction amount appropriate for a still image. In this way, a remarkable effect that it is possible to calculate a correction amount appropriate for a moving image and a correction amount appropriate for a still image with a small storage capacity can be realized.

(第2の実施形態)
次に、本発明の第2の実施形態について説明をする。本実施形態は、制御部7に、光学パラメータの履歴を保持する履歴記憶手段としてのメモリ15が接続されていることを除き、第1の実施形態と共通である。従って、メモリ15に関してのみ説明し、第1の実施形態と重複する説明は省略する。
(Second Embodiment)
Next, a second embodiment of the present invention will be described. This embodiment is common to the first embodiment, except that the memory 7 as history storage means for holding the history of optical parameters is connected to the control unit 7. Therefore, only the memory 15 will be described, and a description overlapping with the first embodiment will be omitted.

制御部7は、光学パラメータの制御単位時間である1フレーム期間毎に、
・ズームレンズ用アクチュエータ8を駆動するための駆動パルス位置CL、
・フォーカスレンズ用アクチュエータ9を駆動するための駆動パルス位置CF、
・絞り2のアクチュエータ10を駆動するための駆動パルス位置Cf、
を出力している。
The control unit 7 performs an optical parameter control unit time for each frame period.
A driving pulse position CL for driving the zoom lens actuator 8;
A drive pulse position CF for driving the focus lens actuator 9;
A drive pulse position Cf for driving the actuator 10 of the diaphragm 2;
Is output.

また、制御部7は、光学ユニット1及び絞り2に駆動パルス位置CL、CF、Cfを出力する際に、光学補正データベース13にアクセスし、係数生成回路14に与える補正量プロットデータセットCmを出力する。また、制御部7は、動画モードか静止画モードかを表す撮像モード情報modeも出力する。   In addition, when outputting the drive pulse positions CL, CF, and Cf to the optical unit 1 and the diaphragm 2, the control unit 7 accesses the optical correction database 13 and outputs a correction amount plot data set Cm to be given to the coefficient generation circuit 14. To do. In addition, the control unit 7 also outputs imaging mode information mode indicating the moving image mode or the still image mode.

上述の通り、動画モードの場合、光学パラメータが常時変動するため、像高の数よりも光学パラメータの組み合わせの数を優先して補正量プロットデータを選択した方が適切な補正を行うことができる。しかし、動画撮像中でも光学パラメータがほとんど変動をしていない場合は、像高位置による光学収差または周辺光量落ちの細かい変化を補正した方が画質の向上に寄与する。   As described above, in the moving image mode, since the optical parameter constantly changes, it is possible to perform appropriate correction by selecting the correction amount plot data by giving priority to the number of combinations of optical parameters over the number of image heights. . However, when the optical parameters hardly change even during moving image capturing, correcting the optical aberration or the small change in the amount of peripheral light due to the image height position contributes to the improvement of the image quality.

そのため、本実施形態では、過去に出力した駆動パルス位置をメモリ15に記憶しておき、光学パラメータの変動が大きい場合は動画モードの補正制御を、変動が小さい場合には静止画モードの補正制御を行う。   Therefore, in the present embodiment, the drive pulse positions output in the past are stored in the memory 15, and the correction control in the moving image mode is performed when the variation in the optical parameter is large, and the correction control in the still image mode is performed when the variation is small. I do.

本実施形態における、制御部7による補正量プロットデータセットCmの読み出し制御処理動作の例を、図9のフローチャートを用いて説明する。
まず、S1501で、制御部7は、現在の撮像モードが動画モードか静止画モードかを判断し、動画モードであればS1502へ、静止画モードであればS1503へ進む。動画モードの場合は、S1502でメモリ15にアクセスし、光学パラメータの各々について保持されている、直近の過去の複数フレーム期間に出力した駆動パルス位置CL,CF,Cfの値を、履歴情報として読み出す。
An example of the read control processing operation of the correction amount plot data set Cm by the control unit 7 in this embodiment will be described with reference to the flowchart of FIG.
First, in step S1501, the control unit 7 determines whether the current shooting mode is the moving image mode or the still image mode. If the moving image mode is selected, the control unit 7 proceeds to step S1502. In the moving image mode, the memory 15 is accessed in S1502, and the values of the drive pulse positions CL, CF, and Cf that are held for each of the optical parameters and output in the most recent past frame period are read as history information. .

次にS1504で制御部7は、現在のフレーム期間で設定された駆動パルス位置を、メモリ15に光学パラメータ毎の履歴として記録する。そして、S1505で、変動量判定手段としての制御部7は、メモリ15から読み出した駆動パルス位置の履歴情報と、現在の駆動パルス位置を比較し、パラメータ変動の大きさが所定の閾値以下か否か判定する。そして、制御部7は、パラメータ変動の大きさが所定の閾値以下と判定されればS903に、閾値を超えていると判定されればS902に処理を進める。   In step S <b> 1504, the control unit 7 records the drive pulse position set in the current frame period in the memory 15 as a history for each optical parameter. In step S <b> 1505, the control unit 7 serving as a variation determination unit compares the drive pulse position history information read from the memory 15 with the current drive pulse position, and determines whether the magnitude of parameter variation is equal to or less than a predetermined threshold. To determine. Then, the control unit 7 advances the process to S903 if it is determined that the magnitude of the parameter fluctuation is equal to or less than the predetermined threshold, and advances to S902 if it is determined that the parameter exceeds the threshold.

履歴情報との比較方法は、例えば直近の駆動パルス位置や複数フレームでの中央値との差分、あるいは複数フレームでの差分の積算値を見れば良い。また、光学パラメータの種類が複数である場合、いずれか1つでも対応する閾値を超えて変動していればS902へ進む。また、所定の閾値は、例えば光学補正データベース13が保持している光学パラメータの駆動パルス間隔を目安とし、間隔が非常に荒い場合などは、適宜閾値を小さく設定するなどすれば良い。
以下は、第1の実施形態と同様の処理であるため、説明を省略する。
As a comparison method with the history information, for example, the difference from the latest drive pulse position, the median value in a plurality of frames, or the integrated value of the differences in a plurality of frames may be observed. Further, when there are a plurality of types of optical parameters, if any one of the optical parameters fluctuates beyond the corresponding threshold value, the process proceeds to S902. Further, the predetermined threshold value may be set, for example, by appropriately setting the threshold value to a small value when the interval of the drive pulse of the optical parameter held in the optical correction database 13 is a rough guide and the interval is very rough.
Since the following processing is the same as that of the first embodiment, description thereof is omitted.

なお、ここでは、説明及び理解を容易にするため、パラメータ変動が所定の閾値以下であれば静止画モードと同様の制御を行うものとして説明した。しかし、閾値を段階的に複数設定し、パラメータ変動量が小さくなるにつれて光学パラメータの組み合わせをmからuに徐々に少なくし、同時に補正プロットデータの個数をnからvに徐々に多くする段階的な制御も可能である。このような段階的な制御により、動画モードでの補正制御から静止画モードでの補正制御に滑らかに移行することができる。   Here, in order to facilitate explanation and understanding, it has been described that the same control as in the still image mode is performed when the parameter variation is equal to or less than a predetermined threshold. However, a plurality of threshold values are set stepwise, and as the parameter variation amount decreases, the combination of optical parameters is gradually decreased from m to u, and at the same time, the number of correction plot data is gradually increased from n to v. Control is also possible. By such stepwise control, it is possible to smoothly shift from correction control in the moving image mode to correction control in the still image mode.

本実施形態によれば、第1の実施形態の効果に加え、動画モードでも光学パラメータの変動が小さい場合には静止画モードと同様の補正を適用することにより、動画の画質をより適切に補正することが可能になるという効果を実現できる。   According to the present embodiment, in addition to the effects of the first embodiment, when the fluctuation of the optical parameter is small even in the moving image mode, the correction similar to that in the still image mode is applied to correct the moving image quality more appropriately. The effect that it becomes possible to do is realizable.

(第3の実施形態)
次に、本発明の第3の実施形態について説明をする。図1(b)は、本実施形態に係る撮像装置の一例としてのデジタルビデオカメラの構成例を示すブロック図であり、第1の実施形態と同じ構成には同じ参照数字を付してある。本実施形態のデジタルビデオカメラ100’は、光学補正回路6の前段に、画像内部の動き検出を行う動き検出回路16を備え、動きベクトルMvを制御部7が取得していること以外は第1の実施形態と同一の構成である。
(Third embodiment)
Next, a third embodiment of the present invention will be described. FIG. 1B is a block diagram illustrating a configuration example of a digital video camera as an example of an imaging apparatus according to the present embodiment. The same reference numerals are given to the same configurations as those in the first embodiment. The digital video camera 100 ′ of the present embodiment includes a motion detection circuit 16 that performs motion detection inside an image before the optical correction circuit 6, and is the first except that the control unit 7 acquires the motion vector Mv. This is the same configuration as the embodiment.

そのため、以下では、動き検出回路16に関わることのみ説明を行い、第1の実施形態と重複する説明は省略する。本実施形態は、第2の実施形態と同様、動画モードであってもある条件を満たす場合には静止画モードで補正制御するものである。第2の実施形態では光学パラメータの変動量の大きさが条件であったが、本実施形態では画像の動きの大きさが条件である。すなわち、動画モードであっても、動きが小さい場合には静止画モードと同様の補正制御を行うことを特徴とする。そのため、本実施形態では動き検出回路16により、画像の動きを検出する。   Therefore, in the following, only the relationship with the motion detection circuit 16 will be described, and the description overlapping with the first embodiment will be omitted. As in the second embodiment, the present embodiment performs correction control in the still image mode when a certain condition is satisfied even in the moving image mode. In the second embodiment, the amount of variation of the optical parameter is a condition, but in this embodiment, the size of the image motion is a condition. That is, even in the moving image mode, when the movement is small, correction control similar to that in the still image mode is performed. For this reason, in the present embodiment, the motion detection circuit 16 detects the motion of the image.

図10は、動き検出回路16の構成例を示すブロック図である。本実施形態の動き検出回路16は、これは代表点によるマッチング演算により動きを検出する一般的な構成を有する。   FIG. 10 is a block diagram illustrating a configuration example of the motion detection circuit 16. The motion detection circuit 16 of the present embodiment has a general configuration for detecting motion by a matching operation using representative points.

輝度信号生成回路161は、デジタル映像信号Sr、Sg、Sbを、例えば
y=0.299Sr+0.587Sg+0.144Sb
のような、一般的な輝度生成式で混合し、輝度信号Yを出力する。
The luminance signal generation circuit 161 outputs the digital video signals Sr, Sg, Sb, for example, y = 0.299Sr + 0.587Sg + 0.144Sb.
And the luminance signal Y is output.

フレームメモリ162は少なくとも2フレーム分の輝度代表点画像データを保持する容量を有する。輝度代表点画像データとは、輝度信号Yを所定の画素間隔をもって水平、垂直方向に再サンプリングした代表点の輝度信号からなる画像データである。また、同様の輝度代表点画像データを、バッファメモリ163にも保持する。   The frame memory 162 has a capacity for holding luminance representative point image data for at least two frames. The luminance representative point image data is image data composed of luminance signals of representative points obtained by re-sampling the luminance signal Y in the horizontal and vertical directions with a predetermined pixel interval. Similar luminance representative point image data is also stored in the buffer memory 163.

代表点マッチング回路164は、図11(a)に示す矩形領域のように、所定の大きさの代表点画素群Ysを、フレームメモリ162の左上から右下まで所定の画素数単位で位置をずらしながら順次読み出す。   The representative point matching circuit 164 shifts the position of the representative point pixel group Ys having a predetermined size from the upper left to the lower right of the frame memory 162 in units of a predetermined number of pixels as in the rectangular area shown in FIG. Read sequentially.

一方、代表点マッチング回路164は、バッファメモリ163からは、図11(b)の矩形領域のように、輝度代表点フレーム画像データを所定の大きさで区画分けして、各区画の代表点画素群Ytを区画番号1から12まで順に読み出す。   On the other hand, the representative point matching circuit 164 partitions the luminance representative point frame image data from the buffer memory 163 by a predetermined size as shown in the rectangular area of FIG. The group Yt is sequentially read from the partition numbers 1 to 12.

そして、代表点マッチング回路164は、代表点画素群Ytと代表点画素群Ysとの差分が最も小さかったときのフレームメモリ162からのYsの読み出し位置と、代表点画素群Ytの区画番号1の位置から、区画番号1の動きベクトルMvを出力する。   The representative point matching circuit 164 then reads the Ys read position from the frame memory 162 when the difference between the representative point pixel group Yt and the representative point pixel group Ys is the smallest, and the partition number 1 of the representative point pixel group Yt. From the position, the motion vector Mv of section number 1 is output.

区画番号1のマッチング演算が終了すると、代表点マッチング回路164は、バッファメモリ163から区画番号2の代表点画素群Ytを読み出す。また、代表点マッチング回路164は、フレームメモリ162からは、区画番号1のときと同様に、代表点画素群Ysをフレームメモリ162の左上から右下まで順次更新しながら読み出す。
以降マッチング演算を繰り返すことで、動き検出回路16は、区画番号1から12の各々について、動きベクトルMvを出力する。
When the matching operation for the partition number 1 is completed, the representative point matching circuit 164 reads the representative point pixel group Yt for the partition number 2 from the buffer memory 163. Further, the representative point matching circuit 164 reads the representative point pixel group Ys from the frame memory 162 while sequentially updating the representative point pixel group Ys from the upper left to the lower right of the frame memory 162 as in the case of the partition number 1.
Thereafter, by repeating the matching calculation, the motion detection circuit 16 outputs a motion vector Mv for each of the partition numbers 1 to 12.

上述の通り、一般的な動画撮像時に光学収差または周辺光量落ちの補正処理を適切に行うには、像高の数よりも光学パラメータの組み合わせの数を優先して補正量プロットデータを選択した方が適切な補正を行うことができる。しかし、実際には撮像されている画像がほとんど動いていない場合には、たとえ動画撮像中であっても、像高位置による光学収差または周辺光量落ちの細かい変化を補正した方が画質の向上に寄与する。   As mentioned above, in order to properly correct optical aberrations or peripheral light loss during general movie shooting, the correction amount plot data is selected with priority given to the number of combinations of optical parameters over the number of image heights. Can make appropriate corrections. However, if the image being picked up is hardly moving, it is better to correct small changes in optical aberration or peripheral light loss due to the image height position, even during moving image shooting. Contribute.

本実施形態における、制御部7による補正量プロットデータセットCmの読み出し制御処理動作の例を、図12のフローチャートを用いて説明する。
まず、S1801で、制御部7は、現在の撮像モードが動画モードか静止画モードかを判断し、動画モードであればS1802へ、静止画モードであればS903へ進む。
An example of the read control processing operation of the correction amount plot data set Cm by the control unit 7 in the present embodiment will be described with reference to the flowchart of FIG.
First, in step S1801, the control unit 7 determines whether the current shooting mode is the moving image mode or the still image mode. If the moving image mode is selected, the control unit 7 proceeds to step S1802.

動画モードの場合、制御部7は、S1802で動き検出回路16の出力である動きベクトルMvを全区画分取得する。次に、制御部7はS1804で、全区画分の動きベクトルMvを統計処理し、現在のフレーム期間における代表動きベクトルMを算出する。   In the moving image mode, the control unit 7 acquires the motion vector Mv that is the output of the motion detection circuit 16 for all the sections in S1802. Next, in step S1804, the control unit 7 statistically processes the motion vectors Mv for all sections, and calculates a representative motion vector M in the current frame period.

代表動きベクトルMを求めるための統計処理の例としては、全ての区画の動きベクトルMvの平均値や中央値を代表ベクトルMとする処理がある。また、動きベクトルMvの中で小さいもの、大きいものを所定数削除し、残りの動きベクトルの平均値や中央値を代表ベクトルMとしてもよい。また、画面中央部分の区画(図11(b)の例であれば例えば区画6,7)で検出された動きベクトルの平均値や中央値を代表ベクトルMとしてもよい。   As an example of the statistical process for obtaining the representative motion vector M, there is a process in which the average value or median value of the motion vectors Mv of all sections is used as the representative vector M. Alternatively, a predetermined number of small and large motion vectors Mv may be deleted, and the average value or median value of the remaining motion vectors may be used as the representative vector M. Further, the average value or median value of the motion vectors detected in the section at the center of the screen (for example, sections 6 and 7 in the example of FIG. 11B) may be used as the representative vector M.

S1805で、動き判定手段としての制御部7は、代表動きベクトルMの大きさが所定の閾値以下か否か判定する。そして、制御部7は、代表動きベクトルMの大きさが所定の閾値以下と判定されればS903に、閾値を超えていると判定されればS902に処理を進める。所定の閾値は、例えば代表動きベクトルMが主観的に動き検知できる値を目安とすれば良い。
以下は、第1の実施形態と同様の処理であるため、説明を省略する。
In step S1805, the control unit 7 serving as a motion determination unit determines whether or not the magnitude of the representative motion vector M is equal to or less than a predetermined threshold value. Then, the control unit 7 advances the process to S903 if it is determined that the magnitude of the representative motion vector M is equal to or less than the predetermined threshold, and advances to S902 if it is determined that the representative motion vector M exceeds the threshold. For example, the predetermined threshold value may be a value that allows the representative motion vector M to detect motion subjectively.
Since the following processing is the same as that of the first embodiment, description thereof is omitted.

なお、ここでは、説明及び理解を容易にするため、代表ベクトルMの大きさが所定の閾値以下であれば静止画モードと同様の制御を行うものとして説明した。しかし、閾値を段階的に複数設定し、代表ベクトルMの大きさが小さくなるにつれて光学パラメータの組み合わせをmからuに徐々に少なくし、同時に補正プロットデータの個数をnからvに徐々に多くする段階的な制御も可能である。このような段階的な制御により、動画モードでの補正制御から静止画モードでの補正制御に滑らかに移行することができる。   Here, in order to facilitate explanation and understanding, it has been described that the same control as in the still image mode is performed when the magnitude of the representative vector M is equal to or smaller than a predetermined threshold. However, a plurality of threshold values are set in stages, and as the representative vector M decreases, the combination of optical parameters is gradually decreased from m to u, and at the same time, the number of correction plot data is gradually increased from n to v. Stepwise control is also possible. By such stepwise control, it is possible to smoothly shift from correction control in the moving image mode to correction control in the still image mode.

本実施形態によれば、第1の実施形態の効果に加え、動画モードでも画像の動きが小さい場合には静止画モードと同様の補正を適用することにより、動画の画質をより適切に補正することが可能になるという効果を実現できる。   According to this embodiment, in addition to the effects of the first embodiment, when the image movement is small even in the moving image mode, the image quality of the moving image is corrected more appropriately by applying the same correction as in the still image mode. The effect that it becomes possible is realizable.

(他の実施形態)
上述の実施形態では、本発明の特徴の理解を容易にするため、動画モード、静止画モードで読み出される補正量プロットデータセットCmを構成する補正量プロットデータの総数は等しく(m×n=u×v)、m>uかつn<vの関係を有するものとした。しかし、補正量プロットデータの総数は動画モードと静止画モードで異なっていてもよい。本発明の本質は、離散的な補正量プロットデータを選択する際、動画モードでは像高の数より光学パラメータの組み合わせの数を、静止画モードでは光学パラメータの組み合わせの数を像高の数よりも優先することにある。従って、より一般的な定義として、(m/n)>(u/v)の関係を満たせばよい。
(Other embodiments)
In the above-described embodiment, in order to facilitate understanding of the characteristics of the present invention, the total number of correction amount plot data constituting the correction amount plot data set Cm read in the moving image mode and the still image mode is equal (m × n = u Xv), m> u and n <v. However, the total number of correction amount plot data may be different between the moving image mode and the still image mode. The essence of the present invention is that when selecting discrete correction amount plot data, the number of optical parameter combinations is greater than the number of image heights in the moving image mode, and the number of optical parameter combinations is greater than the number of image heights in the still image mode. Also has priority. Therefore, as a more general definition, the relationship of (m / n)> (u / v) may be satisfied.

また、より一般的には、像高の数と光学パラメータの組み合わせの数との優先度が動画モードと静止画モードとで相対的なものであってもよい。具体的には、動画モードの場合には、静止画モードの場合に対して像高の数より光学パラメータの組み合わせの数が優先されれば、本願発明の効果を実現できる。同様に、光学パラメータの変動量の大きさや、画像の動きの大きさによって像高の数と光学パラメータの組み合わせの数の優先度を変える場合についても、条件間の相対的な関係であってよい。つまり、動画モードの場合、光学パラメータの変動が閾値以下の場合には、閾値より大きい場合に対して相対的に、光学パラメータの数よりも像高の数を優先する。また、動画モードの場合、画像の動きの大きさが閾値以下の場合には、閾値より大きい場合に対して相対的に、光学パラメータの数よりも像高の数を優先する。   More generally, the priority between the number of image heights and the number of combinations of optical parameters may be relative between the moving image mode and the still image mode. Specifically, in the moving image mode, if the number of combinations of optical parameters is given priority over the number of image heights in the still image mode, the effect of the present invention can be realized. Similarly, the case where the priority of the number of image heights and the number of combinations of optical parameters is changed depending on the amount of variation in optical parameters or the amount of motion of an image may be a relative relationship between conditions. . That is, in the moving image mode, when the variation of the optical parameter is equal to or smaller than the threshold, the number of image heights is given priority over the number of optical parameters relative to the case where the variation is larger than the threshold. Also, in the moving image mode, when the magnitude of the image motion is equal to or smaller than the threshold, the number of image heights is given priority over the number of optical parameters relative to the case where the magnitude is larger than the threshold.

また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。   The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.

Claims (6)

動画モードと静止画モードとを含む撮像モードを有する撮像装置であって、
撮像光学系により結像された被写体像を撮像し、画像データを生成する撮像手段と、
前記撮像光学系の複数の光学パラメータの値の複数の組み合わせについて、像高に対する前記撮像光学系に起因する画質劣化を補正するための補正量を離散的に保持する補正量記憶手段と、
前記撮像装置の撮像モードが前記動画モードであるか前記静止画モードであるかに応じて前記補正量記憶手段に保持された複数の補正量を選択し、出力する選択手段と、
前記選択手段が選択した複数の補正量を補間して、前記撮像手段が撮像した時点における前記撮像光学系の前記複数の光学パラメータの値の組み合わせについて、前記画像データの各画素に対する補正量を求める補正量生成手段と、
前記補正量生成手段が生成した補正量を前記画像データの各画素に対して適用する補正手段とを有し、
前記選択手段は、前記撮像装置の撮像モードが動画モードである場合には、前記撮像装置の撮像モードが静止画モードである場合よりも、像高の数よりも光学パラメータの組み合わせの数を優先して前記複数の補正量を選択することを特徴とする撮像装置。
An imaging apparatus having an imaging mode including a moving image mode and a still image mode,
An imaging means for capturing a subject image formed by the imaging optical system and generating image data;
Correction amount storage means for discretely holding correction amounts for correcting image quality degradation caused by the imaging optical system with respect to image height for a plurality of combinations of values of a plurality of optical parameters of the imaging optical system;
Selection means for selecting and outputting a plurality of correction amounts held in the correction amount storage means according to whether the imaging mode of the imaging device is the moving image mode or the still image mode;
A plurality of correction amounts selected by the selection unit are interpolated to obtain a correction amount for each pixel of the image data for a combination of the values of the plurality of optical parameters of the imaging optical system at the time when the imaging unit picks up an image. Correction amount generating means;
Correction means for applying the correction amount generated by the correction amount generation means to each pixel of the image data,
When the imaging mode of the imaging device is the moving image mode, the selection unit prioritizes the number of combinations of optical parameters over the number of image heights than when the imaging mode of the imaging device is the still image mode. And selecting the plurality of correction amounts.
前記撮像光学系の前記複数の光学パラメータの値の履歴を保持する履歴記憶手段と、
前記撮像手段が撮像した時点における前記撮像光学系の前記複数の光学パラメータの値と、前記履歴記憶手段が保持する前記複数の光学パラメータの値との変動の大きさが予め定めた閾値以下か否かを判定する変動量判定手段とをさらに有し、
前記選択手段は、前記撮像装置の撮像モードが前記動画モードであると、前記変動量判定手段によって前記変動の大きさが予め定めた閾値以下であると判定された場合には、前記変動の大きさが予め定めた閾値より大きいと判定された場合よりも、光学パラメータの組み合わせの数よりも像高の数を優先して前記複数の補正量を選択することを特徴とする請求項1記載の撮像装置。
History storage means for holding a history of values of the plurality of optical parameters of the imaging optical system;
Whether the magnitude of variation between the values of the plurality of optical parameters of the imaging optical system and the values of the plurality of optical parameters held by the history storage unit at the time when the imaging unit captures an image is equal to or less than a predetermined threshold value And a variation amount determination means for determining whether or not
When the imaging mode of the imaging apparatus is the moving image mode, the selection unit determines the magnitude of the variation when the variation amount determining unit determines that the magnitude of the variation is equal to or less than a predetermined threshold. 2. The plurality of correction amounts are selected by prioritizing the number of image heights over the number of combinations of optical parameters, rather than the case where it is determined that is larger than a predetermined threshold value. Imaging device.
前記補正手段で補正する画像データと、前記撮像手段が過去に撮像した画像データとから、前記補正手段で補正する画像データの動きベクトルを算出し、当該動きベクトルの大きさが予め定めた閾値以下か否かを判定する動き判定手段とをさらに有し、
前記選択手段は、前記撮像装置の撮像モードが前記動画モードであると、前記動き判定手段によって前記動きベクトルの大きさが予め定めた閾値以下であると判定された場合には、前記動きベクトルの大きさが予め定めた閾値より大きいと判定された場合よりも、光学パラメータの組み合わせの数よりも像高の数を優先して前記複数の補正量を選択することを特徴とする請求項1記載の撮像装置。
A motion vector of the image data corrected by the correction unit is calculated from the image data corrected by the correction unit and the image data captured by the imaging unit in the past, and the magnitude of the motion vector is equal to or less than a predetermined threshold value. A motion determination means for determining whether or not
The selection means, when the imaging mode of the imaging apparatus is the moving image mode, when the motion determination means determines that the magnitude of the motion vector is equal to or less than a predetermined threshold, 2. The plurality of correction amounts are selected by prioritizing the number of image heights over the number of combinations of optical parameters, rather than when the size is determined to be greater than a predetermined threshold. Imaging device.
前記選択手段が、前記撮像装置の撮像モードが前記動画モードであっても前記静止画モードであっても、等しい数の補正量を選択することを特徴とする請求項1乃至請求項3のいずれか1項に記載の撮像装置。   4. The apparatus according to claim 1, wherein the selection unit selects an equal number of correction amounts regardless of whether the imaging mode of the imaging apparatus is the moving image mode or the still image mode. The imaging apparatus of Claim 1. 前記複数の光学パラメータが、前記撮像光学系の画角、フォーカス位置、及び絞り値であり、前記撮像光学系に起因する画質劣化が倍率色収差、歪曲収差、及び周辺光量落ちのいずれかであることを特徴とする請求項1乃至請求項4のいずれか1項に記載の撮像装置。   The plurality of optical parameters are an angle of view, a focus position, and an aperture value of the imaging optical system, and image quality degradation caused by the imaging optical system is any one of chromatic aberration of magnification, distortion, and loss of peripheral light amount. The imaging device according to any one of claims 1 to 4, wherein: 動画モードと静止画モードとを含む撮像モードを有し、
撮像光学系により結像された被写体像を撮像し、画像データを生成する撮像手段と、
前記撮像光学系の複数の光学パラメータの値の複数の組み合わせについて、像高に対する前記撮像光学系に起因する画質劣化を補正するための補正量を離散的に保持する補正量記憶手段とを備える撮像装置の制御方法であって、
前記撮像装置の撮像モードが前記動画モードであるか前記静止画モードであるかに応じて前記補正量記憶手段に保持された複数の補正量を選択し、出力する選択ステップと、
前記選択ステップで選択された複数の補正量を補間して、前記撮像手段が撮像した時点における前記撮像光学系の前記複数の光学パラメータの値の組み合わせについて、前記画像データの各画素に対する補正量を求める補正量生成ステップと、
前記補正量生成ステップで生成された補正量を前記画像データの各画素に対して適用する補正ステップとを有し、
前記選択ステップは、前記撮像装置の撮像モードが動画モードである場合には、前記撮像装置の撮像モードが静止画モードである場合よりも、像高の数よりも光学パラメータの組み合わせの数を優先して前記複数の補正量を選択することを特徴とする撮像装置の制御方法。
It has an imaging mode that includes a video mode and a still image mode,
An imaging means for capturing a subject image formed by the imaging optical system and generating image data;
An imaging device comprising: a correction amount storage unit that discretely holds correction amounts for correcting image quality degradation caused by the imaging optical system with respect to image height for a plurality of combinations of a plurality of optical parameter values of the imaging optical system An apparatus control method comprising:
A selection step of selecting and outputting a plurality of correction amounts held in the correction amount storage means according to whether the imaging mode of the imaging device is the moving image mode or the still image mode;
A plurality of correction amounts selected in the selection step are interpolated, and a correction amount for each pixel of the image data is set for a combination of the values of the plurality of optical parameters of the imaging optical system at the time when the imaging unit captures an image. A correction amount generation step to be obtained;
A correction step of applying the correction amount generated in the correction amount generation step to each pixel of the image data,
In the selection step, when the imaging mode of the imaging device is a moving image mode, priority is given to the number of combinations of optical parameters over the number of image heights compared to the case where the imaging mode of the imaging device is a still image mode. And selecting the plurality of correction amounts.
JP2009289648A 2009-12-21 2009-12-21 Imaging apparatus and control method thereof Abandoned JP2011130381A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009289648A JP2011130381A (en) 2009-12-21 2009-12-21 Imaging apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009289648A JP2011130381A (en) 2009-12-21 2009-12-21 Imaging apparatus and control method thereof

Publications (2)

Publication Number Publication Date
JP2011130381A true JP2011130381A (en) 2011-06-30
JP2011130381A5 JP2011130381A5 (en) 2013-02-14

Family

ID=44292426

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009289648A Abandoned JP2011130381A (en) 2009-12-21 2009-12-21 Imaging apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP2011130381A (en)

Similar Documents

Publication Publication Date Title
JP5385740B2 (en) Imaging apparatus and image data correction method
JP5438579B2 (en) Image processing apparatus and control method thereof
JP4719553B2 (en) Imaging apparatus, imaging method, computer program, and computer-readable storage medium
JP6355454B2 (en) Imaging apparatus, control method therefor, program, and storage medium
US9538085B2 (en) Method of providing panoramic image and imaging device thereof
JP6222514B2 (en) Image processing apparatus, imaging apparatus, and computer program
JP5548552B2 (en) Imaging device
JP2004336106A (en) Image processing apparatus, image processing method, and imaging apparatus
JP2006295626A (en) Fish-eye image processing apparatus, method thereof and fish-eye imaging apparatus
US20110149096A1 (en) Imaging apparatus and control method thereof
JP2013165485A (en) Image processing apparatus, image capturing apparatus, and computer program
TWI507808B (en) Image capturing apparatus
JP2009111596A (en) Imaging apparatus
JP4953770B2 (en) Imaging device
US20080012964A1 (en) Image processing apparatus, image restoration method and program
JP5173883B2 (en) Imaging device
JP6980480B2 (en) Imaging device and control method
US8780228B2 (en) Image capture apparatus and control method thereof
JP2018142983A (en) Image processing device and method of controlling the same, program, and storage medium
JP6223135B2 (en) Imaging apparatus and control method thereof
JP6016546B2 (en) Imaging device, control method thereof, and control program
JP6105960B2 (en) Image processing apparatus, image processing method, and imaging apparatus
JP2011130381A (en) Imaging apparatus and control method thereof
JP2008191921A (en) Optical distortion correction method and device, imaging device with video recording function, and optical distortion correction program
JP5769790B2 (en) Image processing apparatus and image processing method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121221

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121221

A762 Written abandonment of application

Free format text: JAPANESE INTERMEDIATE CODE: A762

Effective date: 20130731