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

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

Info

Publication number
JP2013054375A
JP2013054375A JP2012241548A JP2012241548A JP2013054375A JP 2013054375 A JP2013054375 A JP 2013054375A JP 2012241548 A JP2012241548 A JP 2012241548A JP 2012241548 A JP2012241548 A JP 2012241548A JP 2013054375 A JP2013054375 A JP 2013054375A
Authority
JP
Japan
Prior art keywords
focus
focus detection
selection
detection area
unit
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.)
Granted
Application number
JP2012241548A
Other languages
Japanese (ja)
Other versions
JP5925107B2 (en
Inventor
Masami Yuyama
将美 湯山
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

Abstract

PROBLEM TO BE SOLVED: To automatically adjust a focus on an intended subject even if there is a change in the subject.SOLUTION: Multi-AF processing is executed to a plurality of focus frames (S104); any one of the plurality of focus frames is selected; color of the selected focus frame is changed; and a focus lens is driven such that an image in the focus frame is focused (S105). When a focus position intended by a photographer is a subject in another focus frame, a shutter key is cancelled once and is again pressed halfway down within two seconds. Then, determination in S107 becomes Yes, and a step is returned to S101. After that, both of determination in S101 and determination in S102 become Yes; a step proceeds from S102 to S103; the selected focus frame until the previous processing, namely, the focus frame previously selected in S105 is deleted (S103); and the multi-AF is executed for the residual focus frames other than the deleted focus frame (S104).

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の再動作制御手段、又は前記選択手段による焦点検出エリアの選択基準を変更する第2の再動作制御手段を含む。   In order to solve the above-described problem, the camera according to the first aspect of the present invention includes a multifocal detection unit that detects a focal point of an optical system for a plurality of focus detection areas and acquires focus information, and the multifocal detection unit. Selection means for selecting any of the plurality of focus detection areas based on the acquired plurality of focus information; and a re-operation control means for re-activating the multi-focus detection means and the selection means in response to a predetermined operation. The re-operation control unit includes a first re-operation control unit that causes the selection unit to select another focus detection area excluding the focus detection area already selected by the selection unit, or a focus detection area by the selection unit. The second re-operation control means for changing the selection criteria is included.

したがって、選択手段が選択した焦点検出エリアと撮影者が意図する被写体とが合致しない場合等において、撮影者が所定の操作を行うと、多焦点検出手段及び選択手段を再動作して、複数の焦点検出エリアについて光学系の焦点を検出し焦点情報を取得する。したがって、この間に被写体に前後方向の変化があっても、多焦点検出手段が再動作することにより、変化があった被写体に対して複数の焦点検出エリアについて再度焦点が検出される。よって、被写体に前後方向の変化が生じた場合であっても、各焦点検出エリアにおいて合焦可能な焦点情報を取得することができ、その結果、選択される焦点検出エリアにおいて合焦した被写体を撮影することが可能となる。   Therefore, when the photographer performs a predetermined operation in a case where the focus detection area selected by the selection unit and the subject intended by the photographer do not match, the multi-focus detection unit and the selection unit are re-actuated to perform a plurality of operations. The focus information is acquired by detecting the focus of the optical system in the focus detection area. Therefore, even if there is a change in the front-rear direction of the subject during this period, the multi-focus detection unit operates again to detect the focus again for the plurality of focus detection areas with respect to the subject that has changed. Therefore, even when the subject changes in the front-rear direction, it is possible to acquire focus information that can be focused in each focus detection area, and as a result, the subject focused in the selected focus detection area can be obtained. It becomes possible to shoot.

しかも、多焦点検出手段及び選択手段を再動作した際には、既に選択された焦点検出エリアを除く他の焦点検出エリア、又は選択基準が変更された焦点検出エリアが選択される。したがって、撮影者が意図する被写体と合致しない焦点検出エリアが検出されてしまう確率が低下し、撮影者が意図する被写体とが合致する焦点検出エリアが効率的かつ迅速に選択される。   In addition, when the multi-focus detection unit and the selection unit are operated again, another focus detection area other than the already selected focus detection area or a focus detection area whose selection criteria are changed is selected. Therefore, the probability that a focus detection area that does not match the subject intended by the photographer is reduced, and a focus detection area that matches the subject intended by the photographer is efficiently and quickly selected.

また、請求項2記載の発明に係るカメラにあっては、前記第1の再動作制御手段は、前記選択手段により既に選択された焦点検出エリアを除く他の複数の焦点検出エリアについて光学系の焦点を検出し焦点情報を取得するように前記多焦点検出手段を再動作させる手段を含む。したがって、前回までに選択された検出エリアと撮影者が意図する被写体とが合致しなかった場合等において、前回までに選択された焦点検出エリアが除かれることにより、多焦点検出手段は再度動作した際の焦点検出エリアが減少する。したがって、多焦点検出手段の再動作時における焦点検出エリアが撮影者の意図にあった焦点検出エリアに限定されていき、より効率的に撮影者が意図する被写体が合焦した画像を撮影することができる。   In the camera according to the second aspect of the present invention, the first re-operation control unit is configured to detect the optical system for a plurality of focus detection areas other than the focus detection area already selected by the selection unit. Means for re-operating said multi-focus detection means to detect focus and to acquire focus information. Therefore, when the detection area selected up to the previous time does not match the subject intended by the photographer, the multi-focus detection means operates again by removing the focus detection area selected up to the previous time. The focus detection area is reduced. Therefore, the focus detection area at the time of re-operation of the multifocal detection means is limited to the focus detection area intended by the photographer, and more efficiently photographing an image in which the subject intended by the photographer is focused Can do.

また、請求項3記載の発明に係るカメラにあっては、前記選択手段により選択された前記焦点検出エリアの焦点情報に基づき前記光学系を合焦させる光学系制御手段を更に備える。したがって、選択された焦点検出エリアに合致する被写体が合焦する。   The camera according to a third aspect of the present invention further includes optical system control means for focusing the optical system based on focus information of the focus detection area selected by the selection means. Therefore, the subject that matches the selected focus detection area is focused.

また、請求項4記載の発明に係るカメラにあっては、前記多焦点検出手段は、所定キーの操作に応答して前記焦点を検出して焦点情報を取得し、前記再動作制御手段は、所定の時間内に前記所定キーの操作が再度行われた場合に、前記多焦点検出手段及び選択手段を再動作させる。したがって、撮影者は、所定の時間内に所定キー操作を再度行う簡単な操作により、多焦点検出手段及び選択手段を再動作させて、複数の焦点検出エリアについて光学系の焦点を検出させることができる。   In the camera according to the invention described in claim 4, the multi-focus detection means detects the focus in response to an operation of a predetermined key to acquire focus information, and the re-operation control means includes: When the operation of the predetermined key is performed again within a predetermined time, the multi-focus detection unit and the selection unit are operated again. Therefore, the photographer can detect the focus of the optical system in a plurality of focus detection areas by re-activating the multi-focus detection means and the selection means by a simple operation of performing a predetermined key operation again within a predetermined time. it can.

また、請求項5記載の発明に係るカメラにあっては、前記所定キーの操作は、撮影指示を発生するシャッターキーに対する操作である。したがって、撮影指示を行うためのキーと同一のキーであるシャッターキーに対する所定の操作により、多焦点検出手段及び選択手段を再動作させて、複数の焦点検出エリアについて光学系の焦点を検出させることができる。   In the camera according to the fifth aspect of the invention, the operation of the predetermined key is an operation on a shutter key that generates a shooting instruction. Therefore, the focus of the optical system is detected in a plurality of focus detection areas by re-activating the multi-focus detection means and the selection means by a predetermined operation on the shutter key which is the same key as the key for instructing the photographing. Can do.

また、請求項6記載の発明に係るカメラにあっては、前記選択手段により焦点検出エリアが選択された状態において、撮影指示の有無を検出する撮影指示検出手段と、前記撮影指示検出手段により前記撮影指示が検出された場合において、前記選択手段により選択されている焦点検出エリアの選択回数を焦点検出エリア毎に計測する計測手段を更に備え、前記選択手段は、前記計測手段により計測された前記選択回数に基づき、前記複数の焦点検出エリアのいずれかを選択する手段を含む。したがって、選択頻度等を加味して焦点検出エリアを選択することができる。   In the camera according to the sixth aspect of the present invention, in a state where the focus detection area is selected by the selection unit, the shooting instruction detection unit that detects presence / absence of a shooting instruction, and the shooting instruction detection unit In the case where a photographing instruction is detected, the image processing apparatus further includes a measurement unit that measures the number of selections of the focus detection area selected by the selection unit for each focus detection area, and the selection unit measures the measurement unit measured by the measurement unit. Means for selecting one of the plurality of focus detection areas based on the number of times of selection; Therefore, the focus detection area can be selected in consideration of the selection frequency and the like.

また、請求項7記載の発明に係るカメラにあっては、前記選択手段は、前記計測手段により計測された前記選択回数に基づき、前記多焦点検出手段により取得された複数の焦点情報に基づき前記複数の焦点検出エリアのいずれかを選択するか否かを決定する手段を含む。したがって、先ず選択回数に基づき、多焦点検出手段により取得された複数の焦点情報に基づき複数の焦点検出エリアのいずれかを選択するAF方式(マルチAF)を選択するか否かを決定される。そして、マルチAFを選択しないことが決定された場合に、前記計測手段により計測された前記選択回数に基づき、前記複数の焦点検出エリアのいずれかが選択されることとなる。   Further, in the camera according to the invention of claim 7, the selection means is based on the plurality of focus information acquired by the multi-focus detection means based on the number of times of selection measured by the measurement means. Means for determining whether to select any of the plurality of focus detection areas is included. Therefore, based on the number of times of selection, it is first determined whether or not to select an AF method (multi-AF) for selecting one of a plurality of focus detection areas based on a plurality of focus information acquired by the multi-focus detection means. When it is determined not to select multi-AF, one of the plurality of focus detection areas is selected based on the number of selections measured by the measurement unit.

また、請求項8記載の発明に係るカメラにあっては、前記選択手段は、自動的に前記焦点検出エリアを選択する自動選択手段とともに、操作に応じて前記焦点検出エリアを選択する手動選択手段とを含み、前記計測手段は、前記両選択手段により選択された各焦点検出エリアの選択回数を計測し、前記自動選択手段は、当該自動選択手段が選択した選択回数と前記手動選択手段が選択した回数の少なくとも一方に基づき、前記複数の焦点検出エリアのいずれかを選択する。したがって、当該撮影者の意思により選択された焦点検出エリアの選択頻度等をも加味して、つまり撮影者の意思を反映させて焦点検出エリアを選択することが可能となる。   In addition, in the camera according to the eighth aspect of the invention, the selection unit is an automatic selection unit that automatically selects the focus detection area, and a manual selection unit that selects the focus detection area according to an operation. The measuring means measures the number of times of selection of each focus detection area selected by the both selecting means, and the automatic selecting means selects the number of times selected by the automatic selecting means and the manual selecting means. One of the plurality of focus detection areas is selected on the basis of at least one of the number of the times. Therefore, it is possible to select the focus detection area in consideration of the selection frequency of the focus detection area selected by the photographer's intention, that is, reflecting the photographer's intention.

また、請求項9記載の発明に係るカメラにあっては、前記選択手段は、前記計測手段が計測した選択回数が多い焦点検出エリアを選択する手段を含む。したがって、例えば最も選択回数が多い焦点検出エリアや選択回数が比較的多い複数の焦点検出エリアのいずれか等、焦点検出エリアの使用頻度に応じて撮影者の意思を反映させた焦点検出エリアを選択することができる。   In the camera according to the ninth aspect of the present invention, the selection means includes means for selecting a focus detection area having a large number of selections measured by the measurement means. Therefore, select the focus detection area that reflects the intention of the photographer according to the frequency of use of the focus detection area, such as the focus detection area with the highest selection count or multiple focus detection areas with the relatively high selection count. can do.

また、請求項10記載の発明に係るカメラにあっては、前記選択手段は、前記計測手段が計測した選択回数が少ない焦点検出エリアを除外して選択する手段を含む。したがって、例えば最も選択回数が少ない焦点検出エリアや選択回数が比較的少ない焦点検出エリアが除外されることにより、焦点検出エリアの使用頻度に応じて撮影者の意思を反映させた効率的な焦点検出エリア選択を行うことができる。   In the camera according to the tenth aspect of the present invention, the selection means includes means for excluding a focus detection area with a small number of selections measured by the measurement means. Therefore, for example, by removing the focus detection area with the least number of selections and the focus detection area with the relatively few selections, efficient focus detection that reflects the photographer's intention according to the frequency of use of the focus detection area Area selection can be performed.

また、請求項11記載の発明に係るカメラにあっては、複数の焦点検出エリアについて光学系の焦点を検出し焦点情報を取得する多焦点検出手段と、この多焦点検出手段により取得された複数の焦点情報に基づき前記複数の焦点検出エリアのいずれかを選択する選択手段と、所定の操作に応答して前記選択手段を再動作させる再動作制御手段と、前記多焦点検出手段が複数の焦点検出エリアについて焦点を検出した際の被写体画像と前記再動作制御手段が前記選択手段を再動作させる際の被写体画像とを比較する比較手段とを備え、前記再動作制御手段は、前記比較手段の比較結果に基づき前記両被写体画像に所定の閾値以上の変化があった場合、前記選択手段により既に選択された焦点検出エリアを含む複数の焦点検出エリアのいずれかを前記選択手段に選択させるか、あるいは前記選択手段による焦点検出エリアの選択基準を変更することなく前記複数の焦点検出エリアのいずれかを前記選択手段に選択させ、前記比較手段の比較結果に基づき前記両被写体画像に所定の閾値以上の変化がなかった場合、前記選択手段により既に選択された焦点検出エリアを除く他の焦点検出エリアを前記選択手段に選択させるか、あるいは前記選択手段による焦点検出エリアの選択基準を変更した上で前記複数の焦点検出エリアのいずれかを前記選択手段に選択させる。   In the camera according to the eleventh aspect of the present invention, the multifocal detection means for detecting the focal point of the optical system and acquiring the focus information for the plurality of focus detection areas, and the plurality of the focus acquired by the multifocus detection means. Selection means for selecting any one of the plurality of focus detection areas based on the focus information of the camera, re-operation control means for re-operating the selection means in response to a predetermined operation, and the multi-focus detection means having a plurality of focus points. Comparing means for comparing the subject image when the focus is detected with respect to the detection area and the subject image when the re-operation control means re-activates the selection means, and the re-operation control means comprises: Based on the result of the comparison, if there is a change greater than or equal to a predetermined threshold value in both the subject images, one of a plurality of focus detection areas including the focus detection area that has already been selected by the selection means The selection means, or without causing the selection means to select one of the plurality of focus detection areas without changing the selection criterion of the focus detection area, based on the comparison result of the comparison means When both the subject images have not changed by a predetermined threshold value or more, the selection unit selects another focus detection area excluding the focus detection area already selected by the selection unit, or the focus detection area by the selection unit The selection means is made to select one of the plurality of focus detection areas.

したがって、多焦点検出手段が複数の焦点検出エリアについて焦点を検出した際の被写体画像と再動作制御手段が選択手段を再動作させる際の被写体画像とに、所定の閾値以上の変化があった場合には、選択手段により既に選択された焦点検出エリアを含む複数の焦点検出エリアのいずれかを選択手段に選択させるか、あるいは選択手段による焦点検出エリアの選択基準を変更することなく複数の焦点検出エリアのいずれかを選択手段に選択させる。よって、前記所定の閾値以上の変化があった場合、つまり被写体に所定以上の変化があった場合には、同一の焦点検出エリアが再度選択される場合が生ずる。これにより、撮影しようとする主被写体に変化があった場合であっても、当該主被写体に焦点検出エリアを合致させて撮影を行うことが可能となる。   Therefore, when the subject image when the multi-focus detection unit detects the focus for a plurality of focus detection areas and the subject image when the re-operation control unit re-activates the selection unit are changed by a predetermined threshold value or more. The selection means allows the selection means to select one of a plurality of focus detection areas including the focus detection area already selected by the selection means, or a plurality of focus detections without changing the focus detection area selection criteria by the selection means. Let the selection means select one of the areas. Therefore, when there is a change greater than the predetermined threshold, that is, when there is a change greater than the predetermined value in the subject, the same focus detection area may be selected again. As a result, even when the main subject to be photographed has changed, it is possible to perform photographing while matching the main subject with the focus detection area.

また、多焦点検出手段が複数の焦点検出エリアについて焦点を検出した際の被写体画像と再動作制御手段が選択手段を再動作させる際の被写体画像とに、所定の閾値以上の変化がなかった場合には、選択手段により既に選択された焦点検出エリアを除く他の焦点検出エリアを選択手段に選択させるか、あるいは選択手段による焦点検出エリアの選択基準を変更した上で複数の焦点検出エリアのいずれかを選択手段に選択させる。したがって、前回選択された焦点検出エリアとは異なる焦点検出エリアに存在する撮影しようとする主被写体に、新たに選択された焦点検出エリアが合致する確率が高まり、当該主被写体に焦点検出エリアを合致させて撮影を行うことが容易となる。   When the subject image when the multi-focus detection unit detects the focus for a plurality of focus detection areas and the subject image when the re-operation control unit re-activates the selection unit do not change more than a predetermined threshold. The selection means selects other focus detection areas other than the focus detection area already selected by the selection means, or changes the focus detection area selection criteria by the selection means and selects any of the plurality of focus detection areas. Is selected by the selection means. Therefore, the probability that the newly selected focus detection area matches the main subject to be photographed that exists in a focus detection area different from the previously selected focus detection area increases, and the focus detection area matches the main subject. This makes it easy to shoot.

また、請求項12記載の発明に係るカメラにあっては、複数の焦点検出エリアについて光学系の焦点を検出し焦点情報を取得する多焦点検出手段と、この多焦点検出手段により取得された複数の焦点情報に基づき前記複数の焦点検出エリアのいずれかを選択する選択手段と、この選択手段が選択した前記焦点検出エリアの焦点情報に基づき前記光学系を合焦させる光学系制御手段と、この光学系制御手段の動作により前記光学系が合焦した状態において、撮影指示の有無を検出する撮影指示検出手段と、前記多焦点検出手段が複数の焦点検出エリアについて焦点を検出した際の被写体画像とその後の被写体画像とを比較する比較手段と、この比較手段の比較結果に基づき前記両被写体画像に所定の閾値以上の変化があった場合であって、前記撮影指示検出手段により前記撮影指示が検出されなかった場合、前記多焦点検出手段を再動作させる再動作制御手段とを備える。   In the camera according to the twelfth aspect of the present invention, the multifocal detection means for detecting the focal point of the optical system and obtaining the focus information for a plurality of focus detection areas, and the plurality of focus obtained by the multifocus detection means. Selection means for selecting one of the plurality of focus detection areas based on the focus information of the optical system, an optical system control means for focusing the optical system based on the focus information of the focus detection area selected by the selection means, and In a state where the optical system is in focus by the operation of the optical system control means, a shooting instruction detection means for detecting the presence or absence of a shooting instruction, and a subject image when the multi-focus detection means detects the focus for a plurality of focus detection areas. And a comparison means for comparing the subject image with the subsequent subject image, and based on a comparison result of the comparison means, the two subject images have changed by a predetermined threshold value or more, If the imaging instruction is not detected by the shadow instruction detecting means, and a re-operation control means for re-operating the multi-focus detecting means.

したがって、選択手段が選択した焦点検出エリアと撮影者が意図する被写体とが合致する場合には、光学系制御手段の動作により光学系が合焦した状態において、撮影者の操作により撮影指示が発生することにより、前記撮影者が意図する被写体に合焦した画像を撮影することができる。しかし、選択手段が選択した焦点検出エリアと撮影者が意図する被写体とが合致しない場合等において、撮影者は撮影操作を行うことなく放置した場合、被写体に変化があった場合には、多焦点検出手段が再動作して、複数の焦点検出エリアについて光学系の焦点を検出し焦点情報を取得する。したがって、この間に被写体に前後方向の変化、あるいは左右上下方向の変化が生じた場合であっても、多焦点検出手段が再動作することにより、変化があった被写体に対して複数の焦点検出エリアについて再度焦点が検出される。よって、被写体に前後方向の変化が生じた場合、あるいは左右上下方向の変化が生じた場合であっても、各焦点検出エリアにおいて合焦可能な焦点情報を取得することができ、その結果、選択される焦点検出エリアにおいて合焦した被写体を撮影することが可能となる。   Therefore, when the focus detection area selected by the selection means matches the subject intended by the photographer, a shooting instruction is generated by the photographer's operation while the optical system is in focus by the operation of the optical system control means. By doing so, it is possible to shoot an image focused on the subject intended by the photographer. However, when the focus detection area selected by the selection means and the subject intended by the photographer do not match, the photographer leaves the camera without performing the photographing operation. The detection means is reactivated to detect the focus of the optical system for a plurality of focus detection areas and acquire focus information. Therefore, even if a change in the front-rear direction or a change in the left-right / up-down direction occurs in the subject during this period, the multi-focus detection unit operates again, so that a plurality of focus detection areas are detected for the subject that has changed Again, the focus is detected. Therefore, even when the subject changes in the front-rear direction or when the subject changes in the left-right direction, the focus information that can be focused in each focus detection area can be acquired. It is possible to photograph a subject in focus in the focus detection area.

また、請求項13記載の発明に係るカメラにあっては、複数の焦点検出エリアのいずれかを選択する選択手段と、この選択手段により選択された焦点検出エリアについて光学系の焦点を検出し焦点情報を取得する焦点検出手段と、前記選択手段による焦点検出エリアの選択履歴を記憶する記憶手段と、この記憶手段に記憶された前記選択履歴に基づき、前記選択手段が選択する焦点検出エリアを決定する選択制御手段とを備える。したがって、自動選択又は手動選択された焦点検出エリアの選択頻度等、つまり撮影者により使用された焦点検出エリアを加味して、その意思を反映させつつ焦点検出エリアを選択することが可能となる。   According to the camera of the thirteenth aspect of the present invention, there is provided a selection means for selecting one of a plurality of focus detection areas, and the focus of the optical system is detected for the focus detection area selected by the selection means. A focus detection unit that acquires information, a storage unit that stores a selection history of a focus detection area by the selection unit, and a focus detection area that the selection unit selects based on the selection history stored in the storage unit Selection control means. Accordingly, it is possible to select the focus detection area while reflecting the intention, considering the selection frequency of the focus detection area selected automatically or manually, that is, the focus detection area used by the photographer.

また、請求項14記載の発明に係るカメラにあっては、第1の操作と第2の操作とを可能なシャッターキーと、このシャッターキーに対する前記第1及び第2の操作と前記第1の操作の解除とを検出する検出手段と、この検出手段により前記シャッターキーに対する第1の操作が検出された場合、複数の焦点検出エリアについて光学系の焦点を検出し焦点情報を取得する多焦点検出手段と、この多焦点検出手段により取得された複数の焦点情報に基づき前記複数の焦点検出エリアのいずれかを選択する選択手段と、前記検出手段により前記シャッターキーに対する第1の操作の解除が検出されてから、所定時間内に再度前記第1の操作が検出された場合、前記選択手段を再動作させる再動作制御手段と、前記検出手段により前記第2の操作が検出された場合、撮影処理を実行する撮影手段とを備え、前記再動作制御手段は、前記選択手段により既に選択された焦点検出エリアを除く他の焦点検出エリアを前記選択手段に選択させる第1の再動作制御手段、又は前記選択手段による焦点検出エリアの選択基準を変更する第2の再動作制御手段を含む。   In the camera according to the fourteenth aspect of the present invention, the shutter key capable of performing the first operation and the second operation, the first and second operations on the shutter key, and the first operation are provided. Detection means for detecting release of operation, and multi-focus detection for detecting focus of an optical system and acquiring focus information for a plurality of focus detection areas when a first operation on the shutter key is detected by the detection means Means for selecting one of the plurality of focus detection areas based on the plurality of focus information acquired by the multi-focus detection means, and the detection means detects release of the first operation on the shutter key. And when the first operation is detected again within a predetermined time, the re-operation control means for re-operating the selection means and the second operation by the detection means And a re-operation control unit that causes the selection unit to select a focus detection area other than the focus detection area already selected by the selection unit. Re-operation control means, or second re-operation control means for changing a focus detection area selection criterion by the selection means.

したがって、シャッターキーに対し第2の操作を行うことにより撮影することができ、かつ、同一のシャッターキーに対し第1の操作を行った後これを解除する操作を行い、さらに所定時間内に再度第1の操作を行うと、選択手段が再動作する。また、再度動作した際、選択手段は、既に選択した焦点検出エリアを除く他の焦点検出エリアを選択し、又は選択基準を変更して焦点検出エリアを選択する。したがって、撮影指示を行うシャッターキーの操作により、既に選択した焦点検出エリアを除く他の焦点検出エリアの選択や選択基準を変更して焦点検出エリアを選択する動作を行なわせる機能を付加することができ、これによりシャッターキーを有効に利用した新たな焦点検出エリア選択制御形態を形成あるいは確立することができる。   Therefore, it is possible to take a picture by performing a second operation on the shutter key, and after performing the first operation on the same shutter key, perform an operation to cancel this, and again within a predetermined time. When the first operation is performed, the selection unit is activated again. When the operation is performed again, the selection unit selects another focus detection area other than the already selected focus detection area, or changes the selection criterion to select the focus detection area. Therefore, it is possible to add a function of selecting a focus detection area by changing the selection criteria or selection criteria of other focus detection areas other than the already selected focus detection area by operating the shutter key for instructing photographing. This makes it possible to form or establish a new focus detection area selection control form that effectively uses the shutter key.

また、請求項15記載の発明に係るカメラ制御プログラムにあっては、カメラが有するコンピュータを、複数の焦点検出エリアについて光学系の焦点を検出し焦点情報を取得する多焦点検出手段と、この多焦点検出手段により取得された複数の焦点情報に基づき前記複数の焦点検出エリアのいずれかを選択する選択手段と、所定の操作に応答して前記多焦点検出手段及び選択手段を再動作させる再動作制御手段として機能させるとともに、前記再動作制御手段を、前記選択手段により既に選択された焦点検出エリアを除く他の焦点検出エリアを前記選択手段に選択させる第1の再動作制御手段、又は前記選択手段による焦点検出エリアの選択基準を変更する第2の再動作制御手段として機能させる。したがって、前記コンピュータがこのプログラムに従って処理を実行することにより、請求項1記載の発明と同様の作用効果を奏する。   In the camera control program according to the invention described in claim 15, the computer included in the camera detects a focus of the optical system for a plurality of focus detection areas and acquires focus information, and the multi-focus detection means. A selection unit that selects one of the plurality of focus detection areas based on a plurality of focus information acquired by the focus detection unit, and a re-operation that restarts the multi-focus detection unit and the selection unit in response to a predetermined operation. A first re-operation control unit that causes the re-operation control unit to select a focus detection area other than the focus detection area that has already been selected by the selection unit; And function as second re-operation control means for changing the selection criterion of the focus detection area by the means. Therefore, when the computer executes processing according to this program, the same effects as those of the first aspect of the invention can be obtained.

また、請求項16記載の発明に係るカメラ制御方法にあっては、複数の焦点検出エリアについて光学系の焦点を検出し焦点情報を取得する多焦点検出工程と、この多焦点検出工程により取得された複数の焦点情報に基づき前記複数の焦点検出エリアのいずれかを選択する選択工程と、所定の操作に応答して前記多焦点検出工程及び選択工程を再動作させる再動作制御工程とを含み、前記再動作制御工程は、前記選択手段により既に選択された焦点検出エリアを除く他の焦点検出エリアを前記選択工程で選択させる第1の再動作制御工程、又は前記選択工程による焦点検出エリアの選択基準を変更する第2の再動作制御工程を含む。したがって、記載した工程に従って処理を実行することにより、請求項1記載の発明と同様の作用効果を奏する。   In the camera control method according to the sixteenth aspect of the present invention, the multifocal detection step of detecting the focal point of the optical system and acquiring the focal point information for a plurality of focus detection areas, and the multifocal detection step. A selection step of selecting any of the plurality of focus detection areas based on a plurality of focus information, and a re-operation control step of re-activating the multi-focus detection step and the selection step in response to a predetermined operation, In the re-operation control step, a first re-operation control step for selecting other focus detection areas other than the focus detection area already selected by the selection means in the selection step, or selection of a focus detection area by the selection step A second reoperation control step for changing the reference is included. Therefore, by performing the processing according to the described steps, the same effects as those of the first aspect of the invention can be achieved.

以上のように請求項1及び15に係る発明によれば、選択手段が選択した焦点検出エリアと撮影者が意図する被写体とが合致しない場合等において、撮影者が所定の操作を行うと、多焦点検出手段及び選択手段を再動作して、複数の焦点検出エリアについて光学系の焦点を検出し焦点情報を取得する。したがって、この間に被写体に前後方向の変化があっても、多焦点検出手段及び選択手段が再動作することにより、変化があった被写体に対して複数の焦点検出エリアについて再度焦点を検出することができる。よって、被写体に前後方向の変化が生じた場合であっても、各焦点検出エリアにおいて合焦可能な焦点情報を取得することができ、その結果、被写体に前後方向の変化に左右されることなく、選択される焦点検出エリアにおいて合焦した被写体を撮影することが可能となる。   As described above, according to the inventions according to claims 1 and 15, when the photographer performs a predetermined operation in a case where the focus detection area selected by the selection unit and the subject intended by the photographer do not match, The focus detection unit and the selection unit are operated again to detect the focus of the optical system for a plurality of focus detection areas and acquire focus information. Therefore, even if the subject changes in the front-rear direction during this time, the multi-focus detection means and the selection means can be operated again to detect the focus again for a plurality of focus detection areas with respect to the changed subject. it can. Therefore, even when the subject changes in the front-rear direction, it is possible to acquire focus information that can be focused in each focus detection area, and as a result, the subject is not affected by the change in the front-rear direction. Thus, it is possible to photograph a subject in focus in the selected focus detection area.

しかも、多焦点検出手段及び選択手段を再動作した際には、既に選択された焦点検出エリアを除く他の焦点検出エリア、又は選択基準が変更された焦点検出エリアが選択される。したがって、撮影者が意図する被写体と合致しない焦点検出エリアが検出されてしまう確率が低下し、撮影者が意図する被写体とが合致する焦点検出エリアを効率的かつ迅速に選択することができる。   In addition, when the multi-focus detection unit and the selection unit are operated again, another focus detection area other than the already selected focus detection area or a focus detection area whose selection criteria are changed is selected. Therefore, the probability that a focus detection area that does not match the subject intended by the photographer will be reduced, and the focus detection area that matches the subject intended by the photographer can be selected efficiently and quickly.

また、請求項11に係る発明によれば、多焦点検出手段が複数の焦点検出エリアについて焦点を検出した際の被写体画像と再動作制御手段が選択手段を再動作させる際の被写体画像とに、所定の閾値以上の変化があった場合には、選択手段により既に選択された焦点検出エリアを含む複数の焦点検出エリアのいずれかを選択手段に選択させるか、あるいは選択手段による焦点検出エリアの選択基準を変更することなく複数の焦点検出エリアのいずれかを選択手段に選択させる。よって、前記所定の閾値以上の変化があった場合、つまり被写体に所定以上の変化があった場合には、同一の焦点検出エリアが再度選択される場合を生じさせることができる。これにより、撮影しようとする主被写体に変化があった場合であっても、当該主被写体に焦点検出エリアを合致させて撮影を行うことが可能となる。   According to the invention of claim 11, the subject image when the multifocal detection means detects the focus for a plurality of focus detection areas and the subject image when the reoperation control means re-activates the selection means, When there is a change of a predetermined threshold value or more, the selection means selects one of a plurality of focus detection areas including the focus detection area already selected by the selection means, or the focus detection area is selected by the selection means. The selection means selects one of the plurality of focus detection areas without changing the reference. Therefore, when there is a change greater than or equal to the predetermined threshold, that is, when there is a change greater than or equal to the predetermined value, the same focus detection area can be selected again. As a result, even when the main subject to be photographed has changed, it is possible to perform photographing while matching the main subject with the focus detection area.

また、多焦点検出手段が複数の焦点検出エリアについて焦点を検出した際の被写体画像と再動作制御手段が選択手段を再動作させる際の被写体画像とに、所定の閾値以上の変化がなかった場合には、選択手段により既に選択された焦点検出エリアを除く他の焦点検出エリアを選択手段に選択させるか、あるいは選択手段による焦点検出エリアの選択基準を変更した上で複数の焦点検出エリアのいずれかを選択手段に選択させる。したがって、前回選択された焦点検出エリアとは異なる焦点検出エリアに存在する撮影しようとする主被写体に、新たに選択された焦点検出エリアが合致する確率を高めることができ、当該主被写体に焦点検出エリアを合致させて撮影を行うことを容易化することができる。   When the subject image when the multi-focus detection unit detects the focus for a plurality of focus detection areas and the subject image when the re-operation control unit re-activates the selection unit do not change more than a predetermined threshold. The selection means selects other focus detection areas other than the focus detection area already selected by the selection means, or changes the focus detection area selection criteria by the selection means and selects any of the plurality of focus detection areas. Is selected by the selection means. Accordingly, it is possible to increase the probability that the newly selected focus detection area matches the main subject to be photographed that exists in a focus detection area different from the previously selected focus detection area, and focus detection is performed on the main subject. It is possible to facilitate shooting by matching the areas.

また、請求項12に係る発明によれば、選択手段が選択した焦点検出エリアと撮影者が意図する被写体とが合致する場合には、光学系制御手段の動作により光学系が合焦した状態において、撮影者の操作により撮影指示が発生することにより、前記撮影者が意図する被写体に合焦した画像を撮影することができる。しかし、選択手段が選択した焦点検出エリアと撮影者が意図する被写体とが合致しない場合等において、撮影者は撮影操作を行うことなく放置した場合において、被写体に変化があった場合には、多焦点検出手段が再動作して、複数の焦点検出エリアについて光学系の焦点を検出し焦点情報を取得する。したがって、この間に被写体に前後方向の変化、あるいは左右上下方向の変化が生じた場合であっても、多焦点検出手段が再動作することにより、変化があった被写体に対して複数の焦点検出エリアについて再度焦点が検出される。よって、被写体に前後方向の変化が生じた場合、あるいは左右上下方向の変化が生じた場合であっても、各焦点検出エリアにおいて合焦可能な焦点情報を取得することができ、その結果、選択される焦点検出エリアにおいて合焦した被写体を撮影することが可能となる。   According to the twelfth aspect of the present invention, when the focus detection area selected by the selection unit matches the subject intended by the photographer, the optical system is in focus by the operation of the optical system control unit. When a shooting instruction is generated by a photographer's operation, an image focused on a subject intended by the photographer can be shot. However, in the case where the focus detection area selected by the selection means and the subject intended by the photographer do not match, when the photographer is left without performing the photographing operation, The focus detection unit operates again, detects the focus of the optical system for a plurality of focus detection areas, and acquires focus information. Therefore, even if a change in the front-rear direction or a change in the left-right / up-down direction occurs in the subject during this period, the multi-focus detection unit operates again, so that a plurality of focus detection areas are detected for the subject that has changed Again, the focus is detected. Therefore, even when the subject changes in the front-rear direction or when the subject changes in the left-right direction, the focus information that can be focused in each focus detection area can be acquired. It is possible to photograph a subject in focus in the focus detection area.

また、請求項13に係る発明によれば、自動選択又は手動選択された焦点検出エリアの選択頻度等、つまり撮影者により使用された焦点検出エリアを加味して、その意思を反映させつつ焦点検出エリアを選択することが可能となる。   According to the invention of claim 13, focus detection is performed while reflecting the selection frequency of the focus detection area selected automatically or manually, that is, the focus detection area used by the photographer, and reflecting its intention. An area can be selected.

また、請求項14に係る発明によれば、シャッターキーに対し第2の操作を行うことにより撮影することができ、かつ、同一のシャッターキーに対し第1の操作を行った後これを解除する操作を行い、さらに所定時間内に再度第1の操作を行うことにより、選択手段を再動作させることができる。また、再度動作した際、選択手段は、既に選択した焦点検出エリアを除く他の焦点検出エリアを選択し、又は選択基準を変更して焦点検出エリアを選択する。したがって、撮影指示を行うシャッターキーの操作により、既に選択した焦点検出エリアを除く他の焦点検出エリアの選択や選択基準を変更して焦点検出エリアを選択する動作を行なわせる機能を付加することができ、これによりシャッターキーを有効に利用した新たな焦点検出エリア選択制御形態を形成あるいは確立することができる。   According to the fourteenth aspect of the present invention, it is possible to take a picture by performing the second operation on the shutter key, and cancel this after performing the first operation on the same shutter key. By performing the operation and further performing the first operation again within a predetermined time, the selection means can be re-activated. When the operation is performed again, the selection unit selects another focus detection area other than the already selected focus detection area, or changes the selection criterion to select the focus detection area. Therefore, it is possible to add a function of selecting a focus detection area by changing the selection criteria or selection criteria of other focus detection areas other than the already selected focus detection area by operating the shutter key for instructing photographing. This makes it possible to form or establish a new focus detection area selection control form that effectively uses the shutter key.

本発明の一実施の形態に係るデジタルカメラの電気的構成を示すブロック図である。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, a focus frame is selected based on criteria different from the previous one. 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. However, the present invention is not limited to this, for example, the focus detection area selected together with the selection date and time is stored, 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 is compared with the subject image captured at the present time (halfway when the shutter key is pressed) from the CCD 18 (step S504), and whether there is a difference greater than a predetermined threshold. 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

前記課題を解決するため請求項記載の発明に係るカメラにあっては、複数の焦点検出エリアについて光学系の焦点を検出し焦点情報を取得する多焦点検出手段と、この多焦点検出手段により取得された複数の焦点情報に基づき前記複数の焦点検出エリアのいずれかを選択する選択手段と、この選択手段が選択した前記焦点検出エリアの焦点情報に基づき前記光学系を合焦させる光学系制御手段と、この光学系制御手段の動作により前記光学系が合焦した状態において、撮影指示の有無を検出する撮影指示検出手段と、前記多焦点検出手段が複数の焦点検出エリアについて焦点を検出した際の被写体画像とその後の被写体画像とを比較する比較手段と、この比較手段の比較結果に基づき前記両被写体画像に所定の閾値以上の変化があった場合であって、前記撮影指示検出手段により前記撮影指示が検出されなかった場合、前記多焦点検出手段を再動作させる再動作制御手段とを備える。 In order to solve the above-described problem, the camera according to the first aspect of the present invention includes a multifocal detection unit that detects a focal point of an optical system for a plurality of focus detection areas and acquires focus information, and the multifocal detection unit. A selection unit that selects one of the plurality of focus detection areas based on the acquired plurality of focus information, and an optical system control that focuses the optical system based on the focus information of the focus detection area selected by the selection unit And an imaging instruction detecting means for detecting presence / absence of an imaging instruction in a state where the optical system is in focus by the operation of the optical system control means, and the multi-focus detection means detects a focus for a plurality of focus detection areas. and the object image when the subsequent comparison means for comparing the object image, the field there has been a change of more than a predetermined threshold value in the two subject images based on the comparison result of the comparing means A is, when the photographing instruction is not detected by the imaging instruction detecting means, and a re-operation control means for re-operating the multi-focus detecting means.

また、請求項記載の発明に係るカメラにあっては、複数の焦点検出エリアのいずれかを選択する選択手段と、この選択手段により選択された焦点検出エリアについて光学系の焦点を検出し焦点情報を取得する焦点検出手段と、前記選択手段による焦点検出エリアの選択履歴を記憶する記憶手段と、この記憶手段に記憶された前記選択履歴に基づき、前記選択手段が選択する焦点検出エリアを決定する選択制御手段とを備える。したがって、自動選択又は手動選択された焦点検出エリアの選択頻度等、つまり撮影者により使用された焦点検出エリアを加味して、その意思を反映させつつ焦点検出エリアを選択することが可能となる。 In the camera according to the second aspect of the present invention, the selection means for selecting one of the plurality of focus detection areas, and the focus of the optical system is detected by detecting the focus of the focus detection area selected by the selection means. A focus detection unit that acquires information, a storage unit that stores a selection history of a focus detection area by the selection unit, and a focus detection area that the selection unit selects based on the selection history stored in the storage unit Selection control means. Accordingly, it is possible to select the focus detection area while reflecting the intention, considering the selection frequency of the focus detection area selected automatically or manually, that is, the focus detection area used by the photographer.

また、請求項記載の発明に係るカメラ制御プログラムにあっては、カメラが有するコンピュータを、複数の焦点検出エリアについて光学系の焦点を検出し焦点情報を取得する多焦点検出手段と、この多焦点検出手段により取得された複数の焦点情報に基づき前記複数の焦点検出エリアのいずれかを選択する選択手段と、この選択手段が選択した前記焦点検出エリアの焦点情報に基づき前記光学系を合焦させる光学系制御手段と、この光学系制御手段の動作により前記光学系が合焦した状態において、撮影指示の有無を検出する撮影指示検出手段と、前記多焦点検出手段が複数の焦点検出エリアについて焦点を検出した際の被写体画像と、その後の被写体画像とを比較する比較手段と、この比較手段の比較結果に基づき前記両被写体画像に所定の閾値以上の変化があった場合であって、前記撮影指示検出手段により前記撮影指示が検出されなかった場合、前記多焦点検出手段を再動作させる再動作制御手段として機能させる。したがって、前記コンピュータがこのプログラムに従って処理を実行することにより、請求項1記載の発明と同様の作用効果を奏する。
また、請求項4記載の発明に係るカメラ制御プログラムにあっては、カメラが有するコンピュータを、複数の焦点検出エリアのいずれかを選択する選択手段と、この選択手段により選択された焦点検出エリアについて光学系の焦点を検出し焦点情報を取得する焦点検出手段と、前記選択手段による焦点検出エリアの選択履歴を記憶する記憶手段と、この記憶手段に記憶された前記選択履歴に基づき、前記選択手段が選択する焦点検出エリアを決定する選択制御手段として機能させる。したがって、前記コンピュータがこのプログラムに従って処理を実行することにより、請求項2記載の発明と同様の作用効果を奏する。
According to a third aspect of the present invention, there is provided a camera control program comprising: a multi-focal point detection unit configured to detect a focal point of an optical system for a plurality of focal point detection areas and acquire focal point information; Selection means for selecting one of the plurality of focus detection areas based on the plurality of focus information acquired by the focus detection means, and focusing the optical system based on the focus information of the focus detection area selected by the selection means. An optical system control unit that performs the operation of the optical system control unit, a shooting instruction detection unit that detects the presence or absence of a shooting instruction in a state where the optical system is in focus, and the multi-focus detection unit includes a plurality of focus detection areas Comparing means for comparing the subject image when the focus is detected with the subsequent subject image, and the two subject images based on the comparison result of the comparing means. In a case where there is more than the threshold value of the change, when the photographing instruction is not detected by the imaging instruction detecting means, to function as a re-operation control means for re-operating the multi-focus detecting means. Therefore, when the computer executes processing according to this program, the same effects as those of the first aspect of the invention can be obtained.
In the camera control program according to the fourth aspect of the present invention, a selection unit that selects any one of a plurality of focus detection areas and a focus detection area selected by the selection unit for a computer included in the camera. Focus detection means for detecting the focus of the optical system and acquiring focus information, storage means for storing a focus detection area selection history by the selection means, and the selection means based on the selection history stored in the storage means Function as selection control means for determining a focus detection area to be selected. Therefore, when the computer executes processing according to this program, the same effects as those of the invention of claim 2 are obtained.

また、請求項記載の発明に係るカメラ制御方法にあっては、複数の焦点検出エリアについて光学系の焦点を検出し焦点情報を取得する多焦点検出工程と、この多焦点検出工程により取得された複数の焦点情報に基づき前記複数の焦点検出エリアのいずれかを選択する選択工程と、この選択工程で選択した前記焦点検出エリアの焦点情報に基づき前記光学系を合焦させる光学系制御工程と、この光学系制御工程の動作により前記光学系が合焦した状態において、撮影指示の有無を検出する撮影指示検出工程と、前記多焦点検出工程で複数の焦点検出エリアについて焦点を検出した際の被写体画像と、その後の被写体画像とを比較する比較工程と、この比較工程の比較結果に基づき前記両被写体画像に所定の閾値以上の変化があった場合であって、前記撮影指示検出工程により前記撮影指示が検出されなかった場合、前記多焦点検出工程を再動作させる再動作制御工程を含む。したがって、記載した工程に従って処理を実行することにより、請求項1記載の発明と同様の作用効果を奏する。
また、請求項6記載の発明に係るカメラ制御方法にあっては、複数の焦点検出エリアのいずれかを選択する選択工程と、この選択工程により選択された焦点検出エリアについて光学系の焦点を検出し焦点情報を取得する焦点検出工程と、前記選択工程による焦点検出エリアの選択履歴を記憶する記憶工程と、この記憶工程で記憶された前記選択履歴に基づき、前記選択工程が選択する焦点検出エリアを決定する選択制御工程とを含む。したがって、記載した工程に従って処理を実行することにより、請求項2記載の発明と同様の作用効果を奏する。
In the camera control method according to the fifth aspect of the present invention, the multi-focal point detection step for detecting the focal point of the optical system and acquiring the focal point information for a plurality of focal point detection areas, and the multi-focal point detection step are used. A selection step of selecting one of the plurality of focus detection areas based on the plurality of focus information, and an optical system control step of focusing the optical system based on the focus information of the focus detection area selected in the selection step; In the state where the optical system is in focus by the operation of the optical system control step, a shooting instruction detection step for detecting the presence / absence of a shooting instruction, and when the focus is detected for a plurality of focus detection areas in the multi-focus detection step This is a case where the subject image and a subsequent subject image are compared, and the both subject images have changed by more than a predetermined threshold based on the comparison result of the comparison step. , When the imaging instruction by the imaging instruction detection step is not detected, and a re-operation control step of re-operating the multi-focus detection step. Therefore, by performing the processing according to the described steps, the same effects as those of the first aspect of the invention can be achieved.
In the camera control method according to the sixth aspect of the present invention, the selection step for selecting one of the plurality of focus detection areas, and the focus of the optical system is detected for the focus detection area selected by the selection step. A focus detection step for acquiring focus information, a storage step for storing a selection history of a focus detection area by the selection step, and a focus detection area selected by the selection step based on the selection history stored in the storage step And a selection control step for determining. Therefore, by performing the processing according to the described steps, the same effects as those of the second aspect of the invention can be achieved.

以上のように請求項1,4及び7に係る発明によれば、選択手段(又は選択工程)で選択した焦点検出エリアと撮影者が意図する被写体とが合致する場合には、光学系制御手段(又は光学系制御工程)の動作により光学系が合焦した状態において、撮影者の操作により撮影指示が発生することにより、前記撮影者が意図する被写体に合焦した画像を撮影することができる。しかし、選択手段選択した焦点検出エリアと撮影者が意図する被写体とが合致しない場合等において、撮影者は撮影操作を行うことなく放置した場合において、被写体に変化があった場合には、多焦点検出手段(又は多焦点検出工程)が再動作して、複数の焦点検出エリアについて光学系の焦点を検出し焦点情報を取得する。したがって、この間に被写体に前後方向の変化、あるいは左右上下方向の変化が生じた場合であっても、多焦点検出手段が再動作することにより、変化があった被写体に対して複数の焦点検出エリアについて再度焦点が検出される。よって、被写体に前後方向の変化が生じた場合、あるいは左右上下方向の変化が生じた場合であっても、各焦点検出エリアにおいて合焦可能な焦点情報を取得することができ、その結果、選択される焦点検出エリアにおいて合焦した被写体を撮影することが可能となる。 As described above , according to the first , fourth, and seventh aspects of the present invention, when the focus detection area selected by the selection means (or the selection step) matches the subject intended by the photographer, the optical system control means. In the state where the optical system is in focus by the operation of (or the optical system control step), a shooting instruction is generated by the photographer's operation, whereby an image focused on the subject intended by the photographer can be taken. . However, in the case where the focus detection area selected by the selection means and the subject intended by the photographer do not match, the photographer leaves the camera without performing the photographing operation, and there are many changes in the subject. The focus detection means (or the multi-focus detection step) operates again to detect the focus of the optical system for a plurality of focus detection areas and acquire focus information. Therefore, even if a change in the front-rear direction or a change in the left-right / up-down direction occurs in the subject during this period, the multi-focus detection unit operates again, so that a plurality of focus detection areas are detected for the subject that has changed. Again, the focus is detected. Therefore, even when the subject changes in the front-rear direction or when the subject changes in the left-right direction, the focus information that can be focused in each focus detection area can be acquired. It is possible to photograph a subject in focus in the focus detection area.

また、請求項2,4及び6に係る発明によれば、自動選択又は手動選択された焦点検出エリアの選択頻度等、つまり撮影者により使用された焦点検出エリアを加味して、その意思を反映させつつ焦点検出エリアを選択することが可能となる。 In addition, according to the inventions according to claims 2, 4 and 6 , the intention frequency is reflected in consideration of the selection frequency of the focus detection area selected automatically or manually, that is, the focus detection area used by the photographer. Thus, it is possible to select the focus detection area.

Claims (16)

複数の焦点検出エリアについて光学系の焦点を検出し焦点情報を取得する多焦点検出手段と、
この多焦点検出手段により取得された複数の焦点情報に基づき前記複数の焦点検出エリアのいずれかを選択する選択手段と、
所定の操作に応答して前記多焦点検出手段及び選択手段を再動作させる再動作制御手段とを備え、
前記再動作制御手段は、
前記選択手段により既に選択された焦点検出エリアを除く他の焦点検出エリアを前記選択手段に選択させる第1の再動作制御手段、又は前記選択手段による焦点検出エリアの選択基準を変更する第2の再動作制御手段を含むことを特徴とするカメラ。
Multi-focal point detection means for detecting the focal point of the optical system for a plurality of focal point detection areas and acquiring focal point information;
Selection means for selecting any of the plurality of focus detection areas based on a plurality of focus information acquired by the multi-focus detection means;
A reoperation control means for reactivating the multifocal detection means and the selection means in response to a predetermined operation;
The re-operation control means includes
A first re-operation control unit that causes the selection unit to select another focus detection area other than the focus detection area that has already been selected by the selection unit; or a second that changes a selection criterion for the focus detection area by the selection unit. A camera comprising re-operation control means.
前記第1の再動作制御手段は、前記選択手段により既に選択された焦点検出エリアを除く他の複数の焦点検出エリアについて光学系の焦点を検出し焦点情報を取得するように前記多焦点検出手段を再動作させる手段を含むことを特徴とする請求項1記載のカメラ。   The first re-operation control unit is configured to detect the focus of the optical system and obtain focus information for a plurality of focus detection areas other than the focus detection area already selected by the selection unit. 2. The camera according to claim 1, further comprising means for re-operating the camera. 前記選択手段により選択された前記焦点検出エリアの焦点情報に基づき前記光学系を合焦させる光学系制御手段を更に備えたことを特徴とする請求項1又は2記載のカメラ。   3. The camera according to claim 1, further comprising optical system control means for focusing the optical system based on focus information of the focus detection area selected by the selection means. 前記多焦点検出手段は、所定キーの操作に応答して前記焦点を検出して焦点情報を取得し、
前記再動作制御手段は、所定の時間内に前記所定キーの操作が再度行われた場合に、前記多焦点検出手段及び選択手段を再動作させることを特徴とする請求項1、2又は3記載のカメラ。
The multifocal point detection means detects the focal point in response to an operation of a predetermined key to acquire focal point information,
4. The re-operation control unit re-activates the multi-focus detection unit and the selection unit when the operation of the predetermined key is performed again within a predetermined time. Camera.
前記所定キーの操作は、撮影指示を発生するシャッターキーに対する操作であることを特徴とする請求項4記載のカメラ。   5. The camera according to claim 4, wherein the operation of the predetermined key is an operation on a shutter key that generates a shooting instruction. 前記選択手段により焦点検出エリアが選択された状態において、撮影指示の有無を検出する撮影指示検出手段と、
前記撮影指示検出手段により前記撮影指示が検出された場合において、前記選択手段により選択されている焦点検出エリアの選択回数を焦点検出エリア毎に計測する計測手段を更に備え、
前記選択手段は、前記計測手段により計測された前記選択回数に基づき、前記複数の焦点検出エリアのいずれかを選択する手段を含むことを特徴とする請求項1から5にいずれか記載のカメラ。
In a state where a focus detection area is selected by the selection unit, a shooting instruction detection unit that detects the presence or absence of a shooting instruction;
When the photographing instruction is detected by the photographing instruction detection unit, the measuring unit further includes a measuring unit that measures the number of selections of the focus detection area selected by the selection unit for each focus detection area,
The camera according to claim 1, wherein the selection unit includes a unit that selects any of the plurality of focus detection areas based on the number of times of selection measured by the measurement unit.
前記選択手段は、前記計測手段により計測された前記選択回数に基づき、前記多焦点検出手段により取得された複数の焦点情報に基づき前記複数の焦点検出エリアのいずれかを選択するか否かを決定する手段を含むことを特徴とする請求項6記載のカメラ。   The selection unit determines whether to select any of the plurality of focus detection areas based on the plurality of focus information acquired by the multi-focus detection unit, based on the number of times of selection measured by the measurement unit. The camera according to claim 6, further comprising: 前記選択手段は、自動的に前記焦点検出エリアを選択する自動選択手段とともに、操作に応じて前記焦点検出エリアを選択する手動選択手段とを含み、
前記計測手段は、前記両選択手段により選択された各焦点検出エリアの選択回数を計測し、
前記自動選択手段は、当該自動選択手段が選択した選択回数と前記手動選択手段が選択した回数の少なくとも一方に基づき、前記複数の焦点検出エリアのいずれかを選択することを特徴とする請求項6又は7記載のカメラ。
The selection means includes automatic selection means for automatically selecting the focus detection area, and manual selection means for selecting the focus detection area according to an operation,
The measuring means measures the number of selections of each focus detection area selected by the both selecting means,
7. The automatic selection unit selects one of the plurality of focus detection areas based on at least one of a selection number selected by the automatic selection unit and a selection number selected by the manual selection unit. Or the camera of 7.
前記選択手段は、前記計測手段が計測した選択回数が多い焦点検出エリアを選択する手段を含むことを特徴とする請求項6、7又は8記載のカメラ。   9. The camera according to claim 6, 7 or 8, wherein the selecting means includes means for selecting a focus detection area having a large number of selections measured by the measuring means. 前記選択手段は、前記計測手段が計測した選択回数が少ない焦点検出エリアを除外して選択する手段を含むことを特徴とする請求項6、7又は8記載のカメラ。   9. The camera according to claim 6, 7 or 8, wherein the selecting means includes means for excluding a focus detection area with a small number of selections measured by the measuring means. 複数の焦点検出エリアについて光学系の焦点を検出し焦点情報を取得する多焦点検出手段と、
この多焦点検出手段により取得された複数の焦点情報に基づき前記複数の焦点検出エリアのいずれかを選択する選択手段と、
所定の操作に応答して前記選択手段を再動作させる再動作制御手段と、
前記多焦点検出手段が複数の焦点検出エリアについて焦点を検出した際の被写体画像と前記再動作制御手段が前記選択手段を再動作させる際の被写体画像とを比較する比較手段とを備え、
前記再動作制御手段は、
前記比較手段の比較結果に基づき前記両被写体画像に所定の閾値以上の変化があった場合、前記選択手段により既に選択された焦点検出エリアを含む複数の焦点検出エリアのいずれかを前記選択手段に選択させるか、あるいは前記選択手段による焦点検出エリアの選択基準を変更することなく前記複数の焦点検出エリアのいずれかを前記選択手段に選択させ、
前記比較手段の比較結果に基づき前記両被写体画像に所定の閾値以上の変化がなかった場合、前記選択手段により既に選択された焦点検出エリアを除く他の焦点検出エリアを前記選択手段に選択させるか、あるいは前記選択手段による焦点検出エリアの選択基準を変更した上で前記複数の焦点検出エリアのいずれかを前記選択手段に選択させることを特徴とするカメラ。
Multi-focal point detection means for detecting the focal point of the optical system for a plurality of focal point detection areas and acquiring focal point information;
Selection means for selecting any of the plurality of focus detection areas based on a plurality of focus information acquired by the multi-focus detection means;
Reoperation control means for reactivating the selection means in response to a predetermined operation;
Comparing means for comparing the subject image when the multi-focus detection means detects the focus for a plurality of focus detection areas and the subject image when the re-operation control means re-activates the selection means,
The re-operation control means includes
Based on the comparison result of the comparison means, when both the subject images change more than a predetermined threshold, any one of a plurality of focus detection areas including the focus detection area already selected by the selection means is used as the selection means. Let the selection means select one of the plurality of focus detection areas without changing the selection criteria of the focus detection area by the selection means,
Whether the selection means selects other focus detection areas other than the focus detection area already selected by the selection means when the two subject images have not changed more than a predetermined threshold based on the comparison result of the comparison means. Alternatively, the selection unit selects one of the plurality of focus detection areas after changing a selection criterion of the focus detection area by the selection unit.
複数の焦点検出エリアについて光学系の焦点を検出し焦点情報を取得する多焦点検出手段と、
この多焦点検出手段により取得された複数の焦点情報に基づき前記複数の焦点検出エリアのいずれかを選択する選択手段と、
この選択手段が選択した前記焦点検出エリアの焦点情報に基づき前記光学系を合焦させる光学系制御手段と、
この光学系制御手段の動作により前記光学系が合焦した状態において、撮影指示の有無を検出する撮影指示検出手段と、
前記多焦点検出手段が複数の焦点検出エリアについて焦点を検出した際の被写体画像とその後の被写体画像とを比較する比較手段と、
この比較手段の比較結果に基づき前記両被写体画像に所定の閾値以上の変化があった場合であって、前記撮影指示検出手段により前記撮影指示が検出されなかった場合、前記多焦点検出手段を再動作させる再動作制御手段と、
を備えることを特徴とするカメラ。
Multi-focal point detection means for detecting the focal point of the optical system for a plurality of focal point detection areas and acquiring focal point information;
Selection means for selecting any of the plurality of focus detection areas based on a plurality of focus information acquired by the multi-focus detection means;
Optical system control means for focusing the optical system based on the focus information of the focus detection area selected by the selection means;
In a state where the optical system is in focus by the operation of this optical system control means, a shooting instruction detection means for detecting the presence or absence of a shooting instruction;
Comparison means for comparing the subject image with the subsequent subject image when the multi-focus detection means detects the focus for a plurality of focus detection areas;
Based on the comparison result of the comparison unit, when the two subject images have changed by a predetermined threshold value or more and the imaging instruction detection unit does not detect the imaging instruction, the multi-focus detection unit is restarted. Re-operation control means for operating;
A camera comprising:
複数の焦点検出エリアのいずれかを選択する選択手段と、この選択手段により選択された焦点検出エリアについて光学系の焦点を検出し焦点情報を取得する焦点検出手段と、
前記選択手段による焦点検出エリアの選択履歴を記憶する記憶手段と、
この記憶手段に記憶された前記選択履歴に基づき、前記選択手段が選択する焦点検出エリアを決定する選択制御手段と
を備えることを特徴とするカメラ。
A selection unit that selects one of a plurality of focus detection areas, a focus detection unit that detects a focus of the optical system for the focus detection area selected by the selection unit, and acquires focus information;
Storage means for storing a selection history of a focus detection area by the selection means;
A camera comprising: selection control means for determining a focus detection area to be selected by the selection means based on the selection history stored in the storage means.
第1の操作と第2の操作とを可能なシャッターキーと、
このシャッターキーに対する前記第1及び第2の操作と前記第1の操作の解除とを検出する検出手段と、
この検出手段により前記シャッターキーに対する第1の操作が検出された場合、複数の焦点検出エリアについて光学系の焦点を検出し焦点情報を取得する多焦点検出手段と、
この多焦点検出手段により取得された複数の焦点情報に基づき前記複数の焦点検出エリアのいずれかを選択する選択手段と、
前記検出手段により前記シャッターキーに対する第1の操作の解除が検出されてから、所定時間内に再度前記第1の操作が検出された場合、前記選択手段を再動作させる再動作制御手段と、
前記検出手段により前記第2の操作が検出された場合、撮影処理を実行する撮影手段と
を備え、
前記再動作制御手段は、
前記選択手段により既に選択された焦点検出エリアを除く他の焦点検出エリアを前記選択手段に選択させる第1の再動作制御手段、又は前記選択手段による焦点検出エリアの選択基準を変更する第2の再動作制御手段を含むことを特徴とするカメラ。
A shutter key capable of a first operation and a second operation;
Detecting means for detecting the first and second operations on the shutter key and the release of the first operation;
When the first operation on the shutter key is detected by the detection means, multi-focus detection means for detecting the focus of the optical system and acquiring focus information for a plurality of focus detection areas;
Selection means for selecting any of the plurality of focus detection areas based on a plurality of focus information acquired by the multi-focus detection means;
Re-operation control means for re-operating the selection means when the first operation is detected again within a predetermined time after the detection means detects the release of the first operation on the shutter key;
When the second operation is detected by the detection means, a photographing means for executing a photographing process is provided.
The re-operation control means includes
A first re-operation control unit that causes the selection unit to select another focus detection area other than the focus detection area that has already been selected by the selection unit; or a second that changes a selection criterion for the focus detection area by the selection unit. A camera comprising re-operation control means.
カメラが有するコンピュータを、
複数の焦点検出エリアについて光学系の焦点を検出し焦点情報を取得する多焦点検出手段と、
この多焦点検出手段により取得された複数の焦点情報に基づき前記複数の焦点検出エリアのいずれかを選択する選択手段と、
所定の操作に応答して前記多焦点検出手段及び選択手段を再動作させる再動作制御手段として機能させるとともに、
前記再動作制御手段を、
前記選択手段により既に選択された焦点検出エリアを除く他の焦点検出エリアを前記選択手段に選択させる第1の再動作制御手段、又は前記選択手段による焦点検出エリアの選択基準を変更する第2の再動作制御手段
として機能させることを特徴とするカメラ制御プログラム。
The computer that the camera has
Multi-focal point detection means for detecting the focal point of the optical system for a plurality of focal point detection areas and acquiring focal point information;
Selection means for selecting any of the plurality of focus detection areas based on a plurality of focus information acquired by the multi-focus detection means;
In response to a predetermined operation, the multi-focal point detection unit and the selection unit function as a re-operation control unit that re-activates,
The re-operation control means;
A first re-operation control unit that causes the selection unit to select another focus detection area other than the focus detection area that has already been selected by the selection unit; or a second that changes a selection criterion for the focus detection area by the selection unit. A camera control program which functions as a re-operation control means.
複数の焦点検出エリアについて光学系の焦点を検出し焦点情報を取得する多焦点検出工程と、
この多焦点検出工程により取得された複数の焦点情報に基づき前記複数の焦点検出エリアのいずれかを選択する選択工程と、
所定の操作に応答して前記多焦点検出工程及び選択工程を再動作させる再動作制御工程とを含み、
前記再動作制御工程は、
前記選択手段により既に選択された焦点検出エリアを除く他の焦点検出エリアを前記選択工程で選択させる第1の再動作制御工程、又は前記選択工程による焦点検出エリアの選択基準を変更する第2の再動作制御工程を含むことを特徴とするカメラ制御方法。
A multi-focus detection step of detecting the focus of the optical system for a plurality of focus detection areas and acquiring focus information;
A selection step of selecting any of the plurality of focus detection areas based on a plurality of focus information acquired by the multi-focus detection step;
A re-operation control step that re-activates the multi-focus detection step and the selection step in response to a predetermined operation,
The re-operation control step includes
A first re-operation control step for selecting other focus detection areas other than the focus detection area already selected by the selection means in the selection step, or a second for changing a selection criterion for the focus detection area in the selection step A camera control method comprising a re-operation control step.
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 true JP2013054375A (en) 2013-03-21
JP5925107B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016170319A (en) * 2015-03-13 2016-09-23 キヤノン株式会社 Imaging device, control method of the same and program thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09281386A (en) * 1996-04-15 1997-10-31 Eastman Kodak Japan Kk Method for automatically detecting object for image
JPH09318865A (en) * 1996-05-24 1997-12-12 Nikon Corp Focusing device for camera
JPH1068865A (en) * 1997-06-09 1998-03-10 Canon Inc Automatic focusing device
JP2001108890A (en) * 1999-10-07 2001-04-20 Olympus Optical Co Ltd Camera
JP2005233985A (en) * 2004-02-17 2005-09-02 Sanyo Electric Co Ltd Auto-focus camera

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09281386A (en) * 1996-04-15 1997-10-31 Eastman Kodak Japan Kk Method for automatically detecting object for image
JPH09318865A (en) * 1996-05-24 1997-12-12 Nikon Corp Focusing device for camera
JPH1068865A (en) * 1997-06-09 1998-03-10 Canon Inc Automatic focusing device
JP2001108890A (en) * 1999-10-07 2001-04-20 Olympus Optical Co Ltd Camera
JP2005233985A (en) * 2004-02-17 2005-09-02 Sanyo Electric Co Ltd Auto-focus camera

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016170319A (en) * 2015-03-13 2016-09-23 キヤノン株式会社 Imaging device, control method of the same and program thereof

Also Published As

Publication number Publication date
JP5925107B2 (en) 2016-05-25

Similar Documents

Publication Publication Date Title
JP5954336B2 (en) Image processing apparatus, image processing method, and recording medium
US8284264B2 (en) Imaging apparatus, method, and program
JP7276393B2 (en) Imaging device and imaging method
JP4727534B2 (en) Imaging device
JP4153444B2 (en) Digital camera
JP2007074388A (en) Imaging apparatus and program thereof
JP2007232793A (en) Imaging apparatus
JP2006025238A (en) Imaging device
JP5051812B2 (en) Imaging apparatus, focusing method thereof, and recording medium
JP5546691B2 (en) Imaging apparatus, imaging method, and program
JP2009069696A (en) Imaging device and focusing control method
JP2009157123A (en) Imaging device
JP4665607B2 (en) Camera, camera control program, and camera control method
JP2009081810A (en) Photographing device and photographing method
JP5141392B2 (en) Imaging apparatus, peripheral sound range display method, and program
JP5629456B2 (en) Imaging apparatus and control method thereof
JP2008263478A (en) Imaging apparatus
JP5742282B2 (en) camera
JP5304756B2 (en) Camera, camera control program, and camera control method
JP2010062987A (en) Imaging apparatus and method
JP5925107B2 (en) Camera, camera control program, and camera control method
JP4747568B2 (en) Camera apparatus and photographing control program
JP5157528B2 (en) Imaging device
JP2012132957A (en) Imaging apparatus and setup method therefor
JP5093376B2 (en) Imaging apparatus and program thereof

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