JP6577737B2 - IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM - Google Patents

IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM Download PDF

Info

Publication number
JP6577737B2
JP6577737B2 JP2015080348A JP2015080348A JP6577737B2 JP 6577737 B2 JP6577737 B2 JP 6577737B2 JP 2015080348 A JP2015080348 A JP 2015080348A JP 2015080348 A JP2015080348 A JP 2015080348A JP 6577737 B2 JP6577737 B2 JP 6577737B2
Authority
JP
Japan
Prior art keywords
focus detection
information
angle
focus
evaluation information
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.)
Active
Application number
JP2015080348A
Other languages
Japanese (ja)
Other versions
JP2016200701A (en
Inventor
植山 輝彦
輝彦 植山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2015080348A priority Critical patent/JP6577737B2/en
Publication of JP2016200701A publication Critical patent/JP2016200701A/en
Application granted granted Critical
Publication of JP6577737B2 publication Critical patent/JP6577737B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、天体撮影時の焦点検出技術に関するものである。   The present invention relates to a focus detection technique during astronomical photography.

最近のデジタルカメラは、ノイズ削減技術の向上や高感度撮影による画質の飛躍的な向上によって従来では困難であった天体撮影が容易に行えるようになっている。ところで、天体を撮影する場合、最も困難なカメラの設定の1つにピント合わせがある。カメラのAF(オートフォーカス)機能によってピントを合わせる場合、構図によっては星よりも明るい地上の夜景の光源にピントが合ってしまうことがあるため、従来は地上の夜景が入らないように予め構図を変えてピントを合わせる必要があった。   Recent digital cameras can easily perform astronomical photography, which has been difficult in the past, by improving noise reduction technology and dramatically improving image quality through high-sensitivity photography. By the way, when photographing a celestial body, focusing is one of the most difficult camera settings. When focusing using the AF (autofocus) function of the camera, depending on the composition, the light source of the night scene on the ground that is brighter than the stars may be in focus. It was necessary to change the focus.

特許文献1では、カメラの仰角がある角度以上の場合に優先度が高く設定されている焦点検出領域の大きさを拡大したり数を増やすことによりAFのアルゴリズムを変更せずに所望の合焦状態を実現する方法が記載されている。   In Patent Document 1, when the elevation angle of the camera is equal to or greater than a certain angle, a desired focus can be achieved without changing the AF algorithm by enlarging the size or increasing the number of focus detection areas set with high priority. A method for realizing the state is described.

また、特許文献2では、カメラの像倍率の変化によって画面内での被写体の大きさや位置が変化することから、焦点検出領域の位置や大きさを像倍率変化に応じて変更する方法が記載されている。   Further, Patent Document 2 describes a method of changing the position and size of the focus detection area in accordance with the change in image magnification, because the size and position of the subject in the screen change due to the change in the image magnification of the camera. ing.

特開2012−128021号公報JP 2012-128021 A 特開2014−006477号公報JP 2014-006477 A

従来は、天体撮影時に星などの光源に自動でピントを合わせるAFにおいて、AF枠(焦点検出領域)に地上の夜景が写り込んでいる場合、星ではない地上の夜景の光源に合焦してしまう可能性がある。   Conventionally, in AF that automatically focuses on a light source such as a star during celestial photography, if a night scene on the ground is reflected in the AF frame (focus detection area), focus on the light source of the night scene on the ground that is not a star. There is a possibility.

特許文献1で天体撮影を行う場合、前景となる地上の風景を入れた構図で撮影することが多く、レンズの撮影画角の変化に応じて撮影画面内に占める地上の夜景の割合が変化する。このため、地上の夜景を精度良く検出し、地上の夜景を除いて焦点検出領域を拡大することが難しくなる。   When performing astronomical photography in Japanese Patent Laid-Open No. 2004-260260, shooting is often performed with a composition including a ground scene as a foreground, and the proportion of the night scene on the ground changes in the shooting screen according to the change in the shooting angle of view of the lens. . For this reason, it is difficult to accurately detect a night scene on the ground and to expand the focus detection area except for the night scene on the ground.

特許文献2で天体撮影を行う場合は、撮影画面内にある複数の光源が被写体になるため、像倍率の変化に伴う像の大きさや位置をあまり意識する必要がない。   When performing astronomical photography in Patent Document 2, since a plurality of light sources in the photographing screen become subjects, it is not necessary to be very aware of the size and position of the image accompanying the change in image magnification.

本発明は、上記課題に鑑みてなされ、天体撮影などを行う際に所望の被写体以外の光源に合焦しにくい焦点検出技術を実現することを目的としている。   The present invention has been made in view of the above problems, and an object of the present invention is to realize a focus detection technique that makes it difficult to focus on a light source other than a desired subject when performing astronomical photography.

上記課題を解決し、目的を達成するために、本発明の撮像装置は、撮像素子から出力された撮像画像に複数の焦点検出領域を設定する設定手段と、前記撮像素子の出力から、前記設定手段によって設定された焦点検出領域内の被写体の合焦状態を示す評価情報を生成する処理手段と、装置の姿勢情報を検出する姿勢検出手段と、撮影画角情報を検出する画角検出手段と、前記姿勢検出手段により得られた装置の姿勢情報と、前記画角検出手段により得られた撮影画角情報とに基づいて、前記設定手段により設定された複数の焦点検出領域のうち、地上部を含む焦点検出領域の評価情報とそれ以外の焦点検出領域の評価情報について、前記地上部を含む焦点検出領域の評価情報の方が重み付けが低くなるように、焦点検出を行う際の重み付けを決定する決定手段と、を有する。 In order to solve the above-described problems and achieve the object, the imaging apparatus of the present invention includes a setting unit that sets a plurality of focus detection areas in a captured image output from the imaging element, and the setting from the output of the imaging element. Processing means for generating evaluation information indicating the in-focus state of the subject in the focus detection area set by the means, attitude detection means for detecting the attitude information of the apparatus, and an angle of view detection means for detecting shooting angle of view information The ground portion of the plurality of focus detection areas set by the setting means based on the attitude information of the device obtained by the attitude detection means and the shooting angle-of-view information obtained by the angle-of-view detection means. evaluation information and evaluation data of the other focus detection areas in the focus detection area including, towards the evaluation information of the focus detection area including the aerial part is weighted so is low, the weighting at the time of performing focus detection A determining means for constant for, a.

本発明によれば、天体撮影などを行う際に所望の被写体以外の光源に合焦しにくい焦点検出技術を実現することができる。   According to the present invention, it is possible to realize a focus detection technique that makes it difficult to focus on a light source other than a desired subject when performing astronomical photography or the like.

本発明に係る実施形態の装置構成を示すブロック図。The block diagram which shows the apparatus structure of embodiment which concerns on this invention. 撮影時の姿勢検出方法を説明する図。The figure explaining the attitude | position detection method at the time of imaging | photography. 撮影画角検出方法を説明する図。The figure explaining the imaging | photography angle of view detection method. 撮影画面内から地上部を抽出する方法を説明する図。The figure explaining the method of extracting a ground part from the imaging | photography screen. 地上部を含む焦点検出領域の判定方法を説明する図。The figure explaining the determination method of the focus detection area | region containing a ground part. 広角レンズを用いた撮影時の画角と仰角の関係を説明する図。The figure explaining the relationship between the angle of view at the time of imaging | photography using a wide angle lens, and an elevation angle. 望遠レンズを用いた撮影時の画角と仰角の関係を説明する図。The figure explaining the relationship between a field angle at the time of imaging | photography using a telephoto lens, and an elevation angle. 本実施形態による焦点検出領域の重み付け決定処理を示すフローチャート。6 is a flowchart showing weight determination processing for a focus detection area according to the present embodiment. 図8における姿勢検出処理の詳細を示すフローチャート。The flowchart which shows the detail of the attitude | position detection process in FIG. 図8における地平線位置検出処理の詳細を示すフローチャート。The flowchart which shows the detail of the horizon position detection process in FIG.

以下に、本発明を実施するための形態について詳細に説明する。尚、以下に説明する実施の形態は、本発明を実現するための一例であり、本発明が適用される装置の構成や各種条件によって適宜修正又は変更されるべきものであり、本発明は以下の実施の形態に限定されるものではない。また、後述する各実施形態の一部を適宜組み合わせて構成しても良い。   Hereinafter, embodiments for carrying out the present invention will be described in detail. The embodiment described below is an example for realizing the present invention, and should be appropriately modified or changed according to the configuration and various conditions of the apparatus to which the present invention is applied. It is not limited to the embodiment. Moreover, you may comprise combining suitably one part of each embodiment mentioned later.

本実施形態では、本発明の撮像装置を、オートフォーカス(AF)機能を有するデジタルカメラにより実現した例について説明するが、携帯電話の一種であるスマートフォンやタブレット端末等の電子機器に搭載された焦点検出装置にも適用可能である。   In this embodiment, an example in which the imaging apparatus of the present invention is realized by a digital camera having an autofocus (AF) function will be described. However, a focus mounted on an electronic device such as a smartphone or a tablet terminal which is a kind of mobile phone. The present invention can also be applied to a detection device.

<装置構成>図1を参照して、本実施形態のAF機能を実現する焦点検出装置を搭載する撮像装置の構成について説明する。   <Apparatus Configuration> With reference to FIG. 1, the configuration of an imaging apparatus equipped with a focus detection apparatus for realizing the AF function of this embodiment will be described.

図1に示すように、本実施形態のデジタルカメラは、カメラ本体100と、レンズユニット200と、記録媒体300とを備える。   As shown in FIG. 1, the digital camera of this embodiment includes a camera body 100, a lens unit 200, and a recording medium 300.

まず、レンズユニット200の内部構成について説明する。   First, the internal configuration of the lens unit 200 will be described.

レンズユニット200は、カメラ本体100に対して着脱可能であり、カメラ本体100と電気的に接続するためのコネクタ201が設けられている。レンズユニット200のコネクタ201は、カメラ本体100に設けられたコネクタ197との間で情報や信号等をやりとりするためのインターフェースとなってカメラ本体100との通信を可能とする。   The lens unit 200 can be attached to and detached from the camera body 100, and a connector 201 for electrical connection with the camera body 100 is provided. The connector 201 of the lens unit 200 serves as an interface for exchanging information, signals, and the like with the connector 197 provided in the camera body 100, and enables communication with the camera body 100.

レンズユニット200は、被写体の光学像を電気信号に変換する撮像素子114の前段に配置されるズームレンズ202、フォーカスレンズ203、絞り機能を有するシャッター204を備える。   The lens unit 200 includes a zoom lens 202, a focus lens 203, and a shutter 204 having a diaphragm function, which are arranged in front of an image sensor 114 that converts an optical image of a subject into an electrical signal.

なお、レンズユニット200はコンパクトカメラのようにカメラ本体100に内蔵されて取り外しできない構成であってもよい。   The lens unit 200 may be configured so as to be built in the camera body 100 and cannot be removed like a compact camera.

次に、カメラ本体100の内部構成について説明する。   Next, the internal configuration of the camera body 100 will be described.

レンズユニット200を通過した被写体像光は、撮像素子114に結像される。撮像素子114は、被写体の光学像を電気信号に変換するCCDやCMOS等の光電変換素子を備える。ゲインアンプ115は、撮像素子114のアナログ信号出力を増幅してカメラの感度を設定する。   The subject image light that has passed through the lens unit 200 is imaged on the image sensor 114. The image sensor 114 includes a photoelectric conversion element such as a CCD or CMOS that converts an optical image of a subject into an electrical signal. The gain amplifier 115 amplifies the analog signal output of the image sensor 114 and sets the sensitivity of the camera.

A/D変換器116は、撮像素子114から出力され、ゲインアンプ115で増幅されたアナログ信号をデジタル画像データに変換する。タイミング発生部118は、メモリ制御部122及びシステム制御部150の制御の下に、撮像素子114、A/D変換器116及びD/A変換器126にクロック信号や制御信号を供給する。   The A / D converter 116 converts the analog signal output from the image sensor 114 and amplified by the gain amplifier 115 into digital image data. The timing generator 118 supplies a clock signal and a control signal to the image sensor 114, the A / D converter 116, and the D / A converter 126 under the control of the memory control unit 122 and the system control unit 150.

画像処理部120は、A/D変換器116からのデータ、又は、メモリ制御部122からのデータに対し所定の画素補間、縮小といったリサイズ処理や色変換処理を行う。また、画像処理部120では、撮像した画像データを用いて所定の演算処理が行われ、得られた演算結果に基づいてシステム制御部150が露光制御、測距制御を行う。これにより、TTL(スルー・ザ・レンズ)方式のAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュプリ発光)処理が行われる。画像処理部120ではさらに、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてTTL方式のAWB(オートホワイトバランス)処理も行っている。   The image processing unit 120 performs resize processing and color conversion processing such as predetermined pixel interpolation and reduction on the data from the A / D converter 116 or the data from the memory control unit 122. The image processing unit 120 performs predetermined calculation processing using the captured image data, and the system control unit 150 performs exposure control and distance measurement control based on the obtained calculation result. Thereby, AF (autofocus) processing, AE (automatic exposure) processing, and EF (flash pre-emission) processing of the TTL (through-the-lens) method are performed. The image processing unit 120 further performs predetermined calculation processing using the captured image data, and also performs TTL AWB (auto white balance) processing based on the obtained calculation result.

メモリ制御部122は、A/D変換器116、タイミング発生部118、画像処理部120、画像表示メモリ124、D/A変換器126、メモリ130及び圧縮伸長部132を制御する。   The memory control unit 122 controls the A / D converter 116, the timing generation unit 118, the image processing unit 120, the image display memory 124, the D / A converter 126, the memory 130, and the compression / decompression unit 132.

A/D変換器116から出力された画像データは、画像処理部120及びメモリ制御部122を介して、又はメモリ制御部122のみを介してメモリ130に書き込まれる。メモリ130は、撮像素子114によって得られ、A/D変換器116によりデジタル信号に変換された画像データを格納する。また、画像表示メモリ(ビデオメモリ)124は、画像表示部128に表示するための画像データを格納する。メモリ130は、所定枚数の静止画や所定時間の動画及び音声を格納するのに十分な記憶容量を備えている。これにより、連写撮影時においても高速かつ大量の画像をメモリ130に書き込むことが可能となる。なお、メモリ130を画像表示メモリ124として兼用してもよい。   The image data output from the A / D converter 116 is written into the memory 130 via the image processing unit 120 and the memory control unit 122 or only through the memory control unit 122. The memory 130 stores image data obtained by the image sensor 114 and converted into a digital signal by the A / D converter 116. The image display memory (video memory) 124 stores image data to be displayed on the image display unit 128. The memory 130 has a sufficient storage capacity to store a predetermined number of still images and a predetermined time of moving images and audio. As a result, even during continuous shooting, a large amount of images can be written in the memory 130 at high speed. Note that the memory 130 may also be used as the image display memory 124.

また、メモリ130は、システム制御部150のワークエリアとしても使用することが可能である。さらに、メモリ130は、ズーム制御部144のズーミング制御に対する焦点制御部142の焦点位置情報を記憶する機能も有する。   The memory 130 can also be used as a work area for the system control unit 150. Further, the memory 130 also has a function of storing focus position information of the focus control unit 142 for zooming control of the zoom control unit 144.

D/A変換器126は、画像表示メモリ124に格納されている画像表示用のデータをアナログ信号に変換して画像表示部128に供給する。こうして、画像表示メモリ124に書き込まれた表示用の画像データはD/A変換器126を介して画像表示部128により表示される。画像表示部128は、LCD等の表示器上に、D/A変換器126からのアナログ信号に応じた表示を行う。A/D変換器116によって一旦A/D変換され、画像表示メモリ124に蓄積された画像データをD/A変換器126においてアナログ信号に変換し、画像表示部128に逐次転送して表示することで、電子ビューファインダとして機能し、スルー画像(ライブビュー画像ともいう)の表示を行える。   The D / A converter 126 converts the image display data stored in the image display memory 124 into an analog signal and supplies the analog signal to the image display unit 128. Thus, the display image data written in the image display memory 124 is displayed by the image display unit 128 via the D / A converter 126. The image display unit 128 performs display according to the analog signal from the D / A converter 126 on a display such as an LCD. The A / D converter 116 A / D converts the image data temporarily stored in the image display memory 124 into analog signals in the D / A converter 126 and sequentially transfers them to the image display unit 128 for display. Thus, it functions as an electronic viewfinder and can display a through image (also referred to as a live view image).

圧縮伸長部132は、適応離散コサイン変換(ADCT)等の公知の画像圧縮方法を用いて画像データを圧縮・伸長する。圧縮伸長部132は、メモリ130に格納された画像を読み込んで圧縮処理又は伸長処理を行い、処理を終えたデータを再びメモリ130に書き込む。   The compression / decompression unit 132 compresses / decompresses image data using a known image compression method such as adaptive discrete cosine transform (ADCT). The compression / decompression unit 132 reads an image stored in the memory 130, performs compression processing or decompression processing, and writes the processed data to the memory 130 again.

露出制御部140は、メモリ制御部122を介してTTLによって測光された測光情報に基づくシステム制御部150の指示に従って、レンズユニット200のシャッター204やゲインアンプ115を制御する。   The exposure control unit 140 controls the shutter 204 and the gain amplifier 115 of the lens unit 200 in accordance with instructions from the system control unit 150 based on the photometric information measured by the TTL via the memory control unit 122.

焦点制御部142は、被写体像の位相差検出結果に基づくシステム制御部150の指示に従って、フォーカスレンズ203を駆動してAF処理を行う。   The focus control unit 142 performs AF processing by driving the focus lens 203 in accordance with an instruction from the system control unit 150 based on the phase difference detection result of the subject image.

ズーム制御部144は、ユーザのズーム操作に基づくシステム制御部150の指示に従って、レンズユニット200のズームレンズ202を駆動するズーミング制御を行う。   The zoom control unit 144 performs zooming control for driving the zoom lens 202 of the lens unit 200 in accordance with an instruction from the system control unit 150 based on the zoom operation of the user.

シャッタースイッチ160は、不図示シャッターボタンの操作途中、いわゆる半押し(撮影準備指示)でオンとなり第1シャッタースイッチ信号SW1を発生する。第1シャッタースイッチ信号SW1により、AF処理、AE処理、AWB処理、EF処理等の動作を開始する。   The shutter switch 160 is turned on when a shutter button (not shown) is being operated, so-called half-press (shooting preparation instruction), and generates a first shutter switch signal SW1. In response to the first shutter switch signal SW1, operations such as AF processing, AE processing, AWB processing, and EF processing are started.

また、シャッタースイッチ160は、不図示のシャッターボタンの操作完了、いわゆる全押し(撮影指示)でオンとなり、第2シャッタースイッチ信号SW2を発生する。システム制御部150は、第2シャッタースイッチ信号SW2により、撮像素子114からの信号読み出しから記録媒体300に画像データを書き込むまでの一連の撮影処理の動作を開始する。一連の撮影処理とは、撮像素子114から読み出した信号をA/D変換器116、メモリ制御部122を介してメモリ130に書き込む露光処理、画像処理部120やメモリ制御部122での演算を用いた現像処理、メモリ130から画像データを読み出し、圧縮伸長部132で圧縮を行い、記録媒体300に画像データを書き込む記録処理を含む。   Further, the shutter switch 160 is turned on when the operation of a shutter button (not shown) is completed, so-called full press (shooting instruction), and generates a second shutter switch signal SW2. In response to the second shutter switch signal SW2, the system control unit 150 starts a series of photographing processing operations from reading a signal from the image sensor 114 to writing image data on the recording medium 300. A series of imaging processes uses an exposure process in which a signal read from the image sensor 114 is written to the memory 130 via the A / D converter 116 and the memory control unit 122, and an operation in the image processing unit 120 and the memory control unit 122. Development processing, and recording processing for reading image data from the memory 130, performing compression by the compression / decompression unit 132, and writing the image data to the recording medium 300.

操作部162は、ユーザからの各種操作を受け付ける各種スイッチ、ボタン、タッチパネル等の操作部材からなる。システム制御部150は、操作部162からの入力信号に応じて各種動作を行う。操作部162は、例えば、メニューボタン、セットボタン、マクロボタン、マルチ画面再生改ページボタン、ストロボ設定ボタン、単写/連写/セルフタイマ切替ボタンを有する。また、ユーザは、操作部162を操作することにより、オートモードやプログラムモード、絞り優先モード、シャッタ速度優先モードのほか、天体撮影モード、夜景モード、子供撮影モード、花火撮影モード、水中撮影モード等、様々な撮影シーンに応じた設定を選択できる。   The operation unit 162 includes operation members such as various switches, buttons, and a touch panel that receive various operations from the user. The system control unit 150 performs various operations in accordance with input signals from the operation unit 162. The operation unit 162 includes, for example, a menu button, a set button, a macro button, a multi-screen playback page break button, a strobe setting button, and a single shooting / continuous shooting / self-timer switching button. In addition to the auto mode, the program mode, the aperture priority mode, and the shutter speed priority mode, the user operates the operation unit 162, as well as the astronomical shooting mode, night view mode, child shooting mode, fireworks shooting mode, underwater shooting mode, and the like. , Settings can be selected according to various shooting scenes.

また、操作部162は、メニュー移動+(プラス)ボタン、メニュー移動−(マイナス)ボタン、再生画像移動+(プラス)ボタン、再生画像−(マイナス)ボタン、撮像画質選択ボタン、露出補正ボタン、日付け/時間設定ボタンを有する。   In addition, the operation unit 162 includes a menu movement + (plus) button, a menu movement − (minus) button, a reproduction image movement + (plus) button, a reproduction image − (minus) button, an imaging quality selection button, an exposure correction button, a date. Has a date / time setting button.

姿勢検出部163は、加速度センサ(重力センサ)やジャイロ等が用いられ、その検出結果を用いて、システム制御部150は後述するようにカメラ本体100の姿勢(仰角やロール角等)を検出可能である。   The posture detection unit 163 uses an acceleration sensor (gravity sensor), a gyro, or the like, and using the detection result, the system control unit 150 can detect the posture (elevation angle, roll angle, etc.) of the camera body 100 as will be described later. It is.

不揮発性メモリ165は、電気的に消去・記録可能なメモリであり、例えばEEPROM等が用いられる。不揮発性メモリ165には、システム制御部150の動作用の定数、プログラム等が記憶される。ここでいう、プログラムとは、本実施形態にて後述する焦点検出処理を含む各種のフローチャートを実行するためのプログラムのことである。   The nonvolatile memory 165 is an electrically erasable / recordable memory, and for example, an EEPROM or the like is used. The nonvolatile memory 165 stores operation constants, programs, and the like for the system control unit 150. Here, the program is a program for executing various flowcharts including a focus detection process described later in the present embodiment.

システム制御部150は、デジタルカメラ全体を制御する。前述した不揮発性メモリ165に記録されたプログラムを実行することで、本実施形態の焦点検出処理を実現する。システムメモリ166は、システム制御部150の動作用のメモリであり、RAMが用いられる。システムメモリ166には、システム制御部150の動作用の定数、変数、不揮発性メモリ165から読み込んだプログラム等を展開する。また、システム制御部150は、メモリ130、D/A変換器126、画像表示部128等を制御することにより表示制御も行う。   The system control unit 150 controls the entire digital camera. By executing the program recorded in the nonvolatile memory 165 described above, the focus detection process of the present embodiment is realized. The system memory 166 is a memory for operating the system control unit 150, and a RAM is used. In the system memory 166, constants and variables for operation of the system control unit 150, programs read from the nonvolatile memory 165, and the like are expanded. The system control unit 150 also performs display control by controlling the memory 130, the D / A converter 126, the image display unit 128, and the like.

情報表示部167は、システム制御部150の指示に従って、文字、画像、音声等を用いてカメラの動作状態やメッセージ等を表示・出力するLCDやスピーカ等を含み、カメラ本体100の操作部162周辺の視認し易い位置に単数或いは複数箇所配置される。   The information display unit 167 includes an LCD, a speaker, and the like that display and output the operation state of the camera, messages, and the like using characters, images, sounds, and the like according to instructions from the system control unit 150. One or a plurality of positions are arranged at positions that are easily visible.

情報表示部167の表示内容のうち、LCD等に表示するものとしては、シングルショット/連写撮影表示、セルフタイマ表示、圧縮率表示、記録画素数表示、記録枚数表示、残撮影可能枚数表示、シャッタスピード表示、絞り値表示、露出補正表示がある。   Among the display contents of the information display unit 167, what is displayed on the LCD or the like includes single shot / continuous shooting shooting display, self-timer display, compression rate display, recording pixel number display, recording number display, remaining image number display, There are shutter speed display, aperture value display, and exposure compensation display.

また、LCD等に表示するものとしては、赤目緩和表示、マクロ撮像表示、ブザー設定表示、電池残量表示、エラー表示、複数桁の数字による情報表示がある。更に、LCD等に表示するものとしては、記録媒体300の着脱状態表示、日付け・時刻表示がある。   Also, what is displayed on the LCD or the like includes red-eye reduction display, macro imaging display, buzzer setting display, battery remaining amount display, error display, and information display with multiple digits. Further, what is displayed on the LCD or the like includes an attachment / detachment state display of the recording medium 300 and a date / time display.

電源制御部181は、電池検出回路、DC−DCコンバータ、通電するブロックを切り替えるスイッチ回路等により構成され、電池の装着の有無、電池の種類、電池残量の検出を行う。また、電源制御部181は、その検出結果及びシステム制御部150の指示に従ってDC−DCコンバータを制御し、必要な電圧を必要な期間、記録媒体300を含む各部へ供給する。   The power supply control unit 181 includes a battery detection circuit, a DC-DC converter, a switch circuit that switches a block to be energized, and the like, and detects whether or not a battery is installed, the type of battery, and the remaining battery level. Further, the power supply control unit 181 controls the DC-DC converter according to the detection result and an instruction from the system control unit 150, and supplies a necessary voltage to each unit including the recording medium 300 for a necessary period.

電源部186は、アルカリ電池やリチウム電池等の一次電池やNiCd電池やNiMH電池、リチウムイオン電池等の二次電池、ACアダプタ等からなる。   The power supply unit 186 includes a primary battery such as an alkaline battery or a lithium battery, a secondary battery such as a NiCd battery, a NiMH battery, or a lithium ion battery, an AC adapter, or the like.

電源制御部181と電源部186は、コネクタ182、184により接続される。   The power supply control unit 181 and the power supply unit 186 are connected by connectors 182 and 184.

記録媒体300は、撮影された画像を記録するためのメモリカードやハードディスク等の記録媒体であり、記録部302、記録媒体I/F304及びコネクタ306を備える。記録部302は、半導体メモリや磁気ディスク等から構成される。記録媒体I/F304は、記録部302とのインターフェースである。   The recording medium 300 is a recording medium such as a memory card or a hard disk for recording captured images, and includes a recording unit 302, a recording medium I / F 304, and a connector 306. The recording unit 302 includes a semiconductor memory, a magnetic disk, or the like. The recording medium I / F 304 is an interface with the recording unit 302.

カメラ本体100は、記録媒体300のコネクタ306が接続されるコネクタ192及び記録媒体300とのインターフェースである記録媒体I/F190を備える。   The camera body 100 includes a connector 192 to which the connector 306 of the recording medium 300 is connected and a recording medium I / F 190 that is an interface with the recording medium 300.

記録媒体インタフェース190及びコネクタ192としては、SD(登録商標)カード等の規格に準拠したものが用いられる。   As the recording medium interface 190 and the connector 192, those conforming to a standard such as an SD (registered trademark) card are used.

また、カメラ本体100は、無線通信部198のアンテナや通信コネクタ194に接続された有線ケーブルによって外部機器と通信可能に接続し、画像や音声その他の情報の送受信を行う。また、カメラ本体100は、無線通信部198や通信コネクタ194を介して無線LAN(Local Area Network)やインターネットにも接続可能である。   In addition, the camera body 100 is connected to an external device through a wired cable connected to the antenna of the wireless communication unit 198 or the communication connector 194 so as to transmit / receive images, sounds, and other information. In addition, the camera body 100 can be connected to a wireless LAN (Local Area Network) or the Internet via the wireless communication unit 198 or the communication connector 194.

次に、システム制御部150が本実施形態の焦点検出を実現するための機能ブロックについて説明する。   Next, functional blocks for the system control unit 150 to realize focus detection according to the present embodiment will be described.

システム制御部150は、仰角取得ブロック151、ロール角取得ブロック152、地上部抽出ブロック153、画角検出ブロック154、焦点検出領域判定ブロック155、重み付け決定ブロック156を備える。   The system control unit 150 includes an elevation angle acquisition block 151, a roll angle acquisition block 152, a ground portion extraction block 153, a field angle detection block 154, a focus detection area determination block 155, and a weight determination block 156.

仰角取得ブロック151は、姿勢検出部163としての加速度センサによる検出結果を用いて図4で後述するカメラ本体100の撮影時の仰角情報を算出する。   The elevation angle acquisition block 151 calculates elevation angle information at the time of shooting of the camera body 100 described later with reference to FIG. 4 using the detection result by the acceleration sensor as the posture detection unit 163.

ロール角取得ブロック152は、姿勢検出部163としての加速度センサによる検出結果を用いてカメラ本体100の撮影時のロール角情報(光軸まわりの傾き)を算出する傾き検出手段として機能する。   The roll angle acquisition block 152 functions as an inclination detection unit that calculates roll angle information (inclination about the optical axis) at the time of shooting of the camera body 100 using a detection result by the acceleration sensor as the posture detection unit 163.

画角検出ブロック154は、仰角取得ブロック151で算出された仰角情報、ロール角取得ブロック152で算出されたロール角情報、ズーム制御部144で得られたズームレンズ202の焦点距離情報などを用いてレンズの撮影画角情報を算出する。   The angle-of-view detection block 154 uses the elevation angle information calculated by the elevation angle acquisition block 151, the roll angle information calculated by the roll angle acquisition block 152, the focal length information of the zoom lens 202 obtained by the zoom control unit 144, and the like. The shooting field angle information of the lens is calculated.

地上部抽出ブロック153は、仰角取得ブロック151で算出された仰角情報、ロール角取得ブロック152で算出されたロール角情報、画角検出ブロック154で算出された撮影画角情報を用いて撮像画面内に含まれる地上部の位置を算出する。ここで、地上部は、星空や天体以外の地上及び地上に存在する被写体領域、例えば空と地表部分との境界を示す地平線として例示され、地形や構造物、河川や海などの水面も含む概念である。   The ground extraction block 153 uses the elevation angle information calculated by the elevation angle acquisition block 151, the roll angle information calculated by the roll angle acquisition block 152, and the shooting angle information calculated by the field angle detection block 154 to capture the image on the imaging screen. The position of the ground part included in is calculated. Here, the terrestrial part is exemplified as a horizon indicating the boundary between the sky and the surface part of the subject area existing on the ground and the ground other than the starry sky and the celestial body, for example, the concept including the topography, structures, water surfaces such as rivers and the sea It is.

焦点検出領域判定ブロック155は、撮像素子114の撮像面に複数の焦点検出領域を設定する。そして、焦点検出領域判定ブロック155は、地上部抽出ブロック153で得られた地上部を含む焦点検出領域があるか、あるいは、ある場合は地上部が含まれる焦点検出領域の位置を判定する。   The focus detection area determination block 155 sets a plurality of focus detection areas on the imaging surface of the image sensor 114. The focus detection area determination block 155 determines whether or not there is a focus detection area including the ground part obtained by the ground part extraction block 153 or, if there is, the position of the focus detection area including the ground part.

重み付け決定ブロック156は、焦点検出領域判定ブロック155による判定結果に応じて焦点検出領域の各焦点評価情報について、その信頼性を示す重み付けを決定する。焦点評価情報は、例えば、位相差検出方式を用いたAFでは、被写体の合焦状態を示すデフォーカス量に対応する。   The weight determination block 156 determines the weight indicating the reliability of each focus evaluation information of the focus detection area according to the determination result by the focus detection area determination block 155. The focus evaluation information corresponds to, for example, a defocus amount indicating the focused state of the subject in AF using a phase difference detection method.

システム制御部150は、さらに、撮像素子114の出力信号から焦点検出領域ごとの焦点評価情報を生成する処理手段と、各焦点評価情報について所定の重み付けを行って焦点検出を行う焦点検出手段と、得られた合焦位置情報に基づいて焦点制御部142を制御してAFを行う焦点調節手段としての機能を有する。   The system control unit 150 further includes processing means for generating focus evaluation information for each focus detection area from the output signal of the image sensor 114, focus detection means for performing focus detection by performing predetermined weighting on each focus evaluation information, Based on the obtained focus position information, the focus control unit 142 is controlled to function as a focus adjustment unit that performs AF.

<撮影時のカメラ本体の姿勢及び画角>次に、図2から図4を参照して、本実施形態のカメラ本体100の撮影時の姿勢(仰角やロール角)及び画角を算出する方法について説明する。   <Attitude and angle of view of camera body at the time of photographing> Next, referring to FIGS. 2 to 4, a method of calculating the posture (elevation angle and roll angle) and angle of view of the camera body 100 of the present embodiment at the time of photographing. Will be described.

図2は、本実施形態のデジタルカメラの姿勢検出部163として用いられる加速度センサにより検出されるカメラ本体100の軸方向を示している。図2において、カメラ本体100の光軸方向をZ軸とすると、光軸であるZ軸と直交する2軸のうち、垂直方向をY軸、水平方向をX軸と定義する。加速度センサからの出力値は、光軸が水平の状態ではZ軸方向の値がゼロになるのに対し、光軸が上下方向に向いた状態ではZ軸方向の値が−1gとなる。この特性を利用して加速度センサのZ軸方向の出力値の変化によってカメラ本体100の第1の姿勢情報として仰角を算出する。また、X軸方向とY軸方向の各出力値もZ軸方向と同じ原理で検出し、3軸方向の出力値からカメラ本体100の第2の姿勢情報としてロール角(Z軸まわりの傾き)を算出できる。   FIG. 2 shows the axial direction of the camera body 100 detected by an acceleration sensor used as the attitude detection unit 163 of the digital camera of this embodiment. In FIG. 2, when the optical axis direction of the camera body 100 is a Z axis, a vertical direction is defined as a Y axis and a horizontal direction is defined as an X axis among two axes orthogonal to the Z axis that is an optical axis. As for the output value from the acceleration sensor, the value in the Z-axis direction becomes zero when the optical axis is horizontal, whereas the value in the Z-axis direction becomes −1g when the optical axis is directed in the vertical direction. Using this characteristic, the elevation angle is calculated as the first posture information of the camera body 100 by the change in the output value of the acceleration sensor in the Z-axis direction. Further, the output values in the X-axis direction and the Y-axis direction are also detected based on the same principle as in the Z-axis direction, and the roll angle (tilt around the Z-axis) is used as the second posture information of the camera body 100 from the output values in the three-axis direction. Can be calculated.

なお、カメラ本体100の姿勢検出は加速度センサを用いた方法に限らず、ジャイロ等の他の手段を用いて実現してもよい。   The posture detection of the camera body 100 is not limited to a method using an acceleration sensor, and may be realized using other means such as a gyro.

図3は、レンズの撮影画角を示している。図3において、撮像素子114の撮像面の上下方向(Y軸方向)のサイズをa、ズームレンズ202の焦点距離をbとした場合、レンズの撮影画角θは、以下の式1により算出できる。   FIG. 3 shows the shooting angle of view of the lens. In FIG. 3, when the vertical size (Y-axis direction) size of the imaging surface of the imaging element 114 is a and the focal length of the zoom lens 202 is b, the shooting angle of view θ of the lens can be calculated by the following formula 1. .

θ=2*arcTan((a/2)/b)[rad]・・・(1)
すなわち、レンズの撮影画角θは、撮像素子114の撮像面のサイズaが大きくなるほど大きくなり、焦点距離bが長くなるほど小さくなる。
θ = 2 * arcTan ((a / 2) / b) [rad] (1)
In other words, the shooting angle of view θ of the lens increases as the imaging surface size a of the image sensor 114 increases, and decreases as the focal length b increases.

図4は、カメラ本体100の仰角の変化によって撮影画面内の所定の被写体領域としての地平線の位置を算出する方法を示している。   FIG. 4 shows a method of calculating the position of the horizon as a predetermined subject area in the shooting screen by changing the elevation angle of the camera body 100.

図4(a)は、撮像素子114の撮像面のサイズを示している。レンズの撮影画角θの最大値はイメージサークルの直径であるが、撮像面の上下方向のサイズによって撮影画角θが決まるため、ここでは撮像面の上下方向(Y軸方向)のサイズをav、水平方向(X軸方向)のサイズをahと定義する。   FIG. 4A shows the size of the imaging surface of the image sensor 114. The maximum value of the shooting angle of view θ of the lens is the diameter of the image circle, but since the shooting angle of view θ is determined by the vertical size of the imaging surface, here the size of the imaging surface in the vertical direction (Y-axis direction) is av. The size in the horizontal direction (X-axis direction) is defined as ah.

図4(b)は、カメラ本体100を光軸を含む側方から透視した場合の撮影画角θと仰角γの関係を示している。カメラ本体100の光軸方向と地上部(地平線)の水平方向(地平線)とがなす角度を仰角とすると、撮像面上の地平線は仰角が0°の場合は光軸中心を通る位置にある。この状態から仰角がγ(>0°)となった場合は撮影画角θとの割合を撮像面上でのサイズavの割合A/Bとして地平線の位置を算出する。   FIG. 4B shows the relationship between the shooting field angle θ and the elevation angle γ when the camera body 100 is seen through from the side including the optical axis. If the angle formed by the optical axis direction of the camera body 100 and the horizontal direction (horizon line) of the ground part (horizon line) is an elevation angle, the horizon line on the imaging surface is at a position passing through the center of the optical axis when the elevation angle is 0 °. When the elevation angle becomes γ (> 0 °) from this state, the position of the horizon is calculated with the ratio of the shooting angle of view θ as the ratio A / B of the size av on the imaging surface.

撮像面上の光軸中心からの地平線の移動距離をAとし、撮像面の上下方向の光軸中心からのサイズをBとすると、仰角γのときの撮像面上の地平線の移動距離Aは、以下の式2より近似することができる。   If the moving distance of the horizon from the optical axis center on the imaging surface is A and the size from the vertical optical axis center of the imaging surface is B, the moving distance A of the horizon on the imaging surface at the elevation angle γ is It can be approximated by the following formula 2.

A≒(γ/θ)・B・2・・・(2)
図4(c)は、カメラ本体100の仰角と撮像面上における地平線の位置関係を示している。図4(c)では、撮像面上の地平線が光軸中心から距離Aだけ移動した位置になること示している。つまり、第1焦点検出領域から第3焦点検出領域が、図4(c)のように撮像画内に上下方向に3列に設定されている場合、仰角の変化によって、地平線が第2焦点検出領域から第3焦点検出領域に移動したことを表している。
A≈ (γ / θ) · B · 2 (2)
FIG. 4C shows the positional relationship between the elevation angle of the camera body 100 and the horizon on the imaging surface. FIG. 4C shows that the horizon on the imaging surface is a position moved by a distance A from the center of the optical axis. That is, when the first focus detection region to the third focus detection region are set in three rows in the vertical direction in the captured image as shown in FIG. 4C, the horizon is detected as the second focus due to the change in elevation angle. This indicates that the region has moved to the third focus detection region.

なお、撮像面の上下方向の光軸中心からのサイズBはカメラ本体100の光軸まわりの傾きであるロール角によって変化し、カメラ本体100が水平状態(通常位置、横位置)の場合はB=av/2であり、垂直状態(縦位置)の場合はB=ah/2となる。   Note that the size B from the center of the optical axis in the vertical direction of the imaging surface changes depending on the roll angle that is the inclination of the camera body 100 around the optical axis, and B when the camera body 100 is in a horizontal state (normal position, horizontal position). = Av / 2, and in the vertical state (vertical position), B = ah / 2.

<撮影画角と仰角との関係>次に、図5及び図6を参照して、本実施形態のカメラ本体100の仰角変化に応じてレンズの撮影画角が変化する様子を説明する。   <Relationship Between Shooting Field Angle and Elevation Angle> Next, with reference to FIGS. 5 and 6, the manner in which the shooting field angle of the lens changes in accordance with the elevation angle change of the camera body 100 of this embodiment will be described.

図5は、カメラ本体100に広角レンズが装着されている場合にカメラ本体100の仰角を変化させたときの撮影画角の変化を示している。   FIG. 5 shows a change in the shooting angle of view when the elevation angle of the camera body 100 is changed when a wide-angle lens is attached to the camera body 100.

図5(a)は、カメラ本体100を水平状態にして天体撮影を行う様子を示し、撮像面が9分割された焦点検出領域の中で、下側の6個の焦点検出領域に地平線が写り込んでいる。この場合、天体の光源としての星にピントを合わせるためには上側の3個の焦点検出領域の焦点評価情報を用いて星の合焦位置を検出する必要がある。   FIG. 5A shows a state where the camera body 100 is placed in a horizontal state to perform astronomical photography, and in the focus detection areas in which the imaging surface is divided into nine, the horizon lines appear in the lower six focus detection areas. It is crowded. In this case, in order to focus on the star as the light source of the celestial body, it is necessary to detect the in-focus position of the star using the focus evaluation information of the upper three focus detection areas.

図5(b)は、図5(a)の水平状態からカメラ本体100の仰角をδ°に変化させた状態を示している。図6(b)では、9分割された焦点検出領域の中で、下側の3個の焦点検出領域に地平線が写り込んでいる。この場合、上側の6個の焦点検出領域の焦点評価情報を用いて星の合焦位置を検出するように各焦点検出領域の焦点評価値の重み付けを決定する。   FIG. 5B shows a state in which the elevation angle of the camera body 100 is changed to δ ° from the horizontal state of FIG. In FIG. 6B, the horizon line is reflected in the lower three focus detection areas among the nine focus detection areas. In this case, the weight of the focus evaluation value of each focus detection area is determined so as to detect the in-focus position of the star using the focus evaluation information of the upper six focus detection areas.

図5(c)は、図5(a)の水平状態からカメラ本体100の仰角をε°に変化させた状態を示している(ε>δ)。この場合、いずれの焦点検出領域にも地平線が写り込まないため、すべての焦点検出領域の焦点評価情報を用いて星の合焦位置を検出するように各焦点検出領域の焦点評価情報の重み付けを決定する。   FIG. 5C shows a state where the elevation angle of the camera body 100 is changed to ε ° from the horizontal state of FIG. 5A (ε> δ). In this case, since the horizon is not reflected in any focus detection area, the focus evaluation information of each focus detection area is weighted so that the focus position of the star is detected using the focus evaluation information of all focus detection areas. decide.

図6は、カメラ本体100に望遠レンズが装着されている場合にカメラ本体100の仰角を0°からδ°まで変化させた様子を示している。   FIG. 6 shows a state in which the elevation angle of the camera body 100 is changed from 0 ° to δ ° when a telephoto lens is attached to the camera body 100.

図6(a)は、カメラ本体100を水平状態にして天体撮影を行う様子を示し、撮像面が9分割された焦点検出領域の中で、下側の6個の焦点検出領域に地平線が写り込んでいる。この場合、天体の光源としての星にピントを合わせるためには上側の3個の焦点検出領域の焦点評価情報を用いて星の合焦位置を検出する必要がある。   FIG. 6A shows a state in which astronomical photography is performed with the camera body 100 in a horizontal state, and in the focus detection area in which the imaging surface is divided into nine, the horizon is reflected in the lower six focus detection areas. It is crowded. In this case, in order to focus on the star as the light source of the celestial body, it is necessary to detect the in-focus position of the star using the focus evaluation information of the upper three focus detection areas.

図6(b)は、図6(a)の水平状態からカメラ本体100の仰角をδ°に変化させた状態を示している。この場合、いずれの焦点検出領域にも地平線が写り込まないため、すべての焦点検出領域の焦点評価情報を用いて星の合焦位置を検出するように各焦点検出領域の焦点評価情報の重み付けを決定する。   FIG. 6B shows a state in which the elevation angle of the camera body 100 is changed to δ ° from the horizontal state of FIG. In this case, since the horizon is not reflected in any focus detection area, the focus evaluation information of each focus detection area is weighted so that the focus position of the star is detected using the focus evaluation information of all focus detection areas. decide.

図5及び図6から、広角レンズ装着時よりも望遠レンズ装着時の方が画角が小さい分だけカメラ本体100の仰角変化による撮像面の位置の移動量が大きいことがわかる。   5 and 6 that the amount of movement of the position of the imaging surface due to the elevation angle change of the camera body 100 is larger when the telephoto lens is attached than when the wide-angle lens is attached.

なお、重み付けの方法は、係数を用いて各焦点評価値を加工する方法や、閾値との比較により焦点評価値を決定する方法や、焦点検出領域ごとの相対的な比較により焦点評価値を決定する方法など、様々な方法が適用できる。   The weighting method is a method of processing each focus evaluation value using a coefficient, a method of determining a focus evaluation value by comparison with a threshold value, or a focus evaluation value by relative comparison for each focus detection area. Various methods, such as a method of performing, can be applied.

<焦点検出領域の判定方法>次に、図7を参照して、カメラ本体100の仰角が変化したときの地平線を含む焦点検出領域を判定する方法について説明する。   <Focus Detection Area Determination Method> Next, a method for determining the focus detection area including the horizon when the elevation angle of the camera body 100 changes will be described with reference to FIG.

図7(a)は、カメラ本体100の仰角が0°のときの地平線と焦点検出領域の位置関係を示している。図7(a)では、地平線が光軸中心を通る位置にあるため、第2焦点検出領域内に地平線が存在する。この場合、地平線を含む第2焦点検出領域は、地上の夜景の光源の影響を受ける可能性が高い。このため、地上部を含むと推定される第2焦点検出領域とそれより下方の第3焦点検出領域の焦点評価情報の重み付けについて、第2焦点検出領域より上方にある第1焦点検出領域に比べて低く設定する。   FIG. 7A shows the positional relationship between the horizon and the focus detection area when the elevation angle of the camera body 100 is 0 °. In FIG. 7A, since the horizon is at a position passing through the center of the optical axis, the horizon exists in the second focus detection region. In this case, the second focus detection area including the horizon is likely to be affected by the light source of the night scene on the ground. For this reason, the weighting of the focus evaluation information of the second focus detection region estimated to include the ground portion and the third focus detection region below the second focus detection region is higher than that of the first focus detection region above the second focus detection region. And set it low.

図7(b)は、図7(a)の水平状態からカメラ本体100の仰角を下側に変化させた状態を示している。図7(b)では、地平線が第1焦点検出領域の中に存在する。この場合、地平線を含むすべての焦点検出領域は、地上の夜景の光源の影響を受ける可能性が高いため、すべての焦点検出領域の焦点評価情報の重み付けを低く設定する。   FIG. 7B shows a state where the elevation angle of the camera body 100 is changed downward from the horizontal state of FIG. In FIG. 7B, the horizon exists in the first focus detection area. In this case, since all the focus detection areas including the horizon are likely to be affected by the light source of the night scene on the ground, the weight of the focus evaluation information of all the focus detection areas is set low.

図7(c)は、図7(a)の水平状態からカメラ本体100の仰角を上側に変化させた状態を示している。図7(c)では、地平線が第3焦点検出領域の中に存在するため、地上部を含むと推定される第3焦点検出領域の焦点評価情報の重み付けについて、それより上方の第1焦点検出領域及び第2焦点検出領域に比べて低く設定する。   FIG. 7C shows a state in which the elevation angle of the camera body 100 is changed upward from the horizontal state of FIG. In FIG. 7C, since the horizon exists in the third focus detection region, the first focus detection above the focus evaluation information weighting of the third focus detection region estimated to include the ground part is performed. It is set lower than the area and the second focus detection area.

図7(d)は、図7(c)の状態からカメラ本体100の仰角をさらに上側に変化させた状態を示している。図7(d)では、地平線が最下部の第3焦点検出領域よりも下方に存在する。この場合、すべての焦点検出領域は、地上の夜景の光源の影響を受ける可能性が低いため、すべての焦点検出領域の焦点評価値の重み付けを高く設定する。   FIG. 7D shows a state in which the elevation angle of the camera body 100 is changed further upward from the state of FIG. In FIG. 7D, the horizon exists below the lowermost third focus detection region. In this case, since all the focus detection areas are unlikely to be affected by the light source of the night scene on the ground, the weights of the focus evaluation values of all the focus detection areas are set high.

なお、図示の例では、第1焦点検出領域から第3焦点検出領域が上下方向に3つ設定された構成を例示したが、垂直方向と水平方向に複数に分割された焦点検出領域が設定された場合であっても同様である。また、カメラ本体100が光軸まわりに傾いた状態であっても、その傾き(ロール角)に応じて地上部がいずれかの焦点検出領域に存在するか否かを判定し、上記と同様に焦点評価情報の重み付けを決定すればよい。   In the illustrated example, a configuration in which three first focus detection areas to three third focus detection areas are set in the vertical direction is illustrated. However, a focus detection area divided into a plurality of vertical and horizontal directions is set. The same applies even if Further, even when the camera body 100 is tilted around the optical axis, it is determined whether the ground portion exists in any focus detection region according to the tilt (roll angle), and the same as described above. What is necessary is just to determine the weight of focus evaluation information.

<重み付け決定処理>次に、図8を参照して、本実施形態の撮像装置が焦点検出を行う際の焦点検出領域の焦点評価情報の重み付け決定処理について説明する。   <Weighting Determination Process> Next, with reference to FIG. 8, a description will be given of the weighting determination process for the focus evaluation information of the focus detection area when the imaging apparatus of this embodiment performs focus detection.

なお、本実施形態では、図7に示したように、撮像面上に、第1焦点検出領域、第2焦点検出領域、第3焦点検出領域が上下方向に3つ設定されているものとする。また、本実施形態では、地上部及び地上部に存在する被写体領域として地平線を用いるものとする。なお、本発明は、これらの実施形態に限られるものではないことは言うまでもない。   In the present embodiment, as shown in FIG. 7, three first focus detection areas, second focus detection areas, and third focus detection areas are set on the imaging surface in the vertical direction. . In the present embodiment, it is assumed that the horizon is used as the ground part and the subject area existing on the ground part. Needless to say, the present invention is not limited to these embodiments.

図8の処理は、天体撮影モードに設定された場合に、シャッタースイッチ160からの撮影準備指示をトリガーとしたAF処理時に実行される。そして、図8のフローチャートは、システム制御部150のCPUが不揮発性メモリ165から読み出したプログラムをシステムメモリ166に展開して実行することで実現する。後述の図9及び図10に示すフローチャートについても同様である。   The processing in FIG. 8 is executed during AF processing triggered by a shooting preparation instruction from the shutter switch 160 when the astronomical shooting mode is set. The flowchart of FIG. 8 is realized by developing a program read from the nonvolatile memory 165 by the CPU of the system control unit 150 into the system memory 166 and executing it. The same applies to flowcharts shown in FIGS. 9 and 10 described later.

ステップS800では、システム制御部150は、カメラ本体100の姿勢(仰角、ロール角)を検出する。   In step S800, the system control unit 150 detects the posture (elevation angle, roll angle) of the camera body 100.

ステップS801では、システム制御部150は、撮像面上における地平線の位置を検出する。   In step S801, the system control unit 150 detects the position of the horizon on the imaging surface.

ステップS802では、システム制御部150は、焦点検出領域判定ブロック155においてステップS801で検出した地平線の位置が第1焦点検出領域内に存在しているか否かを判定する。判定の結果、地平線が第1焦点検出領域内に存在している場合はステップS807に進み、そうでない場合はステップS803に進む。   In step S802, the system control unit 150 determines whether or not the position of the horizon detected in step S801 in the focus detection area determination block 155 exists in the first focus detection area. As a result of the determination, if the horizon exists within the first focus detection area, the process proceeds to step S807, and if not, the process proceeds to step S803.

ステップS807では、システム制御部150は、重み付け決定ブロック156において第1焦点検出領域から第3焦点検出領域の各焦点評価情報の重み付けを低く設定して、処理を終了する。この処理は、図7(b)で説明した状態に対応する。   In step S807, the system control unit 150 sets the weight of each focus evaluation information from the first focus detection area to the third focus detection area low in the weight determination block 156, and ends the process. This process corresponds to the state described with reference to FIG.

ステップS803では、システム制御部150は、焦点検出領域判定ブロック155においてステップS801で検出した地平線が第2焦点検出領域内に存在しているか否かを判定する。判定の結果、地平線が第2焦点検出領域に存在している場合はステップS808に進み、そうでない場合はステップS804に進む。   In step S803, the system control unit 150 determines whether the horizon detected in step S801 in the focus detection area determination block 155 exists in the second focus detection area. As a result of the determination, if the horizon exists in the second focus detection region, the process proceeds to step S808, and if not, the process proceeds to step S804.

ステップS808では、システム制御部150は、重み付け決定ブロック156において第1焦点検出領域の焦点評価情報の重み付けを高く設定し、第2焦点検出領域及び第3焦点検出領域の各焦点評価情報の重み付けを低く設定して、処理を終了する。   In step S808, the system control unit 150 sets the weight of the focus evaluation information in the first focus detection area high in the weight determination block 156, and sets the weight of the focus evaluation information in the second focus detection area and the third focus detection area. Set it low and finish the process.

ステップS804では、システム制御部150は、焦点検出領域判定ブロック155においてステップS801で検出した地平線が第3焦点検出領域内に存在しているか否かを判定する。判定の結果、地平線が第3焦点検出領域内に存在している場合はステップS809に進み、そうでない場合はステップS805に進む。   In step S804, the system control unit 150 determines whether or not the horizon detected in step S801 in the focus detection area determination block 155 exists in the third focus detection area. As a result of the determination, if the horizon exists within the third focus detection area, the process proceeds to step S809, and if not, the process proceeds to step S805.

ステップS809では、システム制御部150は、重み付け決定ブロック156において第1焦点検出領域及び第2焦点検出領域の各焦点評価情報の重み付けを高く設定し、第3焦点検出領域の焦点評価情報の重み付けを低く設定して、処理を終了する。この処理は、図7(c)で説明した状態に対応する。   In step S809, the system control unit 150 sets the weight of the focus evaluation information of the first focus detection area and the second focus detection area to be high in the weight determination block 156, and sets the weight of the focus evaluation information of the third focus detection area. Set it low and finish the process. This process corresponds to the state described with reference to FIG.

ステップS805では、システム制御部150は、焦点検出領域判定ブロック155においてステップS801で検出した地平線が第3焦点検出領域より下方に存在しているか否かを判定する。判定の結果、地平線が第3焦点検出領域より下方に存在している場合はステップS810に進み、そうでない場合はステップS806に進む。   In step S805, the system control unit 150 determines whether or not the horizon detected in step S801 in the focus detection area determination block 155 exists below the third focus detection area. As a result of the determination, if the horizon exists below the third focus detection area, the process proceeds to step S810; otherwise, the process proceeds to step S806.

ステップS810では、システム制御部150は、カメラ本体100の光軸が天頂方向に向いていると判定されるので、重み付け決定ブロック156において第1焦点検出領域から第3焦点検出領域の各焦点評価値情報重み付けを高く設定して、処理を終了する。この処理は、図7(d)で説明した状態に対応する。   In step S810, the system control unit 150 determines that the optical axis of the camera body 100 is oriented in the zenith direction, and thus, in the weight determination block 156, each focus evaluation value from the first focus detection area to the third focus detection area. The information weighting is set high, and the process ends. This process corresponds to the state described with reference to FIG.

ステップS806では、システム制御部150は、地平線は第1焦点検出領域の上方に位置すると判定できるので、第1焦点検出領域から第3焦点検出領域の各焦点評価情報の重み付けを低く設定して、処理を終了する。   In step S806, since the system control unit 150 can determine that the horizon is located above the first focus detection area, the weight of each focus evaluation information from the first focus detection area to the third focus detection area is set low, The process ends.

<姿勢検出処理>次に、図9を参照して、図8のステップS800におけるカメラ本体100の姿勢検出処理について説明する。   <Attitude Detection Process> Next, with reference to FIG. 9, the attitude detection process of the camera body 100 in step S800 of FIG. 8 will be described.

本実施形態では、姿勢検出部163として加速度センサを用いたカメラ本体100の姿勢(仰角、ロール角)を検出する方法について説明するが、ジャイロ等の他の手段を用いてもよい。   In the present embodiment, a method for detecting the posture (elevation angle, roll angle) of the camera body 100 using an acceleration sensor as the posture detection unit 163 will be described, but other means such as a gyro may be used.

ステップS900では、システム制御部150は、加速度センサによりカメラ本体100のZ軸方向の出力値を取得する。   In step S900, the system control unit 150 acquires an output value in the Z-axis direction of the camera body 100 using an acceleration sensor.

ステップS901では、システム制御部150は、仰角取得ブロック151においてステップS900で取得したZ軸方向の出力値を用いてカメラ本体100の仰角を算出する
ステップS902では、システム制御部150は、加速度センサによりカメラ本体100のX軸方向及びY軸方向の各出力値を取得する。
In step S901, the system control unit 150 calculates the elevation angle of the camera body 100 using the output value in the Z-axis direction acquired in step S900 in the elevation angle acquisition block 151. In step S902, the system control unit 150 uses an acceleration sensor. The respective output values of the camera body 100 in the X axis direction and the Y axis direction are acquired.

ステップS903では、システム制御部150は、ロール角取得ブロック152においてステップS902で取得したX軸方向及びY軸方向の各出力値も用いて、カメラ本体100のロール角を算出する。   In step S903, the system control unit 150 calculates the roll angle of the camera body 100 using the output values in the X-axis direction and the Y-axis direction acquired in step S902 in the roll angle acquisition block 152.

<地平線位置検出処理>次に、図10を参照して、図8のステップS801における地平線の位置検出処理について説明する。   <Horizon Line Position Detection Processing> Next, the horizon position detection processing in step S801 in FIG. 8 will be described with reference to FIG.

ステップS1000では、システム制御部150は、画角検出ブロック154においてズームレンズ202の焦点距離情報を取得する。   In step S <b> 1000, the system control unit 150 acquires focal length information of the zoom lens 202 in the view angle detection block 154.

ステップS1001では、システム制御部150は、図9の処理により得たカメラ本体100の姿勢情報(仰角やロール角)を取得する。   In step S1001, the system control unit 150 acquires posture information (elevation angle and roll angle) of the camera body 100 obtained by the process of FIG.

ステップS1002では、システム制御部150は、撮像素子114の撮像面の有効画素範囲として上下方向のサイズ情報(図4の距離B=av/2)を取得する。そして、画角検出ブロック154においてステップS1000で取得したズームレンズ202の焦点距離情報と撮像面のサイズ情報を用いて撮影画角情報を算出する。   In step S1002, the system control unit 150 acquires size information in the vertical direction (distance B = av / 2 in FIG. 4) as the effective pixel range of the imaging surface of the imaging device 114. Then, in the angle-of-view detection block 154, shooting angle-of-view information is calculated using the focal length information of the zoom lens 202 acquired in step S1000 and the size information of the imaging surface.

ステップS1003では、システム制御部150は、地上部抽出ブロック153において、ステップS1001で取得したカメラ本体100の仰角とステップS1002で算出した撮影画角情報から撮像面上の地平線の位置(図4の距離A)を算出する。   In step S1003, the system control unit 150 determines the position of the horizon on the imaging surface (distance in FIG. 4) from the elevation angle of the camera body 100 acquired in step S1001 and the shooting angle of view information calculated in step S1002 in the ground part extraction block 153. A) is calculated.

以上のように、本実施形態によれば、天体撮影モードで星などの被写体を撮影する場合に、構図に星空や天体以外の地上の夜景が入ることにより、星などの光源ではなく、地上の夜景の光源に合焦してしまうような焦点検出が行われにくくなる。   As described above, according to the present embodiment, when shooting a subject such as a star in the astrophotography mode, a starry sky or a night view of the ground other than the celestial body enters the composition, so that the ground It is difficult to perform focus detection that causes the light source to focus on the night view.

なお、本実施形態では、カメラ本体100の仰角を用いて複数の焦点検出領域の焦点評価情報について重み付けを決定したが、GPS(全地球測位システム)による現在位置情報(撮影位置情報)や方位センサによる方角情報、地図情報等と組み合わせて、撮影画面内の地形や建物等の構造物の高さを推定することにより、焦点検出領域ごとに重み付けを決定する際の精度を高めることができる。   In the present embodiment, weighting is determined for the focus evaluation information of a plurality of focus detection areas using the elevation angle of the camera body 100, but current position information (shooting position information) by GPS (Global Positioning System) and direction sensor In combination with the direction information, map information, and the like, the height in determining the weight for each focus detection area can be improved by estimating the height of the terrain and structures such as buildings in the shooting screen.

また、本実施形態では、地平線が含まれる焦点検出領域の焦点評価情報の重み付けを低く設定しているが、当該焦点検出領域の焦点評価値をゼロとし、焦点検出に利用しないように構成してもよい。   In this embodiment, the weight of the focus evaluation information of the focus detection area including the horizon is set low, but the focus evaluation value of the focus detection area is set to zero and is not used for focus detection. Also good.

また、本実施形態では、地平線が含まれる焦点検出領域の焦点評価情報の重み付けを低くすることで天体以外の光源に合焦しにくくしているが、天体以外の光源の輝度値や露出値等の付加情報を考慮することで星等の所望の被写体の検出精度を高めてもよい。   In this embodiment, the focus evaluation information in the focus detection area including the horizon is reduced in weight so that it is difficult to focus on a light source other than the celestial body. The detection accuracy of a desired subject such as a star may be improved by considering the additional information.

また、本実施形態では、カメラ本体100の姿勢変化と撮影画角に応じて焦点検出領域の重み付けを決定しているが、撮影画面内の明るさの分布情報を用いて焦点評価情報の重み付けの信頼性を高めることができる。   In the present embodiment, the weight of the focus detection area is determined according to the posture change of the camera body 100 and the shooting angle of view, but the focus evaluation information is weighted using the brightness distribution information in the shooting screen. Reliability can be increased.

また、本実施形態では、地上部の地平線を検出して焦点検出領域の焦点評価情報の重み付けを決定しているが、星空や天体を被写体領域として検出してもよい。この場合、星空や天体のみを含む焦点検出領域の焦点評価情報の重み付けを高くし、それ以外の地上部などの被写体を含む焦点検出領域の焦点評価情報の重み付けを低くなるようにすればよい。   In the present embodiment, the horizon of the ground part is detected and the weight of the focus evaluation information in the focus detection area is determined. However, a starry sky or a celestial body may be detected as the subject area. In this case, it is only necessary to increase the weight of the focus evaluation information of the focus detection area including only the starry sky and the celestial body, and to decrease the weight of the focus evaluation information of the focus detection area including the other subject such as the ground.

また、本実施形態では、カメラ本体100の姿勢や撮影画角の変化にかかわらず焦点検出領域が設定されているが、カメラ本体100の姿勢や撮影画角の変化に応じて焦点検出領域の大きさや形、個数、撮像面上の位置等を変化させてもよい。   In the present embodiment, the focus detection area is set regardless of changes in the posture of the camera body 100 and the shooting angle of view. However, the size of the focus detection area depends on changes in the posture of the camera body 100 and the shooting angle of view. The sheath shape, number, position on the imaging surface, etc. may be changed.

[その他の実施形態]
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
[Other Embodiments]
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in the computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

100…カメラ本体、150…システム制御部、163…姿勢検出部、151…仰角取得ブロック、152…ロール角取得ブロック、153…地上部抽出ブロック、154…画角検出ブロック、155…焦点検出領域判定ブロック、156…重み付け決定ブロック DESCRIPTION OF SYMBOLS 100 ... Camera body, 150 ... System control part, 163 ... Attitude detection part, 151 ... Elevation angle acquisition block, 152 ... Roll angle acquisition block, 153 ... Ground part extraction block, 154 ... View angle detection block, 155 ... Focus detection area determination Block, 156 ... Weight determination block

Claims (13)

撮像素子から出力された撮像画像に複数の焦点検出領域を設定する設定手段と、
前記撮像素子の出力から、前記設定手段によって設定された焦点検出領域内の被写体の合焦状態を示す評価情報を生成する処理手段と、
装置の姿勢情報を検出する姿勢検出手段と、
撮影画角情報を検出する画角検出手段と、
前記姿勢検出手段により得られた装置の姿勢情報と、前記画角検出手段により得られた撮影画角情報とに基づいて、前記設定手段により設定された複数の焦点検出領域のうち、地上部を含む焦点検出領域の評価情報とそれ以外の焦点検出領域の評価情報について、前記地上部を含む焦点検出領域の評価情報の方が重み付けが低くなるように、焦点検出を行う際の重み付けを決定する決定手段と、を有することを特徴とする撮像装置。
Setting means for setting a plurality of focus detection areas in the captured image output from the image sensor;
Processing means for generating evaluation information indicating an in-focus state of the subject in the focus detection area set by the setting means from the output of the imaging device;
Posture detection means for detecting posture information of the device;
Angle-of-view detecting means for detecting shooting angle-of-view information;
Based on the posture information of the apparatus obtained by the posture detection means and the shooting angle-of-view information obtained by the angle-of-view detection means , the ground portion is selected from the plurality of focus detection areas set by the setting means. Regarding the evaluation information of the focus detection area including the evaluation information and the evaluation information of the other focus detection areas, the weight for performing the focus detection is determined so that the evaluation information of the focus detection area including the ground portion has a lower weight. An imaging device comprising: a determination unit;
撮像素子から出力された撮像画像に複数の焦点検出領域を設定する設定手段と、  Setting means for setting a plurality of focus detection areas in the captured image output from the image sensor;
前記撮像素子の出力から、前記設定手段によって設定された焦点検出領域内の被写体の合焦状態を示す評価情報を生成する処理手段と、  Processing means for generating evaluation information indicating an in-focus state of the subject in the focus detection area set by the setting means from the output of the imaging device;
装置の姿勢情報を検出する姿勢検出手段と、  Posture detection means for detecting posture information of the device;
撮影画角情報を検出する画角検出手段と、  Angle-of-view detecting means for detecting shooting angle-of-view information;
前記姿勢検出手段により得られた装置の姿勢情報と、前記画角検出手段により得られた撮影画角情報とに基づいて、前記設定手段により設定された複数の焦点検出領域のうち、星空と天体の少なくとも一方を含む焦点検出領域の評価情報とそれ以外の焦点検出領域の評価情報について、前記星空と天体の少なくとも一方を含む焦点検出領域以外の評価情報の方が重み付けが低くなるように、焦点検出を行う際の重み付けを決定する決定手段と、を有することを特徴とする撮像装置。  Of the plurality of focus detection areas set by the setting means, based on the attitude information of the device obtained by the attitude detection means and the shooting angle-of-view information obtained by the angle-of-view detection means, the starry sky and the celestial body The focus detection area evaluation information including at least one of the focus detection area and the other focus detection area evaluation information is evaluated so that the evaluation information other than the focus detection area including at least one of the starry sky and the celestial body has a lower weight. And an deciding means for deciding a weight when performing detection.
前記姿勢検出手段により得られた装置の姿勢情報から撮影時の装置の仰角情報を求める仰角取得手段と、
前記仰角取得手段により得られた仰角情報と前記画角検出手段により得られた撮影画角情報とに基づいて、撮影画面内に含まれる地上部所定の被写体領域を抽出する抽出手段と、
前記設定手段によって設定された複数の焦点検出領域のうち、少なくとも前記抽出手段により得られた地上部所定の被写体領域が含まれる焦点検出領域を判定する判定手段と、をさらに有し、
前記決定手段は、前記判定手段により判定された焦点検出領域の評価情報について、焦点検出を行う際の重み付けを低く設定することを特徴とする請求項1または2に記載の撮像装置。
Elevation angle acquisition means for obtaining elevation angle information of the apparatus at the time of photographing from the attitude information of the apparatus obtained by the attitude detection means;
Extraction means for extracting a predetermined subject area on the ground part included in the shooting screen based on the elevation angle information obtained by the elevation angle acquisition means and the shooting angle of view information obtained by the angle of view detection means;
A determination means for determining a focus detection area including at least the ground predetermined subject area obtained by the extraction means among the plurality of focus detection areas set by the setting means;
The determination unit, the evaluation information of the focus detection area determined by the determining means, the image pickup apparatus according to claim 1 or 2, characterized in that setting the weighting at the time of performing the focus detection low.
前記姿勢検出手段により得られた装置の姿勢情報から撮影時の装置の光軸まわりの傾きを求める傾き検出手段をさらに有し、
前記判定手段は、前記傾き検出手段により得られた傾きに応じて、少なくとも前記抽出手段により得られた地上部所定の被写体領域が含まれる焦点検出領域を判定することを特徴とする請求項に記載の撮像装置。
Further comprising an inclination detecting means for obtaining an inclination around the optical axis of the apparatus at the time of photographing from the attitude information of the apparatus obtained by the attitude detecting means;
4. The determination unit according to claim 3 , wherein the determination unit determines a focus detection region including at least a predetermined subject region on the ground obtained by the extraction unit according to the inclination obtained by the inclination detection unit. The imaging device described.
前記決定手段は、少なくとも前記抽出手段により得られた地上部所定の被写体領域が含まれる焦点検出領域より上方に位置する焦点検出領域の評価情報の重み付けを高く設定することを特徴とする請求項に記載の撮像装置。 Said determining means according to claim 4, characterized in that setting a higher weighting of the evaluation information of the focus detection region located above the focus detection area including the aerial part predetermined subject region obtained by at least said extraction means The imaging device described in 1. 前記決定手段は、少なくとも前記抽出手段により得られた地上部所定の被写体領域が含まれる焦点検出領域より下方に位置する焦点検出領域の評価情報の重み付けを低く設定することを特徴とする請求項に記載の撮像装置。 Said determining means according to claim 5, characterized in that setting a low weighting of evaluation information of the focus detection region located below the focus detection area including the aerial part predetermined subject region obtained by at least said extraction means The imaging device described in 1. 前記仰角情報から装置の光軸が天体に向いていると判定される場合、前記決定手段は、すべての焦点検出領域の評価情報の重み付けを高く設定することを特徴とする請求項またはに記載の撮像装置。 5. The determination unit according to claim 3 or 4 , wherein, when it is determined from the elevation angle information that the optical axis of the apparatus is directed to a celestial body, the determination unit sets a high weighting of evaluation information of all focus detection areas. The imaging device described. 前記仰角情報から装置の光軸が地上部所定の被写体領域に向いていると判定される場合、前記決定手段は、すべての焦点検出領域の評価情報の重み付けを低く設定することを特徴とする請求項またはに記載の撮像装置。 When it is determined from the elevation angle information that the optical axis of the apparatus is directed to a predetermined subject area on the ground , the determination means sets the weight of evaluation information for all focus detection areas to be low. Item 5. The imaging device according to Item 3 or 4 . 前記地上部所定の被写体領域は、星空又は天体以外の地上及び地上に存在する被写体領域であることを特徴とする請求項乃至のいずれか1項に記載の撮像装置。 The aboveground predetermined subject area, the imaging apparatus according to any one of claims 3 to 8, characterized in that as an object region existing on the ground and the ground other than starry or astronomical. 装置の姿勢を検出する姿勢検出手段と、撮影時の画角を検出する画角検出手段とを有する撮像装置の制御方法であって、
撮像素子から出力された撮像画像に複数の焦点検出領域を設定する設定ステップと、
前記撮像素子の出力から、前記設定された焦点検出領域内の被写体の合焦状態を示す評価情報を生成する処理ステップと、
前記姿勢検出手段により得られた装置の姿勢情報と、前記画角検出手段により得られた撮影画角情報とに基づいて、前記設定された複数の焦点検出領域のうち、地上部を含む焦点検出領域の評価情報とそれ以外の焦点検出領域の評価情報について、前記地上部を含む焦点検出領域の評価情報の方が重み付けが低くなるように、焦点検出を行う際の重み付けを決定する決定ステップと、を有することを特徴とする撮像装置の制御方法。
A control method for an image pickup apparatus, comprising: an attitude detection unit that detects an attitude of the device; and an angle-of-view detection unit that detects an angle of view during shooting,
A setting step for setting a plurality of focus detection areas in a captured image output from the image sensor;
A step of generating evaluation information indicating an in-focus state of a subject in the set focus detection area from the output of the image sensor;
Based on the posture information of the device obtained by the posture detection means and the shooting angle-of-view information obtained by the angle-of-view detection means, focus detection including the ground portion among the plurality of set focus detection areas. evaluation information and evaluation data of the other focus detection areas in the region, as it is weighted lower rating information of the focus detection area including the aerial part, a determination step of determining a weighting for performing focus detection And a method of controlling the imaging apparatus.
装置の姿勢を検出する姿勢検出手段と、撮影時の画角を検出する画角検出手段とを有する撮像装置の制御方法であって、  A control method for an imaging apparatus, comprising: an attitude detection unit that detects an attitude of the apparatus; and an angle-of-view detection unit that detects an angle of view at the time of shooting,
撮像素子から出力された撮像画像に複数の焦点検出領域を設定する設定ステップと、  A setting step for setting a plurality of focus detection areas in a captured image output from the image sensor;
前記撮像素子の出力から、前記設定された焦点検出領域内の被写体の合焦状態を示す評価情報を生成する処理ステップと、  A step of generating evaluation information indicating an in-focus state of a subject in the set focus detection area from the output of the image sensor;
前記姿勢検出手段により得られた装置の姿勢情報と、前記画角検出手段により得られた撮影画角情報とに基づいて、前記設定された複数の焦点検出領域のうち、星空と天体の少なくとも一方を含む焦点検出領域の評価情報とそれ以外の焦点検出領域の評価情報について、前記星空と天体の少なくとも一方を含む焦点検出領域以外の評価情報の方が重み付けが低くなるように、焦点検出を行う際の重み付けを決定する決定ステップと、を有することを特徴とする撮像装置の制御方法。  Based on the posture information of the apparatus obtained by the posture detection means and the shooting angle of view information obtained by the angle of view detection means, at least one of the starry sky and the celestial body among the set focus detection areas. The focus detection is performed so that the weight of the evaluation information other than the focus detection area including at least one of the starry sky and the celestial body is lower than the evaluation information of the focus detection area including the focus information and the evaluation information of the other focus detection areas. And a determination step for determining the weighting at the time.
コンピュータを、請求項1乃至のいずれか1項に記載された撮像装置の各手段として機能させるためのプログラム。 The program for functioning a computer as each means of the imaging device described in any one of Claims 1 thru | or 9 . コンピュータを、請求項1乃至のいずれか1項に記載された撮像装置の各手段として機能させるためのプログラムを記憶したコンピュータが読み取り可能な記憶媒体。 A computer-readable storage medium storing a program for causing a computer to function as each unit of the imaging apparatus according to any one of claims 1 to 9 .
JP2015080348A 2015-04-09 2015-04-09 IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM Active JP6577737B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015080348A JP6577737B2 (en) 2015-04-09 2015-04-09 IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015080348A JP6577737B2 (en) 2015-04-09 2015-04-09 IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM

Publications (2)

Publication Number Publication Date
JP2016200701A JP2016200701A (en) 2016-12-01
JP6577737B2 true JP6577737B2 (en) 2019-09-18

Family

ID=57422962

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015080348A Active JP6577737B2 (en) 2015-04-09 2015-04-09 IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM

Country Status (1)

Country Link
JP (1) JP6577737B2 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0980520A (en) * 1995-09-14 1997-03-28 Nikon Corp Camera capable of correcting image blurring
US5850575A (en) * 1935-09-14 1998-12-15 Nikon Corporation Image vibration reduction device
JP4289712B2 (en) * 1999-03-10 2009-07-01 キヤノン株式会社 Focus detection device and ranging device
JP2003107331A (en) * 2001-09-28 2003-04-09 Nikon Corp Camera
US7158182B2 (en) * 2001-09-28 2007-01-02 Nikon Corporation Camera that engages in a focusing operation through a contrast method
JP2007158997A (en) * 2005-12-08 2007-06-21 Nikon Corp Image processing program and camera
JP2012156751A (en) * 2011-01-26 2012-08-16 Canon Inc Image processing apparatus
WO2013153252A1 (en) * 2012-04-13 2013-10-17 Nokia Corporation Method and apparatus for producing special effects in digital photography

Also Published As

Publication number Publication date
JP2016200701A (en) 2016-12-01

Similar Documents

Publication Publication Date Title
JP5506499B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM
KR101867051B1 (en) Image pickup apparatus, method for providing composition of pickup and computer-readable recording medium
KR100925319B1 (en) Image pickup apparatus equipped with function of detecting image shaking, control method of the image pickup apparatus, and recording medium recording control program of the image pickup apparatus
US8676047B2 (en) Image capture apparatus and method of controlling the same
US9648238B2 (en) Image processing device that synthesizes a plurality of images, method of controlling the same, storage medium, and image pickup apparatus
US8670064B2 (en) Image capturing apparatus and control method therefor
JP6518452B2 (en) Imaging apparatus and imaging method
US11223774B2 (en) Imaging apparatus, lens apparatus, and method for controlling the same
US20210103122A1 (en) Camera for limiting shifting of focus adjustment optical system
JP6312460B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP2008292663A (en) Camera and portable electronic equipment
JP2011217311A (en) Imaging apparatus and method of controlling the same
JP2011217334A (en) Imaging apparatus and method of controlling the same
EP3562142A1 (en) Lens apparatus, image capturing apparatus, control method of lens apparatus, and control method of image capturing apparatus
JP6300569B2 (en) Imaging apparatus and control method thereof
JP2011082901A (en) Image processing apparatus and method, and program
JP6577737B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP6427027B2 (en) Focus detection apparatus, control method therefor, imaging apparatus, program, and storage medium
JP5414411B2 (en) Imaging apparatus and control method thereof
JP5414412B2 (en) Imaging apparatus and control method thereof
JP6799411B2 (en) Focus detection device and method, and imaging device
JP2016085248A (en) Exposure computation device
JP2016006932A (en) Backlight determination device, control method of the same, control program, and imaging apparatus
JP2018006888A (en) Imaging apparatus, control method therefor, and control program
JP2009048126A (en) Photographing equipment and method of controlling same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180405

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181010

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181207

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190201

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190726

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190823

R151 Written notification of patent or utility model registration

Ref document number: 6577737

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151