JP5925107B2 - Camera, camera control program, and camera control method - Google Patents

Camera, camera control program, and camera control method Download PDF

Info

Publication number
JP5925107B2
JP5925107B2 JP2012241548A JP2012241548A JP5925107B2 JP 5925107 B2 JP5925107 B2 JP 5925107B2 JP 2012241548 A JP2012241548 A JP 2012241548A JP 2012241548 A JP2012241548 A JP 2012241548A JP 5925107 B2 JP5925107 B2 JP 5925107B2
Authority
JP
Japan
Prior art keywords
focus
focus detection
selection
detection area
shutter key
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
JP2012241548A
Other languages
Japanese (ja)
Other versions
JP2013054375A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2012241548A priority Critical patent/JP5925107B2/en
Publication of JP2013054375A publication Critical patent/JP2013054375A/en
Application granted granted Critical
Publication of JP5925107B2 publication Critical patent/JP5925107B2/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

本発明は、複数の焦点検出エリアについて焦点検出して自動焦点調節を行うマルチAF(Auto Focus)機能を備えたカメラ、カメラ制御プログラム及びカメラ制御方法に関する。   The present invention relates to a camera, a camera control program, and a camera control method having a multi-AF (Auto Focus) function for performing auto focus adjustment by detecting focus in a plurality of focus detection areas.

従来、焦点検出エリアを変更可能なマルチAF機能を備えたカメラが提案されるに至っている。このカメラは、先ず複数の焦点検出エリアの全てについて、焦点検出(マルチAF)を行って焦点検出エリア毎に焦点検出情報を取得する。次に、これら複数の焦点検出エリアについての焦点検出情報に基づきいずれかの焦点検出エリアを決定し、この決定した検出エリアに対応する焦点検出情報に基づき、フォーカスレンズを駆動して合焦させる。また、決定された焦点検出エリアが、撮影者の意図する被写体と合致しない場合には、撮影者による所定の操作に応じて、焦点検出エリアを変更する。そして、この変更した検出エリアに対応する焦点検出情報に基づき、フォーカスレンズを駆動して合焦させることにより、撮影者の意図する被写体に合焦させることができるとするものである(例えば、特許文献1、特許文献2参照)。   Conventionally, a camera having a multi-AF function capable of changing a focus detection area has been proposed. This camera first performs focus detection (multi-AF) for all of a plurality of focus detection areas to acquire focus detection information for each focus detection area. Next, one of the focus detection areas is determined based on the focus detection information for the plurality of focus detection areas, and the focus lens is driven and focused based on the focus detection information corresponding to the determined detection area. Further, when the determined focus detection area does not match the subject intended by the photographer, the focus detection area is changed according to a predetermined operation by the photographer. Based on the focus detection information corresponding to the changed detection area, the focus lens can be driven and focused to focus on the subject intended by the photographer (for example, a patent) Reference 1 and Patent Reference 2).

特開平7−168083号公報Japanese Patent Laid-Open No. 7-168083 特開2004−53636号公報JP 2004-53636 A

しかしながら、係る従来のカメラにおいては、マルチAFを行って焦点検出エリア毎に焦点検出情報を取得し、これら複数の焦点検出エリアについての焦点検出情報に基づき決定された焦点検出エリアが意図する被写体と合致するか否かを撮影者が判断し、合致しない場合には所定の操作を行うことにより、焦点検出エリアが変更され、変更した所定検出エリアに対応する、前記マルチAFにより既に取得されている焦点検出情報に基づきAFがなされる。したがって、焦点検出を行って焦点検出エリア毎に焦点検出情報を取得した時点から、変更した所定検出エリアに対応する焦点検出情報に基づきAFがなされるまでには、撮影者の判断や操作に起因する相当のタイムラグが不可避的に生ずる。   However, in such a conventional camera, multi-AF is performed to acquire focus detection information for each focus detection area, and the focus detection area determined based on the focus detection information for the plurality of focus detection areas is the intended subject. The photographer determines whether or not they match, and if they do not match, the focus detection area is changed by performing a predetermined operation, and has already been acquired by the multi-AF corresponding to the changed predetermined detection area. AF is performed based on the focus detection information. Therefore, from the time when focus detection is performed and focus detection information is acquired for each focus detection area until AF is performed based on the focus detection information corresponding to the changed predetermined detection area, it is caused by the judgment and operation of the photographer. A considerable time lag occurs inevitably.

一方、撮影者が意図する被写体は静的なものであるとは限らず、動的な場合もある。したがって、意図する被写体が動的なものである場合において前後方向に変化があると、焦点検出エリアが変更されて対応する焦点検出情報に基づきAFがなされても、意図する被写体に合焦させることができないこととなってしまう。   On the other hand, the subject intended by the photographer is not always static and may be dynamic. Therefore, when the intended subject is dynamic, if there is a change in the front-rear direction, the intended subject will be focused even if the focus detection area is changed and AF is performed based on the corresponding focus detection information. Will not be possible.

本発明は、かかる従来の課題に鑑みてなされたものであり、被写体に変化があった場合であっても、意図する被写体に焦点を自動調整することのできるカメラ、カメラ制御プログラム及びカメラ制御方法を提供することを目的とするものである。   The present invention has been made in view of the conventional problems, and a camera, a camera control program, and a camera control method capable of automatically adjusting a focus on an intended subject even when the subject has changed. Is intended to provide.

前記課題を解決するため、請求項1記載の発明に係るカメラにあっては、撮像手段と、シャッターキーと、このシャッターキーに対する撮影指示操作に応答して、前記撮像手段にて撮像されている画像をメモリに記録保存する記録制御手段と、前記撮像手段にて撮像される画像上に設けられている複数の焦点検出エリアのいずれか1つを選択する選択手段と、この選択手段にて選択された焦点検出エリアを、モニタ上に識別可能に表示する表示制御手段と、前記選択手段により選択された焦点検出エリアについて光学系の焦点を検出して焦点情報を取得する焦点検出手段と、前記シャッターキーに対する撮影指示操作がなされた時点で前記選択手段にて選択されている焦点検出エリアの選択履歴を記憶する記憶手段と、この記憶手段に記憶された選択履歴の中で、選択回数の最も多い焦点検出エリアを、前記選択手段が選択する焦点検出エリアとして選択する選択制御手段と、前記選択回数の最も多い焦点検出エリア内の画像が合焦するように、フォーカスレンズを駆動する駆動手段と、を備える。 In order to solve the above-described problem, in the camera according to the first aspect of the present invention, an image is picked up by the image pickup means in response to an image pickup means, a shutter key, and a shooting instruction operation on the shutter key. Recording control means for recording and saving an image in a memory, selection means for selecting any one of a plurality of focus detection areas provided on an image captured by the imaging means, and selection by the selection means Display control means for displaying the detected focus detection area on a monitor in an identifiable manner, focus detection means for detecting focus of the optical system for the focus detection area selected by the selection means, and acquiring focus information; and Storage means for storing a selection history of the focus detection area selected by the selection means at the time when a shooting instruction operation is performed on the shutter key, and stored in the storage means Was in the selection history, the most common focus detection area, the selection control means for pre-Symbol selection means selects as the focus detection area selected, largest image of the focus detection area is focusing of said selected number of selection times And a driving means for driving the focus lens .

また、請求項2記載の発明に係るカメラ制御プログラムにあっては、撮像手段とシャッターキーとを備えたカメラが有するコンピュータを、前記シャッターキーに対する撮影指示操作に応答して、前記撮像手段にて撮像されている画像をメモリに記録保存する記録制御手段と、前記撮像手段にて撮像される画像上に設けられている複数の焦点検出エリアのいずれか1つを選択する選択手段と、この選択手段にて選択された焦点検出エリアを、モニタ上に識別可能に表示する表示制御手段と、前記選択手段により選択された焦点検出エリアについて光学系の焦点を検出して焦点情報を取得する焦点検出手段と、前記シャッターキーに対する撮影指示操作がなされた時点で前記選択手段にて選択されている焦点検出エリアの選択履歴を記憶する記憶手段と、この記憶手段に記憶された選択履歴の中で、選択回数の最も多い焦点検出エリアを、前記選択手段が選択する焦点検出エリアとして選択する選択制御手段と、前記選択回数の最も多い焦点検出エリア内の画像が合焦するように、フォーカスレンズを駆動する駆動手段と、して機能させる。 In the camera control program according to the second aspect of the present invention, a computer having a camera having an imaging unit and a shutter key is used by the imaging unit in response to a shooting instruction operation on the shutter key. Recording control means for recording and saving a captured image in a memory, selection means for selecting any one of a plurality of focus detection areas provided on an image captured by the imaging means, and the selection Display control means for displaying the focus detection area selected by the means in an identifiable manner on the monitor, and focus detection for detecting the focus of the optical system for the focus detection area selected by the selection means and acquiring focus information And a selection history of the focus detection area selected by the selection unit when a shooting instruction operation is performed on the shutter key. And means, in the stored selection history in the storage means, and selection control means for selecting the largest focus detection area selected number, as the focus detection area before Symbol selection means selects the most frequently of the selection frequency It functions as a driving means for driving the focus lens so that the image in the focus detection area is in focus .

また、請求項3記載の発明に係るカメラ制御方法にあっては、撮像手段とシャッターキーとを備えたカメラの制御方法であって、前記シャッターキーに対する撮影指示操作に応答して、前記撮像手段にて撮像されている画像をメモリに記録保存する記録制御工程と、前記撮像手段にて撮像される画像上に設けられている複数の焦点検出エリアのいずれか1つを選択する選択工程と、この選択工程にて選択された焦点検出エリアを、モニタ上に識別可能に表示する表示制御手段と、前記選択手段により選択された焦点検出エリアについて光学系の焦点を検出して焦点情報を取得する焦点検出工程と、前記シャッターキーに対する撮影指示操作がなされた時点で前記選択工程にて選択されている焦点検出エリアの選択履歴を記憶する記憶工程と、この記憶工程で記憶された選択履歴の中で、選択回数の最も多い焦点検出エリアを、前記選択工程が選択する焦点検出エリアとして選択する選択制御工程と、前記選択回数の最も多い焦点検出エリア内の画像が合焦するように、フォーカスレンズを駆動する駆動工程と、を含む。
According to a third aspect of the present invention, there is provided a camera control method comprising: an imaging unit and a shutter key; wherein the imaging unit is responsive to a shooting instruction operation on the shutter key. A recording control step of recording and saving an image captured in memory in a memory; a selection step of selecting any one of a plurality of focus detection areas provided on an image captured by the imaging means; Display control means for displaying the focus detection area selected in this selection step on the monitor in an identifiable manner, and detecting the focus of the optical system for the focus detection area selected by the selection means to acquire focus information. A focus detection step, and a storage step for storing a selection history of a focus detection area selected in the selection step when a shooting instruction operation is performed on the shutter key; Among the stored selection history in the storage step, most often the focus detection area, the selection control step of pre-Symbol selection step selects a focus detection area selected, most often the focus detection area of said selected number of selection times And a driving step of driving the focus lens so that the inner image is in focus .

以上のように本発明によれば、被写体に変化があった場合であっても、意図する被写体に焦点を自動調整することが可能となる。 As described above , according to the present invention, it is possible to automatically adjust the focus on the intended subject even when the subject has changed .

本発明の一実施の形態に係るデジタルカメラの電気的構成を示すブロック図である。It is a block diagram which shows the electric constitution of the digital camera which concerns on one embodiment of this invention. (A)はピント枠[1]〜[5]を示す図、(B)は液晶モニタの表示例を示す図、(C)はピント枠[1]〜[5]毎のAF評価値の一例を示す図である。(A) is a diagram showing focus frames [1] to [5], (B) is a diagram showing a display example of a liquid crystal monitor, and (C) is an example of an AF evaluation value for each of the focus frames [1] to [5]. FIG. 本発明の第1の実施の形態の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the 1st Embodiment of this invention. 本発明の第2の実施の形態の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the 2nd Embodiment of this invention. 本発明の第2の実施の形態の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the 2nd Embodiment of this invention. 本発明の第2の実施の形態の変形例における処理手順を示すフローチャートである。It is a flowchart which shows the process sequence in the modification of the 2nd Embodiment of this invention. 本発明の第3の実施の形態の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the 3rd Embodiment of this invention.

(第1の実施の形態)   (First embodiment)

以下、本発明の一実施の形態を図に従って説明する。図1は、本発明の一実施の形態を適用したデジタルカメラ10の回路構成を示すブロック図であり、このデジタルカメラ10は、後述するマルチAF機能とともにAE、AWB等の一般的な機能をも有するものである。すなわち、レンズブロック11には、ズームレンズ、フォーカスレンズ等の光学系、及び光学系を駆動するための駆動機構が含まれており、前記光学系は、駆動機構に設けられているモーター12によって光軸方向に駆動される。なお、本実施の形態において、前記AFは、フォーカスレンズを光軸方向に移動させながら、各位置で撮像した画像のAF評価値(コントラスト値)を検出し、AF評価値のピーク位置を合焦位置とするコントラスト検出方式である。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a circuit configuration of a digital camera 10 to which an embodiment of the present invention is applied. This digital camera 10 has general functions such as AE and AWB as well as a multi-AF function described later. It is what you have. That is, the lens block 11 includes an optical system such as a zoom lens and a focus lens, and a drive mechanism for driving the optical system. The optical system is optically driven by a motor 12 provided in the drive mechanism. Driven in the axial direction. In the present embodiment, the AF detects the AF evaluation value (contrast value) of the image captured at each position while moving the focus lens in the optical axis direction, and focuses the peak position of the AF evaluation value. This is a contrast detection method for position.

デジタルカメラ10全体を制御するCPU13には、バス14及びタイミング発生器(TG:Timing Generator)15を介してモータードライバ16が接続されており、モータードライバ16は、CPU13の命令に従いタイミング発生器15が発生するタイミング信号に基づき、モーター12を駆動する。なお、ストロボ17もタイミング発生器15が発生するタイミング信号により駆動される。   A motor driver 16 is connected to a CPU 13 that controls the entire digital camera 10 via a bus 14 and a timing generator (TG) 15. The motor driver 16 is connected to a timing generator 15 according to a command from the CPU 13. The motor 12 is driven based on the generated timing signal. The strobe 17 is also driven by a timing signal generated by the timing generator 15.

また、このデジタルカメラ10は撮像素子としてCCD18を有している。CCD18は、レンズブロック11の光軸上に配置されており、被写体は、レンズブロック11によってCCD18の受光面に結像される。CCD18は、CPU13の命令に従いタイミング発生器15が生成するタイミング信号に基づき垂直及び水平ドライバ19によって駆動され、被写体の光学像に応じたアナログの撮像信号をユニット回路20に出力する。ユニット回路20は、CCD18の出力信号に含まれるノイズを相関二重サンプリングによって除去するCDS回路や、ノイズが除去された撮像信号をデジタル信号に変換するA/D変換器等から構成され、デジタルに変換した撮像信号を画像処理部21へ出力する。   The digital camera 10 has a CCD 18 as an image sensor. The CCD 18 is disposed on the optical axis of the lens block 11, and the subject is imaged on the light receiving surface of the CCD 18 by the lens block 11. The CCD 18 is driven by a vertical and horizontal driver 19 based on a timing signal generated by the timing generator 15 in accordance with a command from the CPU 13, and outputs an analog imaging signal corresponding to the optical image of the subject to the unit circuit 20. The unit circuit 20 includes a CDS circuit that removes noise included in the output signal of the CCD 18 by correlated double sampling, an A / D converter that converts an imaging signal from which noise has been removed into a digital signal, and the like. The converted imaging signal is output to the image processing unit 21.

画像処理部21は、入力した撮像信号に対しペデスタルクランプ等の処理を施し、それを輝度(Y)信号及び色差(UV)信号に変換するとともに、オートホワイトバランス、輪郭強調、画素補間などの画品質向上のためのデジタル信号処理を行う。画像処理部21で変換されたYUVデータは順次SDRAM22に格納されるとともに、RECスルー・モードでは1フレーム分のデータ(画像データ)が蓄積される毎にビデオ信号に変換され、バックライト(BL)24を備える液晶モニタ(LCD)23へ送られてスルー画像として画面表示される。   The image processing unit 21 performs processing such as pedestal clamping on the input image pickup signal, converts it into a luminance (Y) signal and a color difference (UV) signal, and performs image processing such as auto white balance, contour enhancement, and pixel interpolation. Perform digital signal processing to improve quality. The YUV data converted by the image processing unit 21 is sequentially stored in the SDRAM 22 and, in the REC through mode, is converted into a video signal every time one frame of data (image data) is accumulated, and the backlight (BL) The image is sent to a liquid crystal monitor (LCD) 23 having 24 and displayed on the screen as a through image.

そして、静止画撮影モードにおいては、シャッターキー操作をトリガとして、CPU13は、CCD18、垂直及び水平ドライバ19、ユニット回路20、及び画像処理部21に対してスルー画撮影モード(RECスルー・モード)から静止画撮影モードへの切り替えを指示し、この静止画撮影モードによる撮影処理により得られ、SDRAM22に一時記憶された画像データは、CPU13により圧縮され、最終的には所定のフォーマットの静止画ファイルとして外部メモリ25に記録される。また、ムービー録画モードにおいては、1回目のシャッターキーと2回目のシャッターキー操作との間に、SDRAM22に順次記憶される複数の画像データがCPU13により順次圧縮され、動画ファイルとして外部メモリ25に記録される。この外部メモリ25に記録された静止画ファイル及び動画ファイルは、PLAY・モードにおいてユーザーの選択操作に応じてCPU13に読み出されるとともに伸張され、YUVデータとしてSDRAM22に展開された後、液晶モニタ23に表示される。   In the still image shooting mode, with the shutter key operation as a trigger, the CPU 13 starts from the through image shooting mode (REC through mode) to the CCD 18, the vertical and horizontal drivers 19, the unit circuit 20, and the image processing unit 21. The switching to the still image shooting mode is instructed, and the image data obtained by the shooting process in the still image shooting mode and temporarily stored in the SDRAM 22 is compressed by the CPU 13 and finally as a still image file of a predetermined format. Recorded in the external memory 25. In the movie recording mode, a plurality of image data sequentially stored in the SDRAM 22 is sequentially compressed by the CPU 13 between the first shutter key operation and the second shutter key operation, and recorded in the external memory 25 as a moving image file. Is done. The still image file and the moving image file recorded in the external memory 25 are read out and expanded by the CPU 13 in accordance with the user's selection operation in the PLAY mode, and expanded on the SDRAM 22 as YUV data, and then displayed on the liquid crystal monitor 23. Is done.

フラッシュメモリ26には、CPU13に前記各部を制御させるための各種のプログラム、例えばAE、AF、AWB制御用のプログラムや、データ通信用プログラム、さらには、CPU13を本発明の選択手段、光学系制御手段、撮影指示検出手段、再動作制御手段等として機能させるためのプログラム等の各種のプログラムが格納されている。   In the flash memory 26, various programs for causing the CPU 13 to control the respective units, for example, a program for controlling AE, AF, and AWB, a program for data communication, and further, the CPU 13 controls the selecting means and the optical system of the present invention. Various programs such as programs for functioning as means, photographing instruction detection means, reoperation control means, and the like are stored.

また、デジタルカメラ10は、電源スイッチ、モード選択キー、シャッターキー、ズームキー、後述するピント枠を手動選択するためのピント枠選択キー等の複数の操作キー及びスイッチを含むキー入力部27、ニッケル水素電池等の充電可能なバッテリー28、このバッテリー28の電力を各部に供給するための電源制御回路29、及びこれらを制御するマイコン30を有している。マイコン30は、キー入力部27における前記操作キーの操作の有無を定常的にスキャンしており、ユーザーによっていずれかの操作キーが操作されると、その操作内容に応じた操作信号をCPU13へ送る。なお、シャッターキーは、半押しと全押しとが可能な所謂ハーフシャッター機能を有するものである。   In addition, the digital camera 10 includes a key input unit 27 including a plurality of operation keys and switches such as a power switch, a mode selection key, a shutter key, a zoom key, and a focus frame selection key for manually selecting a focus frame, which will be described later. A rechargeable battery 28 such as a battery, a power supply control circuit 29 for supplying power of the battery 28 to each unit, and a microcomputer 30 for controlling them are provided. The microcomputer 30 constantly scans the key input unit 27 for operation of the operation key, and when a user operates any operation key, sends an operation signal corresponding to the operation content to the CPU 13. . The shutter key has a so-called half shutter function that can be half-pressed and fully pressed.

また、このデジタルカメラ10は、前記ムービー録画モードにおいて、周囲音を記録する録音機能を備えており、CPU13には、音声処理回路を有する音声チップ32を介して、スピーカ(SP)33と、マイクロホン(MIC)34とが接続されている。音声チップ32は、ムービー録画モード時には、マイクロホン34から入力された音声波形を処理して、音声波形データをCPU13に入力する。そして、CPU13は、ムービー録画モードにおいて1回目と2回目のシャッターキー操作間に、音声チップ32から入力された音声波形データを圧縮し、この圧縮周囲音データと圧縮動画データとを含む音声付き動画ファイルを生成して外部メモリ25に記録する。この外部メモリ25に記録された音声付き動画ファイルは、PLAY・モードにおいて動画データが再生される際に、周囲音データが音声チップ32で音声波形に変換されてスピーカ33により再生される。   The digital camera 10 has a recording function for recording ambient sounds in the movie recording mode. The CPU 13 has a speaker (SP) 33 and a microphone via an audio chip 32 having an audio processing circuit. (MIC) 34 is connected. In the movie recording mode, the audio chip 32 processes the audio waveform input from the microphone 34 and inputs the audio waveform data to the CPU 13. Then, the CPU 13 compresses the audio waveform data input from the audio chip 32 between the first and second shutter key operations in the movie recording mode, and the moving image with sound including the compressed ambient sound data and the compressed moving image data. A file is generated and recorded in the external memory 25. The moving image file with sound recorded in the external memory 25 is reproduced by the speaker 33 after the surrounding sound data is converted into a sound waveform by the sound chip 32 when the moving image data is reproduced in the PLAY mode.

以上の構成に係るデジタルカメラ10は、図2(A)に示すように、レンズブロック11によってCCD18の受光面に結像され液晶モニタ23に表示される被写体像において、ピント枠[1]〜[5]で表される5ポイントのマルチAFを行うものである。したがって、電源オンの状態で静止画撮影モードが設定されかつマルチAFモードが設定されていると、CPU13の処理により、液晶モニタ23には同図に示したピント枠[1]〜[5]が所定の通常色(例えば緑)で表示される。   As shown in FIG. 2A, the digital camera 10 having the above configuration forms a focus frame [1] to [1] in the subject image that is imaged on the light receiving surface of the CCD 18 by the lens block 11 and displayed on the liquid crystal monitor 23. 5] is performed. Therefore, when the still image shooting mode is set and the multi AF mode is set with the power on, the focus frame [1] to [5] shown in FIG. It is displayed in a predetermined normal color (for example, green).

この状態において、CPU13は前記フラッシュメモリ26に格納されているプログラムに基づき、図3のフローチャートに示すような処理を実行する。スルー画撮影モードが設定されている撮影待機状態において、先ずスルー画像表示処理を開始し(ステップS101)、液晶モニタ23にスルー画像を表示させる。次に、シャッターキーが半押しされたか否かを判断し(ステップS102)、シャッターキーが半押しされるまで待機する。シャッターキーが半押しされたならば、前回のシャッターキーの解除から2秒以内であるか否かを判断する(ステップS103)。2秒以内でない場合には、ステップS104の処理を行うことなく、ステップS105に進みマルチAF処理を実行する。   In this state, the CPU 13 executes processing as shown in the flowchart of FIG. 3 based on the program stored in the flash memory 26. In the shooting standby state in which the through image shooting mode is set, first, a through image display process is started (step S101), and a through image is displayed on the liquid crystal monitor 23. Next, it is determined whether or not the shutter key is half-pressed (step S102), and the process waits until the shutter key is half-pressed. If the shutter key is half-pressed, it is determined whether it is within 2 seconds from the previous release of the shutter key (step S103). If it is not within 2 seconds, the process proceeds to step S105 without executing the process of step S104, and the multi-AF process is executed.

すなわち、フォーカスレンズを近端(最短撮影距離)に位置させてピント枠[1]〜[5]毎に画像のAF評価値(コントラスト値)を検出する。引き続き、フォーカスレンズを遠端(∞)側に1ステップ移動させて、同様にピント枠[1]〜[5]毎に画像のAF評価値(コントラスト値)を検出する。以上の処理をフォーカスレンズの近端から遠端まで、本実施の形態においてはフォーカスレンズのステップ1から6までの各移動位置で行う。そして、これらピント枠[1]〜[5]の各ステップ1〜6の評価値をSDRAM22に記憶する。したがって、例えば図2(B)に示すような被写体が結像されて液晶モニタ23に表示されているとすると、SDRAM22には、同図(C)に示すようなピント枠[1]〜[5]毎の評価値がフォーカスレンズの移動ステップとの関係において記憶される。   That is, the AF evaluation value (contrast value) of the image is detected for each of the focus frames [1] to [5] with the focus lens positioned at the near end (shortest shooting distance). Subsequently, the focus lens is moved one step toward the far end (∞) side, and the AF evaluation value (contrast value) of the image is similarly detected for each of the focus frames [1] to [5]. The above processing is performed from the near end to the far end of the focus lens, and in this embodiment, at each movement position from step 1 to step 6 of the focus lens. Then, the evaluation values of steps 1 to 6 of the focus frames [1] to [5] are stored in the SDRAM 22. Therefore, for example, if a subject as shown in FIG. 2B is imaged and displayed on the liquid crystal monitor 23, the SDRAM 22 has focus frames [1] to [5] as shown in FIG. Each evaluation value is stored in relation to the focus lens moving step.

次に、ピント枠選択表示・AF処理を実行する(ステップS106)。すなわち、ピント枠[1]〜[5]のいずれか、例えば被写体までの距離が最も短いピント枠、すなわちAF評価値のピーク値が最も近側にあるピント枠を選択し、この選択したピント枠を前記通常色(緑)とは異なる色に変化させる。また、この選択したピント枠内の画像が合焦するように、選択したピント枠においてピーク値が検出されたレンズ位置にフォーカスレンズを駆動する。したがって、図2に示した例の場合、レンズのステップ1付近がピークであるピント枠[4]が選択されて、異なる色に変化し、このピント枠[4]内の画像が合焦するように、フォーカスレンズが駆動される。   Next, focus frame selection display / AF processing is executed (step S106). That is, one of the focus frames [1] to [5], for example, the focus frame with the shortest distance to the subject, that is, the focus frame with the closest AF evaluation value peak value is selected, and the selected focus frame. Is changed to a color different from the normal color (green). Further, the focus lens is driven to the lens position where the peak value is detected in the selected focus frame so that the image in the selected focus frame is in focus. Therefore, in the example shown in FIG. 2, the focus frame [4] having a peak near Step 1 of the lens is selected and changed to a different color so that the image in the focus frame [4] is focused. In addition, the focus lens is driven.

引き続き、ステップS107とS108のループを繰り返すことにより、シャッターキーが全押しされたか否か(ステップS107)、あるいはシャッターキーの半押し操作が解除されたか否かを判断する(ステップS108)。このとき、撮影者は前記液晶モニタ23で表示色が変化したピント枠と被写体との関係を確認し、ピントの位置がこのピント枠でよければ、つまり図2(B)に示した「花」にピントを合わせて撮影したのであれば、シャッターキーを全押しする。これにより、ステップS107の判断がYESとなり、このステップS107からステップS109に進んでキャプチャー処理に移行する。つまり、前述のようにCPU13は、シャッターキーの全押しをトリガとして、CCD18、垂直及び水平ドライバ19、ユニット回路20、及び画像処理部21に対してスルー画撮影モードから静止画撮影モードへの切り替えを指示し、この静止画撮影モードによる撮影処理により得られ、SDRAM22に一時記憶された画像データを圧縮して、最終的には所定のフォーマットの静止画ファイルとして外部メモリ25に記録する。   Subsequently, by repeating the loop of steps S107 and S108, it is determined whether or not the shutter key is fully pressed (step S107) or whether or not the half-press operation of the shutter key is released (step S108). At this time, the photographer confirms the relationship between the focus frame whose display color has changed and the subject on the liquid crystal monitor 23, and if the focus position is the focus frame, that is, “flower” shown in FIG. If you have taken a picture in focus, press the shutter key fully. As a result, the determination in step S107 becomes YES, and the process proceeds from step S107 to step S109 to shift to the capture process. That is, as described above, the CPU 13 switches from the through image shooting mode to the still image shooting mode for the CCD 18, the vertical and horizontal drivers 19, the unit circuit 20, and the image processing unit 21 with the full press of the shutter key as a trigger. The image data obtained by the photographing process in the still image photographing mode and temporarily stored in the SDRAM 22 is compressed and finally recorded in the external memory 25 as a still image file of a predetermined format.

しかし、撮影者が意図するピント位置が他のピント枠内の被写体であった場合(例えば、「花」ではなく「人物」であった場合)には、一度シャッターキーの半押し操作を解除し、2秒以内に再度シャッターキーを半押しする。すると、ステップS108の判断がYESとなって、ステップS102に戻った後、該ステップS102の判断及びステップS103の判断が共にYESとなり、ステップS103からステップS104に進む。   However, if the focus position intended by the photographer is a subject within another focus frame (for example, “person” instead of “flower”), release the shutter key halfway once. Press the shutter key halfway again within 2 seconds. Then, after the determination in step S108 is YES and the process returns to step S102, both the determination in step S102 and the determination in step S103 are YES, and the process proceeds from step S103 to step S104.

そして、前回までの選択ピント枠、つまり前回までにステップS106で選択されたピント枠を削除し、液晶モニタ23から消去する(ステップS104)。また、この削除したピント枠を除く、残存したピント枠に対して、前記マルチAFを実行する(ステップS105)。したがって、前回ステップS105でマルチAFが実行された後、再度このステップS104でマルチAFが実行されるまでに、被写体に前後方向の変化があっても、再度マルチAFが実行されることにより、変化があった被写体に対して(残存した)ピント枠で合焦した画像を撮影することが可能となる。   Then, the selected focus frame up to the previous time, that is, the focus frame selected in step S106 until the previous time is deleted and deleted from the liquid crystal monitor 23 (step S104). Further, the multi-AF is performed on the remaining focus frame excluding the deleted focus frame (step S105). Therefore, after the multi AF is executed in the previous step S105 and before the multi AF is executed again in this step S104, even if the subject has a change in the front-rear direction, the change is caused by executing the multi AF again. It is possible to shoot an image focused on the (existing) focus frame with respect to the subject where there was.

また、ステップS106では、残存しているピント枠[1]〜[5]のいずれか、被写体までの距離が最も短いピント枠を選択し、この選択したピント枠を前記通常色(緑)とは異なる色に変化させ、以下前述と同様の処理を実行する。   In step S106, one of the remaining focus frames [1] to [5], the focus frame having the shortest distance to the subject is selected, and the selected focus frame is defined as the normal color (green). The color is changed to a different color, and the same processing as described above is executed.

なお、この実施の形態においては、前回のシャッターキーの半押し操作の解除から2秒以内にシャッターキーを半押しすると、ステップS103の判断がYESとなって、ステップS104の処理が実行されることから、全てのピント枠が削除されてしまう場合が生ずる。したがって、この場合にはステップS105で再度全てのピント枠についてマルチAFを行うとともに、液晶モニタ23にも全てのピント枠[1]〜[5]を表示する。   In this embodiment, if the shutter key is half-pressed within 2 seconds from the release of the previous half-press operation of the shutter key, the determination in step S103 is YES and the process in step S104 is executed. Therefore, there are cases where all the focus frames are deleted. Therefore, in this case, multi-AF is again performed for all the focus frames in step S105, and all the focus frames [1] to [5] are also displayed on the liquid crystal monitor 23.

また、この実施の形態においては、ステップS104で前回までの選択ピント枠を削除するようにしたが、削除することなく全てのピント枠[1]〜[5]についてステップS105でマルチAFを行い、ステップS106で前回までとは異なる規準でのピント枠の選択、例えば1回目は最も近距離の被写体に対応するピント枠を選択し、2回目以降は順次遠距離の被写体に対応するピント枠を選択するようにしてもよい。   In this embodiment, the selected focus frame up to the previous time is deleted in step S104, but multi-AF is performed in step S105 for all the focus frames [1] to [5] without deleting them. In step S106, the focus frame is selected based on a different standard from the previous time. For example, the focus frame corresponding to the object at the shortest distance is selected for the first time, and the focus frame corresponding to the object at long distance is selected for the second time and thereafter. You may make it do.

また、本実施の形態においては、シャッターキー半押し解除から2秒以内に再度シャッターキーが半押しされた場合に、前回までの選択ピント枠を削除しマルチAFを再度行うようにしたが、単に所定のキー操作に応答して、前回までの選択ピント枠を削除しマルチAFを再度行うようにしてもよい。また、マルチAF(ステップS105)を再度行うことなく、前述した従来技術と同様に予め行ったマルチAFによる情報に基づき、ピント枠を選択し直してAFを行うようにしてもよい。   In this embodiment, when the shutter key is pressed halfway again within 2 seconds from the release of the shutter key halfway, the selection focus frame up to the previous time is deleted and multi-AF is performed again. In response to a predetermined key operation, the previously selected focus frame may be deleted and multi-AF may be performed again. In addition, AF may be performed by reselecting the focus frame based on the information by the multi AF performed in advance similarly to the above-described prior art without performing the multi AF (step S105) again.

(第2の実施の形態)   (Second Embodiment)

図4及び図5は、本発明の第2の実施の形態における処理手順を示すフローチャートである。この実施の形態は、撮影に使用されたピント枠の使用回数をフラッシュメモリ26に記憶しておき、使用回数に基づきピント枠を自動選択するようにしたものである。すなわち、予めキー入力部27にてピント枠の手動選択モードが設定されている場合には、図4に示すフローチャートに示す処理を実行する。先ずスルー画像表示処理を開始し(ステップS201)、液晶モニタ23にスルー画像を表示させる。次に、このスルー画像が表示された液晶モニタ23に全てのピント枠[1]〜[5]を表示する(ステップS202)。そして、キー入力部27での操作によりいずれかのピント枠が選択されたか否かを判断し(ステップS203)、選択されるまで待機する。いずれかのピント枠が選択されたならば、選択されなかった非選択ピント枠を液晶モニタ23から消去して、選択されたピント枠のみを残存させる(ステップS204)。   4 and 5 are flowcharts showing a processing procedure in the second embodiment of the present invention. In this embodiment, the number of times the focus frame used for photographing is stored in the flash memory 26, and the focus frame is automatically selected based on the number of times used. That is, when the focus frame manual selection mode is previously set in the key input unit 27, the processing shown in the flowchart shown in FIG. 4 is executed. First, a through image display process is started (step S201), and a through image is displayed on the liquid crystal monitor 23. Next, all the focus frames [1] to [5] are displayed on the liquid crystal monitor 23 on which the through image is displayed (step S202). Then, it is determined whether or not any focus frame has been selected by the operation of the key input unit 27 (step S203), and waits until it is selected. If any one of the focus frames is selected, the non-selected focus frame that has not been selected is deleted from the liquid crystal monitor 23, and only the selected focus frame remains (step S204).

次に、シャッターキーが半押しされたか否かを判断し(ステップS205)、シャッターキーが半押しされるまで待機する。シャッターキーが半押しされたならば、コントラストAF処理を実行して、表示されているピント枠内の画像が合焦するように、フォーカスレンズを駆動する(ステップS206)。引き続き、ステップS207とS208のループを繰り返すことにより、シャッターキーが全押しされたか否か(ステップS207)、あるいはシャッターキーの半押し操作が解除されたか否かを判断する(ステップS208)。このとき、撮影者は前記液晶モニタ23に唯一表示されているピント枠と被写体との関係を確認し、ピントの位置がこのピント枠でよければ、シャッターキーを全押しする。これにより、ステップS207の判断がYESとなり、フラッシュメモリ26において、シャッターキーが全押しされた際に選択されていたピント枠のカウント値をカウントアップさせる(ステップS209)。しかる後に、キャプチャー処理に移行する(ステップS210)。   Next, it is determined whether or not the shutter key is half-pressed (step S205), and the process waits until the shutter key is half-pressed. If the shutter key is half-pressed, contrast AF processing is executed, and the focus lens is driven so that the displayed image within the focus frame is in focus (step S206). Subsequently, by repeating the loop of steps S207 and S208, it is determined whether or not the shutter key is fully pressed (step S207) or whether or not the half-press operation of the shutter key is released (step S208). At this time, the photographer confirms the relationship between the focus frame that is displayed only on the liquid crystal monitor 23 and the subject, and if the focus position is within this focus frame, fully presses the shutter key. As a result, the determination in step S207 is YES, and the count value of the focus frame selected when the shutter key is fully pressed is incremented in the flash memory 26 (step S209). Thereafter, the process proceeds to the capture process (step S210).

なお、撮影者が意図するピント位置が他のピント枠内の被写体であった場合には、一度シャッターキーの半押し操作を解除する。すると、ステップS208の判断がYESとなって、ステップS202に戻る。   If the focus position intended by the photographer is a subject in another focus frame, the shutter key half-press operation is once released. Then, the determination in step S208 is YES, and the process returns to step S202.

他方、予めキー入力部27にてマルチAFモードが設定されている場合には、図5に示すフローチャートに示す処理を実行する。すなわち、スルー画像表示処理を開始し(ステップS301)、液晶モニタ23にスルー画像を表示させる。次に、シャッターキーが半押しされたか否かを判断し(ステップS302)、シャッターキーが半押しされるまで待機する。シャッターキーが半押しされたならば、前回のシャッターキーの半押し操作の解除から2秒以内であるか否かを判断する(ステップS303)。2秒以内でない場合には、前記フラッシュメモリ26に記憶されているピント枠[1]〜[5]の各使用回数に基づき、所定の選択回数を超えたピント枠があるか否かを判断し(ステップS304)、ない場合には後述するステップS308に進む。   On the other hand, when the multi-AF mode is previously set in the key input unit 27, the processing shown in the flowchart shown in FIG. 5 is executed. That is, through image display processing is started (step S301), and a through image is displayed on the liquid crystal monitor 23. Next, it is determined whether or not the shutter key is half-pressed (step S302), and the process waits until the shutter key is half-pressed. If the shutter key is half-pressed, it is determined whether it is within 2 seconds from the release of the previous half-press operation of the shutter key (step S303). If it is not within 2 seconds, it is determined whether there is a focus frame that exceeds a predetermined number of selections based on the number of times of use of the focus frames [1] to [5] stored in the flash memory 26. (Step S304), if not, the process proceeds to Step S308 described later.

また、所定の使用回数を超えたピント枠がある場合には、その中で選択回数が最も多いピント枠を選択して、液晶モニタ23に表示する(ステップS305)。そして、表示されているピント枠内の画像が合焦するように、フォーカスレンズを駆動する(ステップS306)。引き続き、ステップS310とS311のループを繰り返すことにより、シャッターキーが全押しされたか否か(ステップS310)、あるいはシャッターキーの半押し操作が解除されたか否かを判断する(ステップS311)。このとき、撮影者は前記液晶モニタ23に表示されているピント枠と被写体との関係を確認し、ピントの位置がこのピント枠でよければ、シャッターキーを全押しする。これにより、ステップS310の判断がYESとなり、このステップS310からステップS312に進み、フラッシュメモリ26において、シャッターキーが全押しされた際に選択されていたピント枠のカウント値をカウントアップさせる(ステップS312)。しかる後に、キャプチャー処理に移行する(ステップS313)。   If there is a focus frame exceeding the predetermined number of times of use, the focus frame having the largest number of selections is selected and displayed on the liquid crystal monitor 23 (step S305). Then, the focus lens is driven so that the image within the displayed focus frame is in focus (step S306). Subsequently, the loop of steps S310 and S311 is repeated to determine whether or not the shutter key is fully pressed (step S310) or whether or not the half-press operation of the shutter key is released (step S311). At this time, the photographer confirms the relationship between the focus frame displayed on the liquid crystal monitor 23 and the subject. If the focus position is within this focus frame, the photographer fully presses the shutter key. As a result, the determination in step S310 becomes YES, and the process proceeds from step S310 to step S312. In the flash memory 26, the count value of the focus frame selected when the shutter key is fully pressed is counted up (step S312). ). Thereafter, the process proceeds to the capture process (step S313).

しかし、撮影者が意図するピント位置が他のピント枠内の被写体であった場合には、一度シャッターキーの半押し操作を解除し、2秒以内に再度シャッターキーを半押しする。すると、ステップS311の判断がYESとなって、ステップS302に戻った後、該ステップS302の判断及びステップS303の判断が共にYESとなり、ステップS303からステップS307に進む。   However, when the focus position intended by the photographer is the subject in another focus frame, the half-press operation of the shutter key is once released, and the shutter key is pressed halfway again within 2 seconds. Then, after the determination in step S311 is YES and the process returns to step S302, both the determination in step S302 and the determination in step S303 are YES, and the process proceeds from step S303 to step S307.

そして、前回までの選択ピント枠、つまり前回までにステップS305又は後述するステップS309で選択されたピント枠を削除し、削除したピント枠を除く残存のピント枠を液晶モニタ23に表示する(ステップS307)。また、この削除したピント枠を除く、残存したピント枠に対して、前記マルチAFを実行する(ステップS308)。また、ステップS309では、残存しているピント枠[1]〜[5]のいずれか、被写体までの距離が最も短いピント枠を選択し、この選択したピント枠を前記通常色(緑)とは異なる色に変化させ、この選択したピント枠内の画像が合焦するように、選択したピント枠においてピーク値が検出されたレンズ位置にフォーカスレンズを駆動し、以下前述と同様の処理を実行する。   Then, the selected focus frame up to the previous time, that is, the focus frame selected in step S305 or step S309 described later is deleted, and the remaining focus frames excluding the deleted focus frame are displayed on the liquid crystal monitor 23 (step S307). ). Further, the multi-AF is performed on the remaining focus frames excluding the deleted focus frame (step S308). In step S309, one of the remaining focus frames [1] to [5], the focus frame having the shortest distance to the subject is selected, and the selected focus frame is defined as the normal color (green). The focus lens is driven to the lens position where the peak value is detected in the selected focus frame so that the image in the selected focus frame is in focus, and the same processing as described above is executed. .

なお、本実施の形態においては、フラッシュメモリ26に自動的に選択されたピント枠の使用回数と手動選択されたピント枠の使用回数とを識別することなくカウントして記憶するようにしたが、両者を個別にカウントして記憶し、いずれか一方のカウント値に基づき、ピント枠を自動選択するようにしてもよい。また、前記マルチAFにより自動的に選択されたピント枠の使用回数のみを記憶して、これに基づきピント枠を自動選択するようにしたり、あるいは手動選択されたピント枠の使用回数のみを記憶して、これに基づきピント枠を自動選択するようにしてもよい。   In the present embodiment, the flash memory 26 counts and stores the automatically selected focus frame use count and the manually selected focus frame use count without identifying them. Both may be counted separately and stored, and the focus frame may be automatically selected based on one of the count values. Also, only the number of times of use of the focus frame automatically selected by the multi-AF is stored, and the focus frame is automatically selected based on this, or only the number of times of use of the manually selected focus frame is stored. Based on this, the focus frame may be automatically selected.

また、本実施の形態においては、ステップS304で所定回数を超えたピント枠があるか否かを判断した後、選択回数の最も多いピント枠を選択するようにしたが、前記判断を行うことなく、選択回数の最も多いピント枠を選択するようにしてもよい。また、この実施の形態においては、前述のように所定回数を超えたピント枠があるか否か、つまり選択回数の絶対値を判断するようにしたが、例えば最も選択回数の少ないピント枠と最も選択回数の多いピント枠との差が所定以上であるか否か等の、相対値を用いて判断を行うようにしてもよい。   Further, in this embodiment, after determining whether or not there is a focus frame exceeding the predetermined number in step S304, the focus frame having the largest number of selections is selected, but without making the above determination. The focus frame with the largest number of selections may be selected. In this embodiment, as described above, it is determined whether or not there is a focus frame exceeding a predetermined number of times, that is, the absolute value of the number of selections is determined. You may make it judge using relative values, such as whether the difference with the focus frame with many selections is more than predetermined.

また、本実施の形態においては、前述した実施の形態と同様に、ステップS309では、残存しているピント枠[1]〜[5]のいずれか、被写体までの距離が最も短いピント枠を選択するようにしたが、選択回数の多いピント枠を順次選択するようにしてもよい。   In the present embodiment, as in the above-described embodiment, in step S309, one of the remaining focus frames [1] to [5], which is the shortest distance to the subject, is selected. However, a focus frame having a large number of selections may be sequentially selected.

また、本実施の形態においても、シャッターキーの半押し解除から2秒以内に再度シャッターキーが半押しされた場合に、前回までの選択ピント枠を削除しマルチAFを再度行うようにしたが、単に所定のキー操作に応答して、前回までの選択ピント枠を削除しマルチAFを再度行うようにしてもよい。また、マルチAF(ステップS308)を再度行うことなく、前述した従来技術と同様に予め行ったマルチAFによる情報に基づき、ピント枠を選択し直してAFを行うようにしてもよい。   Also in this embodiment, when the shutter key is pressed halfway again within 2 seconds after the shutter key is half pressed, the selection focus frame up to the previous time is deleted and multi AF is performed again. Alternatively, in response to a predetermined key operation, the previously selected focus frame may be deleted and multi-AF may be performed again. Alternatively, AF may be performed by reselecting a focus frame based on information obtained by using multi AF performed in advance in the same manner as the above-described conventional technique without performing multi AF (step S308) again.

また、本実施の形態においては、焦点検出エリアの選択履歴として、選択回数を記憶する場合を示したが、これに限ることなく、例えば選択日時とともに選択された焦点検出エリアを記憶しておき、最近の選択頻度に基づき焦点検出エリアを選択する等、選択履歴やその基準は如何なる構成であってもよい。   In the present embodiment, the case where the number of times of selection is stored as the selection history of the focus detection area has been shown. The selection history and its criteria may be of any configuration, such as selecting a focus detection area based on the recent selection frequency.

(第2の実施の形態の変形例)   (Modification of the second embodiment)

図6は、本発明の第2の実施の形態の変形例における処理手順を示すフローチャートである。このフローチャートにおいて、ステップS405を除く他のステップS401〜S404、S406〜S414は、前述した図5に示すフローチャートのステップS301〜S313と同一である。そして、唯一異なるステップS405においては、フラッシュメモリ26に記憶されているピント枠[1]〜[5]の各使用回数に基づき、使用回数が最も少ないピント枠を削除し、削除したピント枠を除く残存のピント枠を液晶モニタ23に表示する。したがって、この変形例によれば、使用回数が所定回数を超えたピント枠がある場合(ステップS404;YES)には、その後ステップS409において、使用回数が最も少ないピント枠を除き、前述したマルチAFが実行されることとなる。しかし、使用回数が所定回数を超えたピント枠がない場合(ステップS405;NO)には、使用回数が最も少ないピント枠であっても除かれることなく、残存したピント枠に対して、前述したマルチAFが実行されることとなる。   FIG. 6 is a flowchart showing a processing procedure in a modification of the second embodiment of the present invention. In this flowchart, steps S401 to S404 and S406 to S414 other than step S405 are the same as steps S301 to S313 in the flowchart shown in FIG. Then, in the only different step S405, the focus frame with the least number of uses is deleted based on the number of times of use of the focus frames [1] to [5] stored in the flash memory 26, and the deleted focus frame is removed. The remaining focus frame is displayed on the liquid crystal monitor 23. Therefore, according to this modification, when there is a focus frame whose number of use exceeds the predetermined number (step S404; YES), the multi-AF described above is excluded in step S409 except for the focus frame with the least number of use. Will be executed. However, if there is no focus frame in which the number of times of use exceeds the predetermined number (step S405; NO), the focus frame having the least number of times of use is not excluded, and the remaining focus frame is described above. Multi AF is executed.

なお、この変形例においては、最も使用回数が少ないピント枠を削除するようにしたが、最も使用回数が少ないものから複数番目までのピント枠を削除するようにしてもよい。   In this modification, the focus frame with the smallest number of uses is deleted, but the focus frames with the least number of uses may be deleted.

また、本実施の形態においても、シャッターキーの半押し解除から2秒以内に再度シャッターキーが半押しされた場合に、前回までの選択ピント枠を削除しマルチAFを再度行うようにしたが、単に所定のキー操作に応答して、前回までの選択ピント枠を削除しマルチAFを再度行うようにしてもよい。また、マルチAF(ステップS308)を再度行うことなく、前述した従来技術と同様に予め行ったマルチAFによる情報に基づき、ピント枠を選択し直してAFを行うようにしてもよい。   Also in this embodiment, when the shutter key is pressed halfway again within 2 seconds after the shutter key is half pressed, the selection focus frame up to the previous time is deleted and multi AF is performed again. Alternatively, in response to a predetermined key operation, the previously selected focus frame may be deleted and multi-AF may be performed again. Alternatively, AF may be performed by reselecting a focus frame based on information obtained by using multi AF performed in advance in the same manner as the above-described conventional technique without performing multi AF (step S308) again.

(第3の実施の形態)   (Third embodiment)

図7は、本発明の第3の実施の形態における処理手順を示すフローチャートである。この実施の形態は、マルチAFを行った際の被写体画像とその後の被写体画像とを比較し、両者に閾値以上の変化があった場合にはその時点で再度マルチAFを行うようにしたものである。スルー画撮影モードが設定されている撮影待機状態において、先ずスルー画像表示処理を開始し(ステップS501)、液晶モニタ23にスルー画像を表示させる。次に、シャッターキーが半押しされたか否かを判断し(ステップS502)、シャッターキーが半押しされるまで待機する。シャッターキーが半押しされたならば、前回のシャッターキーの半押し操作の解除から2秒以内であるか否かを判断する(ステップS503)。2秒以内でない場合には、ステップS504〜S507の処理を行うことなく、ステップS506に進み、全てのピント枠を液晶モニタ23に表示させる。そして、液晶モニタ23に表示されているピント枠に対応してマルチAF処理を実行する。このとき、このマルチAFを行った際の被写体画像をSDRAM22に記憶する(ステップS509)。   FIG. 7 is a flowchart showing a processing procedure in the third embodiment of the present invention. In this embodiment, the subject image when the multi-AF is performed and the subsequent subject image are compared, and if both change more than the threshold value, the multi-AF is performed again at that time. is there. In the shooting standby state in which the through image shooting mode is set, first, a through image display process is started (step S501), and a through image is displayed on the liquid crystal monitor 23. Next, it is determined whether or not the shutter key is half-pressed (step S502), and the process waits until the shutter key is half-pressed. If the shutter key is half-pressed, it is determined whether or not it is within 2 seconds from the release of the previous half-press operation of the shutter key (step S503). If it is not within 2 seconds, the process proceeds to step S506 without performing the processes of steps S504 to S507, and all the focus frames are displayed on the liquid crystal monitor 23. Then, multi-AF processing is executed corresponding to the focus frame displayed on the liquid crystal monitor 23. At this time, the subject image when the multi-AF is performed is stored in the SDRAM 22 (step S509).

次に、前述したピント枠選択表示・AF処理を実行し(ステップS510)、引き続き、ステップS511とS512のループを繰り返すことにより、シャッターキーが全押しされたか否か(ステップS511)、あるいはシャッターキーの半押し操作が解除されたか否かを判断する(ステップS512)。このとき、撮影者は前記液晶モニタ23で表示色が変化したピント枠と被写体との関係を確認し、ピントの位置がこのピント枠でよければ、シャッターキーを全押しする。これにより、ステップS511の判断がYESとなり、このステップS511からステップS513に進んでキャプチャー処理に移行する。しかし、撮影者が意図するピント位置が他のピント枠内の被写体であった場合には、一度シャッターキーの半押し操作を解除し、2秒以内に再度シャッターキーを半押しする。すると、ステップS512の判断がYESとなって、ステップS502に戻った後、該ステップS502の判断及びステップS503の判断が共にYESとなり、ステップS503からステップS504に進む。   Next, the above-described focus frame selection display / AF processing is executed (step S510), and then the loop of steps S511 and S512 is repeated to determine whether or not the shutter key is fully pressed (step S511), or the shutter key. It is determined whether or not the half-press operation has been released (step S512). At this time, the photographer confirms the relationship between the focus frame whose display color has changed and the subject on the liquid crystal monitor 23, and if the focus position is the focus frame, the photographer fully presses the shutter key. As a result, the determination in step S511 becomes YES, and the process proceeds from step S511 to step S513 to shift to the capture process. However, when the focus position intended by the photographer is the subject in another focus frame, the half-press operation of the shutter key is once released, and the shutter key is pressed halfway again within 2 seconds. Then, the determination in step S512 is YES, and after returning to step S502, both the determination in step S502 and the determination in step S503 are YES, and the process proceeds from step S503 to step S504.

そして、前記S509でSDRAM22に記憶された被写体画像と、その後CCD18より取り込んだ現時点(シャッターキー半押し時点)の被写体画像とを比較し(ステップS504)、両者に所定の閾値以上の相違があるか否かを判断する(ステップS505)。両者に閾値以上の相違がなく、前記マルチAF時の被写体画像に対し現時点の被写体が閾値以上変化していなければ、前回までの選択ピント枠、つまり前回までにステップS510で選択されたピント枠を削除し、液晶モニタ23から消去する(ステップS507)。   Then, the subject image stored in the SDRAM 22 in S509 and the current subject image captured at the present time (halfway when the shutter key is pressed) from the CCD 18 are compared (step S504). It is determined whether or not (step S505). If there is no difference greater than the threshold value and the current subject does not change by more than the threshold value relative to the subject image during the multi-AF, the selected focus frame up to the previous time, that is, the focus frame selected in step S510 until the previous time is selected. Delete and erase from the liquid crystal monitor 23 (step S507).

しかし、被写体に閾値以上の変化が生じた場合には、ステップS505からステップS506に進み、全てのピント枠を液晶モニタ23に表示する。したがって、ステップS507の処理が既に実行されていて前回までのピント枠が削除されている場合であっても、この削除が取り消されて全てのピント枠が液晶モニタ23に表示される。したがって、この場合、ステップS508では、全てのピント枠に対応してマルチAFがなされ、前述したステップS509以降の処理が実行される。よって、被写体に左右上下方向の変化が生じた場合には、全てのピント枠を用いたマルチAF処理に変更されることにより、変化があった被写体に対し各ピント枠について再度焦点が検出されることとなる。   However, if a change equal to or greater than the threshold value occurs in the subject, the process proceeds from step S505 to step S506, and all the focus frames are displayed on the liquid crystal monitor 23. Therefore, even if the processing in step S507 has already been performed and the previous focus frame has been deleted, this deletion is canceled and all the focus frames are displayed on the liquid crystal monitor 23. Accordingly, in this case, in step S508, multi-AF is performed corresponding to all the focus frames, and the processing after step S509 described above is executed. Therefore, when a change in the left / right / up / down direction occurs in the subject, the focus is detected again for each focus frame with respect to the changed subject by changing to the multi-AF process using all the focus frames. It will be.

なお、本実施の形態においても、シャッターキーの半押し解除から2秒以内に再度シャッターキーが半押しされた場合、マルチAF(ステップS508)を再度行うようにしたが、マルチAFを再度行うことなく、前述した従来技術と同様に予め行ったマルチAFによる情報に基づき、ピント枠を選択し直してAF(ステップS510)を行うようにしてもよい。   Also in this embodiment, when the shutter key is half-pressed again within 2 seconds from the release of the half-press of the shutter key, the multi-AF (step S508) is performed again, but the multi-AF is performed again. Instead, AF (step S510) may be performed by re-selecting the focus frame based on information by multi-AF performed in advance as in the above-described related art.

また、本実施の形態においては、前回のシャッターキーの半押し解除から2秒以内であると判断された時点、つまりステップS503の判断がYESとなった時点で、画像比較(ステップS504)及び閾値以上の変化があるか否かの判断(ステップS505)を行うようにしたが、ステップS511とS512のループ中において、画像比較(ステップS504)及び閾値以上の変化があるか否かの判断(ステップS505)を行い、閾値以上の変化があった場合には、全ピント枠表示(ステップS506)を行って、マルチAF処理(ステップS508)を実行するようにしてもよい。   In the present embodiment, when it is determined that it is within 2 seconds from the previous half-press release of the shutter key, that is, when the determination in step S503 is YES, the image comparison (step S504) and the threshold value are performed. The determination as to whether or not there is the above change (step S505) is performed. In the loop of steps S511 and S512, the comparison between the images (step S504) and the determination as to whether there is a change equal to or greater than the threshold value (step S505). S505) may be performed, and if there is a change equal to or greater than the threshold value, the entire AF frame display (step S506) may be performed to execute the multi-AF process (step S508).

10 デジタルカメラ
11 レンズブロック
12 モーター
13 CPU
14 バス
15 タイミング発生器
16 モータードライバ
17 ストロボ
18 CCD
19 水平ドライバ
20 ユニット回路
21 画像処理部
22 SDRAM
23 液晶モニタ
25 外部メモリ
26 フラッシュメモリ
27 キー入力部
30 マイコン
10 Digital Camera 11 Lens Block 12 Motor 13 CPU
14 bus 15 timing generator 16 motor driver 17 strobe 18 CCD
19 Horizontal driver 20 Unit circuit 21 Image processing unit 22 SDRAM
23 LCD monitor 25 External memory 26 Flash memory 27 Key input unit 30 Microcomputer

Claims (3)

撮像手段と、
シャッターキーと、
このシャッターキーに対する撮影指示操作に応答して、前記撮像手段にて撮像されている画像をメモリに記録保存する記録制御手段と、
前記撮像手段にて撮像される画像上に設けられている複数の焦点検出エリアのいずれか1つを選択する選択手段と、
この選択手段にて選択された焦点検出エリアを、モニタ上に識別可能に表示する表示制御手段と、
前記選択手段により選択された焦点検出エリアについて光学系の焦点を検出して焦点情報を取得する焦点検出手段と、
前記シャッターキーに対する撮影指示操作がなされた時点で前記選択手段にて選択されている焦点検出エリアの選択履歴を記憶する記憶手段と、
この記憶手段に記憶された選択履歴の中で、選択回数の最も多い焦点検出エリアを、前記選択手段が選択する焦点検出エリアとして選択する選択制御手段と
前記選択回数の最も多い焦点検出エリア内の画像が合焦するように、フォーカスレンズを駆動する駆動手段と、
を備えることを特徴とするカメラ。
Imaging means;
Shutter key,
In response to a shooting instruction operation on the shutter key, a recording control unit that records and saves an image captured by the imaging unit in a memory;
Selecting means for selecting any one of a plurality of focus detection areas provided on an image captured by the imaging means;
Display control means for displaying the focus detection area selected by the selection means on the monitor in an identifiable manner;
Focus detection means for detecting focus of the optical system for the focus detection area selected by the selection means and acquiring focus information;
Storage means for storing a selection history of a focus detection area selected by the selection means when a shooting instruction operation is performed on the shutter key;
Among the stored selection history in the storage means, and selection control means for selecting the largest focus detection area selected number, as the focus detection area before Symbol selection means selects,
Driving means for driving a focus lens so that an image in the focus detection area with the largest number of selections is in focus;
A camera comprising:
撮像手段とシャッターキーとを備えたカメラが有するコンピュータを、
前記シャッターキーに対する撮影指示操作に応答して、前記撮像手段にて撮像されている画像をメモリに記録保存する記録制御手段と、
前記撮像手段にて撮像される画像上に設けられている複数の焦点検出エリアのいずれか1つを選択する選択手段と、
この選択手段にて選択された焦点検出エリアを、モニタ上に識別可能に表示する表示制御手段と、
前記選択手段により選択された焦点検出エリアについて光学系の焦点を検出して焦点情報を取得する焦点検出手段と、
前記シャッターキーに対する撮影指示操作がなされた時点で前記選択手段にて選択されている焦点検出エリアの選択履歴を記憶する記憶手段と、
この記憶手段に記憶された選択履歴の中で、選択回数の最も多い焦点検出エリアを、前記選択手段が選択する焦点検出エリアとして選択する選択制御手段と
前記選択回数の最も多い焦点検出エリア内の画像が合焦するように、フォーカスレンズを駆動する駆動手段と、して機能させる
ことを特徴とするカメラ制御プログラム。
A computer having a camera having an imaging means and a shutter key;
Recording control means for recording and saving an image captured by the imaging means in a memory in response to a shooting instruction operation on the shutter key;
Selecting means for selecting any one of a plurality of focus detection areas provided on an image captured by the imaging means;
Display control means for displaying the focus detection area selected by the selection means on the monitor in an identifiable manner;
Focus detection means for detecting focus of the optical system for the focus detection area selected by the selection means and acquiring focus information;
Storage means for storing a selection history of a focus detection area selected by the selection means when a shooting instruction operation is performed on the shutter key;
Among the stored selection history in the storage means, and selection control means for selecting the largest focus detection area selected number, as the focus detection area before Symbol selection means selects,
A camera control program that functions as a drive unit that drives a focus lens so that an image in a focus detection area with the largest number of selections is in focus .
撮像手段とシャッターキーとを備えたカメラの制御方法であって、
前記シャッターキーに対する撮影指示操作に応答して、前記撮像手段にて撮像されている画像をメモリに記録保存する記録制御工程と、
前記撮像手段にて撮像される画像上に設けられている複数の焦点検出エリアのいずれか1つを選択する選択工程と、
この選択工程にて選択された焦点検出エリアを、モニタ上に識別可能に表示する表示制御手段と、
前記選択手段により選択された焦点検出エリアについて光学系の焦点を検出して焦点情報を取得する焦点検出工程と、
前記シャッターキーに対する撮影指示操作がなされた時点で前記選択工程にて選択されている焦点検出エリアの選択履歴を記憶する記憶工程と、
この記憶工程で記憶された選択履歴の中で、選択回数の最も多い焦点検出エリアを、前記選択工程が選択する焦点検出エリアとして選択する選択制御工程と
前記選択回数の最も多い焦点検出エリア内の画像が合焦するように、フォーカスレンズを駆動する駆動工程と、
を含むことを特徴とするカメラ制御方法。
A method of controlling a camera having an imaging means and a shutter key,
A recording control step of recording and saving an image captured by the imaging unit in a memory in response to a shooting instruction operation on the shutter key;
A selection step of selecting any one of a plurality of focus detection areas provided on an image captured by the imaging means;
Display control means for displaying the focus detection area selected in this selection step on the monitor in an identifiable manner;
A focus detection step of detecting the focus of the optical system for the focus detection area selected by the selection means to obtain focus information;
A storage step of storing a selection history of a focus detection area selected in the selection step when a shooting instruction operation is performed on the shutter key;
Among the stored selection history in the storage step, a selection control step for selecting the largest focus detection area selected number, as the focus detection area before Symbol selection step selects,
A driving step of driving the focus lens so that an image in the focus detection area with the largest number of selections is in focus;
A camera control method comprising:
JP2012241548A 2012-11-01 2012-11-01 Camera, camera control program, and camera control method Expired - Fee Related JP5925107B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012241548A JP5925107B2 (en) 2012-11-01 2012-11-01 Camera, camera control program, and camera control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012241548A JP5925107B2 (en) 2012-11-01 2012-11-01 Camera, camera control program, and camera control method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2010197208A Division JP5304756B2 (en) 2010-09-03 2010-09-03 Camera, camera control program, and camera control method

Publications (2)

Publication Number Publication Date
JP2013054375A JP2013054375A (en) 2013-03-21
JP5925107B2 true JP5925107B2 (en) 2016-05-25

Family

ID=48131360

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012241548A Expired - Fee Related JP5925107B2 (en) 2012-11-01 2012-11-01 Camera, camera control program, and camera control method

Country Status (1)

Country Link
JP (1) JP5925107B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6590496B2 (en) * 2015-03-13 2019-10-16 キヤノン株式会社 Imaging device, control method thereof, and program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3752510B2 (en) * 1996-04-15 2006-03-08 イーストマン コダック カンパニー Automatic subject detection method for images
JP3677867B2 (en) * 1996-05-24 2005-08-03 株式会社ニコン Camera focus adjustment device
JP2974637B2 (en) * 1997-06-09 1999-11-10 キヤノン株式会社 Automatic focusing device
JP4445612B2 (en) * 1999-10-07 2010-04-07 オリンパス株式会社 camera
JP2005233985A (en) * 2004-02-17 2005-09-02 Sanyo Electric Co Ltd Auto-focus camera

Also Published As

Publication number Publication date
JP2013054375A (en) 2013-03-21

Similar Documents

Publication Publication Date Title
JP4379728B2 (en) Imaging apparatus and program thereof
JP4761146B2 (en) Imaging apparatus and program thereof
US8284264B2 (en) Imaging apparatus, method, and program
JP4153444B2 (en) Digital camera
JP2007215091A (en) Imaging apparatus and program therefor
JP2006025238A (en) Imaging device
JP4775644B2 (en) Imaging apparatus and program thereof
JP5546691B2 (en) Imaging apparatus, imaging method, and program
JP2006303961A (en) Imaging apparatus
JP5141392B2 (en) Imaging apparatus, peripheral sound range display method, and program
JP4665607B2 (en) Camera, camera control program, and camera control method
JP2006287735A (en) Picture voice recording apparatus and collecting voice direction adjustment method
JP2009081810A (en) Photographing device and photographing method
JP5629456B2 (en) Imaging apparatus and control method thereof
JP2008263478A (en) Imaging apparatus
JP5925107B2 (en) Camera, camera control program, and camera control method
JP5304756B2 (en) Camera, camera control program, and camera control method
JP2007174278A (en) Image display device, and image displaying method
JP5157528B2 (en) Imaging device
JP4803375B2 (en) Imaging apparatus and program thereof
JP4241447B2 (en) Digital camera
JP4883135B2 (en) Imaging apparatus and program thereof
JP5093376B2 (en) Imaging apparatus and program thereof
JP4915264B2 (en) Imaging apparatus and program thereof
JP4786452B2 (en) camera

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131023

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131112

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131203

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140513

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20140820

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140901

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20141020

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20141219

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151027

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160419

R150 Certificate of patent or registration of utility model

Ref document number: 5925107

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees