JP4979507B2 - Imaging apparatus and imaging method - Google Patents

Imaging apparatus and imaging method Download PDF

Info

Publication number
JP4979507B2
JP4979507B2 JP2007208446A JP2007208446A JP4979507B2 JP 4979507 B2 JP4979507 B2 JP 4979507B2 JP 2007208446 A JP2007208446 A JP 2007208446A JP 2007208446 A JP2007208446 A JP 2007208446A JP 4979507 B2 JP4979507 B2 JP 4979507B2
Authority
JP
Japan
Prior art keywords
smooth differential
evaluation value
lens
smooth
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007208446A
Other languages
Japanese (ja)
Other versions
JP2009031702A (en
Inventor
圭 伊藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2007208446A priority Critical patent/JP4979507B2/en
Priority to CN2008101272915A priority patent/CN101339348B/en
Publication of JP2009031702A publication Critical patent/JP2009031702A/en
Application granted granted Critical
Publication of JP4979507B2 publication Critical patent/JP4979507B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)

Description

本発明は、被写体に対して自動的に焦点を合わせる自動焦点機能を有する撮像装置及び撮像方法に関するもので、特に、低輝度、低コントラスト環境にある被写体に対しても精度良く焦点を合わせることができる撮像装置および撮像方法に関するものである。   The present invention relates to an imaging apparatus and an imaging method having an autofocus function for automatically focusing on a subject, and in particular, can accurately focus on a subject in a low brightness and low contrast environment. The present invention relates to an imaging device and an imaging method that can be used.

一般的なデジタルスチルカメラ等の撮像装置は、被写体に対して自動的に焦点を合わせるオートフォーカス(以下「AF」という)装置を搭載している。AF装置が用いるAF制御方法の一例として、山登りAF制御方法が知られている(例えば特許文献1を参照)。この山登りAF制御方法は、撮像素子が出力する映像信号から近接画素の輝度差の積分値を求めて、この積分値を合焦度合いを示すAF評価値とする方式である。被写体が合焦状態にあるときは映像信号における被写体の輪郭部分ははっきりしているため、この映像信号における近接画素間の輝度差は大きくなる。つまり、合焦状態ではAF評価値は大きくなる。逆に、非合焦状態にあるときは被写体の輪郭部分がぼやけるため、この映像信号における近接画素間の輝度差は小さくなる。つまり、非合焦状態ではAF評価値は小さくなる。AF装置は、レンズを移動させながら所定のタイミングで、そのレンズ位置の映像信号を取得してAF評価値を算出し、AF評価値の最大値(AF評価値のピーク位置)を特定し、AF評価値が最大となる位置にレンズを移動して停止させることで、被写体に対して自動的に焦点をあわせることができる。このように、山登りAF制御方法は、AF評価値のピーク位置を検出することで被写体に対する焦点を合わせることができる。   A general imaging apparatus such as a digital still camera is equipped with an autofocus (hereinafter referred to as “AF”) device that automatically focuses on a subject. As an example of the AF control method used by the AF apparatus, a hill-climbing AF control method is known (see, for example, Patent Document 1). This hill-climbing AF control method is a method in which an integral value of a luminance difference between adjacent pixels is obtained from a video signal output from an image sensor, and this integral value is used as an AF evaluation value indicating the degree of focus. When the subject is in focus, the contour portion of the subject in the video signal is clear, so that the luminance difference between adjacent pixels in this video signal is large. That is, the AF evaluation value increases in the focused state. On the contrary, when the subject is out of focus, the contour portion of the subject is blurred, so that the luminance difference between adjacent pixels in this video signal becomes small. That is, the AF evaluation value is small in the out-of-focus state. The AF device acquires a video signal at the lens position at a predetermined timing while moving the lens, calculates an AF evaluation value, specifies a maximum value of the AF evaluation value (a peak position of the AF evaluation value), and performs AF By moving the lens to a position where the evaluation value is maximized and stopping it, the subject can be automatically focused. Thus, the hill-climbing AF control method can focus on the subject by detecting the peak position of the AF evaluation value.

近年、山登りAF制御方法をより精度良くかつ高速に実するAF制御方法が提案されている(例えば特許文献2を参照)。特許文献2に記載されているAF制御方法は、微小な間隔でAF評価値をサンプリングする第一モードと、合焦位置に近づくまでは粗い間隔でAF評価値をサンプリングし合焦位置付近では微小な間隔でAF評価値をサンプリングする第二モードとを使い分けることで、AF処理を高速化し、より素早く被写体に焦点を合わせることができる方法である。 Recently, AF control how to perform hill-climbing AF control method more accurately and faster have been proposed (e.g. see Patent Document 2). In the AF control method described in Patent Document 2, the AF evaluation value is sampled at a minute interval and the AF evaluation value is sampled at a rough interval until the focus position is approached. By selectively using the second mode in which AF evaluation values are sampled at appropriate intervals, the AF processing can be speeded up and the subject can be focused more quickly.

しかしながら、特許文献2に記載のAF制御方法は、被写体が低輝度環境や低コントラスト環境にある場合、映像信号に多く含まれるノイズによってAF評価値のピーク検出までに時間がかかる。すなわち、AF評価値のピーク検出までAF処理が繰返し行なわれるため、合焦するまで多くの時間を要することになる。そこで、上記特許文献2記載の方法による課題を解決するため輝度に応じて映像信号に用いるフィルタを可変し、映像信号のノイズを除去することでAF評価値のバラツキを低減する方法が提案されている(例えば特許文献3を参照)。
特公昭39−5265号公報 特許第3851027号公報 特開2006−145964号公報
However, in the AF control method described in Patent Document 2, when the subject is in a low-luminance environment or a low-contrast environment, it takes time until the peak of the AF evaluation value is detected due to a large amount of noise included in the video signal. That is, since AF processing is repeatedly performed until the peak of the AF evaluation value is detected, a long time is required until focusing is achieved. Therefore, in order to solve the problem caused by the method described in Patent Document 2, a method has been proposed in which the filter used for the video signal is varied according to the luminance and the noise of the video signal is removed to reduce the variation in the AF evaluation value. (See, for example, Patent Document 3).
Japanese Examined Patent Publication No. 39-5265 Japanese Patent No. 3851027 JP 2006-145964 A

一方、近年の撮像装置に用いられる撮像素子(CCD)は高画素化(高密化)が進み、隣接画素間の輝度差は以前のものに比べて小さくなっているため、低輝度・低コントラスト環境における隣接画素間の輝度差は微小になる。このため上記の従来方法では、映像信号に含まれるノイズによって発生するAF評価値のバラツキにより、正しく精度良くかつ高速に合焦位置を特定することは困難であった。   On the other hand, image pickup devices (CCD) used in recent image pickup apparatuses have been increased in the number of pixels (densification), and the luminance difference between adjacent pixels has become smaller than the previous one. The difference in luminance between adjacent pixels in is small. For this reason, in the above-described conventional method, it is difficult to accurately and accurately specify the in-focus position due to variations in the AF evaluation value caused by noise included in the video signal.

本発明は上記課題を鑑みてなされたものであって、映像信号の隣接画素間の輝度差が微小であっても、AF評価値の最大値を精度よく特定することができ、より安定したAF制御を行なうことができる撮像装置を提供することを目的とする。   The present invention has been made in view of the above problems, and even when the luminance difference between adjacent pixels of a video signal is small, the maximum value of the AF evaluation value can be specified with high accuracy and more stable AF. An object of the present invention is to provide an imaging device capable of performing control.

本発明は、撮影レンズを通過してきた被写体の光を受光する撮像素子、前記撮影レンズを移動させるレンズ移動手段、前記撮素子から得た画像データを用いて算出するAF評価値を用いた平滑微分演算によって焦点を決定する自動焦点検出手段と、少なくとも一般的な被写体を撮影する通常撮影モードと、近接した被写体を撮影するマクロモードとを含む複数の撮影条件を選択可能な撮影条件設定手段と、を有する撮像装置において、
前記自動焦点検出手段は、前記平滑微分演算の演算対象となる前記AF評価値の総計範囲を前記撮影条件設定手段によって設定される撮影条件に応じて決定し、前記設定された撮影条件が前記マクロモードに設定されているときは、前記通常撮影モードに設定されているときよりも、前記平滑微分演算の演算対象とされる前記AF評価値の総計範囲を狭く設定することを最も主要な特徴とする。
また、本発明は、撮影レンズを通過してきた被写体の光を受光する撮像素子と、前記撮影レンズを移動させるレンズ移動手段と、前記撮像素子から得た画像データを用いて算出するAF評価値を用いた平滑微分演算によって焦点を決定する自動焦点検出手段と、を有する撮像装置において、前記自動焦点検出手段は、前記平滑微分演算の演算対象となる前記AF評価値の総計範囲を前記撮影レンズの焦点距離に応じて決定し、前記焦点距離がテレ側のときは、前記焦点距離がワイド側のときよりも、前記平滑微分演算の演算対象とされる前記AF評価値の総計範囲も狭く設定することを特徴とする。
また、本発明は、撮影レンズを通過してきた被写体の光を受光する撮像素子と、前記撮影レンズを移動させるレンズ移動手段と、前記撮像素子から得た画像データを用いて算出するAF評価値を用いた平滑微分演算によって焦点を決定する自動焦点検出手段と、を有する撮像装置において、前記自動焦点検出手段は、前記平滑微分演算の演算対象となる前記AF評価値の総計範囲を撮影条件によって可変する前記撮影レンズの移動ステップ量に応じて決定し、第1の移動ステップ量に応じて決定される前記平滑微分演算の演算対象となる前記AF評価値の総計範囲は、前記第1の移動ステップ量より小さい第2の移動ステップ量に応じて決定される前記平滑微分演算の演算対象となる前記AF評価値の総計範囲よりも狭いことを特徴とする。
The present invention, use an image sensor for receiving light of a subject that has passed through the photographic lens, and the lens moving means for moving the photographing lens, the AF evaluation value calculated by using the image data obtained from the shooting image element Shooting condition setting that can select multiple shooting conditions, including automatic focus detection means that determines the focus by smooth differential calculation , normal shooting mode for shooting at least a general subject, and macro mode for shooting a close subject And an imaging device comprising:
The automatic focus detection unit determines a total range of the AF evaluation values to be subjected to the smooth differential calculation according to a shooting condition set by the shooting condition setting unit, and the set shooting condition is the macro when set to mode, the normal than when it is set to shooting mode, the most important feature set narrow to Rukoto the total range of the AF evaluation value that is the calculation target of the smoothing differential operation And
The present invention also provides an image sensor that receives light from a subject that has passed through a photographic lens, a lens moving unit that moves the photographic lens, and an AF evaluation value that is calculated using image data obtained from the image sensor. And an automatic focus detection unit that determines a focus by using the smooth differential calculation, wherein the automatic focus detection unit determines a total range of the AF evaluation values to be calculated by the smooth differential calculation of the photographing lens. It is determined according to the focal length, and when the focal length is on the tele side, the total range of the AF evaluation values to be subjected to the smooth differential calculation is also set narrower than when the focal length is on the wide side. It is characterized by that.
The present invention also provides an image sensor that receives light from a subject that has passed through a photographic lens, a lens moving unit that moves the photographic lens, and an AF evaluation value that is calculated using image data obtained from the image sensor. And an automatic focus detection unit that determines a focus by the smooth differential calculation used. The automatic focus detection unit can vary a total range of the AF evaluation values to be calculated by the smooth differential calculation according to a shooting condition. The total range of the AF evaluation values which are determined according to the moving step amount of the photographing lens and are subject to the calculation of the smooth differential operation determined according to the first moving step amount is the first moving step. It is characterized by being narrower than the total range of the AF evaluation values to be calculated by the smooth differential calculation determined according to the second moving step amount smaller than the amount.

また、本発明は、撮影レンズを通過してきた被写体の光を受光する撮像素子と、前記撮影レンズを移動させるレンズ移動手段と、前記撮像素子から得た画像データを用いて算出するAF評価値を用いた平滑微分演算によって焦点を決定する自動焦点検出手段と、少なくとも一般的な被写体を撮影する通常撮影モードと、近接した被写体を撮影するマクロモードとを含む複数の撮影条件を選択可能な撮影条件設定手段と、を有する撮像装置により実行される撮像方法において、前記自動焦点検出手段が、前記平滑微分演算の演算対象となる前記AF評価値の総計範囲を前記撮影条件設定手段によって設定される撮影条件に応じて決定するステップと、前記設定された撮影条件がマクロモードであるときは、前記通常撮影モードが設定されているときよりも、前記平滑微分演算の演算対象とされる前記AF評価値の総計範囲を狭く設定するステップと、を実行することを特徴とする。The present invention also provides an image sensor that receives light from a subject that has passed through a photographic lens, a lens moving unit that moves the photographic lens, and an AF evaluation value that is calculated using image data obtained from the image sensor. Shooting conditions that can be selected from a plurality of shooting conditions, including automatic focus detection means for determining the focus by the smooth differential calculation used, a normal shooting mode for shooting at least a general subject, and a macro mode for shooting a close subject In the imaging method executed by the imaging device having the setting unit, the automatic focus detection unit sets the total range of the AF evaluation values that are the calculation target of the smooth differential calculation by the shooting condition setting unit. The step of determining according to the conditions, and when the set shooting condition is the macro mode, the normal shooting mode is set Kiyori also and executes the steps of: setting narrow total range of the AF evaluation value that is the calculation target of the smoothing differential operation.
また、本発明は、撮影レンズを通過してきた被写体の光を受光する撮像素子と、前記撮影レンズを移動させるレンズ移動手段と、前記撮像素子から得た画像データを用いて算出するAF評価値を用いた平滑微分演算によって焦点を決定する自動焦点検出手段と、を有する撮像装置により実行される撮像方法において、前記自動焦点検出手段が、前記平滑微分演算の演算対象となる前記AF評価値の総計範囲を前記撮影レンズの焦点距離に応じて決定するステップと、前記焦点距離がテレ側のときは、前記焦点距離がワイド側のときよりも、前記平滑微分演算の演算対象とされる前記AF評価値の総計範囲を狭く設定するステップと、を実行することを特徴とする。  The present invention also provides an image sensor that receives light from a subject that has passed through a photographic lens, a lens moving unit that moves the photographic lens, and an AF evaluation value that is calculated using image data obtained from the image sensor. In the imaging method executed by the imaging apparatus having an automatic focus detection means for determining a focus by the smooth differential calculation used, the automatic focus detection means is a total of the AF evaluation values to be calculated by the smooth differential calculation A step of determining a range according to a focal length of the photographing lens; and when the focal length is on a tele side, the AF evaluation that is a calculation target of the smooth differential calculation than when the focal length is on a wide side Performing a step of setting a total range of values to be narrow.
また、本発明は、撮影レンズを通過してきた被写体の光を受光する撮像素子と、前記撮影レンズを移動させるレンズ移動手段と、前記撮像素子から得た画像データを用いて算出するAF評価値を用いた平滑微分演算によって焦点を決定する自動焦点検出手段と、を有する撮像装置により実行される撮像方法において、前記自動焦点検出手段が、前記平滑微分演算の演算対象となる前記AF評価値の総計範囲を前記撮影レンズの焦点距離に応じて可変する前記撮影レンズの移動ステップ量に応じて決定するステップと、第1の移動ステップ量に応じて決定される前記平滑微分演算の演算対象となる前記AF評価値の総計範囲を、前記第1の移動ステップ量よりも小さい第2の移動ステップ量に応じて決定する前記平滑微分演算の演算対象となる前記AF評価値の総計範囲よりも狭く設定するステップと、を実行することを特徴とする。  The present invention also provides an image sensor that receives light from a subject that has passed through a photographic lens, a lens moving unit that moves the photographic lens, and an AF evaluation value that is calculated using image data obtained from the image sensor. In the imaging method executed by the imaging apparatus having an automatic focus detection means for determining a focus by the smooth differential calculation used, the automatic focus detection means is a total of the AF evaluation values to be calculated by the smooth differential calculation The step of determining the range according to the moving step amount of the photographing lens that varies according to the focal length of the photographing lens, and the smoothing differential calculation determined according to the first moving step amount The total range of AF evaluation values is a calculation target of the smooth differentiation calculation that is determined according to a second movement step amount smaller than the first movement step amount. And setting narrower than a total range of serial AF evaluation value, characterized by the execution.

本発明によれば、撮像装置において、被写体の画像データから算出したAF評価値を平滑微分して合焦点を検知することにより、高速かつ高精度な自動焦点機能を提供することができる。   According to the present invention, a high-speed and high-precision autofocus function can be provided by detecting an in-focus point by performing smooth differentiation on an AF evaluation value calculated from image data of a subject in an imaging apparatus.

また、本発明によれば、撮像装置において、撮影モードや焦点距離の違いにより平滑微分演算に用いるAF評価値の範囲を可変させることができるので、偽合焦を防ぎつつ高速かつ高精度な自動焦点機能を提供することができる。   In addition, according to the present invention, the range of the AF evaluation value used for the smooth differential calculation can be varied depending on the photographing mode and the focal length in the imaging apparatus, so that high-speed and high-precision automatic can be achieved while preventing false focusing. Focus function can be provided.

以下、本発明に係る撮像装置の実施形態について図を用いて説明する。図1乃至図3は本発明に係る撮像装置の外観構成例を示す図である。図1は正面図、図2は上側平面図、図3は背面図である。図1において撮像装置の筐体であるカメラボディCBの正面には、ストロボ発光部3、光学ファインダ4、リモコン受光部6および撮像レンズを含む鏡胴ユニット7が配置されており、カメラボディCBの一方の側面部には、メモリカード装填室および電池装填室の蓋2が設けられている。図2においてカメラボディCBの上面には、レリーズボタン(スイッチ)SW1、モードダイアルSW2およびサブ液晶ディスプレイ(サブLCD)(以下、「液晶ディスプレイ」を「LCD」と称する)1が配置されている。図3において、カメラボディCBの背面には、光学ファインダ4、AF用LED(「LED」は、発光ダイオード)8、ストロボLED9、LCDモニタ10、電源スイッチ13、広角方向ズームスイッチSW3、望遠方向ズームスイッチSW4、セルフタイマの設定および解除スイッチSW5、メニュースイッチSW6、上移動およびストロボセットスイッチSW7、右移動スイッチSW8、ディスプレイスイッチSW9、下移動およびマクロスイッチSW10、左移動および画像確認スイッチSW11、OKスイッチSW12、ならびにクイックアクセススイッチSW13が配置されている。   Hereinafter, embodiments of an imaging apparatus according to the present invention will be described with reference to the drawings. 1 to 3 are views showing an example of the external configuration of an imaging apparatus according to the present invention. 1 is a front view, FIG. 2 is an upper plan view, and FIG. 3 is a rear view. In FIG. 1, a lens barrel unit 7 including a strobe light emitting unit 3, an optical finder 4, a remote control light receiving unit 6, and an imaging lens is disposed in front of a camera body CB which is a housing of the imaging apparatus. On one side surface, a memory card loading chamber and a battery loading chamber lid 2 are provided. 2, a release button (switch) SW1, a mode dial SW2, and a sub liquid crystal display (sub LCD) (hereinafter, “liquid crystal display” is referred to as “LCD”) 1 are arranged on the upper surface of the camera body CB. In FIG. 3, on the back of the camera body CB, there are an optical finder 4, an AF LED ("LED" is a light emitting diode) 8, a strobe LED 9, an LCD monitor 10, a power switch 13, a wide-angle zoom switch SW3, and a telephoto zoom. Switch SW4, Self-timer setting and release switch SW5, Menu switch SW6, Upward movement and strobe set switch SW7, Rightward movement switch SW8, Display switch SW9, Downward movement and macro switch SW10, Leftward movement and image confirmation switch SW11, OK switch SW12 and quick access switch SW13 are arranged.

次に、図4を用いて本発明に係る撮像装置の機能ブロックを説明する。本発明に係る撮像装置の各種動作(処理)は、ディジタル信号処理IC(集積回路)等として構成されるディジタルスティルカメラプロセッサ104(以下、単に「プロセッサ104」と称する)によって制御される。プロセッサ104は、第1のCCD(電荷結合素子)信号処理ブロック104−1,第2のCCD信号処理ブロック104−2,CPU(中央処理ユニット)ブロック104−3,ローカルSRAM(SRAM:スタティックランダムアクセスメモリ)104−4,USB(ユニバーサルシリアルバス)ブロック104−5,シリアルブロック104−6,JPEGコーデック(CODEC)ブロック104−7,リサイズ(RESIZE)ブロック104−8,TV信号表示ブロック104−9およびメモリカードコントローラブロック104−10を有してなり、これら各ブロックは相互にバスラインで接続されている。   Next, functional blocks of the imaging apparatus according to the present invention will be described with reference to FIG. Various operations (processing) of the imaging apparatus according to the present invention are controlled by a digital still camera processor 104 (hereinafter simply referred to as “processor 104”) configured as a digital signal processing IC (integrated circuit) or the like. The processor 104 includes a first CCD (charge coupled device) signal processing block 104-1, a second CCD signal processing block 104-2, a CPU (central processing unit) block 104-3, a local SRAM (SRAM: static random access). Memory) 104-4, USB (universal serial bus) block 104-5, serial block 104-6, JPEG codec (CODEC) block 104-7, resize (RESIZE) block 104-8, TV signal display block 104-9 and A memory card controller block 104-10 is provided, and these blocks are connected to each other via a bus line.

プロセッサ104の外部には、RAW−RGB画像データ、YUV画像データおよびJPEG画像データを保存するためのSDRAM(シンクロナスランダムアクセスメモリ)103、RAM107、内蔵メモリ120および制御プログラムが格納されたROM108が配置されており、バスラインを介してプロセッサ104に接続されている。   Outside the processor 104, an SDRAM (synchronous random access memory) 103 for storing RAW-RGB image data, YUV image data, and JPEG image data, a RAM 107, a built-in memory 120, and a ROM 108 storing a control program are arranged. And is connected to the processor 104 via a bus line.

鏡胴ユニット7は、ズームレンズ7−1aを有するズーム光学系7−1,フォーカスレンズ7−2aを有するフォーカス光学系7−2,絞り7−3aを有する絞りユニット7−3およびメカニカルシャッタ7−4aを有するメカシャッタユニット7−4を備えている。ズーム光学系7−1,フォーカス光学系7−2,絞りユニット7−3およびメカシャッタユニット7−4はそれぞれZOOMモータ7−1b,フォーカスレンズ移動手段としてのFOCUSモータ7−2b,絞りモータ7−3bおよびメカシャッタモータ7−4bによって駆動される。これらZOOMモータ7−1b,FOCUSモータ7−2b,絞りモータ7−3bおよびメカシャッタモータ7−4bの各モータは、プロセッサ104のCPUブロック104−3によって制御されるモータドライバ7−5によって動作が制御される。   The lens barrel unit 7 includes a zoom optical system 7-1 having a zoom lens 7-1a, a focus optical system 7-2 having a focus lens 7-2a, an aperture unit 7-3 having an aperture 7-3a, and a mechanical shutter 7-. A mechanical shutter unit 7-4 having 4a is provided. The zoom optical system 7-1, the focus optical system 7-2, the aperture unit 7-3 and the mechanical shutter unit 7-4 are respectively a ZOOM motor 7-1b, a FOCUS motor 7-2b as a focus lens moving means, and an aperture motor 7-. 3b and mechanical shutter motor 7-4b. These ZOOM motor 7-1b, FOCUS motor 7-2b, aperture motor 7-3b, and mechanical shutter motor 7-4b are operated by a motor driver 7-5 controlled by the CPU block 104-3 of the processor 104. Be controlled.

鏡胴ユニット7のズームレンズ7−1aおよびフォーカスレンズ7−2aは、撮像素子であるCCD101の撮像面上に被写体光学像を結像するための撮像レンズを構成し、CCD101は、前記被写体光学像を電気的な画像信号に変換してF/E−IC(フロントエンドIC)102に入力する。F/E−IC102は、CDS(相関2重サンプリング部)102−1、AGC(自動利得制御部)102−2およびA/D(アナログ−ディジタル)変換部102−3を有し、前記画像信号にそれぞれ所定の処理を施して、ディジタル信号に変換し、プロセッサ104の第1のCCD信号処理ブロック104−1に入力する。これらの信号処理動作は、プロセッサ104の第1のCCD信号処理ブロック104−1から出力されるVD・HD(垂直駆動・水平駆動)信号により、TG(タイミングジェネレータ)102−4を介して制御される。第1のCCD信号処理ブロック104−1は、CCD固体撮像素子101からF/E−IC102を経由して入力されたディジタル画像データに対してホワイトバランス調整およびγ調整等の信号処理を行うとともに、VD信号およびHD信号を出力する。   The zoom lens 7-1a and the focus lens 7-2a of the lens barrel unit 7 constitute an imaging lens for forming a subject optical image on the imaging surface of the CCD 101, which is an imaging element, and the CCD 101 includes the subject optical image. Is converted into an electrical image signal and input to an F / E-IC (front end IC) 102. The F / E-IC 102 includes a CDS (correlated double sampling unit) 102-1, an AGC (automatic gain control unit) 102-2, and an A / D (analog-digital) conversion unit 102-3. Each is subjected to predetermined processing, converted into a digital signal, and input to the first CCD signal processing block 104-1 of the processor 104. These signal processing operations are controlled by a VD / HD (vertical drive / horizontal drive) signal output from the first CCD signal processing block 104-1 of the processor 104 via a TG (timing generator) 102-4. The The first CCD signal processing block 104-1 performs signal processing such as white balance adjustment and γ adjustment on the digital image data input from the CCD solid-state imaging device 101 via the F / E-IC 102. VD signal and HD signal are output.

プロセッサ104のCPUブロック104−3は、音声記録回路115−1による音声記録動作を制御する。音声記録回路115−1は、マイクロホン115−3で変換されマイクロホンアンプ115−2によって増幅した音声信号を、CPUブロック104−3の指令に応じて記録する。また、CPUブロック104−3は、音声再生回路116−1の動作も制御する。音声再生回路116−1は、CPUブロック104−3の指令により、適宜なるメモリに記録されている音声信号をオーディオアンプ116−2で増幅してスピーカ116−3に入力し、スピーカ116−3から音声を再生する。また、CPUブロック104−3は、ストロボ回路114を制御して動作させることによってストロボ発光部3から照明光を発光させる。また、CPUブロック104−3は、被写体距離を測定する測距ユニット(図示せず)の動作も制御する。   The CPU block 104-3 of the processor 104 controls the sound recording operation by the sound recording circuit 115-1. The voice recording circuit 115-1 records the voice signal converted by the microphone 115-3 and amplified by the microphone amplifier 115-2 in accordance with a command from the CPU block 104-3. The CPU block 104-3 also controls the operation of the audio reproduction circuit 116-1. The audio reproduction circuit 116-1 amplifies an audio signal recorded in an appropriate memory by an audio amplifier 116-2 and inputs the audio signal to the speaker 116-3 in response to an instruction from the CPU block 104-3. Play audio. Further, the CPU block 104-3 controls the strobe circuit 114 to operate, thereby causing the strobe light emitting unit 3 to emit illumination light. The CPU block 104-3 also controls the operation of a distance measuring unit (not shown) that measures the subject distance.

なお、本発明に係る撮像装置は、後述するように撮像された画像データに基づいてAF制御を行うものであるので、測距ユニットによる被写体距離の測定は必ずしも行わなくて良く、測距ユニットを省いても良い。また、測距ユニットによる被写体距離の測定情報をストロボ回路114におけるストロボ発光制御に利用しても良い。測距ユニットによる被写体距離の測定情報を、撮像された画像データに基づく合焦制御に対して補助的に利用するようにしても良い。   Note that the imaging apparatus according to the present invention performs AF control based on captured image data as will be described later. Therefore, it is not always necessary to measure the subject distance by the ranging unit. You can omit it. Further, measurement information of the subject distance by the distance measuring unit may be used for strobe light emission control in the strobe circuit 114. The subject distance measurement information obtained by the distance measuring unit may be used supplementarily for focusing control based on the captured image data.

さらに、CPUブロック104−3は、プロセッサ104の外部に配置されたサブCPU109にも結合されており、サブCPU109は、LCDドライバ111を介してサブLCD1による表示を制御する。また、サブCPU109は、AF用LED8,ストロボLED9,リモコン受光部6,上記スイッチSW1〜SW13からなる操作部およびブザー113にもそれぞれ結合されている。   Further, the CPU block 104-3 is also coupled to a sub CPU 109 disposed outside the processor 104, and the sub CPU 109 controls display by the sub LCD 1 via the LCD driver 111. The sub CPU 109 is also coupled to the AF LED 8, the strobe LED 9, the remote control light receiving unit 6, the operation unit including the switches SW1 to SW13, and the buzzer 113, respectively.

USBブロック104−5は、USBコネクタ122に結合されており、シリアルブロック104−6は、シリアルドライバ回路123−1を介してRS−232Cコネクタに結合されている。ビデオ信号表示ブロック104−9は、LCDドライバ117を介してLCDモニタ10に結合されており、また、TV信号表示ブロック104−9は、ビデオアンプ118を介してビデオジャック119にも結合されている。メモリカードコントローラブロック104−10は、メモリカードスロット121のカード接点に結合されており、メモリカードがこのメモリカードスロット121に装填されると、メモリカードの接点に接触して電気的に接続する。   The USB block 104-5 is coupled to the USB connector 122, and the serial block 104-6 is coupled to the RS-232C connector via the serial driver circuit 123-1. The video signal display block 104-9 is coupled to the LCD monitor 10 via an LCD driver 117, and the TV signal display block 104-9 is also coupled to a video jack 119 via a video amplifier 118. . The memory card controller block 104-10 is coupled to the card contact of the memory card slot 121, and when the memory card is loaded into the memory card slot 121, the memory card controller block 104-10 comes into contact with and electrically connects to the memory card contact.

次に、上述のように構成された撮像装置の動作について説明する。図1乃至図3に示すモードダイアルSW2を記録モードに設定することによって、当該撮像装置が記録モードで起動する。当該撮像装置は複数の記録モードを備えており、これらの記録モードをまとめて撮影モードとする。モードダイアルSW2の設定は、図4における操作keyユニット(SW1〜SW13)に含まれるモードダイアルSW2の状態が記録モード−オンになったことをサブCPU109経由でCPUブロック104−3が検知し、モータドライバ7−5を制御して、鏡胴ユニット7を撮像可能な位置に移動させる。さらにCCD101、F/E−IC102およびLCDモニタ10等の各部に電源を投入して動作を開始させる。各部の電源が投入されると、ファインダモードの動作が開始される。   Next, the operation of the imaging apparatus configured as described above will be described. By setting the mode dial SW2 shown in FIGS. 1 to 3 to the recording mode, the imaging apparatus is activated in the recording mode. The imaging apparatus has a plurality of recording modes, and these recording modes are collectively referred to as an imaging mode. The mode dial SW2 is set by the CPU block 104-3 detecting via the sub CPU 109 that the mode dial SW2 included in the operation key units (SW1 to SW13) in FIG. The driver 7-5 is controlled to move the lens barrel unit 7 to a position where it can be imaged. Further, power is turned on to the respective parts such as the CCD 101, the F / E-IC 102, and the LCD monitor 10 to start the operation. When the power of each part is turned on, the operation in the finder mode is started.

ファインダモードにおいては、鏡胴ユニット7の撮像レンズを通して撮像素子であるCCD101に入射した光は、電気信号に変換されてRGBのアナログ信号としてCDS102−1に入力し、AGC102−2を介してA/D変換器102−3に送られる。A/D変換器102−3でディジタル信号に変換されたR、G、Bの各信号は、プロセッサ104内の第2のCCD信号処理ブロック104−2によって達成されるYUV変換手段でYUV画像データに変換されて、フレームメモリとしてのSDRAM103に記録される。なお、第2のCCD信号処理ブロック104−2は、RGB画像データにフィルタリング処理等の適切な処理を施してYUV画像データへ変換する。このYUV画像データは、CPUブロック104−3により、読み出され、ビデオ信号表示ブロック104−9を介してビデオアンプ118およびビデオジャック119を介してTV(テレビジョン)に送られ、あるいはLCDドライバ117を介してLCDモニタ10へ送られて表示に供される。この処理が1/30秒間隔で行われ、1/30秒毎に更新されるファインダモードの表示となる。   In the finder mode, the light incident on the CCD 101 as the image sensor through the imaging lens of the lens barrel unit 7 is converted into an electrical signal and input to the CDS 102-1 as an RGB analog signal, and the A / It is sent to the D converter 102-3. The R, G, and B signals converted into digital signals by the A / D converter 102-3 are converted into YUV image data by YUV conversion means achieved by the second CCD signal processing block 104-2 in the processor 104. And is recorded in the SDRAM 103 as a frame memory. Note that the second CCD signal processing block 104-2 performs appropriate processing such as filtering processing on the RGB image data to convert it into YUV image data. The YUV image data is read out by the CPU block 104-3 and sent to the TV (television) via the video amplifier 118 and the video jack 119 via the video signal display block 104-9, or the LCD driver 117. To the LCD monitor 10 for display. This process is performed at intervals of 1/30 seconds, and a finder mode display updated every 1/30 seconds is obtained.

操作部のレリーズボタンSW1が押下されると、第1のCCD信号処理ブロック104−1に取り込まれたディジタルRGB画像データより、画面内の所定の少なくとも一部における合焦の度合いを示すAF評価値および露光状態を示すAE評価値が算出される。AF評価値は、特徴データとしてCPUブロック104−3に読み出されて、自動焦点検出手段としての機能するAF処理に利用される。   When the release button SW1 of the operation unit is pressed, an AF evaluation value indicating the degree of focus in a predetermined at least part of the screen from the digital RGB image data captured in the first CCD signal processing block 104-1. Then, an AE evaluation value indicating the exposure state is calculated. The AF evaluation value is read as feature data to the CPU block 104-3 and used for AF processing that functions as an automatic focus detection unit.

合焦状態にある被写体は、そのエッジ部分が鮮明であるため、当該画像データに含まれる空間周波数の高周波成分が最も高くなる。空間周波数が高い被写体画像データを構成する画素の近接画素間の輝度差の積分値であるAF評価値はその値が大きくなる。従って、このフォーカスレンズ7−2aを移動させながら断続的に取得したAF評価値の変位量は、画像データに含まれる高周波成分を反映する値となるため、このAF評価値が極大値となる画像データを取得したフォーカスレンズ7−2aの位置が合焦位置となる。すなわち、AF評価値にピーク位置を検出することで合焦位置を特定することができる。また、AF評価値の極大点(ピーク位置)が複数あらわれることも考慮にいれ、複数の極大点(ピーク位置)があった場合には、ピーク位置におけるAF評価値の大きさおよびその周辺位置のAF評価値の下降または上昇の度合いなども考慮し、最も信頼性があると推定される極大点(ピーク位置)を合焦位置とするAF処理を行なう。   Since the edge of the subject in focus is clear, the high frequency component of the spatial frequency included in the image data is the highest. The AF evaluation value, which is the integrated value of the luminance difference between adjacent pixels of the pixels constituting the subject image data having a high spatial frequency, has a large value. Therefore, the displacement amount of the AF evaluation value acquired intermittently while moving the focus lens 7-2a becomes a value reflecting the high-frequency component included in the image data. Therefore, an image in which the AF evaluation value becomes a maximum value. The position of the focus lens 7-2a that has acquired the data is the in-focus position. That is, the focus position can be specified by detecting the peak position in the AF evaluation value. Also, taking into consideration that a plurality of local maximum points (peak positions) of the AF evaluation value appear, when there are a plurality of local maximum points (peak positions), the magnitude of the AF evaluation value at the peak position and the surrounding positions Considering the degree of decrease or increase of the AF evaluation value, AF processing is performed with the maximum point (peak position) estimated to be most reliable as the in-focus position.

AF評価値は、ディジタルRGB画像データ内の特定の範囲(AF処理エリア)から算出することができる。図5はファインダモード時にLCDに表示される画像面を示している。図5において、LCD10の中心部に表示されている枠内が当該撮像装置におけるAF処理エリアである。このAF処理エリアは、例えばRGB画像データの画面内の中央の水平方向の40%および垂直方向の30%の範囲を設定している。   The AF evaluation value can be calculated from a specific range (AF processing area) in the digital RGB image data. FIG. 5 shows an image plane displayed on the LCD in the finder mode. In FIG. 5, the frame displayed at the center of the LCD 10 is an AF processing area in the imaging apparatus. In this AF processing area, for example, a range of 40% in the central horizontal direction and 30% in the vertical direction in the screen of RGB image data is set.

本発明に係る撮像装置が備える複数の撮影モードはそれぞれAF撮影範囲が異なる。例えば、通常AFモードはAF撮影範囲を1mから無限遠とし、マクロAFモードは、AF撮影範囲を1cmから無限遠としている。AFモードの設定は、モードダイアルSW2によって行なう。   The plurality of shooting modes provided in the imaging apparatus according to the present invention have different AF shooting ranges. For example, in the normal AF mode, the AF shooting range is from 1 m to infinity, and in the macro AF mode, the AF shooting range is from 1 cm to infinity. The AF mode is set by the mode dial SW2.

本発明に係る撮像装置を用いた撮像方法の実施形態について説明する。本発明に係る撮像方法におけるAF処理は、移動するフォーカスレンズ7−2aの所定のタイミング位置においてAF評価値を取得し、取得したAF評価値を用いて平滑微分演算をし、その平滑微分演算の結果(平滑微分値)を用いて合焦状態の判定と合焦位置の特定を行なう。先ず、AF評価値の平滑微分演算処理について説明する。   An embodiment of an imaging method using an imaging apparatus according to the present invention will be described. The AF process in the imaging method according to the present invention acquires an AF evaluation value at a predetermined timing position of the moving focus lens 7-2a, performs a smooth differential calculation using the acquired AF evaluation value, and performs the smooth differential calculation. The result (smooth differential value) is used to determine the in-focus state and specify the in-focus position. First, the smooth evaluation process of the AF evaluation value will be described.

移動するフォーカスレンズ7−2aから所定のタイミングで取り込まれた被写体の画像データを元に取得したAF評価値をX[0]とし、X[0]よりもa個前に取得されたAF評価値をX[−a]、X[0]よりもa個後に取得されたAF評価値をX[a]とし、
各AF評価値に対する重み係数をb1、b2・・とした場合、平滑微分値Y[0]は、Y[0]=Σ[i=0→a](X[i]−X[−i])×biによって求めることができる。
The AF evaluation value acquired based on the image data of the subject captured at a predetermined timing from the moving focus lens 7-2a is assumed to be X [0], and the AF evaluation value acquired a before the X [0]. X [−a], and the AF evaluation value acquired a after X [0] is X [a],
When the weighting coefficient for each AF evaluation value is b1, b2,..., The smooth differential value Y [0] is Y [0] = Σ [i = 0 → a] (X [i] −X [−i] ) × bi.

上記の平滑微分演算式の具体例を示す。現在のAF評価値(X[0])の前後3評価値を用いて平滑微分値Y[0]を求める場合、Y[0]=(X[1]−X[−1])×1+(X[2]−X[−2])×2+(X[3]−X[−3])×3となる。ここで、重み係数(bi=1,2,3・・・)は、現在のAF評価値X[0]に近いAF評価値(例えばX[1])を小さい係数とし、遠いAF評価値(例えばX[3])をより大きい係数とする。すなわち、現在値(X[0])との相関度合いが小さいものほど大きな値であればよく、具体的な係数値は上記の例に限るものではない。   A specific example of the above-described smooth differential equation will be shown. When obtaining the smooth differential value Y [0] using three evaluation values before and after the current AF evaluation value (X [0]), Y [0] = (X [1] −X [−1]) × 1 + ( X [2] −X [−2]) × 2 + (X [3] −X [−3]) × 3. Here, the weighting coefficient (bi = 1, 2, 3...) Is a distant AF evaluation value (for example, X [1]) close to the current AF evaluation value X [0]. For example, let X [3]) be a larger coefficient. That is, the smaller the degree of correlation with the current value (X [0]), the larger the value, and the specific coefficient value is not limited to the above example.

このように、本発明にかかる撮像方法におけるAF制御方法は、フォーカスレンズ7−2aの移動に対応して取得するAF評価値の相関性をふまえて上記の平滑微分値を求めることでAF評価値の極値を特定し、合焦位置を検出する。   As described above, the AF control method in the imaging method according to the present invention calculates the AF evaluation value by obtaining the smooth differential value based on the correlation of the AF evaluation value acquired corresponding to the movement of the focus lens 7-2a. The extreme value is specified and the in-focus position is detected.

上記の演算式は、現在のAF評価値X[0]の前後3個のAF評価値を用いて平滑微分演算を行なうものであるが、平滑微分演算に用いるAF評価値の個数はこれにかぎらない。平滑微分演算を行なう範囲(以下「平滑微分範囲」とする)をパラメータとして可変できるようにし、このパラメータによって指定された個数Nを用いて前後N個のAF評価値を用いて平滑微分演算を行なうことが望ましい。   The above arithmetic expression performs smooth differentiation using three AF evaluation values before and after the current AF evaluation value X [0]. However, the number of AF evaluation values used for smooth differentiation is limited to this. Absent. The range in which smooth differential calculation is performed (hereinafter referred to as “smooth differential range”) can be varied as a parameter, and smooth differential calculation is performed using N number of AF evaluation values before and after using the number N specified by this parameter. It is desirable.

また、平滑微分演算を行なうためには複数個のAF評価値が必要となる。このため、AF処理の開始直後やフォーカスレンズ7−2aの駆動終了範囲直前のAF評価値取得タイミングでは、平滑微分演算を行なうことができない。従って、AF処理を開始後、平滑微分演算を開始できる個数分のAF評価値が取得されるのを待ってから平滑微分演算処理を開始する。または、平滑微分演算処理に必要なAF評価値の個数を補う為に、既に取得済のAF評価値を用いて推測して補間し平滑微分演算処理を開始する。   In addition, a plurality of AF evaluation values are required to perform smooth differential calculation. For this reason, smooth differentiation cannot be performed immediately after the start of AF processing or at the AF evaluation value acquisition timing immediately before the driving end range of the focus lens 7-2a. Therefore, after the AF process is started, the smooth differentiation calculation process is started after waiting for the AF evaluation values for the number of times that can start the smooth differentiation calculation to be acquired. Alternatively, in order to compensate for the number of AF evaluation values necessary for the smooth differentiation calculation process, the smooth differentiation calculation process is started by estimating and interpolating using the already acquired AF evaluation values.

次に、AF処理時におけるフォーカスレンズ7−2aの駆動タイミングとAF評価値の取得タイミングの関係について説明する。フォーカスレンズ7−2aの駆動は1回のVD信号に対応して所定のフォーカス駆動量によって行なう。フォーカス駆動量は、例えばフォーカスモータ7−2bがパルスモータである場合は、駆動パルス数がそれに相当する。VD信号のパルスの立下りに対応して所定のパルスレートで所定の駆動パルス数だけフォーカスレンズ7−2aを駆動することで1回のフォーカスレンズ駆動は終了する。次にくるVD信号パルスの立下りに対応して再度、所定のフォーカス駆動を行なう。このようにフォーカス駆動をVD信号(すなわちフレーム周期)に同期させる。   Next, the relationship between the drive timing of the focus lens 7-2a and the AF evaluation value acquisition timing during AF processing will be described. The focus lens 7-2a is driven by a predetermined focus drive amount corresponding to one VD signal. For example, when the focus motor 7-2b is a pulse motor, the number of drive pulses corresponds to the focus drive amount. One focus lens drive is completed by driving the focus lens 7-2a by a predetermined number of drive pulses at a predetermined pulse rate corresponding to the falling edge of the pulse of the VD signal. Predetermined focus driving is performed again in response to the fall of the next VD signal pulse. In this way, the focus drive is synchronized with the VD signal (that is, the frame period).

図6は120fpsのフレームレートで画像データの取り込みを行う場合のVD信号とフォーカスレンズ7−2aのフォーカス駆動タイミング、電子シャッタにおける電荷掃き出しパルス(SUB)のタイミング、及び露光タイミングを示すタイミングチャートである。図6において、1回のVD信号が発生すると、それをトリガーとしてフォーカスレンズ7−2aを駆動するパルスが所定回数発生し(図6においては2回)、この駆動パルスに対応した駆動量だけフォーカスレンズ7−2aは移動をする。また、VD信号をトリガーとして電荷掃き出しパルスが所定回数発生し、SUBの数に応じて、CCD101に帯電している電荷の掃き出し処理を行なう。また、前記電荷掃き出し処理が終了した後に露光処理が行なわれる。露光処理によって、被写体の映像を画像データとして取り込み、この画像データを用いてAF評価値を取得する。上記駆動パルス数は可変であって、焦点距離、フォーカスレンズ繰り出し量(フォーカス駆動範囲)に応じて変化する。このように本発明に係るAF処理はVD信号に同期してフォーカスレンズ7−2aの駆動範囲内において行う。   FIG. 6 is a timing chart showing the VD signal, the focus drive timing of the focus lens 7-2a, the charge sweep pulse (SUB) timing in the electronic shutter, and the exposure timing when image data is captured at a frame rate of 120 fps. . In FIG. 6, when one VD signal is generated, a pulse for driving the focus lens 7-2 a is generated a predetermined number of times as a trigger (twice in FIG. 6), and the drive amount corresponding to this drive pulse is focused. The lens 7-2a moves. Further, a charge sweep pulse is generated a predetermined number of times using the VD signal as a trigger, and the charge sweeping process of the CCD 101 is performed according to the number of SUBs. An exposure process is performed after the charge sweeping process is completed. Through exposure processing, the video of the subject is captured as image data, and an AF evaluation value is acquired using this image data. The number of drive pulses is variable and changes according to the focal length and the focus lens feed amount (focus drive range). Thus, the AF processing according to the present invention is performed within the drive range of the focus lens 7-2a in synchronization with the VD signal.

上記平滑微分処理を用いたAF処理について図7のフローチャートを用いて説明する。図7において、各動作ステップはS71、S72・・・のように表記する。図6を用いて説明したとおりVD信号に同期してAF処理を行なうので、まず、VD信号の立ち下がりを検出するまで処理を待つ(S71)。VD信号の立ち下がりを検出した後に、所定パルス数に応じてフォーカスモータ7−2bを駆動し、フォーカスレンズ7−2aを移動する(S72)。フォーカスレンズ7−2aを移動した後に映像信号を取得し、この映像信号に基づく画像データによってAF評価値を算出する(S73)。AF評価値の取得数が平滑微分演算に足りるか否か(平滑微分範囲を満たすか否か)を判定し(S74)、AF評価値取得数が平滑微分範囲に達していなければ処理をS71に戻す(S74のNO)。   The AF process using the smooth differentiation process will be described with reference to the flowchart of FIG. In FIG. 7, each operation step is expressed as S71, S72. Since the AF process is performed in synchronization with the VD signal as described with reference to FIG. 6, first, the process waits until the falling edge of the VD signal is detected (S71). After detecting the fall of the VD signal, the focus motor 7-2b is driven according to the predetermined number of pulses, and the focus lens 7-2a is moved (S72). After moving the focus lens 7-2a, a video signal is acquired, and an AF evaluation value is calculated from image data based on this video signal (S73). It is determined whether or not the number of AF evaluation values acquired is sufficient for smooth differentiation (whether or not the smooth differentiation range is satisfied) (S74). If the number of AF evaluation values acquired does not reach the smooth differentiation range, the process proceeds to S71. Return (NO in S74).

取得したAF評価値が平滑微分範囲に達していれば(S74のYES)、上記の平滑微分演算式を用いて平滑微分値を算出する(S75)。上記の処理をフォーカスレンズ7−2aの駆動範囲終了位置に達するまで繰り返す(S76のNO)。フォーカスレンズ7−2aが終了位置に達した場合(S76のYES)、上記において算出した平滑微分値を用いた合焦位置検出処理を行ない(S77)、合焦位置検出処理の結果に基づいてNG判定処理を行なって(S78)、NG判定処理により設定された合焦位置にフォーカスレンズ7−2aを移動して当該AF処理を終了する(S79)。次に合焦位置検出処理(S77)、NG判定処理(S78)の詳細について説明する。   If the acquired AF evaluation value has reached the smooth differential range (YES in S74), the smooth differential value is calculated using the above smooth differential calculation formula (S75). The above process is repeated until the driving range end position of the focus lens 7-2a is reached (NO in S76). When the focus lens 7-2a reaches the end position (YES in S76), the focus position detection process using the smooth differential value calculated above is performed (S77), and NG is determined based on the result of the focus position detection process. A determination process is performed (S78), the focus lens 7-2a is moved to the in-focus position set by the NG determination process, and the AF process ends (S79). Next, details of the focus position detection process (S77) and the NG determination process (S78) will be described.

図8は、合焦位置検出処理(図7のS77)の詳細な処理の流れを示したフローチャートである。まず算出した平滑微分値からゼロに近い値を検索する(S81)。平滑微分値にゼロに近い値が無い場合(S82のNO)、合焦NG(S86)として合焦位置検出処理を終了する。平滑微分値にゼロに近い値がある場合(S82のYES)は周辺値判定処理(S83)を行なう。周辺値判定処理(S83)は、ゼロに近い平滑微分値の周辺の平滑微分値が、ゼロに近い平滑微分値に対して、単調下降もしくは単調上昇しているかどうかを判定する。すなわち、ゼロに近い平滑微分値以前に取得されている平滑微分値が、ゼロに近い平滑微分値に対して単調上昇し、かつ、ゼロに近い平滑微分値以後に取得された平滑微分値が、ゼロに近い平滑微分値に対して単調下降しているか否かを判定する(S84)。判定の結果、単調下降及び単調上昇していれば(S84のYES)、合焦OKと判定し(S85)、そうでなければ(S84のNO)、合焦NG(S86)と判定して合焦位置検出処理を終了する。   FIG. 8 is a flowchart showing a detailed process flow of the focus position detection process (S77 in FIG. 7). First, a value close to zero is searched from the calculated smooth differential value (S81). When there is no value close to zero in the smooth differential value (NO in S82), the in-focus position detection process is terminated as in-focus NG (S86). If there is a value close to zero in the smooth differential value (YES in S82), a peripheral value determination process (S83) is performed. The peripheral value determination process (S83) determines whether the smooth differential value around the smooth differential value close to zero is monotonically decreasing or increasing monotonously with respect to the smooth differential value close to zero. That is, the smooth differential value acquired before the smooth differential value close to zero is monotonically increased with respect to the smooth differential value close to zero, and the smooth differential value acquired after the smooth differential value close to zero is It is determined whether or not the smooth differential value close to zero is decreasing monotonously (S84). As a result of the determination, if it is monotonically descending and monotonically increasing (YES in S84), it is determined as in-focus OK (S85), otherwise (NO in S84), it is determined as in-focus NG (S86). The focal position detection process ends.

図9は、NG判定処理(図7のS78)の詳細な処理の流れを示したフローチャートである。合焦位置検出処理(図7のS77)において合焦OKであれば(S91のYES)、その平滑微分値に対応するフォーカスレンズ7−2aの位置を合焦位置として決定し(S92)、合焦NGであれば(S91のNo)、NG位置(例えば過焦点距離)を合焦位置として決定する(S93)。   FIG. 9 is a flowchart showing a detailed process flow of the NG determination process (S78 in FIG. 7). If focus is OK in the focus position detection process (S77 in FIG. 7) (YES in S91), the position of the focus lens 7-2a corresponding to the smooth differential value is determined as the focus position (S92). If it is in focus NG (No in S91), the NG position (for example, the hyperfocal distance) is determined as the focus position (S93).

上記のAF処理において、VD信号に同期して取得されるAF評価値と、AF評価値を元にして算出される平滑微分値の例を図10、図11に示す。図10は、同一被写体に対するAF処理において、互いに光量が異なる環境において算出されたAF評価値の変位の例をグラフで示した図であって、縦軸はAF評価値の大きさを表わし、横軸はフォーカスレンズ7−2aの位置を示している。図10(a)はLV10の場合であり、図10(b)はLV8の場合である。即ち、図10(b)は図10(a)よりも、光量が少ない(暗い)環境で取得されたAF評価値に関するものである。従って、隣接画素間の輝度差が微小であるため雑音の影響が大きくAF評価値にバラツキが生じて複数のピーク位置が現われている。AF評価値のピーク位置(極大値)が図10(a)に示すように1カ所であれば、そこを合焦位置として設定すればよいが、図10(b)に示すように複数のピーク位置がある場合、どの位置を合焦位置とするかは単純に判定することはできない。   FIGS. 10 and 11 show examples of the AF evaluation value acquired in synchronization with the VD signal and the smooth differential value calculated based on the AF evaluation value in the AF processing described above. FIG. 10 is a graph showing an example of the displacement of the AF evaluation value calculated in an environment where the amount of light is different in the AF processing for the same subject. The vertical axis represents the magnitude of the AF evaluation value, and the horizontal axis The axis indicates the position of the focus lens 7-2a. FIG. 10A shows the case of LV10, and FIG. 10B shows the case of LV8. That is, FIG. 10B relates to an AF evaluation value acquired in an environment where the amount of light is smaller (darker) than in FIG. Therefore, since the luminance difference between adjacent pixels is very small, the influence of noise is large, and the AF evaluation value varies and a plurality of peak positions appear. If the peak position (maximum value) of the AF evaluation value is one as shown in FIG. 10A, it may be set as the in-focus position. However, as shown in FIG. If there is a position, it cannot be simply determined which position is the in-focus position.

図11は、図10で示したAF評価値の平滑微分値を示したグラフである。図11において横軸は図10と同様にフォーカスレンズ7−2aの位置を示し、縦軸は平滑微分値の大きさを示す。図11(a)は図10(a)に示したAF評価値の変位を元にした平滑微分値である。図11(b)は図10(b)に示したAF評価値の変位を元にした平滑微分値を示している。図11(a)及び図11(b)において、フォーカスレンズ7−2aの位置が「5」に至るまでは(平滑微分値が4個以上取得できるまでは)、所定数のAF評価値が取得されないのでは平滑微分値は算出されない。所定数のAF評価値が取得された後に算出される平滑微分値は、フォーカスレンズ7−2aの移動に伴って平滑微分値は増加方向に変位し、ある点で符号がマイナスからプラスに反転する。図11においてフォーカスレンズ7―2aの位置が5から平滑微分演算が開始され、7から8の間で符号が反転している。この反転する点がAF評価値の極大値に相当する。このように、先に示した演算式によって算出された平滑微分値の符号が反転する位置、即ち平滑微分値がゼロの位置がAF評価値の極大点となる。   FIG. 11 is a graph showing the smooth differential value of the AF evaluation value shown in FIG. In FIG. 11, the horizontal axis indicates the position of the focus lens 7-2a as in FIG. 10, and the vertical axis indicates the magnitude of the smooth differential value. FIG. 11A shows a smooth differential value based on the displacement of the AF evaluation value shown in FIG. FIG. 11B shows a smooth differential value based on the displacement of the AF evaluation value shown in FIG. 11A and 11B, a predetermined number of AF evaluation values are acquired until the position of the focus lens 7-2a reaches “5” (until four or more smooth differential values can be acquired). If not, the smooth differential value is not calculated. The smooth differential value calculated after the predetermined number of AF evaluation values is acquired is displaced in the increasing direction as the focus lens 7-2a moves, and the sign is inverted from minus to plus at a certain point. . In FIG. 11, the smooth differential calculation is started when the position of the focus lens 7-2 a is 5, and the sign is inverted between 7 and 8. This inversion point corresponds to the maximum value of the AF evaluation value. As described above, the position where the sign of the smooth differential value calculated by the above-described arithmetic expression is inverted, that is, the position where the smooth differential value is zero is the maximum point of the AF evaluation value.

上記にて説明したとおり、平滑微分値の符号が反転するAF評価値の取得位置を検出することで、合焦位置を特定することができ、この合焦位置にフォーカスレンズ7―2aを移動させることでAF処理を行なうことができる。   As described above, the focus position can be identified by detecting the AF evaluation value acquisition position where the sign of the smooth differential value is inverted, and the focus lens 7-2a is moved to this focus position. Thus, AF processing can be performed.

次に本発明に係る撮像装置を用いた撮像方法の別の実施形態について説明する。本実施例におけるフォーカスレンズ7−2aの駆動方法と平滑微分値の算出方法は実施例1と同様であるので、異なる処理を重点に説明する。   Next, another embodiment of an imaging method using the imaging apparatus according to the present invention will be described. Since the method for driving the focus lens 7-2a and the method for calculating the smooth differential value in this embodiment are the same as those in the first embodiment, different processing will be mainly described.

図12は実施例2に係るAF処理の流れを示すフローチャートである。各動作ステップはS121、S122・・のように表記する。まず、VD信号の立ち下がりを検出するまで信号待ち処理を行ない(S121)、VD信号の立ち下がりの検出をトリガーにして所定パルス量に応じてフォーカスモータ7−2bを駆動し、フォーカスレンズ7−2aを移動する(S122)。フォーカスレンズ7−2aを移動した後に露光処理を行なって映像信号を取得し、この映像信号に基づく画像データによってAF評価値を算出する(S123)。AF評価値の取得数が平滑微分演算に足りるか否か(平滑微分範囲を満たすか否か)を判定し(S124)、AF評価値取得数が平滑微分範囲に達していなければ処理をS121に戻す(S124のNO)。   FIG. 12 is a flowchart illustrating the flow of AF processing according to the second embodiment. Each operation step is expressed as S121, S122,. First, signal waiting processing is performed until the falling edge of the VD signal is detected (S121), the detection of the falling edge of the VD signal is used as a trigger to drive the focus motor 7-2b according to a predetermined pulse amount, and the focus lens 7- 2a is moved (S122). After moving the focus lens 7-2a, an exposure process is performed to acquire a video signal, and an AF evaluation value is calculated from image data based on the video signal (S123). It is determined whether or not the number of AF evaluation values acquired is sufficient for smooth differentiation (whether or not the smooth differentiation range is satisfied) (S124). If the number of AF evaluation values acquired does not reach the smooth differentiation range, the process proceeds to S121. Return (NO in S124).

所定個数のAF評価値が取得されている場合(S124のYES)、既に説明した演算式を用いて平滑微分値を算出する(S125)。   When a predetermined number of AF evaluation values have been acquired (YES in S124), a smooth differential value is calculated using the arithmetic expression already described (S125).

算出された平滑微分値により合焦位置検出処理を行ない、合焦位置が検出された否かを判定する(S126)。合焦位置が検出された場合(S126のYES)、NG判定処理に移行し(S128)、合焦位置が検出されない場合(S126のNO)、フォーカスレンズが駆動範囲終了位置に達しているかを判定して(S127)、フォーカスレンズが終了位置に達している場合(S127のYES)はNG判定処理(S128)に移行し、フォーカスレンズが駆動終了位置に達していなければ、VD信号待ち(S121)に移行する。   A focus position detection process is performed based on the calculated smooth differential value, and it is determined whether or not a focus position is detected (S126). If the in-focus position is detected (YES in S126), the process proceeds to NG determination processing (S128). If the in-focus position is not detected (NO in S126), it is determined whether the focus lens has reached the drive range end position. If the focus lens has reached the end position (YES in S127), the process proceeds to NG determination processing (S128). If the focus lens has not reached the drive end position, the VD signal is waited (S121). Migrate to

次に上記合焦位置検出処理(S126)及びNG判定処理(S128)の詳細について説明する。図13は、合焦位置検出処理(図12のS126)の詳細な処理の流れを示したフローチャートである。まず算出した平滑微分値が略ゼロであるか否かを判定する(S131)。平滑微分値が略ゼロでは無い場合(S131のNO)、合焦NGとして(S135)当該処理は終了する。算出した平滑微分値が略ゼロであれば(S131のYES)、周辺値判定処理(S132)を行なう。周辺値判定処理(S132)は、略ゼロの平滑微分値の周辺の平滑微分値が、略ゼロの平滑微分値に対して、単調下降もしくは単調上昇しているかどうかを判定する。すなわち、略ゼロの平滑微分値以前に取得されている平滑微分値が、略ゼロの平滑微分値に対して単調上昇しているか否か、もしくは、略ゼロの平滑微分値以後に取得された平滑微分値が、略ゼロの平滑微分値に対して単調下降しているか否かを判定し、判定の結果、単調下降または単調上昇していれば(S133のYES)、合焦OKと判定し(S134)、判定の結果、単調下降または単調上昇していなければ(S133のNO)、合焦NG(S135)と判定して合焦位置検出処理を終了する。   Next, the details of the in-focus position detection process (S126) and the NG determination process (S128) will be described. FIG. 13 is a flowchart showing a detailed process flow of the focus position detection process (S126 in FIG. 12). First, it is determined whether or not the calculated smooth differential value is substantially zero (S131). When the smooth differential value is not substantially zero (NO in S131), the process ends as in-focus NG (S135). If the calculated smooth differential value is substantially zero (YES in S131), a peripheral value determination process (S132) is performed. In the peripheral value determination process (S132), it is determined whether the smooth differential value around the substantially zero smooth differential value is monotonically decreasing or monotonically increasing with respect to the substantially zero smooth differential value. That is, whether or not the smooth differential value acquired before the substantially zero smooth differential value is monotonically increased with respect to the substantially zero smooth differential value, or the smooth smooth value acquired after the substantially zero smooth differential value. It is determined whether or not the differential value is monotonically decreasing with respect to the smooth differential value of substantially zero. If the result of the determination is monotonic decrease or monotonic increase (YES in S133), it is determined that the in-focus state is OK ( If the result of the determination is that there is no monotonic descent or monotonic increase (NO in S133), it is determined that the focus is NG (S135), and the focus position detection process is terminated.

図14は、NG判定処理(図12のS128)の詳細な処理の流れを示したフローチャートである。合焦位置検出処理(図12のS126)において合焦OKであれば(S141のYES)、その平滑微分値に対応するフォーカスレンズ7−2aの位置を合焦位置として決定し(S142)、合焦NGであれば(S141のNO)、NG位置(例えば過焦点距離)を合焦位置として決定する(S143)。   FIG. 14 is a flowchart showing a detailed process flow of the NG determination process (S128 in FIG. 12). If focus is OK in the focus position detection process (S126 in FIG. 12) (YES in S141), the position of the focus lens 7-2a corresponding to the smooth differential value is determined as the focus position (S142). If it is in focus NG (NO in S141), the NG position (for example, the hyperfocal distance) is determined as the focus position (S143).

上記実施例2によれば、平滑微分値を算出するたびに、合焦位置検出処理を行なうので、レンズ駆動終了位置までフォーカスレンズ7−2aを駆動することなく、その途中でAF処理を終了することができる。   According to the second embodiment, since the focus position detection process is performed every time the smooth differential value is calculated, the AF process is terminated in the middle without driving the focus lens 7-2a to the lens drive end position. be able to.

次に本発明に係る撮像装置を用いた撮像方法のさらに別の実施形態について説明する。本実施例は、モードダイアルSW2によって指定される撮影モードに応じて平滑微分処理を可変させることを特徴とする。上記実施例1、2と重複する部分の説明は省略し、異なる部分を重点に説明する。   Next, still another embodiment of the imaging method using the imaging apparatus according to the present invention will be described. The present embodiment is characterized in that the smooth differentiation process is varied according to the photographing mode designated by the mode dial SW2. A description of the same parts as those in the first and second embodiments will be omitted, and different parts will be mainly described.

まず、本実施例に係るAF処理について図15のフローチャートを用いて説明する。各動作ステップはS150、S151・・のように表記する。まず、現在の撮影モードによって平滑微分範囲を設定する処理を行なう(S150)。平滑微分範囲を設定した後に、VD信号の立ち下がりを検出するまで待ち処理を行なう(S151)。VD信号の立ち下がりを検出した後に、所定パルス数に応じてフォーカスモータ7−2bを駆動し、フォーカスレンズ7−2aを移動する(S152)。フォーカスレンズ7−2aを移動した後に映像信号を取得し、この映像信号に基づく画像データによってAF評価値を算出する(S153)。AF評価値の取得数が平滑微分演算に足りるか否か(平滑微分範囲を満たすか否か)を判定し(S154)、AF評価値取得数が平滑微分範囲に達していなければ処理をS151に戻す(S154のNO)。   First, AF processing according to the present embodiment will be described with reference to the flowchart of FIG. Each operation step is expressed as S150, S151,. First, processing for setting a smooth differential range is performed according to the current shooting mode (S150). After setting the smooth differential range, a wait process is performed until the falling edge of the VD signal is detected (S151). After detecting the fall of the VD signal, the focus motor 7-2b is driven according to the predetermined number of pulses, and the focus lens 7-2a is moved (S152). After moving the focus lens 7-2a, a video signal is acquired, and an AF evaluation value is calculated from image data based on this video signal (S153). It is determined whether or not the number of AF evaluation values acquired is sufficient for smooth differentiation (whether or not the smooth differentiation range is satisfied) (S154). If the number of AF evaluation values has not reached the smooth differentiation range, the process proceeds to S151. Return (NO in S154).

取得したAF評価値が平滑微分範囲に達していれば(S154のYES)、この平滑微分範囲によって、実施例1において説明した平滑微分演算式を用いた平滑微分演算を行なう(S155)。上記の処理をフォーカスレンズ7−2aの駆動範囲終了位置に達するまで繰り返す(S156のNO)。フォーカスレンズ7−2aが終了位置に達した場合(S156のYES)、上記において算出した平滑微分値を用いた合焦位置検出処理を行ない(S157)、合焦位置検出処理の結果に基づいてNG判定処理を行なって(S158)、NG判定処理により設定された合焦位置にフォーカスレンズ7−2aを移動して当該AF処理を終了する(S159)。   If the acquired AF evaluation value has reached the smooth differential range (YES in S154), smooth differential calculation using the smooth differential calculation formula described in the first embodiment is performed using this smooth differential range (S155). The above processing is repeated until the driving range end position of the focus lens 7-2a is reached (NO in S156). When the focus lens 7-2a reaches the end position (YES in S156), the focus position detection process using the smooth differential value calculated above is performed (S157), and NG is determined based on the result of the focus position detection process. A determination process is performed (S158), the focus lens 7-2a is moved to the in-focus position set by the NG determination process, and the AF process ends (S159).

このように、実施例3におけるAF処理は、実施例1におけるAF処理において、AD信号待ち処理を行なう前に、当該撮像装置の撮影モードによって平滑微分範囲を設定し、設定した平滑微分範囲に応じた平滑微分処理を行なうことを特徴としている。次に、平滑微分パラメータ設定処理(S150)のより詳細な処理の流れを説明するが、合焦位置検出処理(S157)、NG判定処理(158)は、実施例1における合焦位置検出処理(S77)、NG判定処理(S78)と同様の処理となるので、詳細な説明は省略する。   As described above, in the AF process in the third embodiment, before performing the AD signal waiting process in the AF process in the first embodiment, the smooth differential range is set according to the photographing mode of the imaging apparatus, and the AF process is performed according to the set smooth differential range. It is characterized by performing smooth differential processing. Next, a detailed flow of the smooth differential parameter setting process (S150) will be described. The focus position detection process (S157) and the NG determination process (158) are the focus position detection processes ( S77) and the same process as the NG determination process (S78), and a detailed description thereof will be omitted.

図16は、平滑微分パラメータ設定処理(図15のS150)の詳細な処理の流れを示したフローチャートである。まず、モードダイアルSW2によって指定されている現在の撮影モードを取得する(S161)。次に、取得した撮影モードが「通常AFモード」であるか否かを判定する(S162)。撮影モードが通常AFモードであれば(S162がYES)、通常AFモード用の平滑微分範囲を設定する(ここでは通常AFモード用平滑微分範囲を3とする)。撮影モードが通常AFモードでなければ(S162がNO)、当該撮像装置はマクロAFモードに設定されているので、マクロAFモード用の平滑微分範囲を設定する(ここではマクロAFモード用平滑微分範囲を2とする)。このように設定された平滑微分範囲を用いて、上記にて説明したAF処理を行なう。   FIG. 16 is a flowchart showing a detailed process flow of the smooth differential parameter setting process (S150 in FIG. 15). First, the current shooting mode designated by the mode dial SW2 is acquired (S161). Next, it is determined whether or not the acquired shooting mode is the “normal AF mode” (S162). If the shooting mode is the normal AF mode (S162 is YES), the normal differential mode smooth differential range is set (here, the normal AF mode smooth differential range is 3). If the shooting mode is not the normal AF mode (NO in S162), since the imaging apparatus is set to the macro AF mode, a smooth differential range for the macro AF mode is set (here, the smooth differential range for the macro AF mode). Is 2). The AF process described above is performed using the smooth differential range set in this way.

次に、上記のように異なる撮影モードにおいて平滑微分範囲を変更する効果について説明する。既に説明したとおりフォーカスレンズ7−2aは、1回のVD信号に対応するフォーカスモータ7−2bの所定駆動量に応じて移動する。ここでは、フォーカスモータ7−2bがパルスモータであるとして説明をする。   Next, the effect of changing the smooth differential range in different shooting modes as described above will be described. As already described, the focus lens 7-2a moves according to a predetermined drive amount of the focus motor 7-2b corresponding to one VD signal. Here, the focus motor 7-2b will be described as a pulse motor.

1回のVD信号に対応する駆動パルス数(フォーカス駆動量)は、通常AFモードよりもマクロAFモードの方が多く設定される。例えば、通常AFモード時は2パルス、マクロAFモード時は6パルスである。これは、図20に示すように撮影モードによってフォーカスレンズ繰り出し量が異なるからである。図20において、通常AFモード時のフォーカスレンズ繰り出し量は30パルス、マクロAFモード時のフォーカスレンズ繰り出し量は200パルスである。このように、通常AFモード時よりも、マクロAFモード時の方が、1回のVD信号に対応してフォーカスレンズ7−2aが移動する量が大きいため、隣接するAF評価値の変位量も大きくなる。   The number of drive pulses (focus drive amount) corresponding to one VD signal is set larger in the macro AF mode than in the normal AF mode. For example, there are 2 pulses in the normal AF mode and 6 pulses in the macro AF mode. This is because, as shown in FIG. 20, the focus lens extension amount varies depending on the shooting mode. In FIG. 20, the focus lens extension amount in the normal AF mode is 30 pulses, and the focus lens extension amount in the macro AF mode is 200 pulses. Thus, since the amount of movement of the focus lens 7-2a corresponding to one VD signal is larger in the macro AF mode than in the normal AF mode, the displacement amount of the adjacent AF evaluation value is also greater. growing.

このような条件のもと、マクロAFモード時の平滑微分演算において、仮に、通常AFモード時の平滑微分演算と同じ平滑微分範囲を設定すると(たとえは平滑微分範囲を3とすると)前後18パルス分相当のAF評価値を用いた平滑微分演算を行なうこととなり、AF評価値間の相関が強くなりすぎて、AF評価値の変位が平均化されすぎてしまい不具合が生じる。   Under such conditions, in the smooth differential calculation in the macro AF mode, if the same smooth differential range as the smooth differential calculation in the normal AF mode is set (for example, if the smooth differential range is 3), 18 pulses before and after Smooth differentiation is performed using the AF evaluation value corresponding to the minute, and the correlation between the AF evaluation values becomes too strong, and the displacement of the AF evaluation values is excessively averaged.

この不具合について、図18及び図19を用いて説明する。図18と図19は、同一の撮影条件で撮影した画像データから取得したAF評価値の変位(a)と、このAF評価値を用いた平滑微分値の変位(b)を示すグラフであって、図18は平滑微分範囲が「3」の場合、図19は平滑微分範囲が「2」の場合である。図18及び図19において、横軸はフォーカスレンズ7−2aの位置を示し、縦軸は、AF評価値(a)と平滑微分値(b)を示している。   This problem will be described with reference to FIGS. 18 and 19 are graphs showing the displacement (a) of the AF evaluation value acquired from the image data photographed under the same photographing conditions, and the displacement (b) of the smooth differential value using the AF evaluation value. FIG. 18 shows a case where the smooth differential range is “3”, and FIG. 19 shows a case where the smooth differential range is “2”. 18 and 19, the horizontal axis indicates the position of the focus lens 7-2a, and the vertical axis indicates the AF evaluation value (a) and the smooth differential value (b).

被写体と背景の合焦位置が近接している場合、図18(a)及び図19(a)に示すように、AF評価値のピークが近くなる。このような状態のときに平滑微分範囲を3として平滑微分演算を行なった結果が図18(b)である。図18(b)に示すように、平滑微分値の極値(0位置)が被写体ではなく背景側で検出されてしまう。同じ画像データをAF評価値の変位を元にして、平滑微分範囲を2として平滑微分演算を行なった結果が図で図19(b)である。図19(b)に示すように、被写体に対して平滑微分値の極値(0位置)を検出することができる。   When the in-focus position of the subject and the background are close, as shown in FIGS. 18A and 19A, the peak of the AF evaluation value is close. FIG. 18B shows a result obtained by performing the smooth differential calculation with the smooth differential range set to 3 in such a state. As shown in FIG. 18B, the extreme value (0 position) of the smooth differential value is detected not on the subject but on the background side. FIG. 19B is a diagram showing the result of performing the smooth differentiation operation on the same image data based on the displacement of the AF evaluation value and setting the smooth differentiation range to 2. FIG. As shown in FIG. 19B, the extreme value (0 position) of the smooth differential value can be detected for the subject.

マクロAFモードでは、既に説明したとおり、通常AFモードに比べてフォーカス駆動量が大きいため、被写体と背景によるAF評価値のピークが近接しやすい。従って、上記の通り、AF評価値の相関を弱くするための平滑微分範囲を2として、通常AFモード時の平滑微分範囲よりも狭く設定することで、偽合焦を防止することができる。   In the macro AF mode, as already described, since the focus drive amount is larger than that in the normal AF mode, the AF evaluation value peaks due to the subject and the background are likely to be close to each other. Therefore, as described above, by setting the smooth differential range for weakening the correlation of the AF evaluation values to 2 and setting it to be narrower than the smooth differential range in the normal AF mode, false focusing can be prevented.

次に上記実施例3に基づいた更に別の実施形態を説明する。本実施例におけるAF処理とフォーカスレンズ7−2aの駆動方法、平滑微分値の算出方法は上記実施例3と同様である。ここでは、異なる処理について説明する。   Next, still another embodiment based on Example 3 will be described. The AF processing, the driving method of the focus lens 7-2a, and the smooth differential value calculation method in the present embodiment are the same as those in the third embodiment. Here, different processes will be described.

図17は、平滑微分パラメータ設定処理(図15のS70)の別の詳細な処理の流れを示したフローチャートである。まず、現在の撮影設定を取得する(S171)。撮影設定は、SW3、SW4によって可変することができる焦点距離であって、中立位置を「mean」、ズームインした状態を「Tele」、ズームアウトした状態を「Wide」とする。   FIG. 17 is a flowchart showing another detailed process flow of the smooth differential parameter setting process (S70 in FIG. 15). First, the current shooting setting is acquired (S171). The shooting setting is a focal length that can be changed by SW3 and SW4. The neutral position is “mean”, the zoomed-in state is “Tele”, and the zoomed-out state is “Wide”.

取得した焦点距離がMean以下であるか否かを判定する(S172)。焦点距離がMean以下である場合は(S172のYES)、Wide側平滑微分範囲を設定する(S173)。ここでは、Wide側平滑微分範囲は3とする。焦点距離がMean以下では無い場合(長焦点である場合)は(S172のNO)、Tele側平滑微分範囲を設定する(S174)。ここでは、Tele側平滑微分範囲は2とするこのように設定された平滑微分範囲を用いて、上記にて説明したAF処理を行なう。   It is determined whether or not the acquired focal length is equal to or less than Mean (S172). When the focal length is equal to or less than Mean (YES in S172), the Wide-side smooth differential range is set (S173). Here, the Wide-side smooth differential range is 3. When the focal length is not less than Mean (when the focal length is long) (NO in S172), the Tele side smooth differential range is set (S174). Here, the above-described AF processing is performed using the smooth differential range set in this way, where the Tele side smooth differential range is 2.

次に、焦点距離の違いによって平滑微分範囲を変更する効果について説明する。既に説明したとおりフォーカスレンズ7−2aは、1回のVD信号に対応して、フォーカスモータ7−2bが所定の駆動を行なうことで移動する。ここでは、フォーカスモータ7−2bがパルスモータであるとして説明をする。   Next, the effect of changing the smooth differential range according to the difference in focal length will be described. As already described, the focus lens 7-2a moves in response to one VD signal by the focus motor 7-2b performing a predetermined drive. Here, the focus motor 7-2b will be described as a pulse motor.

図21に示すように、焦点距離によってフォーカスレンズ繰り出し量が異なり、焦点距離がWide側からTele側の間で30パルスから350パルスの幅がある。1回のVD信号に対応する駆動パルス数(フォーカス駆動量)は、Wide側(Mean以下)よりもTele側(Meanより長焦点)の方が多く、例えば、Wide側は2パルス、Tele側は6パルスに設定される。   As shown in FIG. 21, the focus lens feed amount varies depending on the focal length, and the focal length ranges from 30 pulses to 350 pulses between the Wide side and the Tele side. The number of drive pulses (focus drive amount) corresponding to one VD signal is larger on the Tele side (longer focus than Mean) than on the Wide side (Mean or less). For example, on the Wide side, two pulses and on the Tele side 6 pulses are set.

このように、焦点距離がWide側の状態よりもTele側の状態の方が駆動パルス数は大きいため、1回のVD信号に対応してフォーカスレンズ7−2aが移動する量が大きいため、隣接するAF評価値の変位量も大きくなる。従って、Tele状態の場合に、仮に、mean以下の状態と同じ平滑微分範囲を設定して(たとえは平滑微分範囲を3として)、平滑微分演算を行なうと前後18パルス分相当のAF評価値を用いた平滑微分演算を行なうこととなり、AF評価値間の相関が強すぎることとなり、AF評価値の変位が平均化されすぎて平滑微分値の極値(0付近)が正しく検出できず偽合焦が生じる。   Thus, since the number of drive pulses is larger in the Tele side state than in the Wide side state, the amount of movement of the focus lens 7-2a corresponding to one VD signal is large. The amount of displacement of the AF evaluation value is also increased. Therefore, in the case of the Tele state, if the same smooth differential range as the state below mean is set (for example, the smooth differential range is 3) and the smooth differential operation is performed, AF evaluation values corresponding to 18 pulses before and after are obtained. The smooth differential calculation used is performed, the correlation between the AF evaluation values is too strong, the displacement of the AF evaluation value is averaged too much, and the extreme value (near 0) of the smooth differential value cannot be correctly detected, and the false match Burning occurs.

このような偽合焦を防止するために、被写体と背景とのAF評価値ピークが近くなるTele状態では平滑微分範囲を2に設定し、AF評価値間の相関の割合を低くしている。本実施例において、平滑微分範囲の設定を可変させるための判断としてフォーカ繰り出し量により焦点状態を使用しているが、フォーカス繰り出し量を閾値として、平滑微分範囲の可変判断とすることも可能である。 In order to prevent such false focusing, the smooth differential range is set to 2 in the Tele state where the AF evaluation value peaks of the subject and the background are close to reduce the correlation ratio between the AF evaluation values. In this embodiment, the use of the focus state by Focus feed amount as determined for varying the setting of the smooth differential range, the threshold focus movement amount, it is also possible to variably determine a smooth differential range is there.

また、上記実施例1及び上記実施例4のいずれにおいても、同じ平滑微分演算式を用いていた例について説明したが、平滑微分演算式はこれに限ったものではなく、他の微分式への置き換えが可能である。また、いずれの構成においても、AF評価値から平滑微分演算を行なった結果によって、AF評価値の極値の付近を合焦位置とすることできるので、低輝度や低コントラストによる、AF評価値のバラツキに影響を受けることなく精度の高いAF処理を実現することができる。   In addition, in both the first embodiment and the fourth embodiment, the example in which the same smooth differential calculation formula is used has been described. However, the smooth differential calculation formula is not limited to this, and other differential formulas are used. Replacement is possible. Further, in any configuration, since the vicinity of the extreme value of the AF evaluation value can be set as the in-focus position based on the result of the smooth differential calculation from the AF evaluation value, the AF evaluation value due to low luminance or low contrast can be set. A highly accurate AF process can be realized without being affected by variations.

本発明は、カメラ付携帯機器に搭載可能な撮像装置及びその撮像方法などにも適用できる。   The present invention can also be applied to an imaging apparatus that can be mounted on a camera-equipped mobile device, an imaging method thereof, and the like.

本発明に係る撮像装置の例を示す正面図である。It is a front view which shows the example of the imaging device which concerns on this invention. 本発明に係る撮像装置の例を示す上面図である。It is a top view which shows the example of the imaging device which concerns on this invention. 本発明に係る撮像装置の例を示す背面図である。It is a rear view which shows the example of the imaging device which concerns on this invention. 本発明に係る撮像装置の例を示す機能ブロック図である。It is a functional block diagram which shows the example of the imaging device which concerns on this invention. 本発明に係る撮像装置におけるAF処理エリアのイメージ図である。It is an image figure of AF processing area in the imaging device concerning the present invention. 本発明に係る撮像装置のAF評価値取得タイミング等を示すタイミングチャートである。6 is a timing chart showing AF evaluation value acquisition timing and the like of the imaging apparatus according to the present invention. 本発明に係る撮像装置を用いて行うAF処理の例を示すフローチャートである。6 is a flowchart illustrating an example of AF processing performed using the imaging apparatus according to the present invention. 上記AF処理の詳細な処理の流れを示すフローチャートである。It is a flowchart which shows the detailed process flow of the said AF process. 上記AF処理の詳細な処理の流れを示すフローチャートである。It is a flowchart which shows the detailed process flow of the said AF process. 本発明に係る撮像装置のAF処理において取得されるAF評価値の変位例を示す図である。It is a figure which shows the example of a displacement of AF evaluation value acquired in AF process of the imaging device which concerns on this invention. 本発明に係る撮像装置のAF処理において算出される平滑微分値の変位例を示す図である。It is a figure which shows the example of a displacement of the smooth differential value calculated in AF process of the imaging device which concerns on this invention. 本発明に係る撮像装置を用いて行うAF処理の別の例を示すフローチャートである。It is a flowchart which shows another example of the AF process performed using the imaging device which concerns on this invention. 上記AF処理の詳細な処理の流れを示すフローチャートである。It is a flowchart which shows the detailed process flow of the said AF process. 上記AF処理の詳細な処理の流れを示すフローチャートである。It is a flowchart which shows the detailed process flow of the said AF process. 本発明に係る撮像装置を用いて行うAF処理の別の例を示すフローチャートである。It is a flowchart which shows another example of the AF process performed using the imaging device which concerns on this invention. 上記AF処理の詳細な処理の流れを示すフローチャートである。It is a flowchart which shows the detailed process flow of the said AF process. 上記AF処理の詳細な処理の流れを示すフローチャートである。It is a flowchart which shows the detailed process flow of the said AF process. 本発明に係る撮像装置のAF処理において取得されるAF評価値と平滑微分値の変位例を示す図である。It is a figure which shows the example of a displacement of AF evaluation value acquired in AF process of the imaging device which concerns on this invention, and a smooth differential value. 本発明に係る撮像装置のAF処理において算出されるAF評価値と平滑微分値の変位例を示す図である。It is a figure which shows the example of a displacement of AF evaluation value computed in AF process of the imaging device which concerns on this invention, and a smooth differential value. 本発明に係る撮像装置の撮影モードとフォーカスレンズ繰り出し量の関係を示す図である。It is a figure which shows the relationship between the imaging | photography mode of the imaging device which concerns on this invention, and a focus lens extension amount. 本発明に係る撮像装置の焦点距離とフォーカスレンズ繰り出し量の関係を示す図である。It is a figure which shows the relationship between the focal distance of the imaging device which concerns on this invention, and a focus lens extension amount.

符号の説明Explanation of symbols

7−2a フォーカスレンズ
7−2b フォーカスモータ
108 ROM
7-2a Focus lens 7-2b Focus motor 108 ROM

Claims (24)

撮影レンズを通過してきた被写体の光を受光する撮像素子、前記撮影レンズを移動させるレンズ移動手段、前記撮素子から得た画像データを用いて算出するAF評価値を用いた平滑微分演算によって焦点を決定する自動焦点検出手段と、
少なくとも一般的な被写体を撮影する通常撮影モードと、近接した被写体を撮影するマクロモードとを含む複数の撮影条件を選択可能な撮影条件設定手段と、を有する撮像装置において、
前記自動焦点検出手段は、前記平滑微分演算の演算対象となる前記AF評価値の総計範囲を前記撮影条件設定手段によって設定される撮影条件に応じて決定し、
前記設定された撮影条件が前記マクロモードに設定されているときは、前記通常撮影モードに設定されているときよりも、前記平滑微分演算の演算対象とされる前記AF評価値の総計範囲を狭く設定することを特徴とする撮像装置。
An imaging device for receiving light of a subject having passed through the photographing lens, said lens moving means for moving the photographing lens, smooth differential operation using the AF evaluation value calculated by using the image data obtained from the shooting image element Automatic focus detection means for determining the focus by :
In an imaging apparatus having a shooting condition setting unit capable of selecting a plurality of shooting conditions including at least a normal shooting mode for shooting a general subject and a macro mode for shooting a close subject ,
The automatic focus detection means determines the total range of the AF evaluation values to be calculated by the smooth differential calculation according to the shooting conditions set by the shooting condition setting means,
When the set shooting condition is set to the macro mode, the total range of the AF evaluation values to be calculated by the smooth differential calculation is narrower than when the normal shooting mode is set. setting an imaging apparatus characterized that you.
撮影レンズを通過してきた被写体の光を受光する撮像素子と、前記撮影レンズを移動させるレンズ移動手段と、前記撮像素子から得た画像データを用いて算出するAF評価値を用いた平滑微分演算によって焦点を決定する自動焦点検出手段と、を有する撮像装置において、  By an image sensor that receives light of a subject that has passed through the photographic lens, a lens moving unit that moves the photographic lens, and a smooth differential operation using an AF evaluation value that is calculated using image data obtained from the image sensor. In an imaging apparatus having automatic focus detection means for determining a focus,
前記自動焦点検出手段は、前記平滑微分演算の演算対象となる前記AF評価値の総計範囲を前記撮影レンズの焦点距離に応じて決定し、  The automatic focus detection means determines the total range of the AF evaluation values to be calculated by the smooth differential calculation according to the focal length of the photographing lens,
前記焦点距離がテレ側のときは、前記焦点距離がワイド側のときよりも、前記平滑微分演算の演算対象とされる前記AF評価値の総計範囲も狭く設定することを特徴とする撮像装置。  An image pickup apparatus characterized in that when the focal length is on the tele side, the total range of the AF evaluation values to be subjected to the smooth differential calculation is set narrower than when the focal length is on the wide side.
撮影レンズを通過してきた被写体の光を受光する撮像素子と、前記撮影レンズを移動させるレンズ移動手段と、前記撮像素子から得た画像データを用いて算出するAF評価値を用いた平滑微分演算によって焦点を決定する自動焦点検出手段と、を有する撮像装置において、  By an image sensor that receives light of a subject that has passed through the photographic lens, a lens moving unit that moves the photographic lens, and a smooth differential operation using an AF evaluation value that is calculated using image data obtained from the image sensor. In an imaging apparatus having automatic focus detection means for determining a focus,
前記自動焦点検出手段は、前記平滑微分演算の演算対象となる前記AF評価値の総計範囲を撮影条件によって可変する前記撮影レンズの移動ステップ量に応じて決定し、  The automatic focus detection means determines a total range of the AF evaluation values to be calculated by the smooth differential calculation according to a moving step amount of the photographing lens that varies according to photographing conditions,
第1の移動ステップ量に応じて決定される前記平滑微分演算の演算対象となる前記AF評価値の総計範囲は、前記第1の移動ステップ量より小さい第2の移動ステップ量に応じて決定される前記平滑微分演算の演算対象となる前記AF評価値の総計範囲よりも狭いことを特徴とする撮像装置。  The total range of the AF evaluation values to be calculated in the smooth differential calculation determined according to the first movement step amount is determined according to a second movement step amount smaller than the first movement step amount. An imaging apparatus characterized by being narrower than a total range of the AF evaluation values to be calculated by the smooth differential calculation.
前記AF評価値は、前記画像データを構成する隣接画素の輝度差を積分した値であることを特徴とする請求項1から3のいずれかに記載の撮像装置。The imaging apparatus according to claim 1, wherein the AF evaluation value is a value obtained by integrating a luminance difference between adjacent pixels constituting the image data. 前記平滑微分演算は、前記AF評価値の変位量に所定の係数を乗じた値を総計する演算であることを特徴とする請求項1から3のいずれかに記載の撮像装置。The imaging apparatus according to claim 1, wherein the smooth differential calculation is an operation of totaling a value obtained by multiplying a displacement amount of the AF evaluation value by a predetermined coefficient. 前記平滑微分演算に用いられる係数は、平滑微分値を求める時点の前記AF評価値から乖離する度合に応じて大きくなることを特徴とする請求項1乃至5のいずれかに記載の撮像装置。  The imaging apparatus according to claim 1, wherein a coefficient used for the smooth differential calculation increases in accordance with a degree of deviation from the AF evaluation value at the time of obtaining a smooth differential value. 前記平滑微分演算は、以下の式により平滑微分値を求めるものであることを特徴とする請求項1乃至6のいずれかに記載の撮像装置。  The imaging apparatus according to claim 1, wherein the smooth differential operation is to obtain a smooth differential value by the following equation.
Y[0]=Σ[i=0→a](X[i]−X[−i])×bi  Y [0] = Σ [i = 0 → a] (X [i] −X [−i]) × bi
ただし、Y[0]は平滑微分値、iは正数、aは総計範囲、X[i]はAF評価値、biはAF評価値からの乖離度合いに応じて大きくなる加重係数である。  However, Y [0] is a smooth differential value, i is a positive number, a is a total range, X [i] is an AF evaluation value, and bi is a weighting coefficient that increases in accordance with the degree of deviation from the AF evaluation value.
前記自動焦点検出手段は、前記AF評価値を平滑微分演算した結果により決定される焦点位置が、前記撮影レンズの駆動範囲内である場合に、そのAF評価値の取得時の撮影レンズ位置を焦点位置として決定することを特徴とする請求項1乃至7のいずれかに記載の撮像装置。 The automatic focus detection means focuses the photographing lens position at the time of obtaining the AF evaluation value when the focal position determined by the smooth differential operation of the AF evaluation value is within the driving range of the photographing lens. The imaging apparatus according to claim 1 , wherein the imaging apparatus is determined as a position . 前記自動焦点検出手段は、前記撮影レンズ駆動範囲内のAF評価値を取得した後に平滑微分演算を行い、焦点位置を決定することを特徴とする請求項1乃至8のいずれかに記載の撮像装置。 The imaging apparatus according to claim 1, wherein the automatic focus detection unit performs a smooth differential calculation after obtaining an AF evaluation value within the photographing lens driving range, and determines a focus position. . 前記自動焦点検出手段は、前記撮影レンズ駆動範囲内を移動中に平滑微分演算を行い、焦点位置を決定することを特徴とする請求項1乃至8のいずれかに記載の撮像装置。 The image pickup apparatus according to claim 1, wherein the automatic focus detection unit performs a smooth differential calculation while moving within the photographing lens driving range to determine a focus position . 前記自動焦点検出手段は、前記撮影レンズ駆動範囲内で焦点位置を決定できなかった場合、前記撮影レンズの過焦点位置を焦点位置とすることを特徴とする請求項1乃至のいずれかに記載の撮像装置。 The automatic focus detecting means, if it can not determine the focal position within the driving range of the photographing lens, in any one of claims 1 to 8, characterized in that a focal position hyperfocal position of the photographing lens The imaging device described. 前記自動焦点検出手段前記自動焦点検出手段が決定した焦点位置に前記撮影レンズを移動させることを特徴とする請求項1乃至11のいずれかに記載の撮像装置。 The automatic focus detecting means, the imaging apparatus according to any one of claims 1 to 11, characterized in that moving the photographing lens to the focal position where the automatic focus detection means has determined. 撮影レンズを通過してきた被写体の光を受光する撮像素子と、前記撮影レンズを移動させるレンズ移動手段と、前記撮像素子から得た画像データを用いて算出するAF評価値を用いた平滑微分演算によって焦点を決定する自動焦点検出手段と、少なくとも一般的な被写体を撮影する通常撮影モードと、近接した被写体を撮影するマクロモードとを含む複数の撮影条件を選択可能な撮影条件設定手段と、を有する撮像装置により実行される撮像方法において、  By an image sensor that receives light of a subject that has passed through the photographic lens, a lens moving unit that moves the photographic lens, and a smooth differential operation using an AF evaluation value that is calculated using image data obtained from the image sensor. Automatic focus detection means for determining a focus, and shooting condition setting means capable of selecting a plurality of shooting conditions including at least a normal shooting mode for shooting a general subject and a macro mode for shooting a close subject. In the imaging method executed by the imaging device,
前記自動焦点検出手段が、  The automatic focus detection means is
前記平滑微分演算の演算対象となる前記AF評価値の総計範囲を前記撮影条件設定手段によって設定される撮影条件に応じて決定するステップと、  Determining a total range of the AF evaluation values to be calculated by the smooth differential calculation according to the shooting conditions set by the shooting condition setting means;
前記設定された撮影条件がマクロモードであるときは、前記通常撮影モードが設定されているときよりも、前記平滑微分演算の演算対象とされる前記AF評価値の総計範囲を狭く設定するステップと、を実行することを特徴とする撮像方法。When the set shooting condition is a macro mode, a step of setting a narrower total range of the AF evaluation values to be calculated by the smooth differential calculation than when the normal shooting mode is set; The imaging method characterized by performing these.
撮影レンズを通過してきた被写体の光を受光する撮像素子と、前記撮影レンズを移動させるレンズ移動手段と、前記撮像素子から得た画像データを用いて算出するAF評価値を用いた平滑微分演算によって焦点を決定する自動焦点検出手段と、を有する撮像装置により実行される撮像方法において、  By an image sensor that receives light of a subject that has passed through the photographic lens, a lens moving unit that moves the photographic lens, and a smooth differential operation using an AF evaluation value that is calculated using image data obtained from the image sensor. In an imaging method executed by an imaging apparatus having automatic focus detection means for determining a focus,
前記自動焦点検出手段が、  The automatic focus detection means is
前記平滑微分演算の演算対象となる前記AF評価値の総計範囲を前記撮影レンズの焦点距離に応じて決定するステップと、  Determining a total range of the AF evaluation values to be calculated by the smooth differential calculation according to a focal length of the photographing lens;
前記焦点距離がテレ側のときは、前記焦点距離がワイド側のときよりも、前記平滑微分演算の演算対象とされる前記AF評価値の総計範囲を狭く設定するステップと、を実行することを特徴とする撮像方法。  When the focal length is on the tele side, the step of setting a narrower total range of the AF evaluation values that are subject to the smooth differential calculation than when the focal length is on the wide side is performed. A characteristic imaging method.
撮影レンズを通過してきた被写体の光を受光する撮像素子と、前記撮影レンズを移動させるレンズ移動手段と、前記撮像素子から得た画像データを用いて算出するAF評価値を用いた平滑微分演算によって焦点を決定する自動焦点検出手段と、を有する撮像装置により実行される撮像方法において、  By an image sensor that receives light of a subject that has passed through the photographic lens, a lens moving unit that moves the photographic lens, and a smooth differential operation using an AF evaluation value that is calculated using image data obtained from the image sensor. In an imaging method executed by an imaging apparatus having automatic focus detection means for determining a focus,
前記自動焦点検出手段が、  The automatic focus detection means is
前記平滑微分演算の演算対象となる前記AF評価値の総計範囲を撮影条件によって可変する前記撮影レンズの移動ステップ量に応じて決定するステップと、  Determining a total range of the AF evaluation values to be subjected to the smooth differential calculation according to a moving step amount of the photographing lens that varies according to photographing conditions;
第1の移動ステップ量に応じて決定される前記平滑微分演算の演算対象となる前記AF評価値の総計範囲を、前記第1の移動ステップ量より小さい第2の移動ステップ量に応じて決定する前記平滑微分演算の演算対象となる前記AF評価値の総計範囲よりも狭く設定するステップと、を実行することを特徴とする撮像方法。  A total range of the AF evaluation values to be calculated in the smooth differential calculation determined according to the first movement step amount is determined according to a second movement step amount smaller than the first movement step amount. And a step of setting the AF evaluation value to be narrower than a total range of the AF evaluation values to be calculated by the smooth differential calculation.
前記AF評価値は、前記画像データを構成する隣接画素の輝度差を積分した値であることを特徴とする請求項13から15のいずれかに記載の撮像方法。The imaging method according to any one of claims 13 to 15, wherein the AF evaluation value is a value obtained by integrating a luminance difference between adjacent pixels constituting the image data. 前記平滑微分演算は、前記AF評価値の変位量に所定の係数を乗じた値を総計する演算であることを特徴とする請求項13から15のいずれかに記載の撮像方法。The imaging method according to any one of claims 13 to 15, wherein the smooth differential operation is an operation of totaling a value obtained by multiplying a displacement amount of the AF evaluation value by a predetermined coefficient. 前記平滑微分演算に用いられる係数は平滑微分値を求める時点の前記AF評価値から乖離する度合に応じて大きくなることを特徴とする請求項13乃至17のいずれかに記載の撮像方法。  18. The imaging method according to claim 13, wherein a coefficient used for the smooth differential calculation is increased according to a degree of deviation from the AF evaluation value at the time of obtaining a smooth differential value. 前記平滑微分演算は、以下の式により平滑微分値を求めるものであることを特徴とする請求項13乃至17のいずれかに記載の撮像方法。  The imaging method according to claim 13, wherein the smooth differential operation is to obtain a smooth differential value by the following equation.
Y[0]=Σ[i=0→a](X[i]−X[−i])×bi  Y [0] = Σ [i = 0 → a] (X [i] −X [−i]) × bi
ただし、Y[0]は平滑微分値、iは正数、aは総計範囲、X[i]はAF評価値、biはAF評価値からの乖離度合いに応じて大きくなる加重係数である。  However, Y [0] is a smooth differential value, i is a positive number, a is a total range, X [i] is an AF evaluation value, and bi is a weighting coefficient that increases in accordance with the degree of deviation from the AF evaluation value.
前記自動焦点検出手段が、前記AF評価値を平滑微分演算した結果により決定する焦点位置が、前記撮影レンズの駆動範囲内である場合に、そのAF評価値の取得時の撮影レンズ位置を焦点位置として決定することを特徴とする請求項13乃至18のいずれかに記載の撮像方法。  When the focus position determined by the result of smooth differential calculation of the AF evaluation value is within the driving range of the shooting lens, the automatic focus detection means determines the shooting lens position when the AF evaluation value is acquired as the focus position. The imaging method according to claim 13, wherein the imaging method is determined as follows. 前記自動焦点検出手段が、前記撮影レンズ駆動範囲内のAF評価値を取得した後に平滑微分演算を行い、焦点位置を決定するステップを有することを特徴とする請求項13乃至20のいずれかに記載の撮像方法。  21. The method according to claim 13, further comprising: a step of determining a focal position by performing a smooth differential calculation after the automatic focus detection unit acquires an AF evaluation value within the photographing lens driving range. Imaging method. 前記自動焦点検出手段が、前記撮影レンズが駆動範囲内を移動中に平滑微分演算を行ない、焦点位置を決定するステップをさらに有することを特徴とする請求項13乃至21のいずれかに記載の撮像方法。  The imaging according to any one of claims 13 to 21, further comprising a step in which the automatic focus detection means performs a smooth differential calculation while the photographic lens is moving within a driving range to determine a focal position. Method. 前記自動焦点検出手段が、撮影レンズ移動範囲内で焦点位置を決定できなかった場合、撮影レンズの過焦点位置を焦点位置とするステップをさらに有することを特徴とする請求項13乃至22のいずれかに記載の撮像方法。  23. The method according to claim 13, further comprising a step of setting the hyperfocal position of the photographing lens as the focal position when the automatic focus detection unit cannot determine the focal position within the moving range of the photographing lens. The imaging method described in 1. 前記レンズ移動手段が、前記自動焦点検出手段が決定した焦点位置に撮影レンズを移動させるステップをさらに有することを特徴とする請求項13乃至23のいずれかに記載の撮像方法。  24. The imaging method according to claim 13, further comprising a step of moving the photographic lens to the focal position determined by the automatic focus detection unit.
JP2007208446A 2007-07-05 2007-08-09 Imaging apparatus and imaging method Expired - Fee Related JP4979507B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2007208446A JP4979507B2 (en) 2007-07-05 2007-08-09 Imaging apparatus and imaging method
CN2008101272915A CN101339348B (en) 2007-07-05 2008-07-03 Image sensing apparatus and image sensing method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2007177014 2007-07-05
JP2007177014 2007-07-05
JP2007208446A JP4979507B2 (en) 2007-07-05 2007-08-09 Imaging apparatus and imaging method

Publications (2)

Publication Number Publication Date
JP2009031702A JP2009031702A (en) 2009-02-12
JP4979507B2 true JP4979507B2 (en) 2012-07-18

Family

ID=40213446

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007208446A Expired - Fee Related JP4979507B2 (en) 2007-07-05 2007-08-09 Imaging apparatus and imaging method

Country Status (2)

Country Link
JP (1) JP4979507B2 (en)
CN (1) CN101339348B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5319347B2 (en) 2009-03-17 2013-10-16 キヤノン株式会社 Imaging apparatus and control method thereof
JP5564996B2 (en) * 2009-07-23 2014-08-06 株式会社リコー Imaging apparatus and imaging method
JP2011138103A (en) 2009-12-02 2011-07-14 Ricoh Co Ltd Imaging apparatus and method
CN102096174B (en) * 2009-12-09 2012-09-26 华晶科技股份有限公司 System and method for executing automatic focusing in low-brightness scene
EP2582126A4 (en) * 2010-07-14 2014-08-13 Lg Electronics Inc Autofocus device and a method therefor
CN202102219U (en) * 2010-09-09 2012-01-04 株式会社尼康 Replaceable lens, camera main body and electronic device
CN102445812B (en) * 2010-10-13 2013-10-16 致茂电子(苏州)有限公司 High-speed auto-focusing method
JP5857610B2 (en) 2011-10-13 2016-02-10 株式会社リコー Imaging apparatus and imaging method
EP2799922A4 (en) * 2011-12-27 2015-08-05 Fujifilm Corp Imaging device, control method for imaging device, and control program
CN104853087B (en) * 2015-03-16 2017-12-15 浙江宇视科技有限公司 A kind of identification of spot light scene and focus method
CN105423998A (en) * 2015-11-07 2016-03-23 陕西科技大学 Lens distance measurement device and measurement method thereof
CN111464742B (en) * 2020-04-09 2022-03-22 中山易美杰智能科技有限公司 Imaging system and method capable of continuously photographing without causing motion blur
CN115826189B (en) * 2023-02-15 2023-04-25 深圳时识科技有限公司 Focusing method, device and module of neuromorphic sensor

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3134307B2 (en) * 1990-11-06 2001-02-13 ソニー株式会社 Auto focus circuit
JPH0519161A (en) * 1991-07-15 1993-01-29 Nikon Corp Automatic focusing controller
JPH1184228A (en) * 1997-09-08 1999-03-26 Olympus Optical Co Ltd Automaticfocusing device
JP2003167185A (en) * 2001-11-30 2003-06-13 Konica Corp Image processing method for electronic still camera and the electronic still camera
JP2006145964A (en) * 2004-11-22 2006-06-08 Fuji Photo Film Co Ltd Photographing apparatus

Also Published As

Publication number Publication date
CN101339348B (en) 2010-11-03
CN101339348A (en) 2009-01-07
JP2009031702A (en) 2009-02-12

Similar Documents

Publication Publication Date Title
JP4979507B2 (en) Imaging apparatus and imaging method
JP5564996B2 (en) Imaging apparatus and imaging method
JP5005570B2 (en) Image processing apparatus and program
JP4543602B2 (en) camera
JP2006243101A (en) Imaging device and imaging method
JP2018101055A (en) Focus adjustment device, imaging device and focus adjustment method
US9201211B2 (en) Imaging device and imaging method for autofocusing
JP2018019288A (en) Imaging apparatus, control method therefor and program
JP5857610B2 (en) Imaging apparatus and imaging method
JP4855155B2 (en) Imaging apparatus and imaging method using the same
WO2013094552A1 (en) Imaging device, method for controlling same, and program
WO2013094551A1 (en) Imaging device, method for controlling same, and program
JP2003114378A (en) Camera
JP2012093409A (en) Image-pickup device and image-pickup method
JP2011217334A (en) Imaging apparatus and method of controlling the same
JP6136310B2 (en) Imaging device
JP5884579B2 (en) Imaging apparatus and display processing method
JP6257186B2 (en) Imaging apparatus, imaging method, and program
JP5418553B2 (en) Imaging apparatus and imaging method using the same
JP2006349908A (en) Imaging apparatus and imaging method
JP2015064521A (en) Focus detection device, focus adjustment device, and imaging apparatus
JP2009198817A (en) Imaging apparatus and imaging method
JP2010122515A (en) Imaging apparatus, autofocus control method therefor, and control program
JP2009159238A (en) Automatic focus adjusting apparatus and imaging apparatus
JP2010122410A (en) Imaging apparatus and imaging method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100305

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110427

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110510

RD13 Notification of appointment of power of sub attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7433

Effective date: 20110707

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110708

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110708

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120327

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120417

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150427

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4979507

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees