JP5488558B2 - Camera and camera control program - Google Patents
Camera and camera control program Download PDFInfo
- Publication number
- JP5488558B2 JP5488558B2 JP2011219677A JP2011219677A JP5488558B2 JP 5488558 B2 JP5488558 B2 JP 5488558B2 JP 2011219677 A JP2011219677 A JP 2011219677A JP 2011219677 A JP2011219677 A JP 2011219677A JP 5488558 B2 JP5488558 B2 JP 5488558B2
- Authority
- JP
- Japan
- Prior art keywords
- photographing
- subject
- image
- main subject
- images
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Adjustment Of Camera Lenses (AREA)
- Studio Devices (AREA)
Description
本発明は、撮影者が撮影しようとする被写体である主被写体を撮影する為の機能を備えたカメラ、及びカメラ制御プログラムに関する。 The present invention is a camera having a function for capturing a main object the photographer is subject to be photographed, and a camera control program.
従来、被写体の変化に伴うブレを補正して撮影するカメラが提案されるに至っている。このカメラは、撮影画面の少なくとも一部の領域にブレ検出エリアを有し、このブレ検出エリア内の任意のブレ検出ブロックについて所定の順番でコントラスト値を求め、所定の基準値以上のコントラスト値が最初に得られたブロックにて被写体のブレ量を検出し、この検出したブレ量を補正して撮影する。しかし、所定の基準値以上のコントラスト値が最初に得られたブロックと、撮影画面上における撮影者が撮影しようとする被写体である主被写体の位置とが必ずしも一致するとは限らないことから、前記被写体のブレを補正して撮影することができない場合が生ずる。 2. Description of the Related Art Conventionally, a camera that shoots by correcting a blur accompanying a change in a subject has been proposed. This camera has a blur detection area in at least a part of the shooting screen, and obtains a contrast value in a predetermined order for any blur detection block in the blur detection area. A blur amount of the subject is detected from the first obtained block, and the detected blur amount is corrected for shooting. However, since the block in which a contrast value equal to or greater than a predetermined reference value is first obtained does not necessarily match the position of the main subject that is the subject that the photographer intends to photograph on the photographing screen, In some cases, it is impossible to shoot with correction of blurring.
そこで、撮影画面中に複数の測距領域を有し、各測距領域から得られる測定データを比較して一の測距領域を選択する多点測距手段を設け、この多点測距手段によって選択された測距領域を包含するブレ量検出エリアの区画を、1番目にコントラスト値を求めるブロックとして選択するカメラも提案されるに至っている(例えば、特許文献1参照)。つまり、このカメラは、各測距領域から得られる測定データを比較して選択された測距領域は、「主被写体が存在する」領域であると仮定し、この選択された測距エリアを包含するブレ量検出エリア内の被写体のブレを補正することにより、ブレのない主被写体の撮影を可能にしようとするものである。 In view of this, a multi-point distance measuring unit is provided which has a plurality of distance measuring areas in the shooting screen and compares the measurement data obtained from each distance measuring area to select one distance measuring area. There has also been proposed a camera that selects a blur amount detection area section including a distance measurement area selected by the first as a block for obtaining a contrast value (see, for example, Patent Document 1). In other words, this camera assumes that the distance measurement area selected by comparing the measurement data obtained from each distance measurement area is the "main subject exists" area, and includes the selected distance measurement area. By correcting the blurring of the subject in the blur amount detection area to be performed, it is intended to enable photographing of the main subject without blurring.
しかしながら、前記公報にも記載されているように、多点測距手段において何れの測距領域を選択するかは任意であるのであるから、多点測距手段により選択された測距領域と撮影画面中における主被写体とが合致するとは限らない。また、最も近い距離の測距領域を選択することにより、該最も近い距離の測距領域を主被写体が存在する領域であると予測して撮影を行うことも開示されているが、撮影シーンは様々であって、一義儀的に最も近い距離の測距領域に主被写体が存在するとすることもできない。よって、主被写体を特定することはできず、そのブレを適正に補正して撮影することができるものではない。 However, as described in the above-mentioned publication, since it is arbitrary to select which distance measurement area in the multipoint distance measurement means, the distance measurement area selected by the multipoint distance measurement means and the photographing The main subject in the screen does not always match. In addition, it is also disclosed that by selecting a distance measurement area with the closest distance, it is predicted that the distance measurement area with the closest distance is an area where the main subject is present, but shooting is performed. It is not possible to assume that the main subject exists in the ranging area that is variously unique and closest. Therefore, the main subject cannot be specified, and it is not possible to shoot with the blur corrected appropriately.
また、このような被写体の特定に関する問題は、ブレを伴う撮影に限らず、通常のAF撮影においても同様である。すなわち、一般にAFは撮影領域の中央部にピントエリアを設定し、このピントエリア内の画像が合焦するようにAFを行う。しかし、前述のように撮影シーンは様々であって、必ずしも主被写体が撮影領域の中央部に位置するとは限らない。したがって、主被写体が撮影領域の中央部以外に位置する場合には、AFが行われても主被写体が合焦した状態とはならず、主被写体を特定して合焦させることができない。 Further, the problem related to the identification of the subject is not limited to shooting with blurring, but also applies to normal AF shooting. That is, in general, AF sets a focus area at the center of the shooting area, and performs AF so that an image in the focus area is in focus. However, as described above, there are various shooting scenes, and the main subject is not necessarily located at the center of the shooting area. Therefore, when the main subject is located outside the center of the shooting area, the main subject is not in focus even if AF is performed, and the main subject cannot be identified and focused.
本発明は、かかる従来の課題に鑑みてなされたものであり、特定の被写体に対して各種撮影制御を行うことのできるカメラ、及びカメラ制御プログラムを提供することを目的とするものである。 The present invention has been made in view of such conventional problems, it is an object to provide a camera, and a camera control program that can perform various photographing control for a particular subject.
前記課題を解決するため請求項1記載の発明に係るカメラにあっては、光学系を制御して被写体像を合焦させる合焦制御手段と、前記光学系により合焦される所定の撮影領域内における画像を連続して撮影した複数枚数の画像を合成することで適切な露出となるように1回毎の撮影では高速のシャッタースピードで撮影する撮影手段と、前記光学系が被写体を合焦させた状態において、前記合焦制御手段をロックするロック手段と、このロック手段により前記合焦制御手段がロックされた状態において、前記光学系が合焦させた所定の撮影領域内における撮影対象とする主被写体の特徴を示す特徴情報を取得する取得手段と、前記撮影手段による撮影と並行して、前記取得手段が取得した前記特徴情報に基づき、前記ロック手段により前記合焦制御手段がロックされた状態から変わり得る前記連続した複数回の撮影の各々の撮影領域内において前記同じ主被写体を認識する認識手段と、複数の画像を合成する制御を実行する手段であって、前記撮影手段による撮影と並行して、前記認識手段により認識された前記各々の撮影の撮影領域内おける主被写体の位置に基づき、前記撮影手段により撮影された画像を前回までに合成された画像に主被写体の位置の変化量分だけずらして合成する制御を実行する制御手段とを備える。 In order to solve the above-mentioned problem, in the camera according to the first aspect of the present invention, the focus control means for controlling the optical system to focus the subject image, and the predetermined shooting area focused by the optical system In order to obtain an appropriate exposure by composing a plurality of images in which images in the camera are continuously shot, shooting means for shooting at a high shutter speed in each shooting, and the optical system focuses the subject A locking unit that locks the focusing control unit in a state in which the optical system is in focus, and an imaging target within a predetermined imaging region focused by the optical system in a state in which the focusing control unit is locked by the locking unit. obtaining means for obtaining characteristic information indicating characteristics of the main subject, in parallel with imaging by the imaging means, on the basis of the characteristic information acquired by the acquisition unit, the by the locking means if the Recognition means for recognizing the same main object in the control means each of the photographing region of the plurality of times of shooting with the continuous that may vary from a locked state, and means for executing a control of synthesizing a plurality of images, in parallel with imaging by the imaging unit, based on the recognized position of the main object definitive photographing region of each of the shooting by the recognizing means, the images taken are synthesized up to the previous time by the imaging means images And a control means for executing a control for shifting and synthesizing by a change amount of the position of the main subject.
また、請求項2記載の発明に係るカメラにあっては、前記制御手段は、前記撮影手段に
よる撮影ごとに、撮影された画像を主被写体を前回までに合成された画像の主被写体との変化量分だけずらして合成する制御を実行する。
In the camera according to the second aspect of the present invention, the control unit changes the captured image from the main subject of the previously synthesized image with the main subject every time the image capturing unit captures the image. Executes the control to synthesize by shifting the amount .
また、請求項3記載の発明に係るカメラ制御プログラムにあっては、所定の撮影領域内における画像を連続して撮影した複数枚数の画像を合成することで適切な露出となるように1回毎の撮影では高速のシャッタースピードで撮影する撮影手段を備えるカメラが有するコンピュータを、光学系を制御して被写体像を合焦させる合焦制御手段と、前記光学系が被写体を合焦させた状態において、前記合焦制御手段をロックするロック手段と、このロック手段により前記合焦制御手段がロックされた状態において、前記光学系が合焦させた所定の撮影領域内における撮影対象とする主被写体の特徴を示す特徴情報を取得する取得手段と、前記撮影手段による撮影と並行して、前記取得手段が取得した前記特徴情報に基づき、前記ロック手段により前記合焦制御手段がロックされた状態から変わり得る前記連続した複数回の撮影の各々の撮影領域内において前記同じ主被写体を認識する認識手段と、複数の画像を合成する制御を実行する手段であって、前記撮影手段による撮影と並行して、前記認識手段により認識された前記各々の撮影の撮影領域内おける主被写体の位置に基づき、前記撮影手段により撮影された画像を前回までに合成された画像に主被写体の位置の変化量分だけずらして合成する制御を実行する制御手段として機能させる。 In the camera control program according to the third aspect of the present invention, each time so as to obtain an appropriate exposure by synthesizing a plurality of images obtained by continuously capturing images in a predetermined imaging region. In this shooting, a computer having a camera equipped with a photographing means for photographing at a high shutter speed, a focusing control means for controlling the optical system to focus the subject image, and a state where the optical system focuses the subject A locking unit that locks the focusing control unit, and a main subject to be imaged in a predetermined imaging region focused by the optical system in a state where the focusing control unit is locked by the locking unit. obtaining means for obtaining characteristic information indicating characteristics, in parallel with imaging by the imaging unit, based on the feature information obtained by the obtaining unit, by the locking means Recognition means for recognizing the same main subject in Kigoase control means each photographing region of the plurality of times of photographing the continuous that may vary from a locked state, as a unit that performs a control process for combining the images there are, said in parallel with photographing by photographing means, based on said recognized position of the imaging region definitive main object of shooting of the respective by the recognition unit, combining the images taken by the photographing unit up to the previous It is made to function as a control means for executing a control to synthesize the shifted image by the amount of change in the position of the main subject.
以上のように本願発明によれば、AFロックした被写体を認識して、認識した被写体に基づき、撮影する画像に関連する所定の制御を実行することにより、主被写体のブレに応じたブレ補正制御等の所定の制御が可能になる。 As described above, according to the present invention , the blur correction control according to the blur of the main subject is performed by recognizing the AF-locked subject and executing predetermined control related to the image to be shot based on the recognized subject. It is possible to perform predetermined control.
(第1の実施の形態) (First embodiment)
以下、本発明の一実施の形態を図に従って説明する。図1は、本発明の一実施の形態に係るカメラシステムを示すシステム構成図であり、このカメラシステムは相互に無線通信可能なデジタルカメラ1と装着体としてのバッジ5とで構成されている。バッジ5は、撮影者が撮影しようとする被写体である主被写体Mの首に装着するための首紐51を備えている。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a system configuration diagram showing a camera system according to an embodiment of the present invention. This camera system includes a
図2は、デジタルカメラ1の回路構成を示すブロック図であり、このデジタルカメラ1は、後述するブレ補正機能とともにAE、AWB等の一般的な機能をも有するものである。すなわち、レンズブロック11には、ズームレンズ、フォーカスレンズ等の主光学系と、ブレを補正するための補正光学系及び各光学系を駆動するための駆動機構が含まれている。前記主光学系は、駆動機構に設けられているモーター12によって駆動され、前記補正光学系は、駆動機構に設けられているアクチュエーター13によって駆動される。なお、本実施の形態において、前記AFは、フォーカスレンズを光軸方向に移動させながら、各位置で撮像した中央部の被写体のAF評価値(コントラスト値)を検出し、AF評価値のピーク位置を合焦位置とするコントラスト検出方式である。
FIG. 2 is a block diagram showing a circuit configuration of the
デジタルカメラ1全体を制御するCPU14には、バス15及びタイミング発生器(TG:Timing Generator)16を介してモータードライバ17とアクチュエータードライバ18が接続されており、両ドライバ17、18は、CPU14の命令に従いタイミング発生器16が発生するタイミング信号に基づき、モーター12とアクチュエーター13とを駆動する。
The
また、このデジタルカメラ1は撮影領域を画するCCD19を有している。CCD19は、レンズブロック11の光軸上に配置されており、被写体は、レンズブロック11によってCCD19の受光面に結像される。CCD19は、CPU14の命令に従いタイミング発生器16が生成するタイミング信号に基づき垂直及び水平ドライバ20によって駆動され、被写体の光学像に応じたアナログの撮像信号をユニット回路21に出力する。ユニット回路21は、CCD19の出力信号に含まれるノイズを相関二重サンプリングによって除去するCDS回路や、ノイズが除去された撮像信号をデジタル信号に変換するA/D変換器等から構成され、デジタルに変換した撮像信号を画像処理部22へ出力する。
Further, the
画像処理部22は、入力した撮像信号に対しペデスタルクランプ等の処理を施し、それを輝度(Y)信号及び色差(UV)信号に変換するとともに、オートホワイトバランス、輪郭強調、画素補間などの画品質向上のためのデジタル信号処理を行う。画像処理部22で変換されたYUVデータは順次SDRAM23に格納されるとともに、スルー画撮影モードでは1フレーム分のデータ(画像データ)が蓄積される毎にビデオ信号に変換され、バックライト(BL)24を備える液晶モニタ(LCD)25へ送られてスルー画像として画面表示される。
The image processing unit 22 performs processing such as pedestal clamping on the input imaging 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 22 is sequentially stored in the
そして、静止画撮影モードにおいては、シャッターキー操作をトリガとして、CPU14は、CCD19、垂直及び水平ドライバ20、ユニット回路21、及び画像処理部22に対してスルー画撮影モードから静止画撮影モードへの切り替えを指示し、この静止画撮影モードによる撮影処理により得られ、SDRAM23に一時記憶された画像データは、CPU14により圧縮され、最終的には所定のフォーマットの静止画ファイルとして外部メモリ26に記録される。また、ムービー録画モードにおいては、録画開始ボタン操作と録画終了ボタン操作との間に、SDRAM23に順次記憶される複数の画像データがCPU14により順次圧縮され、動画ファイルとして外部メモリ26に記録される。この外部メモリ26に記録された静止画ファイル及び動画ファイルは、PLAY・モードにおいてユーザーの選択操作に応じてCPU14に読み出されるとともに伸張され、YUVデータとしてSDRAM23に展開された後、液晶モニタ25に表示される。
In the still image shooting mode, using the shutter key operation as a trigger, the
フラッシュメモリ27には、CPU14に前記各部を制御させるための各種のプログラム、例えばAE、AF、AWB制御用のプログラムや、データ通信用プログラム、撮影時の適正な露出値(EV)に対応する絞り値(F)とシャッタースピードとの組み合わせを示すプログラム線図を構成するプログラムAEデータ、EV値表、さらにはCPU14を本発明のブレ補正手段、取得手段、認識手段、及び制御手段等として機能させるためのプログラム等の各種のプログラムが格納されている。
The
また、デジタルカメラ1は、電源スイッチ、モード選択キー、シャッターキー、ズームキー、カーソルキー、録画開始ボタンと終了ボタン等の複数の操作キー及びスイッチを含むキー入力部28、ニッケル水素電池等の充電可能なバッテリー29、このバッテリー29の電力を各部に供給するための電源制御回路30、及びこれらを制御するマイコン31を有している。マイコン31は、キー入力部28における前記操作キーの操作の有無を定常的にスキャンしており、ユーザーによっていずれかの操作キーが操作されると、その操作内容に応じた操作信号をCPU14へ送る。
The
また、このデジタルカメラ1は、前記ムービー録画モードにおいて、周囲音を記録する録音機能を備えており、CPU14には、音声処理回路を有する音声チップ33を介して、スピーカ(SP)34と、マイクロホン(MIC)35とが接続されている。音声チップ33は、ムービー録画モード時には、マイクロホン35から入力された音声波形を処理して、音声波形データをCPU14に入力する。そして、CPU14は、ムービー録画モードにおいて録画開始ボタン操作と録画終了ボタン操作との間に、音声チップ33から入力された音声波形データを圧縮し、この圧縮周囲音データと圧縮動画データとを含む音声付き動画ファイルを生成して外部メモリ26に記録する。この外部メモリ26に記録された音声付き動画ファイルは、PLAY・モードにおいて動画データが再生される際に、周囲音データが音声チップ33で音声波形に変換されてスピーカ34により再生される。
The
さらに、CPU14には、バス15を介してジャイロセンサー36と無線送受信部37とが接続されている。ジャイロセンサー36は、このデジタルカメラ1の角速度をブレとして検出する角速度センサーである。無線送受信部37は、CPU14により制御されて前記バッジ5と無線通信を行うものであり、アンテナ38を有している。
Further, a
図3は、前記バッジ5の回路構成を示すブロック図である。このバッジ5全体を制御するCPU52には、バス53を介してフラッシュメモリ54、RAM55、ジャイロセンサー56、無線送受信部57が接続されている。フラッシュメモリ54には、CPU52にこのバッジ5全体を制御させるためのプログラムが格納されており、CPU52はこのプログラムに基づき、RAM55をワークエリアとして使用しつつ制御を実行する。ジャイロセンサー56は、このバッジ5の角速度を主被写体Mのブレとして検出する角速度センサーである。無線送受信部37は、CPU52により制御されて前記デジタルカメラ1と無線通信を行うものであり、アンテナ58を有している。
FIG. 3 is a block diagram showing a circuit configuration of the badge 5. A
以上の構成に係る本実施の形態において、撮影者は図1に示すように、イベント等に参加する主被写体Mに首紐51によってバッジ5を装着する。この状態において、バッジ5側のCPU52は前記プログラムに基づき、図4(A)のフローチャートに示すような処理を実行する。すなわち、主被写体Mの動作に伴うバッジ5の角速度をジャイロセンサー56が検出すると、これを被写体側振動データとして出力させる(ステップA101)。また、無線送受信部57を制御して、ジャイロセンサー56から出力された被写体側振動データをアンテナ58より外部に無線送信させ(ステップA102)、以降このステップA101とA102の動作を繰り返す。
In the present embodiment according to the above configuration, as shown in FIG. 1, the photographer wears a badge 5 with a
一方、デジタルカメラ1のCPU14は、前記プログラムに基づき、図4(B)のフローチャートに示すような処理を実行する。スルー画撮影モードが設定されている撮影待機状態において、先ずスルー画像表示処理を開始し(ステップB101)、液晶モニタ25にスルー画像を表示させる。次に、シャッターキーが押下されたか否かを判断し(ステップB102)、シャッターキーが押下されるまで待機する。シャッターキーが押下されたならば、コントラストAF処理を実行して、撮影領域内において中央部の被写体が合焦するように、フォーカスレンズを駆動する(ステップB103)。さらに、このステップB103で駆動したフォーカスレンズの位置に基づき、被写体までの距離を算出する(ステップB104)。したがって、撮影者が主被写体Mを画像中央部にしてシャッターキーを押下する(AFロックする)ことにより、主被写体Mまでの距離が算出されることとなる。
On the other hand, the
なお、本実施の形態においてはコントラストAFを用いるようにしたが、位相差AFを用いるようにしてもよく、この場合ステップB104では、距離センサから出力される距離情報を取得する処理を行うことになる。 In this embodiment, contrast AF is used. However, phase difference AF may be used. In this case, in step B104, processing for acquiring distance information output from the distance sensor is performed. Become.
次に、垂直及び水平ドライバ20を制御してCCD19を駆動することにより、露光を開始する(ステップB105)。さらに、無線送受信部37を制御して、前記ステップA102での処理によりバッジ5側から送信された被写体振動データを無線受信するとともに(ステップB106)、ジャイロセンサー36を制御して、カメラ側の振動データを出力させる(ステップB107)。
Next, exposure is started by controlling the vertical and
引き続き、このステップB107で出力させたカメラの振動データに対応するカメラのブレ量と、前記ステップB106で受信した被写体振動データに対応する被写体のブレ量、及び前記ステップB104で算出した被写体までの距離から、主被写体Mとデジタルカメラ1との相対的なブレ量を算出する(ステップB108)。そして、このステップB108で算出したブレ量に基づき、ブレを補正する為のレンズ駆動処理を実行する(ステップB109)。つまり、アクチュエータードライバ18を制御して、アクチュエーター13を動作させることにより、レンズブロック11内の補正光学系を算出したブレ量に基づき駆動する。
Subsequently, the camera shake amount corresponding to the camera vibration data output in step B107, the subject shake amount corresponding to the subject vibration data received in step B106, and the distance to the subject calculated in step B104. From this, the relative blur amount between the main subject M and the
次に、露光が終了したか否かを判断し(ステップB110)、露光が終了するまでステップB106からの処理を繰り返す。そして、シャッタースピードに応じた露光時間が経過して、露光が終了すると、画像記録処理を実行し、SDRAM23に一時記憶された画像データを圧縮して、最終的には所定のフォーマットの静止画ファイルとして外部メモリ26に記録する(ステップB111)。これにより、外部メモリ26には、主被写体側のブレ及びデジタルカメラ1側のブレが共に補正された画像を外部メモリ26に記録することができる。
Next, it is determined whether or not the exposure is completed (step B110), and the processing from step B106 is repeated until the exposure is completed. When the exposure time corresponding to the shutter speed elapses and the exposure ends, image recording processing is executed, the image data temporarily stored in the
なお、本実施の形態においてはフローチャートに示したように、静止画撮影時における露光期間中においてのみブレ補正を行うようにしたが、スルー画像表示中や動画撮影中においても、前述と同様の露光期間中におけるブレ補正(静止画撮影用のブレ補正)や、動画撮影処理と平行して露光期間中であるか否かに関係なく常に本発明のブレ補正処理を実行する動画撮影用のブレ補正を行うようにしてもよい。また、ステップB109で実行するブレ補正に関しても、光学系の一部を駆動してブレを補正する光学式ブレ補正に限らず、露光を複数に分割して行い、各露光で得られた画像をブレ量に応じてずらして合成することにより、ブレ補正された画像を得る電子式ブレ補正を用いるようにしてもよい。 In this embodiment, as shown in the flowchart, the blur correction is performed only during the exposure period at the time of still image shooting. However, the same exposure as described above is also performed during through image display and during moving image shooting. Blur correction for movie shooting that always performs the blur correction process of the present invention regardless of whether it is during the exposure period in parallel with the blur correction during the period (blur correction for still image shooting) or the movie shooting process May be performed. The blur correction executed in step B109 is not limited to the optical blur correction in which a part of the optical system is driven to correct the blur, and the exposure is divided into a plurality of images. Electronic blur correction that obtains a blur-corrected image by shifting and compositing according to the blur amount may be used.
また、本実施の形態においては、バッジ5側から一方向的に振動データを送信するようにしたが、デジタルカメラ1側から無線送受信部37を介して例えば露光期間を示すデータを送信し、これをバッジ5側が無線送受信部57で受信し、露光期間中においてのみ振動データを送信するようにしてもよい。これにより、無用な振動データの送信を回避することができる。
In the present embodiment, vibration data is transmitted unidirectionally from the badge 5 side. However, for example, data indicating an exposure period is transmitted from the
また、本実施の形態においては、バッジ5を首紐51により主被写体に装着するようにしたが、これに限らずピン等により係着したり、粘着剤により接着させる等、他の装着手段を用いたり、腕時計等の各種携帯機器に内蔵させるようにしてもよい。
In this embodiment, the badge 5 is attached to the main subject by the
さらに、本実施の形態においては、シャッターキーの押下に応答して露光を行いブレ補正を行うようにしたが、ブレ補正を行うことなく、バッジ5から所定以上の被写体側振動データが送信されてくる間は露光を禁止し、主被写体Mのブレがある程度収束して、被写体側振動データが所定以下となった時点で露光を許容するようにしてもよい。 Further, in the present embodiment, exposure is performed in response to pressing of the shutter key to perform blur correction. However, a predetermined or more subject-side vibration data is transmitted from the badge 5 without performing blur correction. Exposure may be prohibited while coming, and exposure may be permitted when blurring of the main subject M converges to some extent and the subject-side vibration data becomes equal to or less than a predetermined value.
また、本実施の形態においては、ズーム機能を有していないデジタルカメラに本発明を適用した場合について説明したが、光学ズーム機能や電子ズーム機能を有しているデジタルカメラに本発明を適用するようにしてもよい。この場合、前記ステップB107で出力させたカメラの振動データに対応するカメラのブレ量、前記ステップB106で受信した被写体振動データに対応する被写体のブレ量、前記ステップB104で算出した被写体までの距離、及びズーム量(画角)から、主被写体Mとデジタルカメラ1との相対的なブレ量を算出する必要がある。
In this embodiment, the case where the present invention is applied to a digital camera that does not have a zoom function has been described. However, the present invention is applied to a digital camera that has an optical zoom function or an electronic zoom function. You may do it. In this case, the camera shake amount corresponding to the camera vibration data output in step B107, the subject shake amount corresponding to the subject vibration data received in step B106, the distance to the subject calculated in step B104, Further, it is necessary to calculate a relative blur amount between the main subject M and the
加えて、本実施の形態においては、主被写体Mのブレを当該主被写体に装着されたバッジ5により検出して、被写体側振動データを送信するようにしたが、例えば固定カメラを用いてその画像の変化に基づき主被写体のブレを検出して、被写体側振動データを送信するようにしてもよい。 In addition, in the present embodiment, the blurring of the main subject M is detected by the badge 5 attached to the main subject and the subject-side vibration data is transmitted. The vibration of the main subject may be detected on the basis of the change in the subject, and the subject-side vibration data may be transmitted.
(第2の実施の形態) (Second Embodiment)
図5〜図8は、本発明の第2の実施の形態を示すものであり、予め登録した形状に基づき主被写体を認識してブレ補正を行うようにしたものである。なお、本実施の形態においては、前記バッジ5を用いることなくデジタルカメラ1のみを用いる。
5 to 8 show a second embodiment of the present invention, in which a main subject is recognized based on a pre-registered shape and shake correction is performed. In the present embodiment, only the
すなわち、キー入力部28に設けられているモード選択キーを操作して「前処理」モードを選択すると、CPU14は、前記プログラムに基づき、図5のフローチャートに示すような処理を実行する。まず、キー入力部28での機能キー等の操作に応じて選択された撮影の画像データをフラッシュメモリ27から読み出し、液晶モニタ25に表示させる(ステップS201)。次に、キー入力部28でのカーソルキー等の操作に応じて、液晶モニタ25に表示されている画像から認識させたい形状部分をトリミングし(ステップS202)、このトリミングした形状部分の画像をフラッシュメモリ27に設けられているMyパターンマッチング領域に登録する(ステップS203)。
That is, when the “pre-processing” mode is selected by operating a mode selection key provided in the
したがって、図6(A)に示したように帽子を被った主被写体Mが液晶モニタ25に表示されている状態で所望の領域のトリミングを行うことにより、同図(B)に示すように、帽子部分の形状Fを登録することができる。また、この「前処理」を複数回実行することにより、Myパターンマッチング領域に複数の認識させたい形状部分を登録することができる。 Therefore, as shown in FIG. 6B, by trimming a desired area while the main subject M wearing a hat is displayed on the liquid crystal monitor 25 as shown in FIG. The shape F of the hat portion can be registered. Further, by executing this “preprocessing” a plurality of times, a plurality of shape portions to be recognized can be registered in the My pattern matching region.
そして、ムービー録画モードを設定すると、CPU14は、図7のフローチャートに示すような処理を実行する。まず、前記Myパターンマッチング領域から登録されている形状部分データを読み出す(ステップS211)。このとき、Myパターンマッチング領域に複数の形状部分データが登録されている場合には、これらを液晶モニタ25に一覧表示して、その中からキー入力部28での操作により選択された形状部分データを読み出す。また、前述と同様にしてスルー画像を液晶モニタ25に表示させる(ステップS212)。
When the movie recording mode is set, the
次に、録画開始ボタンが押下されたか否かを判断し(ステップS213)、録画開始ボタンが押下されるまで待機する。録画開始ボタンが押下されたならば、動画撮影処理を開始するとともに(ステップS214)、パターンマッチングにより被写体を認識する(ステップS215)。つまり、CCD19が駆動されることによりSDRAM23に取り込まれた被写体画像と、前記ステップS211で読み出した形状部分データが示す形状部分とを比較して、被写体画像中における当該形状部分を有する被写体を主被写体として認識する。
Next, it is determined whether or not the recording start button has been pressed (step S213), and the process waits until the recording start button is pressed. If the recording start button is pressed, the moving image shooting process is started (step S214), and the subject is recognized by pattern matching (step S215). That is, the subject image captured in the
引き続き、この動画撮影中においてSDRAM23に順次記憶される複数の画像データにおける時間的に隣接する画像に基づき、ステップS215で特定された主被写体の移動量(移動量と移動方向とを含む動きベクトル)を検出する(ステップS216)。また、この検出した移動量に応じて、アクチュエータードライバ18を制御し、アクチュエーター13を動作させることにより、レンズブロック11内の補正光学系を駆動する(ステップS217)。次に、録画撮影が終了となったか否か、つまり録画終了ボタンを押下したか否か及び外部メモリ26が一杯になったか否かを判断し(ステップS218)、動画撮影が終了となるまでステップS215からの処理を繰り返す。そして、録画終了ボタンの押下が検出されるか、外部メモリ26が一杯になった時点で動画撮影を終了する。
Subsequently, based on the temporally adjacent images in the plurality of image data sequentially stored in the
これにより撮影された動画にあっては、前述のように認識した被写体の移動量に応じて、レンズブロック11内の補正光学系を駆動しつつ撮影されたものであることから、デジタルカメラ1に手ブレが生じたり主被写体が移動してもこれに左右されることなく、ブレのない主被写体が撮影された静止画とすることができる。
The moving image thus shot is shot while driving the correction optical system in the
なお、本実施の形態においては前記フローチャートのステップS217に示したように、光学系の一部を駆動してブレを補正する光学式ブレ補正を行うようにしたが、動画撮影処理により得られる各フレーム画像の切り出し範囲(トリミング範囲)をブレ量に応じてずらす(変更する)ことにより、ブレ補正された動画像を得る電子式ブレ補正を行うようにしてもよい。 In this embodiment, as shown in step S217 of the flowchart, optical blur correction is performed to correct blur by driving a part of the optical system. Electronic blur correction may be performed to obtain a moving image that has undergone blur correction by shifting (changing) the cutout range (trimming range) of the frame image in accordance with the blur amount.
図8は、本実施の形態における静止画撮影時の処理手順を示すフローチャートである。まず、前記Myパターンマッチング領域から登録されている形状部分データを読み出す(ステップS221)。このとき、Myパターンマッチング領域に複数の形状部分データが登録されている場合には、前述と同様にこれらを液晶モニタ25に一覧表示させて、その中からキー入力部28での操作により選択された形状部分データを読み出す。そして、スルー画像を液晶モニタ25に表示させる(ステップS222)。
FIG. 8 is a flowchart showing a processing procedure at the time of still image shooting in the present embodiment. First, the shape part data registered from the My pattern matching area is read (step S221). At this time, if a plurality of shape portion data are registered in the My pattern matching area, they are displayed in a list on the liquid crystal monitor 25 as described above, and are selected by operating the
次に、シャッターキーが押下されたか否かを判断し(ステップS223)、シャッターキーが押下されるまで待機する。シャッターキーが押下されたならば、高速での静止画撮影処理(高速シャッター処理)を実行する(ステップS224)。この高速での静止画撮影処理においては、前記絞り値(F)とシャッタースピードとの組み合わせを示すプログラム線図を構成するプログラムAEデータに基づくシャッタースピード、つまり当該画像を撮影する際の本来のシャッタースピードを、10分割した高速シャッタースピードを算出する。そして、この高速シャッタースピードでCCD19を駆動することにより、1/10時間のシャッタースピードで静止画撮影を行い、その画像データをSDRAM23に格納する。
Next, it is determined whether or not the shutter key is pressed (step S223), and the process waits until the shutter key is pressed. If the shutter key is pressed, high-speed still image shooting processing (high-speed shutter processing) is executed (step S224). In this high-speed still image shooting process, the shutter speed based on the program AE data constituting the program diagram showing the combination of the aperture value (F) and the shutter speed, that is, the original shutter when shooting the image. A high-speed shutter speed obtained by dividing the speed by 10 is calculated. Then, by driving the
さらに、パターンマッチングにより被写体を認識する(ステップS225)。つまり、高速静止画撮影によりSDRAM23に格納した被写体画像と、前記ステップS221で読み出した形状部分データが示す形状部分とを比較して、被写体画像中における当該形状部分を有する被写体を主被写体として認識する。
Further, the subject is recognized by pattern matching (step S225). That is, the subject image stored in the
引き続き、ステップS226、S227の処理を実行するが、これらの処理は1枚目の高速静止画撮影時においてはスキップする。また、ステップS227に続くステップS228では、10枚の高速静止画撮影が終了したか否かを判断し、終了するまでステップS224からの処理を繰り返す。そして、ステップS224からの処理が再度実行されることにより、2枚目以降の高速静止画撮影が行われると、スキップすることなくステップS226の処理を実行し、SDRAM23に今回格納された被写体画像における主被写体と前回格納された被写体画像における主被写体とを比較することにより、当該主被写体の移動量(移動方向を含む)を検出する(ステップS226)。そして、この検出した移動量分だけずらして、前回までの被写体画像に今回の被写体画像を合成する(ステップS227)。したがって、ステップS228の判断がYESとなるまで、つまり10枚の高速静止画撮影が終了するまでに、ステップS226及びS227の処理が9回行われることとなり、10枚の高速静止画撮影した静止画を順次合成した1枚の静止画が生成される。
Subsequently, the processes of steps S226 and S227 are executed, but these processes are skipped at the time of shooting the first high-speed still image. In step S228 following step S227, it is determined whether or not 10 high-speed still image shootings have been completed, and the processing from step S224 is repeated until the shooting is completed. When the second and subsequent high-speed still image shooting is performed by executing the processing from step S224 again, the processing of step S226 is executed without skipping, and the subject image stored in the
そして、10枚の高速静止画撮影が終了したならば、合成画像つまり10枚の高速静止画撮影した静止画を順次合成した1枚の静止画を外部メモリ26に記録する(ステップS229)。この静止画にあっては、前述のようにパターンマッチングにより認識した被写体である主被写体の移動量を検出して、検出した移動量分だけずらして画像合成したものであることから、デジタルカメラ1に手ブレが生じたり主被写体が移動してもこれに左右されることなく、ブレのない主被写体が撮影された静止画とすることができる。
When 10 high-speed still image shootings are completed, a combined image, that is, one still image obtained by sequentially combining 10 high-speed still image shooting still images is recorded in the external memory 26 (step S229). In this still image, since the movement amount of the main subject, which is the subject recognized by pattern matching as described above, is detected and the image is synthesized by shifting the detected movement amount, the
また、合成された10枚の静止画は、絞り値(F)とシャッタースピードとの組み合わせを示すプログラム線図を構成するプログラムAEデータに基づくシャッタースピードを、10分割したシャッタースピードで撮影されたものである。したがって、このシャッタースピードで撮影された10枚の静止画が合成されることにより、画像の明るさも適切となる。よって、画像の明るさも適切であって、かつ、主被写体にブレのない静止画とすることができる。 The 10 synthesized still images were shot at a shutter speed obtained by dividing the shutter speed based on the program AE data constituting the program diagram showing the combination of the aperture value (F) and the shutter speed into 10 parts. It is. Therefore, the brightness of the image becomes appropriate by combining 10 still images taken at this shutter speed. Therefore, it is possible to obtain a still image in which the brightness of the image is appropriate and the main subject is not blurred.
なお、本実施の形態においては、前記フローチャートに示したように、10枚の高速静止画撮影を行いつつ、静止画撮影毎に認識した被写体の移動量を検出する処理(ステップS226)と検出した移動量分だけずらして画像合成する処理(ステップS227)とを行うようにしたが、10枚の高速静止画撮影終了後にこれらの各処理を行うようにしてもよい。 In the present embodiment, as shown in the flowchart, a process of detecting the amount of movement of the subject recognized for each still image shooting (step S226) while detecting 10 high-speed still images is detected. The process of synthesizing the image by shifting the movement amount (step S227) is performed, but each of these processes may be performed after 10 high-speed still images have been captured.
また、本実施の形態においては、Myパターンマッチング領域に複数の認識させたい形状部分のトリミング画像を登録するようにしたが、画像認識により形状を認識し、この認識結果データを登録するようにし、その後、動画撮影処理あるいは高速静止画撮影処理により得られる被写体画像に対して画像認識処理を実行することにより認識結果データを得るようにし、この認識結果データと登録されている認識結果データとを比較して、略一致した認識結果データが得られた部分の被写体を主被写体として認識するようにしてもよい。 In the present embodiment, a plurality of trimmed images of a shape portion to be recognized are registered in the My pattern matching region. However, the shape is recognized by image recognition, and the recognition result data is registered. After that, recognition result data is obtained by executing image recognition processing on a subject image obtained by moving image shooting processing or high-speed still image shooting processing, and this recognition result data is compared with registered recognition result data. Then, the portion of the subject from which the substantially matched recognition result data is obtained may be recognized as the main subject.
(第3の実施の形態) (Third embodiment)
図9、10は、本発明の第3の実施の形態を示すものであり、予め登録した特徴色部分(色や模様)に基づき主被写体を認識してブレ補正を行うようにしたものである。この実施の形態にあっては、「前処理」モードにおいて図9のフローチャートに示すような処理を実行する。まず、キー入力部28での機能キー等の操作に応じて選択された撮影の画像データをフラッシュメモリ27から読み出し、液晶モニタ25に表示させる(ステップS301)。次に、キー入力部28でのカーソルキー等の操作に応じて、液晶モニタ25に表示されている画像から認識させたい特徴色部分をトリミングし(ステップS302)、このトリミングした特徴色部分の画像をフラッシュメモリ27に設けられているMyパターンマッチング領域に登録する(ステップS303)。
FIGS. 9 and 10 show a third embodiment of the present invention, in which a main subject is recognized based on a pre-registered characteristic color portion (color or pattern) to perform blur correction. . In this embodiment, processing as shown in the flowchart of FIG. 9 is executed in the “preprocessing” mode. First, image data selected in accordance with an operation of a function key or the like on the
したがって、図10(A)に示したように帽子を被った主被写体Mが液晶モニタ25に表示されている状態で所望の領域のトリミングを行うことにより、同図(B)に示すように、帽子の特徴色部分Cを登録することができる。また、この「前処理」を複数回実行することにより、Myパターンマッチング領域に複数の認識させたい特徴色部分を登録することができる。 Therefore, as shown in FIG. 10B, by trimming a desired area while the main subject M wearing a hat is displayed on the liquid crystal monitor 25 as shown in FIG. The characteristic color portion C of the hat can be registered. Further, by executing this “preprocessing” a plurality of times, a plurality of characteristic color portions to be recognized can be registered in the My pattern matching region.
そして、ムービー録画モードが設定された場合には、前述した図7に示すフローチャートに従って処理を実行する。つまり、ステップS215においてパターンマッチングにより被写体を認識する際に、CCD19が駆動されることによりSDRAM23に取り込まれた被写体画像に含まれている各種の色と、前記ステップS211で読み出した特徴色部分データが示す色とを比較して、略一致した色部分の被写体を主被写体として認識する。これにより、前述のようにデジタルカメラ1に手ブレが生じたり主被写体Mが移動しても、ブレのない主被写体が撮影された動画とすることができる。
When the movie recording mode is set, the process is executed according to the flowchart shown in FIG. That is, when the subject is recognized by pattern matching in step S215, the various colors included in the subject image captured in the
また、静止画撮影モードが設定された場合には、前述した図8に示すフローチャートに従って処理を実行する。つまり、ステップS225においてパターンマッチングにより被写体を認識する際に、CCD19が駆動されることによりSDRAM23に取り込まれた被写体画像に含まれている各種の色と、前記ステップS221で読み出した特徴色部分データが示す色とを比較して、略一致した色部分の被写体を主被写体として認識する。これにより、前述のようにデジタルカメラ1に手ブレが生じたり主被写体Mが移動しても、ブレのない主被写体が撮影された静止画とすることができるとももに、画像の明るさも適切となる。よって、画像の明るさも適切であって、かつ、主被写体にブレのない静止画を撮影することができる。
When the still image shooting mode is set, processing is executed according to the flowchart shown in FIG. That is, when the subject is recognized by pattern matching in step S225, the various colors included in the subject image captured by the
また、本実施の形態においては、Myパターンマッチング領域に複数の認識させたい特徴色部分のトリミング画像を登録するようにしたが、画像認識により色を認識し、この色認識結果データを登録するようにし、その後、動画撮影処理あるいは高速静止画撮影処理により得られる被写体画像に対して色認識処理を実行することにより色認識結果データを得るようにし、この色認識結果データと登録されている色認識結果データとを比較して、略一致した色認識結果データが得られた部分の被写体を主被写体として認識するようにしてもよい。 In the present embodiment, a plurality of trimmed images of characteristic color portions to be recognized are registered in the My pattern matching region. However, the color is recognized by image recognition, and the color recognition result data is registered. Then, color recognition result data is obtained by executing color recognition processing on the subject image obtained by moving image shooting processing or high-speed still image shooting processing, and the color recognition registered with this color recognition result data The result data may be compared to recognize the portion of the subject from which the substantially identical color recognition result data is obtained as the main subject.
(第4の実施の形態) (Fourth embodiment)
図11は、本発明の第4の実施の形態を示すものであり、予め選択した形状に基づき主被写体を認識してブレ補正を行うようにしたものである。この実施の形態にあっては、「前処理」モードにおいて図11のフローチャートに示すような処理を実行する。まず、フラッシュメモリ27に格納されているマッチングリストを液晶モニタ25に表示させる(ステップS401)。このマッチングリストは、「○」「△」「×」・・・等の複数種の形状を表示させるデータからなり、したがって、このステップS401により、液晶モニタ25には、「○」「△」「×」・・・等の複数種の形状が表示される。次に、キー入力部28でのカーソルキー等の操作に応じて、液晶モニタ25に表示されているマッチングリストから主被写体に付いている特徴的な形状(主被写体の形状に近いものでもよい)を選択し(ステップS402)、この選択した形状をフラッシュメモリ27に設けられているMyパターンマッチング領域に登録する(ステップS403)。例えば、主被写体が他の被写体とは異なり「○」を特徴的な形状として有しているならば、「○」を選択する。
FIG. 11 shows a fourth embodiment of the present invention, in which a main subject is recognized based on a preselected shape and shake correction is performed. In this embodiment, processing as shown in the flowchart of FIG. 11 is executed in the “preprocessing” mode. First, the matching list stored in the
そして、ムービー録画モードが設定された場合には、前述した図7に示すフローチャートに従って処理を実行する。これにより、「○」を特徴的な形状として有する主被写体が移動したりデジタルカメラ1に手ブレが生じても、当該主被写体にブレのない動画とすることができる。また、静止画撮影モードが設定された場合には、前述した図8に示すフローチャートに従って処理を実行する。これにより、デジタルカメラ1に手ブレが生じたり、「○」を特徴的な形状として有する主被写体が移動しても、ブレのない主被写体が撮影された静止画とすることができるとともに、画像の明るさも適切となる。よって、画像の明るさも適切であって、かつ、主被写体にブレのない静止画を撮影することができる。
When the movie recording mode is set, the process is executed according to the flowchart shown in FIG. As a result, even if a main subject having a characteristic shape of “◯” moves or a camera shake occurs in the
なお、本実施の形態においては、マッチングリストに複数種の形状を記憶しておき、いずれかの形状を選択させるようにしたが、複数種の色を記憶しておいていずれかの色を選択させ、第3の実施の形態と同様にカラーマッチングにより主被写体を認識するようにしてもよい。また、図11のフローチャートにおいては、マッチングリストから選択された形状をMyパターンマッチング領域に登録するようにしたが(ステップS403)、Myパターンマッチング領域を設けることなく、マッチングリスト内において選択された形状に識別子を付して、当該形状が選択されていることを判別できるようにしてもよい。 In this embodiment, a plurality of types of shapes are stored in the matching list and one of the shapes is selected. However, a plurality of types of colors are stored and one of the colors is selected. Then, as in the third embodiment, the main subject may be recognized by color matching. In the flowchart of FIG. 11, the shape selected from the matching list is registered in the My pattern matching region (step S403), but the shape selected in the matching list without providing the My pattern matching region. An identifier may be attached to the mark so that it can be determined that the shape is selected.
また、以上に説明した第2〜第4の実施の形態においては、図5、図9、図11のフローチャートに示したように、各々異なる単一の前処理を行うようにしたが、全ての前処理を実行可能とし、ユーザがいずれかの前処理を選択できるようにしてもよい。
(第5の実施の形態)
Further, in the second to fourth embodiments described above, as shown in the flowcharts of FIGS. 5, 9, and 11, each different single pre-process is performed. The preprocessing may be executed so that the user can select any of the preprocessing.
(Fifth embodiment)
図12及び図13は、本発明の第5の実施の形態を示すものであり、AFロックさせた被写体の輪郭を予め抽出し、この抽出した輪郭に基づき主被写体を認識してブレ補正を行うようにしたものである。 FIGS. 12 and 13 show a fifth embodiment of the present invention, in which the outline of an AF-locked subject is extracted in advance, and the main subject is recognized based on the extracted outline and shake correction is performed. It is what I did.
ムービー録画モードを設定すると、CPU14は、図12のフローチャートに示すような処理を実行する。まず、スルー画像を液晶モニタ25に表示させる(ステップS501)。このとき、CPU14は、モータードライバ17を制御してモーター12を駆動させることにより、フォーカスレンズを光軸方向に移動させながら、撮影領域内において中央部の被写体が合焦するようにコントラストAFを行っている。
When the movie recording mode is set, the
この状態において、キー入力部28での操作によるAFロック指示があったか否かを判断し(ステップS502)、AFロック指示があるまでAFを継続する。そして、主被写体が撮影領域の中央部に位置するようにデジタルカメラ1の向きを調整し、主被写体にピントが合った時点でAFロック指示を行うと、ステップS502の判断がYESとなり、フォーカスレンズを現在位置に固定することにより、撮影対象に向けて、AFロックを行う(ステップS503)。なお、AFロック指示があるまでAFを行わずにAFロック指示によりAFを行った後、フォーカスレンズを固定するようにしてもよい。次に、AFされた部分を中心に輪郭を抽出する処理を実行する(ステップS504)。すなわち、AFされた部分は撮影領域の中央部であることから、この撮影領域の中央部を中心にして所定範囲内における画像の輪郭を抽出する。したがって、前述のように主被写体が撮影領域の中央部に位置するようにデジタルカメラ1の向きを調整しておくことにより、主被写体の輪郭が抽出されることとなる。その後、使用者は、撮影領域の中央部に位置していた主被写体が撮影領域内の所望位置に移動するようにデジタルカメラ1の向きを調整した後、録画開始ボタンを押下することにより動画撮影処理を開始することになる。
In this state, it is determined whether or not an AF lock instruction is given by an operation on the key input unit 28 (step S502), and AF is continued until an AF lock instruction is issued. Then, when the orientation of the
次に、録画開始ボタンが押下されたか否かを判断し(ステップS505)、録画開始ボタンが押下されるまで待機する。録画開始ボタンが押下されたならば、動画撮影処理を開始するとともに(ステップS506)、パターンマッチングにより被写体を認識する(ステップS507)。つまり、CCD19が駆動されることによりSDRAM23に取り込まれた被写体画像における輪郭と、前記ステップS504で抽出した輪郭とを比較して、被写体画像中における当該略一致した輪郭を有する被写体を主被写体として認識する。
Next, it is determined whether or not the recording start button has been pressed (step S505), and the process waits until the recording start button is pressed. If the recording start button is pressed, the moving image shooting process is started (step S506), and the subject is recognized by pattern matching (step S507). That is, the contour in the subject image captured in the
引き続き、この動画撮影中においてSDRAM23に順次記憶される複数の画像データにおける時間的に隣接する画像に基づき、前記ステップS507で主被写体として認識した被写体の移動量(移動量と移動方向とを含む動きベクトル)を検出する(ステップS508)。また、この検出した移動量に応じて、アクチュエータードライバ18を制御し、アクチュエーター13を動作させることにより、レンズブロック11内の補正光学系を駆動する(ステップS509)。次に、録画撮影が終了となったか否か、つまり録画終了ボタンを押下したか否か及び外部メモリ26が一杯になったか否かを判断し(ステップS510)、動画撮影が終了となるまでステップS507からの処理を繰り返す。そして、録画終了ボタンの押下が検出されるか、外部メモリ26が一杯になった時点で動画撮影を終了する。
Subsequently, based on the temporally adjacent images in the plurality of image data sequentially stored in the
これにより撮影された動画にあっては、前述のように認識した被写体の移動量に応じて、レンズブロック11内の補正光学系を駆動しつつ撮影されたものであることから、主被写体が移動したり、デジタルカメラ1に手ブレが生じても、主被写体にブレのない動画とすることができる。
The moving image thus shot is shot while driving the correction optical system in the
なお、本実施の形態においても前記フローチャートのステップS509に示したように、光学系の一部を駆動してブレを補正する光学式ブレ補正を行うようにしたが、露光を複数に分割して行い、各露光で得られた動画撮影処理により得られる各フレーム画像の切り出し範囲(トリミング範囲)をブレ量に応じてずらす(変更する)ことにより、ブレ補正されたフレーム画像を得る電子式ブレ補正を行うようにしてもよい。 In this embodiment, as shown in step S509 in the flowchart, optical blur correction is performed to correct blur by driving a part of the optical system. However, the exposure is divided into a plurality of parts. Electronic blur correction to obtain a blur-corrected frame image by shifting (changing) the cutout range (trimming range) of each frame image obtained by moving image shooting processing obtained by each exposure according to the blur amount May be performed.
図13は、本実施の形態における静止画撮影時の処理手順を示すフローチャートである。まず、スルー画像を液晶モニタ25に表示させる(ステップS511)。このとき、CPU14は、モータードライバ17を制御してモーター12を駆動させることにより、フォーカスレンズを光軸方向に移動させながら、撮影領域内において中央部の被写体が合焦するようにコントラストAFを行っている。
FIG. 13 is a flowchart showing a processing procedure at the time of still image shooting in the present embodiment. First, a through image is displayed on the liquid crystal monitor 25 (step S511). At this time, the
この状態において、キー入力部28での操作(シャッターキーの半押し操作)によるAFロック指示があったか否かを判断し(ステップS512)、AFロック指示があるまでAFを継続する。そして、主被写体が撮影領域の中央部に位置するようにデジタルカメラ1の向きを調整し、主被写体にピントが合った時点でAFロック指示を行うと、ステップS512の判断がYESとなり、フォーカスレンズを現在位置に固定することより、撮影対象に向けて、AFロックを行う(ステップS513)。なお、AFロック指示があるまでAFを行わずにAFロック指示によりAFを行った後、フォーカスレンズを固定するようにしてもよい。
In this state, it is determined whether or not there has been an AF lock instruction by an operation on the key input unit 28 (half-press operation of the shutter key) (step S512), and AF is continued until an AF lock instruction is issued. Then, when the orientation of the
次に、前述したステップS504の処理と同様に、AFされた部分を中心に輪郭を抽出する処理を実行した後(ステップS514)、シャッターキーが押下(シャッターキーが全押し操作)されたか否かを判断し(ステップS515)、シャッターキーが押下されるまで待機する。なお、使用者は、撮影領域の中央部に位置していた主被写体が撮影領域内の所望位置に移動するようにデジタルカメラ1の向きを調整した後、シャッターキーを押下することにより静止画撮影処理を開始することになる。シャッターキーが押下されたならば、高速での静止画撮影処理(高速シャッター処理)を実行する(ステップS516)。この高速での静止画撮影処理においては、前述のように、絞り値(F)とシャッタースピードとの組み合わせを示すプログラム線図を構成するプログラムAEデータに基づくシャッタースピード、つまり当該画像を撮影する際の本来のシャッタースピードを、10分割した高速シャッタースピードを算出し、この高速シャッタースピードでCCD19を駆動することにより、1/10時間のシャッタースピードで静止画撮影を行い、その画像データをSDRAM23に格納する。
Next, similarly to the process of step S504 described above, after executing the process of extracting the outline around the AF portion (step S514), whether or not the shutter key is pressed (shutter key is fully pressed) is determined. (Step S515), and waits until the shutter key is pressed. The user adjusts the orientation of the
さらに、パターンマッチングにより被写体を認識する(ステップS517)。つまり、高速静止画撮影によりSDRAM23に格納した被写体画像における輪郭と、前記ステップS514で抽出した輪郭とを比較して、被写体画像中における当該略一致した輪郭を有する被写体を主被写体として認識する。
Further, the subject is recognized by pattern matching (step S517). That is, the contour in the subject image stored in the
引き続き、ステップS518、S519の処理を実行するが、これらの処理は1枚目の高速静止画撮影時においてはスキップする。また、ステップS519に続くステップS520では、10枚の高速静止画撮影が終了したか否かを判断し、終了するまでステップS516からの処理を繰り返す。そして、ステップS516からの処理が再度実行されることにより、2枚目以降の高速静止画撮影が行われると、スキップすることなくステップS526の処理を実行し、SDRAM23に今回格納された被写体画像における主被写体と前回格納された被写体画像における主被写体とを比較することにより、当該主被写体の移動量(移動方向を含む)を検出する(ステップS518)。そして、この検出した移動量分だけずらして、前回までの被写体画像に今回の被写体画像を合成する(ステップS519)。したがって、ステップS520の判断がYESとなるまで、つまり10枚の高速静止画撮影が終了するまでに、ステップS518及びS519の処理が9回行われることとなり、10枚の高速静止画撮影した静止画を順次合成した1枚の静止画が生成される。
Subsequently, the processes of steps S518 and S519 are executed, but these processes are skipped at the time of shooting the first high-speed still image. In step S520 subsequent to step S519, it is determined whether or not 10 high-speed still image shootings have been completed, and the processing from step S516 is repeated until the shooting is completed. Then, when the second and subsequent high-speed still image shootings are performed by executing the process from step S516 again, the process of step S526 is executed without skipping, and the subject image stored in the
そして、10枚の高速静止画撮影が終了したならば、合成画像つまり10枚の高速静止画撮影した静止画を順次合成した1枚の静止画を外部メモリ26に記録する(ステップS521)。この静止画にあっては、前述のようにパターンマッチングにより認識した被写体である主被写体の移動量を検出して、検出した移動量分だけずらして画像合成したものであることから、デジタルカメラ1に手ブレが生じたり主被写体が移動してもこれに左右されることなく、ブレのない主被写体が撮影された静止画とすることができる。また、合成された10枚の静止画は、絞り値(F)とシャッタースピードとの組み合わせを示すプログラム線図を構成するプログラムAEデータに基づくシャッタースピードを、10分割したシャッタースピードで撮影されたものであることから、このシャッタースピードで撮影された10枚の静止画が合成されることにより、画像の明るさも適切となる。よって、画像の明るさも適切であって、かつ、主被写体にブレのない静止画とすることができる。
When 10 high-speed still image shootings are finished, a combined image, that is, one still image obtained by sequentially combining 10 high-speed still image shooting still images is recorded in the external memory 26 (step S521). In this still image, since the movement amount of the main subject, which is the subject recognized by pattern matching as described above, is detected and the image is synthesized by shifting the detected movement amount, the
なお、本実施の形態においても、前記フローチャートに示したように、10枚の高速静止画撮影を行いつつ、静止画撮影毎に認識した被写体の移動量を検出する処理(ステップS518)と検出した移動量分だけずらして画像合成する処理(ステップS519)とを行うようにしたが、10枚の高速静止画撮影終了後にこれらの各処理を行うようにしてもよい。 In the present embodiment as well, as shown in the flowchart, while detecting 10 high-speed still images, the process of detecting the amount of movement of the subject recognized for each still image shooting (step S518) is detected. The process of synthesizing the image by shifting the movement amount (step S519) may be performed, but each of these processes may be performed after 10 high-speed still images have been captured.
また、以上に説明した第2〜第4の実施の形態においては、パターンマッチングにより認識した主被写体のブレを補正するブレ補正に本発明を用いるようにしたが、本発明をAFに用いて、認識した主被写体を合焦させるAFを行うようにしてもよい。 In the second to fourth embodiments described above, the present invention is used for blur correction for correcting the blur of the main subject recognized by pattern matching. However, the present invention is used for AF, AF for focusing the recognized main subject may be performed.
1 デジタルカメラ
5 バッジ
11 レンズブロック
12 モーター
13 アクチュエーター
14 CPU
16 タイミング発生器
17 モータードライバ
18 アクチュエータードライバ
19 CCD
20 水平ドライバ
21 ユニット回路
22 画像処理部
23 SDRAM
25 液晶モニタ
26 外部メモリ
27 フラッシュメモリ
28 キー入力部
36 ジャイロセンサー
37 無線送受信部
38 アンテナ
51 首紐
52 CPU
54 フラッシュメモリ
55 RAM
56 ジャイロセンサー
57 無線送受信部
58 アンテナ
C 特徴色部分
F 形状
M 主被写体
1 Digital Camera 5
16
20
25 Liquid crystal monitor 26
54
56
Claims (3)
前記光学系により合焦される所定の撮影領域内における画像を連続して撮影した複数枚数の画像を合成することで適切な露出となるように1回毎の撮影では高速のシャッタースピードで撮影する撮影手段と、
前記光学系が被写体を合焦させた状態において、前記合焦制御手段をロックするロック手段と、
このロック手段により前記合焦制御手段がロックされた状態において、前記光学系が合焦させた所定の撮影領域内における撮影対象とする主被写体の特徴を示す特徴情報を取得する取得手段と、
前記撮影手段による撮影と並行して、前記取得手段が取得した前記特徴情報に基づき、前記ロック手段により前記合焦制御手段がロックされた状態から変わり得る前記連続した複数回の撮影の各々の撮影領域内において前記同じ主被写体を認識する認識手段と、
複数の画像を合成する制御を実行する手段であって、前記撮影手段による撮影と並行して、前記認識手段により認識された前記各々の撮影の撮影領域内おける主被写体の位置に基づき、前記撮影手段により撮影された画像を前回までに合成された画像に主被写体の位置の変化量分だけずらして合成する制御を実行する制御手段と
を備えることを特徴とするカメラ。 Focusing control means for controlling the optical system to focus the subject image;
Each shot is shot at a high shutter speed so as to obtain an appropriate exposure by combining a plurality of images obtained by continuously shooting images in a predetermined shooting area focused by the optical system. Photographing means;
Lock means for locking the focusing control means in a state where the optical system has focused the subject;
Acquisition means for acquiring characteristic information indicating characteristics of a main subject to be imaged in a predetermined imaging area focused by the optical system in a state where the focusing control unit is locked by the locking unit;
In parallel with the photographing by the photographing means , each photographing of the plurality of consecutive photographings that can be changed from the state in which the focusing control means is locked by the locking means based on the feature information obtained by the obtaining means. Recognition means for recognizing the same main subject in a region;
Means for executing control for combining a plurality of images, wherein the photographing is performed based on a position of a main subject in a photographing region of each photographing recognized by the recognition means in parallel with photographing by the photographing means; camera, characterized in that it comprises a control means for performing control to synthesize shifted by the amount of change in the position of the main subject the captured images until a combined image previous by means.
光学系を制御して被写体像を合焦させる合焦制御手段と、
前記光学系が被写体を合焦させた状態において、前記合焦制御手段をロックするロック手段と、
このロック手段により前記合焦制御手段がロックされた状態において、前記光学系が合焦させた所定の撮影領域内における撮影対象とする主被写体の特徴を示す特徴情報を取得する取得手段と、
前記撮影手段による撮影と並行して、前記取得手段が取得した前記特徴情報に基づき、前記ロック手段により前記合焦制御手段がロックされた状態から変わり得る前記連続した複数回の撮影の各々の撮影領域内において前記同じ主被写体を認識する認識手段と、
複数の画像を合成する制御を実行する手段であって、前記撮影手段による撮影と並行して、前記認識手段により認識された前記各々の撮影の撮影領域内おける主被写体の位置に基づき、前記撮影手段により撮影された画像を前回までに合成された画像に主被写体の位置の変化量分だけずらして合成する制御を実行する制御手段と
して機能させることを特徴とするカメラ制御プログラム。 A computer provided in a camera having a photographing means for photographing at a high shutter speed in each photographing so as to obtain an appropriate exposure by combining a plurality of images obtained by continuously photographing images in a predetermined photographing region. The
Focusing control means for controlling the optical system to focus the subject image;
Lock means for locking the focusing control means in a state where the optical system has focused the subject;
Acquisition means for acquiring characteristic information indicating characteristics of a main subject to be imaged in a predetermined imaging area focused by the optical system in a state where the focusing control unit is locked by the locking unit;
In parallel with the photographing by the photographing means , each photographing of the plurality of consecutive photographings that can be changed from the state in which the focusing control means is locked by the locking means based on the feature information obtained by the obtaining means. Recognition means for recognizing the same main subject in a region;
Means for executing control for combining a plurality of images, wherein the photographing is performed based on a position of a main subject in a photographing region of each photographing recognized by the recognition means in parallel with photographing by the photographing means; the camera control program, characterized in that to function as a control means for executing control to synthesize shifted by the amount of change in the position of the main object the images taken on the image synthesized up to the previous time by means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011219677A JP5488558B2 (en) | 2011-10-04 | 2011-10-04 | Camera and camera control program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011219677A JP5488558B2 (en) | 2011-10-04 | 2011-10-04 | Camera and camera control program |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2005163397A Division JP2006337778A (en) | 2005-06-03 | 2005-06-03 | Camera, camera control program, and camera system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2012014196A JP2012014196A (en) | 2012-01-19 |
| JP5488558B2 true JP5488558B2 (en) | 2014-05-14 |
Family
ID=45600601
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2011219677A Expired - Fee Related JP5488558B2 (en) | 2011-10-04 | 2011-10-04 | Camera and camera control program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5488558B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6577703B2 (en) | 2014-08-05 | 2019-09-18 | キヤノン株式会社 | Image processing apparatus, image processing method, program, and storage medium |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3530696B2 (en) * | 1996-12-27 | 2004-05-24 | キヤノン株式会社 | Imaging device |
| JP3788714B2 (en) * | 2000-02-14 | 2006-06-21 | 株式会社リコー | Imaging device and digital camera |
| JP4418632B2 (en) * | 2003-01-15 | 2010-02-17 | キヤノン株式会社 | Imaging apparatus, composite image generation method, and program |
| JP2004357202A (en) * | 2003-05-30 | 2004-12-16 | Canon Inc | Imaging equipment |
-
2011
- 2011-10-04 JP JP2011219677A patent/JP5488558B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2012014196A (en) | 2012-01-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4379728B2 (en) | Imaging apparatus and program thereof | |
| US8106995B2 (en) | Image-taking method and apparatus | |
| JP4761146B2 (en) | Imaging apparatus and program thereof | |
| CN102262334B (en) | Imaging device, imaging system and imaging apparatus control method | |
| US20080273097A1 (en) | Image capturing device, image capturing method and controlling program | |
| TWI514847B (en) | Image processing device, image processing method, and recording medium | |
| US10194074B2 (en) | Imaging system, warning generation device and method, imaging device and method, and program | |
| JP2012002951A (en) | Imaging device, method for detecting in-focus position and in-focus position detection program | |
| KR101433121B1 (en) | Image processing device for generating composite image having predetermined aspect ratio | |
| CN103888684B (en) | Image processing apparatus, image processing method and recording medium | |
| JP2021021857A (en) | Imaging apparatus and control method thereof | |
| JP4957263B2 (en) | Imaging apparatus, imaging method, and program thereof | |
| JP4853707B2 (en) | Imaging apparatus and program thereof | |
| JP5488558B2 (en) | Camera and camera control program | |
| JP2006337778A (en) | Camera, camera control program, and camera system | |
| JP6602093B2 (en) | Imaging apparatus, imaging method, imaging system, and program | |
| JP5892211B2 (en) | Imaging apparatus and program | |
| JP4379921B2 (en) | Imaging apparatus and program thereof | |
| JP5157528B2 (en) | Imaging device | |
| JP4883135B2 (en) | Imaging apparatus and program thereof | |
| JP5304756B2 (en) | Camera, camera control program, and camera control method | |
| JP4756005B2 (en) | Imaging apparatus and imaging method | |
| JP2018098764A (en) | Imaging apparatus and image composition method | |
| JP2007316471A (en) | Imaging apparatus and program thereof | |
| JP2014049960A (en) | Imaging device, control method therefor, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111011 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111017 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20111017 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130206 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130305 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130418 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20130820 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20131118 |
|
| A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20131126 |
|
| 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: 20140128 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140210 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5488558 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |