JP2011130381A - Imaging apparatus and control method thereof - Google Patents
Imaging apparatus and control method thereof Download PDFInfo
- 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
Links
- 238000003384 imaging method Methods 0.000 title claims abstract description 97
- 238000000034 method Methods 0.000 title claims description 21
- 238000012937 correction Methods 0.000 claims abstract description 216
- 230000003287 optical effect Effects 0.000 claims abstract description 153
- 230000004075 alteration Effects 0.000 claims description 23
- 239000013598 vector Substances 0.000 claims description 23
- 230000015556 catabolic process Effects 0.000 claims description 17
- 238000006731 degradation reaction Methods 0.000 claims description 17
- 230000002093 peripheral effect Effects 0.000 claims description 12
- 230000006866 deterioration Effects 0.000 abstract description 7
- 230000015654 memory Effects 0.000 description 21
- 238000012545 processing Methods 0.000 description 20
- 230000006870 function Effects 0.000 description 19
- 238000004364 calculation method Methods 0.000 description 16
- 230000000875 corresponding effect Effects 0.000 description 15
- 230000008859 change Effects 0.000 description 13
- 238000001514 detection method Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 8
- 230000000694 effects Effects 0.000 description 7
- 238000005192 partition Methods 0.000 description 7
- 230000007423 decrease Effects 0.000 description 4
- 238000012935 Averaging Methods 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 2
- 238000006073 displacement reaction Methods 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 238000010187 selection method Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012886 linear function Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Studio Devices (AREA)
Abstract
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.
また、現在のデジタルビデオカメラ、デジタルカメラは、動画と静止画の両方を撮像可能なものがほとんどであるが、動画の各フレームに対して静止画と同様の補正処理を適用した場合、装置の処理能力によってはリアルタイムに補正することが難しい。そのため、特許文献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
特に、動画撮像のような、焦点距離、絞り、フォーカス位置を代表とする光学パラメータが撮像中に常に変動するような撮像において、光学的要因による画質劣化の大きさも光学パラメータの変化によって逐次変動している。 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,
Further, in
パラメータの組み合わせ毎の画質劣化の変化を単純なモデルで近似できれば、少ないデータ量で多くのパラメータの組み合わせに対する補正量を求めることは比較的容易である。しかし、実際には光学要因の画質劣化の補正特性は非線形かつ複雑に変動するため、画質劣化の変化を単純なモデルで近似するのは困難である。そのため、特許文献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
また、動画の場合には撮像中に光学パラメータが変動するため、像高の変動に対する補正精度よりも光学パラメータの組み合わせに関する補正精度を優先すべきである。また、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,
本発明はこのような従来技術の課題に鑑みなされたものであり、離散的なデータから光学的な要因による画質劣化を補正するための補正量を算出する撮像装置及びその制御方法において、動画撮像時と静止画撮像時のそれぞれに適した補正量の算出を可能とする。 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の実施形態)
図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
光学補正回路6は、デジタル映像信号Sr、Sg、Sbに対して係数生成回路14から供給される補正値Ztを画素毎に順次適用し、レンズユニット1、絞り2の光学的特性によって生じた画質劣化を補正する。そして光学補正回路6はデジタル映像信号Sr’、Sg’、Sb’からなる補正後の画像データを出力する。
The
次に、補正値Ztの生成に関わる、制御部7、タイミングジェネレータ(以降TGと略す)11、画素座標生成回路12、光学補正データベース13、係数生成回路14について、詳細に説明する。なお、メモリ15は本実施形態では使用しない。
Next, the
デジタルビデオカメラ100の光学パラメータは、ズーミング操作や被写体の移動、撮像対象の変更、周囲の明るさの環境変化や撮像者の意図する撮像効果などの様々な要因により変動する。ここで、光学パラメータとは、撮像光学系に起因する画質劣化に対して影響を与えるパラメータであり、本明細書において以後、焦点距離(画角)、フォーカス位置(画面内で焦点検出する位置)、絞り値を総称して光学パラメータと呼ぶ。ただし、本発明において、光学パラメータの種類や数に制限はなく、焦点距離、フォーカス位置、絞り値は光学パラメータの例示的な組み合わせを示すに過ぎない。
The optical parameters of the
撮像光学系に起因して生じる画質劣化の要因としては、倍率色収差、歪曲収差及び周辺光量落ちが例示できるが、これら画質劣化の程度は像高(光軸中心からの距離)に応じて変動することが知られている。従って、画質劣化を補正するための補正量もまた同様に像高に応じて変動する。 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
制御部7は、例えば図示しない操作部材を通じて与えられるズーム指示に応じて駆動パルス位置CLを出力し、レンズユニット1のズームレンズ用アクチュエータ8を駆動する。これにより、レンズユニット1の画角が変化する。
For example, the
また、制御部7は、所定の焦点距離を実現するための駆動パルス位置CFを出力し、レンズユニット1のフォーカスレンズ用アクチュエータ9を駆動する。さらに制御部7は、所定の絞り値を実現するための駆動パルス位置Cfを出力し、絞り2のアクチュエータ10を駆動する。
The
TG11は、デジタルビデオカメラ100が使用する撮像素子41,42,43の駆動仕様に合わせて、図3(a)に示すような水平同期信号HD、垂直同期信号VDを発生し、AFE5は駆動波形を生成して撮像素子41,42,43に入力する。
The
水平同期信号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
The horizontal synchronization signal HD and the vertical synchronization signal VD are input to the pixel coordinate
画素座標生成回路12の構成例を図3(b)に示す。画素座標生成回路12では、水平同期信号HDの立ち下りでリセットされるHカウンタ121が水平カウンタ値Xtを出力し、垂直同期信号VDの立ち下がりでリセットされるVカウンタ122垂直カウンタ値Ytを出力する。
A configuration example of the pixel coordinate
水平カウンタ値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
画素座標生成回路12に入力される光軸中心位置情報Cx、Cyは、レンズユニット1、絞り2で構成される撮像光学系の光軸中心位置cに対応する図3(c)の直交座標系の座標である。
The optical axis center position information Cx and Cy input to the pixel coordinate
ここで、着目画素tの座標を(Xt,Yt)とすると、着目画素tの像高Rtは、光軸中心位置cからの距離であるため、
制御部7は、アクチュエータ8〜10に駆動パルス位置CL、CF、Cfを出力する際、例えば不揮発性メモリに記憶された光学補正データベース13にアクセスし、係数生成回路14に与える補正量プロットデータセットCmを出力する。補正量記憶手段としての光学補正データベース13は、複数の光学パラメータの値の複数の組み合わせについて、像高に対する前記撮像光学系に起因する画質劣化を補正するための補正量を離散的に保持している。以下、光学補正データベース13が保持する個々の離散的な補正量を補正量プロットデータと呼ぶ。
When the
動画像の各フレームにリアルタイムで補正を適用するには、補正処理を垂直同期信号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
この際、本実施形態では、デジタルビデオカメラ100の撮像モードが動画モードか静止画モードかに応じて、同じ光学パラメータ値の組み合わせであっても、少なくとも一部が異なるデータセットを係数生成回路14に供給する。また、制御部7は、動画モードか静止画モードかを表す撮像モード情報も係数生成回路14に供給する。
At this time, in the present embodiment, the
動画撮像の場合、光学パラメータの変動による光学収差または周辺光量落ちの変化が連続して記録される。このため、撮像光学系に起因する画像劣化を適切に補正するには、光学補正データベース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
一方、静止画撮像の場合、撮像中に光学パラメータが大きく変動することはないが、変動像高位置による光学収差または周辺光量落ちの細かい変化が記録される。このため、撮像光学系に起因する画像劣化を適切に補正するには、光学補正データベース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
制御部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
First, in S901, the
補正量プロットデータセットは、撮像の時点の光学パラメータの近傍(合致するものがあればそれを含む)に対応する複数の補正特性に対応したデータ系列から、複数の像高に対応したデータを選択することによって構成する。 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
図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
図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
なお、ここでは、光学補正データベース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
The function
撮像モード情報modeが動画モードを示している場合、関数係数算出回路141は、図2(b)に示した32個の補正量プロットデータ(8個/像高×4)を、像高毎に補間して、図2(c)に示すような4つの補正プロットデータを算出する。
When the imaging mode information mode indicates the moving image mode, the function
次に、関数係数算出回路141は、図2(d)に示すように、現在の着目画素の像高Rtが属するプロット区間を求め(黒線区間)、プロット区間に対応する近似関数の係数a、b、cを出力する。
Next, as shown in FIG. 2D, the function
一方、撮像モード情報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
次に、関数係数算出回路141は、図5(c)に示すように、現在の注目画素の像高Rtが属するプロット区間を求め(黒線区間)、プロット区間に対応する近似関数の係数a、b、cを出力する。
Next, as shown in FIG. 5C, the function
本実施形態において、プロット区間の近似関数は、
そして、補正値算出回路142は、近似関数に基づいて、現在の注目画素の像高Rtから、補正量Ztを算出する。
周辺光量落ち補正の場合、補正量Ztはデジタル映像信号Sr、Sg、Sbに共通のゲインとなる。
倍率色収差補正や歪曲収差補正の場合、補正量Ztはデジタル映像信号Sr、Sg、Sbの各々に対して独立で、水平、垂直方向の位置ずれ成分を表す位置ずれ量ZtHr,ZtVrである。
Then, the correction
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
FIG. 7A shows a configuration example when the
光学補正回路6は、デジタル映像信号Sr、Sg、Sbに対して補正量Ztを乗算器701、702、703で乗じ、光学補正処理されたデジタル映像信号Sr’、Sg’、Sb’からなる補正後の画像データを出力する。
The
図7(b)は、光学補正回路6が倍率色収差補正回路または歪曲収差補正回路である場合の構成例を示す。
倍率色収差補正や歪曲収差補正の場合、光学補正値は、着目画素位置における歪み量を水平、垂直方向の位置ずれ成分として表した位置ずれ量である。
FIG. 7B shows a configuration example when the
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
ここで、R成分の処理に着目すると、補間制御回路601は、仮想画素S’の小数の位置ずれ成分として、参照画素Sr1、Sr2、Sr3、Sr4から仮想画素Sr’を求めるための重み付け係数cr1、cr2、cr3、cr4を出力する。重み付け係数は、上述のように、参照画素と仮想画素との距離に応じた値を有する。
Here, paying attention to the processing of the R component, the
バッファメモリ602は、デジタル映像信号Sr(画像データの赤色成分)を、例えば1フレーム分保持している。そして、バッファメモリ602は、Hrp、Vrpで画素毎に指示された位置に保持されている画素を含む複数の画素を、仮想画素Sr’近傍の参照画素sr1、sr2、sr3、sr4として順次出力する。
The
仮想画素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
以上説明したように、本実施形態では、離散的な光学パラメータ値の組み合わせ毎に複数の離散的な像高に対応した補正データを保存するので、補正量の保存に必要な記憶容量を節約することができる。さらに、光学パラメータが常に変化する動画モードでは像高の数よりも光学パラメータの組み合わせの数を優先し、静止画モードでは光学パラメータの組み合わせの数よりも像高の数を優先して離散的な補正量を選択する。そのため、例えば選択する補正値の総数が等しい場合でも、動画に適切な補正量と静止画に適切な補正量を算出することが可能になる。このように、少ない記憶容量で、動画に適切な補正量と静止画に適切な補正量を算出することが可能になるという顕著な効果が実現できる。 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
制御部7は、光学パラメータの制御単位時間である1フレーム期間毎に、
・ズームレンズ用アクチュエータ8を駆動するための駆動パルス位置CL、
・フォーカスレンズ用アクチュエータ9を駆動するための駆動パルス位置CF、
・絞り2のアクチュエータ10を駆動するための駆動パルス位置Cf、
を出力している。
The
A driving pulse position CL for driving the
A drive pulse position CF for driving the
A drive pulse position Cf for driving the
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
上述の通り、動画モードの場合、光学パラメータが常時変動するため、像高の数よりも光学パラメータの組み合わせの数を優先して補正量プロットデータを選択した方が適切な補正を行うことができる。しかし、動画撮像中でも光学パラメータがほとんど変動をしていない場合は、像高位置による光学収差または周辺光量落ちの細かい変化を補正した方が画質の向上に寄与する。 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
本実施形態における、制御部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
First, in step S1501, the
次にS1504で制御部7は、現在のフレーム期間で設定された駆動パルス位置を、メモリ15に光学パラメータ毎の履歴として記録する。そして、S1505で、変動量判定手段としての制御部7は、メモリ15から読み出した駆動パルス位置の履歴情報と、現在の駆動パルス位置を比較し、パラメータ変動の大きさが所定の閾値以下か否か判定する。そして、制御部7は、パラメータ変動の大きさが所定の閾値以下と判定されればS903に、閾値を超えていると判定されればS902に処理を進める。
In step S <b> 1504, the
履歴情報との比較方法は、例えば直近の駆動パルス位置や複数フレームでの中央値との差分、あるいは複数フレームでの差分の積算値を見れば良い。また、光学パラメータの種類が複数である場合、いずれか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
そのため、以下では、動き検出回路16に関わることのみ説明を行い、第1の実施形態と重複する説明は省略する。本実施形態は、第2の実施形態と同様、動画モードであってもある条件を満たす場合には静止画モードで補正制御するものである。第2の実施形態では光学パラメータの変動量の大きさが条件であったが、本実施形態では画像の動きの大きさが条件である。すなわち、動画モードであっても、動きが小さい場合には静止画モードと同様の補正制御を行うことを特徴とする。そのため、本実施形態では動き検出回路16により、画像の動きを検出する。
Therefore, in the following, only the relationship with the
図10は、動き検出回路16の構成例を示すブロック図である。本実施形態の動き検出回路16は、これは代表点によるマッチング演算により動きを検出する一般的な構成を有する。
FIG. 10 is a block diagram illustrating a configuration example of the
輝度信号生成回路161は、デジタル映像信号Sr、Sg、Sbを、例えば
y=0.299Sr+0.587Sg+0.144Sb
のような、一般的な輝度生成式で混合し、輝度信号Yを出力する。
The luminance
And the luminance signal Y is output.
フレームメモリ162は少なくとも2フレーム分の輝度代表点画像データを保持する容量を有する。輝度代表点画像データとは、輝度信号Yを所定の画素間隔をもって水平、垂直方向に再サンプリングした代表点の輝度信号からなる画像データである。また、同様の輝度代表点画像データを、バッファメモリ163にも保持する。
The
代表点マッチング回路164は、図11(a)に示す矩形領域のように、所定の大きさの代表点画素群Ysを、フレームメモリ162の左上から右下まで所定の画素数単位で位置をずらしながら順次読み出す。
The representative
一方、代表点マッチング回路164は、バッファメモリ163からは、図11(b)の矩形領域のように、輝度代表点フレーム画像データを所定の大きさで区画分けして、各区画の代表点画素群Ytを区画番号1から12まで順に読み出す。
On the other hand, the representative
そして、代表点マッチング回路164は、代表点画素群Ytと代表点画素群Ysとの差分が最も小さかったときのフレームメモリ162からのYsの読み出し位置と、代表点画素群Ytの区画番号1の位置から、区画番号1の動きベクトルMvを出力する。
The representative
区画番号1のマッチング演算が終了すると、代表点マッチング回路164は、バッファメモリ163から区画番号2の代表点画素群Ytを読み出す。また、代表点マッチング回路164は、フレームメモリ162からは、区画番号1のときと同様に、代表点画素群Ysをフレームメモリ162の左上から右下まで順次更新しながら読み出す。
以降マッチング演算を繰り返すことで、動き検出回路16は、区画番号1から12の各々について、動きベクトルMvを出力する。
When the matching operation for the
Thereafter, by repeating the matching calculation, the
上述の通り、一般的な動画撮像時に光学収差または周辺光量落ちの補正処理を適切に行うには、像高の数よりも光学パラメータの組み合わせの数を優先して補正量プロットデータを選択した方が適切な補正を行うことができる。しかし、実際には撮像されている画像がほとんど動いていない場合には、たとえ動画撮像中であっても、像高位置による光学収差または周辺光量落ちの細かい変化を補正した方が画質の向上に寄与する。 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
First, in step S1801, the
動画モードの場合、制御部7は、S1802で動き検出回路16の出力である動きベクトルMvを全区画分取得する。次に、制御部7はS1804で、全区画分の動きベクトルMvを統計処理し、現在のフレーム期間における代表動きベクトルMを算出する。
In the moving image mode, the
代表動きベクトル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,
S1805で、動き判定手段としての制御部7は、代表動きベクトルMの大きさが所定の閾値以下か否か判定する。そして、制御部7は、代表動きベクトルMの大きさが所定の閾値以下と判定されればS903に、閾値を超えていると判定されればS902に処理を進める。所定の閾値は、例えば代表動きベクトルMが主観的に動き検知できる値を目安とすれば良い。
以下は、第1の実施形態と同様の処理であるため、説明を省略する。
In step S1805, the
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.
撮像光学系により結像された被写体像を撮像し、画像データを生成する撮像手段と、
前記撮像光学系の複数の光学パラメータの値の複数の組み合わせについて、像高に対する前記撮像光学系に起因する画質劣化を補正するための補正量を離散的に保持する補正量記憶手段とを備える撮像装置の制御方法であって、
前記撮像装置の撮像モードが前記動画モードであるか前記静止画モードであるかに応じて前記補正量記憶手段に保持された複数の補正量を選択し、出力する選択ステップと、
前記選択ステップで選択された複数の補正量を補間して、前記撮像手段が撮像した時点における前記撮像光学系の前記複数の光学パラメータの値の組み合わせについて、前記画像データの各画素に対する補正量を求める補正量生成ステップと、
前記補正量生成ステップで生成された補正量を前記画像データの各画素に対して適用する補正ステップとを有し、
前記選択ステップは、前記撮像装置の撮像モードが動画モードである場合には、前記撮像装置の撮像モードが静止画モードである場合よりも、像高の数よりも光学パラメータの組み合わせの数を優先して前記複数の補正量を選択することを特徴とする撮像装置の制御方法。 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.
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) |
-
2009
- 2009-12-21 JP JP2009289648A patent/JP2011130381A/en not_active Abandoned
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 |