JP5603671B2 - Electronic device, imaging method, and image conversion program - Google Patents
Electronic device, imaging method, and image conversion program Download PDFInfo
- Publication number
- JP5603671B2 JP5603671B2 JP2010142059A JP2010142059A JP5603671B2 JP 5603671 B2 JP5603671 B2 JP 5603671B2 JP 2010142059 A JP2010142059 A JP 2010142059A JP 2010142059 A JP2010142059 A JP 2010142059A JP 5603671 B2 JP5603671 B2 JP 5603671B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- imaging
- unit
- area
- aspect ratio
- 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
- Studio Devices (AREA)
Description
本発明は、被写体を撮像して電子的な画像データを生成する撮像装置、撮像方法、及び画像変換プログラムに関する。 The present invention relates to an imaging apparatus, an imaging method, and an image conversion program for imaging a subject and generating electronic image data.
近年のデジタルカメラ等の撮像装置には、静止画撮影機能に加えて、動画撮影機能を有しているものが多い。また、静止画撮影モードから画面から動画撮影モードへ、ボタンを1つ押すだけで切り替えることができる機種も存在する。 Many recent imaging devices such as digital cameras have a moving image shooting function in addition to a still image shooting function. There are also models that can be switched from the still image shooting mode to the video shooting mode from the screen with a single button press.
ところで、静止画として記録される画像の縦横比率は、一般に、3/4又は2/3(アスペクト比4:3又は3:2)となっている。一方、動画については、HD動画として規格化されている1280×720画素や1920×1080画素が採用されているため、縦横比率は通常、9/16(アスペクト比16:9)となっている。このように、静止画と動画とでは縦横比率が互いに異なるため、撮影モードを切り替えると、モニタ上の表示領域のアスペクト比が切り替わるようになっている(特許文献1参照)。 Incidentally, the aspect ratio of an image recorded as a still image is generally 3/4 or 2/3 (aspect ratio 4: 3 or 3: 2). On the other hand, since 1280 × 720 pixels and 1920 × 1080 pixels, which are standardized as HD movies, are employed for moving images, the aspect ratio is usually 9/16 (aspect ratio 16: 9). As described above, since the aspect ratio is different between the still image and the moving image, the aspect ratio of the display area on the monitor is switched when the shooting mode is switched (see Patent Document 1).
通常、静止画撮影モードから動画撮影モードに切り替えると、それまで表示されていた縦横比率3/4の画像の上端部及び下端部を帯状に切り取ることにより、縦横比率9/16の画像が実現される。即ち、垂直方向の画角(垂直画角)が急激に狭くなるため、被写体の位置によっては、その一部がカットされてしまうことになる。それにより、撮影者は、所望の被写体を当初から撮影することができなくなってしまう。 Normally, when the still image shooting mode is switched to the movie shooting mode, an image having an aspect ratio of 9/16 is realized by cutting out the upper and lower ends of the image having the aspect ratio of 3/4 that has been displayed so far into a strip shape. The That is, since the vertical field angle (vertical field angle) is abruptly narrowed, part of the subject is cut depending on the position of the subject. This makes it impossible for the photographer to photograph a desired subject from the beginning.
本発明は、上記に鑑みてなされたものであって、静止画撮影モードから動画撮影モードに切り替えた際に、所望の被写体を当初から撮影することができる撮像装置、撮像方法、及び画像変換プログラムを提供することを目的とする。 The present invention has been made in view of the above, and an imaging apparatus, an imaging method, and an image conversion program capable of capturing a desired subject from the beginning when the still image capturing mode is switched to the moving image capturing mode. The purpose is to provide.
上述した課題を解決し、目的を達成するために、本発明に係る電子機器は、画像を表示する表示部と、前記画像から被写体を検出する注目被写体検出部と、前記注目被写体検出部によって検出された被写体の位置に基づいて、該被写体の所定位置を前記表示部の中心位置に向けて所定量だけ移動させる設定を行う領域設定部と、を備えたことを特徴とする。 In order to solve the above-described problems and achieve the object, an electronic device according to the present invention is detected by a display unit that displays an image, a target subject detection unit that detects a subject from the image, and the target subject detection unit. And a region setting unit configured to perform a setting for moving the predetermined position of the subject toward the center position of the display unit by a predetermined amount based on the position of the subject.
また、本発明にかかる電子機器は、上記発明において、前記注目被写体検出部は、前記被写体の中心位置を抽出し、前記領域設定部は、前記表示部の垂直方向における中心位置が前記画像の垂直方向における中心位置に一致するように設定することを特徴とする。In the electronic device according to the present invention, in the above invention, the target subject detection unit extracts a center position of the subject, and the region setting unit has a center position in a vertical direction of the display unit that is perpendicular to the image. It is characterized by being set to coincide with the center position in the direction.
また、本発明にかかる電子機器は、上記発明において、電子的な画像データを連続的に生成する撮像部をさらに備え、前記注目被写体検出部は、第1の縦横比率で撮影を行う第1の撮影モードから前記第1の縦横比率とは異なる第2の縦横比率で撮影を行う第2の撮影モードの移行時に、前記撮像部によって生成された画像データに対応する画像である撮像領域画像から被写体を検出することを特徴とする。Moreover, the electronic device according to the present invention further includes an imaging unit that continuously generates electronic image data in the above invention, wherein the subject-of-interest detection unit performs first imaging with a first aspect ratio. A subject from an imaging region image that is an image corresponding to the image data generated by the imaging unit at the time of transition from the imaging mode to a second imaging mode in which imaging is performed at a second aspect ratio different from the first aspect ratio Is detected.
また、本発明にかかる電子機器は、上記発明において、前記撮像部が順次生成する前記画像データを記憶する記憶部と、前記撮像領域画像から所定の領域を切り出す画像切り出し部と、をさらに備え、前記領域設定部は、前記注目被写体検出部によって検出された被写体の位置に基づいて、前記撮像領域画像から前記第2の縦横比率で切り出されて前記記憶部に記憶させる記録領域を設定し、前記画像切り出し部は、前記領域設定部によって設定された前記記録領域を前記撮像領域画像から切り出すことを特徴とする。Moreover, in the above invention, the electronic device according to the present invention further includes a storage unit that stores the image data sequentially generated by the imaging unit, and an image cutout unit that cuts out a predetermined region from the imaging region image, The region setting unit sets a recording region that is cut out from the captured region image at the second aspect ratio and stored in the storage unit based on the position of the subject detected by the target subject detection unit, The image cutout unit cuts out the recording area set by the area setting unit from the imaging area image.
また、本発明にかかる電子機器は、上記発明において、前記撮像部によって生成された画像データに対応する画像のブレ量を算出し、該ブレ量に基づいて前記記録領域に記録された画像の補正を行う手ブレ補正部をさらに備え、前記記録領域の第1の方向における一端と、前記撮像領域画像の前記第1の方向における一端との間隔が、所定範囲よりも狭い場合に、前記第1の方向と直交する第2の方向のみにおいて前記補正を行い、前記間隔が所定範囲以上である場合に、前記第1及び第2の方向において前記補正を行うことを特徴とする。In the electronic device according to the present invention, in the above invention, an image blur amount corresponding to the image data generated by the imaging unit is calculated, and an image recorded in the recording area is corrected based on the blur amount. And a camera shake correction unit that performs the above-described operation when the interval between the one end in the first direction of the recording area and the one end in the first direction of the imaging area image is narrower than a predetermined range. The correction is performed only in a second direction orthogonal to the first direction, and the correction is performed in the first and second directions when the interval is not less than a predetermined range.
また、本発明にかかる電子機器は、上記発明において、前記第2の縦横比率は、前記第1の縦横比率よりも小さいことを特徴とする。In the electronic device according to the present invention as set forth in the invention described above, the second aspect ratio is smaller than the first aspect ratio.
また、本発明にかかる撮像方法は、視野領域からの光を集光するレンズ部と、該レンズ部が集光した光を電気信号に変換する撮像素子を有し、該電気信号に基づいて電子的な画像データを連続的に生成する撮像部と、該撮像部が生成した画像データを記憶する記憶部と、前記撮像部が生成する画像データに基づいて画像を表示する表示部とを備え、第1の縦横比率で撮影を行う第1の撮影モードと、前記第1の縦横比率とは異なる第2の縦横比率で撮影を行う第2の撮影モードとを有する電子機器が実行する画像変換方法であって、前記第1の撮影モードから前記第2の撮影モードへの移行時に、前記撮像部によって生成された画像データに対応する画像である撮像領域画像から被写体を検出する注目被写体検出ステップと、前記撮像領域画像から前記第2の縦横比率で切り出されて記録される記録領域を、前記注目被写体検出ステップにおいて検出された被写体の位置に基づいて初期設定すると共に、該初期設定された記録領域の中心位置を前記撮像領域画像の中心位置に向けて所定量だけ移動させる設定を行う領域設定ステップと、前記領域設定ステップにおいて設定された前記記録領域を前記撮像領域画像から切り出す画像切出しステップと、を含むことを特徴とする。In addition, an imaging method according to the present invention includes a lens unit that collects light from a visual field region, and an imaging element that converts the light collected by the lens unit into an electrical signal, and an electronic device based on the electrical signal. An imaging unit that continuously generates typical image data, a storage unit that stores the image data generated by the imaging unit, and a display unit that displays an image based on the image data generated by the imaging unit, An image conversion method executed by an electronic device having a first shooting mode in which shooting is performed at a first aspect ratio and a second shooting mode in which shooting is performed at a second aspect ratio different from the first aspect ratio An object-of-interest detection step for detecting an object from an imaging area image, which is an image corresponding to image data generated by the imaging unit, at the time of transition from the first imaging mode to the second imaging mode. The imaging area image The recording area that is cut out and recorded at the second aspect ratio is initialized based on the position of the subject detected in the subject detection step, and the center position of the initially set recording area is An area setting step for performing a setting for moving the image by a predetermined amount toward the center position of the imaging area image; and an image cutting step for extracting the recording area set in the area setting step from the imaging area image. And
また、本発明にかかる画像変換プログラムは、視野領域からの光を集光するレンズ部と、該レンズ部が集光した光を電気信号に変換する撮像素子を有し、該電気信号に基づいて電子的な画像データを連続的に生成する撮像部と、該撮像部が生成した画像データを記憶する記憶部と、前記撮像部が生成する画像データに基づいて画像を表示する表示部とを備え、第1の縦横比率で撮影を行う第1の撮影モードと、前記第1の縦横比率とは異なる第2の縦横比率で撮影を行う第2の撮影モードとを有する電子機器に、前記第1の撮影モードから前記第2の撮影モードへの移行時に、前記撮像部によって生成された画像データに対応する画像である撮像領域画像から被写体を検出する注目被写体検出ステップと、前記撮像領域画像から前記第2の縦横比率で切り出されて記録される記録領域を、前記注目被写体検出ステップにおいて検出された被写体の位置に基づいて初期設定すると共に、該初期設定された記録領域の中心位置を前記撮像領域画像の中心位置に向けて所定量だけ移動させる設定を行う領域設定ステップと、前記領域設定ステップにおいて設定された前記記録領域を前記撮像領域画像から切り出す画像切出しステップと、を実行させることを特徴とする。An image conversion program according to the present invention includes a lens unit that collects light from a visual field region, and an image sensor that converts the light collected by the lens unit into an electrical signal. An imaging unit that continuously generates electronic image data, a storage unit that stores image data generated by the imaging unit, and a display unit that displays an image based on the image data generated by the imaging unit. An electronic apparatus having a first shooting mode for shooting at a first aspect ratio and a second shooting mode for shooting at a second aspect ratio different from the first aspect ratio is provided in the electronic device. A target subject detection step of detecting a subject from an imaging region image that is an image corresponding to the image data generated by the imaging unit at the time of transition from the imaging mode to the second imaging mode; 2nd vertical A recording area cut out and recorded at a ratio is initially set based on the position of the subject detected in the target subject detection step, and the center position of the initially set recording area is set as the center position of the imaging area image. An area setting step for performing a setting for moving a predetermined amount toward the image area; and an image cutting step for cutting out the recording area set in the area setting step from the imaging area image.
本発明によれば、静止画撮影モードから動画撮影モードへの移行時に、撮像領域画像から切り出される記録領域を、撮像領域画像上の被写体の位置に基づいて初期設定し、この位置から本来使用される撮像領域画像の中心位置まで徐々に移動させるので、動画撮影開始当初から所望の被写体を撮影することができる。 According to the present invention, at the time of transition from the still image shooting mode to the moving image shooting mode, the recording area cut out from the imaging area image is initialized based on the position of the subject on the imaging area image, and is originally used from this position. Therefore, the desired subject can be photographed from the beginning of the moving image photographing.
以下、図面を参照して、本発明を実施するための形態(以下、「実施の形態」という)について説明する。なお、以下に説明する実施の形態によって本発明が限定されるものではない。また、図面の記載において、同一の部分には同一の符号を付している。 DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments for carrying out the present invention (hereinafter referred to as “embodiments”) will be described with reference to the drawings. The present invention is not limited to the embodiments described below. In the description of the drawings, the same parts are denoted by the same reference numerals.
(実施の形態)
図1は、本発明の一実施の形態に係る撮像装置の構成を示すブロック図である。また、図2は、図1に示す撮像装置1の被写体に面する側(前面側)の外観を示す斜視図である。図3は、撮像装置1の撮影者に面する側(背面側)の外観を示す図である。
(Embodiment)
FIG. 1 is a block diagram showing a configuration of an imaging apparatus according to an embodiment of the present invention. FIG. 2 is a perspective view showing an appearance of the imaging device 1 shown in FIG. 1 on the side facing the subject (front side). FIG. 3 is a diagram illustrating an appearance of the imaging device 1 on the side facing the photographer (back side).
図1〜図3に示すように、撮像装置1は、レンズ部2と、レンズ駆動機構3と、絞り駆動機構4と、シャッタ駆動機構5と、撮像素子6と、撮像素子変位機構6aと、信号処理部7と、音声入出力部8と、操作入力部9と、表示部10と、タッチパネル11と、記録媒体インタフェース12と、不揮発性メモリ13と、揮発性メモリ14と、ブレ検出部15と、姿勢検出部16と、システムコントローラ17とを備える。
As shown in FIGS. 1 to 3, the imaging device 1 includes a
レンズ部2は、フォーカスレンズ及びズームレンズ等によって構成され、所定の視野領域から光を集光する。レンズ部2は、ズームレンズが光軸Q上を移動することによって画角を変化させる光学ズーム機能を有する。
The
レンズ駆動機構3は、DCモータ等によって構成され、レンズ部2のフォーカスレンズやズームレンズを光軸Q上で移動させることによってレンズ部2の焦点位置や焦点距離の変更を行う。
The
絞り駆動機構4は、絞り4a及びステッピングモータ等によって構成され、絞り4aを駆動することによってレンズ部2が集光した光の入射量を調整する。
The diaphragm drive mechanism 4 is configured by a
シャッタ駆動機構5は、シャッタ5a及びステッピングモータ等によって構成され、シャッタ5aを駆動することによって撮像素子6の状態を露光状態又は遮光状態に設定する。
The shutter drive mechanism 5 includes a
撮像素子6は、レンズ部2が集光した光を受光して電気信号(アナログ信号)に変換するCCD(Charge Coupled Device)やCMOS(Complementary Metal Oxide Semiconductor)等によって実現され、変換した電気信号を信号処理部7に出力する。
The
撮像素子変位機構6aは、静止画撮影時に、後述する手ブレ補正量算出部17jによって算出された変位量に基づいて撮像素子6を移動させることにより、ブレによる画像の劣化を防止する。
The imaging
信号処理部7は、撮像素子6から出力される電気信号に増幅等の信号処理を施した後、A/D変換を行うことによってデジタルの画像データに変換し、システムコントローラ17を介して揮発性メモリ14に出力する。なお、撮像素子6及び信号処理部7を含む構成は、レンズ部2が集光した光を用いて電子的な画像データを連続的に生成する撮像部として機能する。
The signal processing unit 7 performs signal processing such as amplification on the electrical signal output from the
音声入出力部8は、マイクやスピーカ等によって構成され、たとえば音声情報の取得又は出力を行う。
The voice input /
操作入力部9は、図2及び図3に示すように、撮像装置1の電源状態をオン状態又はオフ状態に切換える電源スイッチ9aと、静止画撮影の指示を与えるレリーズ信号を入力する静止画レリーズスイッチ9bと、動画撮影の指示を与えるレリーズ信号を入力する動画レリーズスイッチ9cと、撮像装置1の各種撮影モードを切換えるモード切換スイッチ9dと、撮像装置1の各種設定を行う操作スイッチ9eと、レンズ部2のズーム操作を行うズームスイッチ9fとを有する。
As shown in FIGS. 2 and 3, the
表示部10は、液晶又は有機EL(Electro Luminescence)等からなる表示パネルを用いて実現される。表示部10は、撮像素子6が生成する画像データに対応する画像を表示する。撮像装置1の操作情報及び撮影に関する情報を適宜表示する。表示部10は、図3に示すように、表示画面の縦(垂直画素列に平行な方向)と横(水平画素列に平行な方向)との比が3:4であるが、たとえば表示画面の縦と横との比が9:16であってもよい。
The
タッチパネル11は、表示部10の表示画面上に重ねて設けられる(図3を参照)。タッチパネル11は、撮影者が表示部10で表示される情報に基づいて接触(タッチ)した位置を検出し、この接触位置に応じた操作信号の入力を受け付ける。なお、一般に、タッチパネルとしては、抵抗膜方式、静電容量方式、光学式等があるが、本実施の形態においては、いずれの方式のタッチパネルを適用しても良い。
The
記録媒体インタフェース12は、撮像装置1の外部から装着される記録媒体のメモリカード12aに対して画像データ等の情報を記憶する一方、メモリカード12aが記憶する情報を読み出す。
The
不揮発性メモリ13は、フラッシュメモリ等によって実現される。不揮発性メモリ13は、撮像装置1を動作させるための各種プログラムや本実施の形態に係る画像変換プログラムを記憶したプログラムコード13aと、プログラムの実行中に使用される各種データ等を記憶した制御パラメータ13bとを有する。
The
揮発性メモリ14は、SDRAM(Synchronous Dynamic Random Access Memory)によって実現される。揮発性メモリ14は、信号処理部7から出力される画像データやシステムコントローラ17による処理中の情報が一時的に記録されるワークエリア14aを有する。具体的には、揮発性メモリ14は、撮像素子6が1フレーム(例えば1/30秒)毎に出力する画像データに対応する画像(ライブビュー画像)や静止画レリーズスイッチ9bが操作された際に撮像素子6が出力する画像データに対応する画像等を一時的に記憶する。
The
ブレ検出部15は、X軸ジャイロセンサ15aと、Y軸ジャイロセンサ15bと、角速度センサ処理部15cとを有している。角速度センサ処理部15cは、X軸ジャイロセンサ15a及びY軸ジャイロセンサ15bから出力された信号をA/D変換すると共に、所定の信号処理を施す。この信号は、後述するシステムコントローラ17において、角速度データとして扱われる。
The
姿勢検出部16は、加速度センサ16aと、加速度センサ処理部16bとを有している。加速度センサ16aは、重力の方向とカメラに加わった衝撃とを検出する。加速度センサ処理部16bは、加速度センサ16aから出力された信号をA/D変換すると共に、所定の信号処理を施す。この信号は、後述するシステムコントローラ17において、加速度データとして扱われる。
The
システムコントローラ17は、CPU(Central Processing Unit)等によって実現され、操作入力部9からの操作信号等に応じて不揮発性メモリ13のプログラムコード13aからプログラムを読み出して実行し、撮像装置1を構成する各部に対する指示やデータの転送等を行って撮像装置1の動作を統括的に制御する。システムコントローラ17は、画像処理部17aと、圧縮・伸長部17bと、AF制御部17cと、AE制御部17dと、タイマカウンタ17eと、注目被写体検出部17fと、画素数変換部17gと、領域設定部17hと、画像切出し部17iと、手ブレ補正量算出部17jと、電子式手ブレ補正部17kと、補正モード制御部17mとを有する。
The
画像処理部17aは、信号処理部7から出力された画像データに対して各種の画像処理を施し、揮発性メモリ14に出力する。具体的には、画像処理部17aは、信号処理部7から出力される画像データに対してエッジ強調、色補正及びγ補正等の処理を施す。
The
圧縮・伸長部17bは、揮発性メモリ14のワークエリア14aに記憶された画像データをメモリカード12aに記憶させる場合又はメモリカード12aに記録されている画像データを表示部10に表示させる場合に、JPEG(Joint Photographic Experts Group)圧縮方式等に基づいて画像データの圧縮処理や伸長処理を行う。
The compression /
AF制御部17cは、信号処理部7から出力される画像データに基づいて、自動焦点調整を行う。たとえば、AF制御部17cは、画像データのコントラストに基づいて、レンズ駆動機構3を駆動し、撮影する被写体像の鮮鋭度が最大となるようにレンズ部2を光軸Q上で移動させる。
The
AE制御部17dは、信号処理部7から出力される画像データに基づいて、静止画撮影を行う際の条件、たとえば絞りの設定値、シャッタ速度等を決定することで自動露出を行う。
Based on the image data output from the signal processing unit 7, the
タイマカウンタ17eは、撮像装置1の動作の基準となる時間信号を生成する。この時間信号に基づいて、システムコントローラ17は、画像データの取得間隔、撮像素子6の露光時間等の設定を行う。
The
注目被写体検出部17fは、信号処理部7が出力する画像データに対応する画像に含まれる注目被写体をパターンマッチング等で検出する。本実施形態においては、人物の顔を注目被写体とする。
The subject-of-
画素数変換部17gは、信号処理部7から出力される画像データを、撮像装置1の各種撮影モードに応じた画素数に変換する。具体的には、画素数変換部17gは、画像データを静止画撮影又は動画撮影に対応する画素数に変換する。
The pixel
領域設定部17hは、所定の条件に基づいて、信号処理部7が出力する画像データに対応する画像から表示及び記録のために切り出す領域(以下において、記録領域という)の中心位置及び縦横比率を設定する。具体的には、領域設定部17hは、静止画撮影時には、縦横比率が3/4(アスペクト比4:3に対応)となるよう記録領域を設定し、動画撮影時には、縦横比率が9/16(アスペクト比16:9に対応)となるよう記録領域を設定する。領域設定部17hは、原則として、記録領域の中心が撮像素子6の受光領域の中心に対応するように設定を行うが、静止画撮影モードから動画撮影モードへの移行時には、注目被写体検出部17fの検出結果に基づいて記録領域の位置を設定する。
The
画像切出し部17iは、信号処理部7が出力する画像データに対応する画像から、領域設定部17hによって設定された記録領域に基づく領域を切り出すことにより、表示及び記録のための画像を生成する。
The
手ブレ補正量算出部17jは、静止画撮影時に、ブレ検出部15から入力された角速度データを積分することにより、当該撮像装置のブレによって生じる被写体像の変位を相殺するために必要な撮像素子6の変位量を算出する。
The camera shake correction
電子式手ブレ補正部17kは、動画撮影時に、画像切出し部17iが切り出す記録領域の周囲に所定の範囲のマージン(ブレ補正領域)を設け、このブレ補正領域に記録された画像を順次比較することによって算出された画像のズレ量に基づいて上記記録領域をずらすことにより、ブレによる画像の劣化を抑制する。
The electronic camera
補正モード制御部17mは、操作入力部9からの入力信号又は所定の条件に従って、電子式手ブレ補正部17kの動作を制御する。ここで、電子式手ブレ補正部17kの補正モードには、水平方向及び垂直方向の両方について補正を行う全方向手ブレ補正モードと、1つの方向についてのみ補正し、他の方向については補正しない補正モードとがある。後者は流し撮り等を行う際に使用される補正モードであり、例えば、水平方向についてのみ手ブレ補正を行い、垂直方向については手ブレ補正を行わない「垂直方向流し撮り」モードや、垂直方向についてのみ手ブレ補正を行い、水平方向については手ブレ補正を行わない「水平方向流し撮り」モード等が含まれる。
The correction mode control unit 17m controls the operation of the electronic camera
動きベクトル検出部17nは、信号処理部7から時系列に入力される画像データ間の動きベクトルに基づいて、画像全体の動き量や、特定の被写体の移動量を検出する。 The motion vector detection unit 17n detects the motion amount of the entire image or the movement amount of a specific subject based on the motion vector between the image data input in time series from the signal processing unit 7.
次に、撮像装置1の動作について、図3〜図14を参照しながら詳しく説明する。なお、以下の説明においては、水平方向(横方向)をX軸方向、垂直方向(縦方向)をY軸方向とする。 Next, the operation of the imaging apparatus 1 will be described in detail with reference to FIGS. In the following description, the horizontal direction (lateral direction) is the X-axis direction, and the vertical direction (vertical direction) is the Y-axis direction.
図3に示す電源スイッチ9aにより撮像装置1の電源がオンされると、撮像素子6により取得され、信号処理部7によって信号処理を施された画像データに対応するスルー画像が、表示部10に表示される。
When the power of the imaging device 1 is turned on by the
図4に示す撮像領域画像200は、信号処理部7から出力される1フレーム分の画像データに対応する画像を概念的に示している。即ち、この撮像領域画像200は、撮像素子6において撮像可能な全範囲(即ち、受光領域全体)に対応している。静止画撮影時には、例えば、このような撮像領域画像200の全体に対応する画像が表示部10に表示される。従って、撮像領域画像200上に被写体画像110が含まれていれば、被写体画像110の全体に対応する被写体画像120が表示部10上に表示される。以下、撮像領域画像200の中心(撮像領域中心)Oを座標の原点とし、撮像領域画像200の垂直方向の寸法をΔSYとする。
An
図5は、撮像装置1の動画撮影動作を示すフローチャートである。
動画レリーズスイッチ9cにより動画撮影指示のレリーズ信号が入力されると、撮像装置1は、動画撮影をスタートさせる。それに応じて、システムコントローラ17の注目被写体検出部17fは、撮像領域画像200から注目被写体の画像(以下、「被写体画像」という)110を検出し、この被写体画像110の中心位置(被写体中心)Aを求める(ステップS101、図4)。なお、被写体中心Aは、被写体画像110の内の注目する領域の中心であれば良く、必ずしも物理的に被写体画像110の中心である必要はない。被写体中心Aの求め方としては、被写体の種類に応じて様々な方法を採用しても良い。例えば、注目被写体が人物の顔である場合には、注目被写体検出部17fによって検出された2つの目の中央位置を被写体中心Aとすれば良い。
FIG. 5 is a flowchart showing the moving image shooting operation of the imaging apparatus 1.
When a moving image shooting instruction release signal is input by the moving
図6に示すように、被写体画像110が検出されると(ステップS101:Yes)、領域設定部17hは、被写体中心Aの垂直方向の座標AYが次式(1)に示す範囲内に含まれるか否かを判定する(ステップS102)。式(1)において、ΔGYは、動画撮影時の表示領域(縦横比率9/16)300に対応する記録領域210の垂直方向の寸法である。
|AY|≦(ΔSY−ΔGY)/2 …(1)
As shown in FIG. 6, when the
| A Y | ≦ (ΔS Y −ΔG Y ) / 2 (1)
座標AYが上記範囲内に含まれる場合には(ステップS102:Yes)、領域設定部17hは、記録領域210の中心(記録領域中心)CのY座標CYとして、被写体中心AのY座標AYの値を設定する(ステップS103)。
When the coordinates AY are included in the above range (step S102: Yes), the
一方、座標AYが式(1)に示す範囲内に含まれない場合には(ステップS102:No)、領域設定部17は、記録領域210を撮像領域画像200の上端又は下端の位置に設定する(ステップS201)。即ち、記録領域中心CのY座標CYは、以下のように設定される。
AY>(ΔSY−ΔGY)/2 の場合、CY=(ΔSY−ΔGY)/2
AY<−(ΔSY−ΔGY)/2 の場合、CY=−(ΔSY−ΔGY)/2
On the other hand, when the coordinates AY are not included in the range shown in Expression (1) (step S102: No), the
When A Y > (ΔS Y −ΔG Y ) / 2, C Y = (ΔS Y −ΔG Y ) / 2
When A Y <− (ΔS Y −ΔG Y ) / 2, C Y = − (ΔS Y −ΔG Y ) / 2
この段階で、電子式手ブレ補正モードがOFFとなっている場合には(ステップS104:No)、電子式手ブレ補正による補正量Δcとして(ΔcX,ΔcY)=(0,0)が設定される(ステップS105)。一方、電子式手ブレ補正モードがONとなっている場合には(ステップS104:Yes)、補正量Δc(ΔcX,ΔcY)の算出が行われる(ステップS300)。 At this stage, when the electronic camera shake correction mode is OFF (step S104: No), (Δc X , Δc Y ) = (0, 0) is obtained as the correction amount Δc by the electronic camera shake correction. It is set (step S105). On the other hand, when the electronic camera shake correction mode is ON (step S104: Yes), the correction amount Δc (Δc X , Δc Y ) is calculated (step S300).
続くステップS106において、撮像素子6によって撮像され、信号処理部7によって信号処理を施された画像データが、システムコントローラ17に順次入力される。ステップS107において、画像処理部17aは、この画像データに対して上述した画像処理を施す。さらに、ステップS108において、電子式手ブレ補正部17mは、補正量Δcに基づいて、次式(2)により記録領域中心Cを補正する。なお、電子式手ブレ補正モードがOFFの場合には、実質的に補正は行われない(Δc=0)。
C(CX,CY)=C(CX,CY)±Δc(ΔcX,ΔcY) …(2)
In subsequent step S <b> 106, image data captured by the
C (C X , C Y ) = C (C X , C Y ) ± Δc (Δc X , Δc Y ) (2)
さらに、ステップS109において、画像切出し部17iは、ステップS102において設定された記録領域210に対応する画像を撮像領域画像200から切り出す。そして、切り出された画像を表示部10上の表示領域300に表示させると共に、切り出された範囲に対応する画像データを揮発性メモリ14に記憶させる(ステップS110)。
In step S109, the
図6に示す動画撮影時の表示領域300は、表示部10上の所定領域に設定されている。なお、図6において、表示領域300は、表示部10のY軸方向の中央に設けられているが、上側又は下側のいずれかに偏在させても良い。
この段階において、表示領域300には、例えば、被写体中心Aに対応する中心A’をY軸方向の中心として配置した被写体画像120が表示される。
A
At this stage, for example, a
続くステップS111において、領域設定部17hは、記録領域中心Cと撮像領域中心Oとが一致しているか否かを判定する。図6に示すように、このとき両者が一致していない場合(ステップS111:No)、領域設定部17hは、記録領域中心Cを撮像領域中心Oの方向に、所定量Δyだけ移動させる(ステップS112)。例えば、図6の場合には、記録領域中心Cは−Y軸方向(図の下向き)に移動させられる。
In subsequent step S111, the
動画撮影を継続して(ステップS113:No)、ステップS104〜S108の動作を繰り返すと、続くステップS109において、図7に示すように、Δyだけ下向きに移動した記録領域210に対応する画像が、撮像領域画像200から切り出される。その結果、表示領域300においては、被写体画像120が相対的にΔy’だけ上向きに移動する(ステップS110)。なお、図7に示す破線は、図6に示す移動前の被写体画像120の位置を示している。
When the video shooting is continued (step S113: No) and the operations of steps S104 to S108 are repeated, in the subsequent step S109, as shown in FIG. 7, the image corresponding to the
引き続き動画撮影を行うと(ステップS111:No、S112、S113:No、S104〜S108)、図8に示すように、記録領域210がさらにΔyだけ下向きに移動し、それに対応して、表示領域300上の被写体画像120の位置がさらにΔy’だけ上向きに移動する(ステップS109、S110)。なお、図8に示す破線は、図7に示す移動前の被写体画像120の位置を示している。このような動作は、記録領域中心Cが撮像領域中心Oに一致するまで(ステップS111:Yes)繰り返される。
When moving image shooting is continued (steps S111: No, S112, S113: No, S104 to S108), the
図9は、撮像装置1の画角と表示領域300に表示される被写体画像120との関係を説明するための図であり、図9(a)〜(c)は、時間順に並んでいる。図9(a)は、動画撮影を開始した直後を示している。このとき、図9(a)に示すように、記録領域210は、被写体画像110の位置に合わせて撮像領域画像200の例えば上方に設定されているため、表示領域300において、被写体画像120の顔はY軸方向のほぼ中心に位置している。その後、被写体100に対する撮像装置1の画角を固定したままとすると、図9(b)に示すように、記録領域210が徐々に下がってくるため、表示領域300においては、被写体画像120が徐々に上方に移動していく。このとき、撮影者が被写体画像120の移動を認識し、その移動速度に応じて被写体100に対する撮像装置1の画角を修正すると(例えば上方にずらす)、図9(c)に示すように、被写体画像110の位置が記録領域210の所望の領域に納まり、被写体画像120を表示領域300の適切な位置に留めておくことができる。このように、撮像装置1においては、表示領域300上の画像を移動させることにより、撮影者に対して画角の修正を促すことができる。
FIG. 9 is a diagram for explaining the relationship between the angle of view of the imaging apparatus 1 and the
図10に示すように、記録領域中心Cが撮像領域中心Oに一致すると(ステップS111:Yes)、撮像装置1は、この状態(C=O)で動画撮影を継続する(ステップS113:No)。また、ステップS113において、動画撮影終了を指示する信号が入力されると(ステップS113:Yes)、撮像装置1は、動画撮影を終了する。 As shown in FIG. 10, when the recording area center C coincides with the imaging area center O (step S111: Yes), the imaging apparatus 1 continues moving image shooting in this state (C = O) (step S113: No). . In step S113, when a signal instructing the end of moving image shooting is input (step S113: Yes), the imaging apparatus 1 ends moving image shooting.
ここで、ステップS112において設定される記録領域中心Cの移動量Δyは、撮影者が被写体画像120の移動を認識し、撮像装置1の画角を修正して被写体画像120の位置を調整できる程度であることが望ましい。具体的には、動画撮影開始直後(即ち、CY=AYが設定された時)から、記録領域中心Cが撮像領域中心Oに到達するまでの時間tが、例えば2秒程度であると良い。この場合には、動画撮影開始直後の記録領域中心Cと撮像領域中心Oとの間隔をΔP(ピクセル)、フレームレートをR(fps)とすると、1フレームあたりΔy=ΔP/t・R=ΔP/2Rだけ記録領域中心Cを移動させれば良い。
Here, the movement amount Δy of the recording area center C set in step S112 is such that the photographer can recognize the movement of the
次に、電子式手ブレ補正モードがONだった場合(ステップS104:Yes)における手ブレ補正量Δcの算出動作(ステップS300)について説明する。図11は、手ブレ補正量Δcの算出動作を示すフローチャートである。 Next, the operation for calculating the camera shake correction amount Δc (step S300) when the electronic camera shake correction mode is ON (step S104: Yes) will be described. FIG. 11 is a flowchart showing an operation for calculating the camera shake correction amount Δc.
ステップS301において、まず、補正モード制御部17mは、記録領域中心CのY座標CYが、次式(3)に示す範囲内に含まれるか否かを判定する。式(3)において、ΔGYは記録領域220のY軸方向における寸法であり、ΔBYはブレ補正領域230のY軸方向における幅である。
|CY|≦(ΔSY/2)−ΔBY−(ΔGY/2) …(3)
In step S301, first, the correction mode control unit 17m is, Y coordinate C Y of the recording region center C determines whether within the scope shown in the following equation (3). In Expression (3), ΔG Y is a dimension in the Y-axis direction of the
| C Y | ≦ (ΔS Y / 2) −ΔB Y − (ΔG Y / 2) (3)
このような判定を行う理由は、次の通りである。図12に示すように、電子式手ブレ補正モードを有効にすると、通常、記録領域220の周囲に補正用画素のマージン(ブレ補正領域)230が設けられる。それにより、記録領域220自体が狭められると共に、記録領域220を設定することができる範囲も狭められてしまう。例えば、被写体画像110が撮像領域画像200の端部(例えば上端部)に写っていても、記録領域220の上端を撮像領域画像200の上端に合わせて設定することができない。そのため、表示領域300においては、図12に示すように、被写体画像120の顔の上部がカットされてしまう。このような理由から、補正モード制御部17mは、記録領域220の上辺及び下辺を含む全辺にブレ補正領域230を設ける余裕があるか否かを、式(3)により判断している。
The reason for making such a determination is as follows. As shown in FIG. 12, when the electronic camera shake correction mode is enabled, a correction pixel margin (blur correction region) 230 is usually provided around the
記録領域中心CのY座標CYが式(3)に示す範囲内に含まれる場合に(ステップS301:Yes)、補正モード制御部17mは、図13に示すように、記録領域220の上辺及び下辺を含む全辺にブレ補正領域230を設ける余裕があると判断し、全方向手ブレ補正モードを設定する(ステップS302)。それに応じて、電子式手ブレ補正部17kは、X軸方向及びY軸方向についてのブレ補正量Δc(ΔcX,ΔcY)を算出する(ステップS303)。
When the Y-coordinate C Y of the recording region center C is included within the range shown in Equation (3) (Step S301: Yes), the correction mode control unit 17m, as shown in FIG. 13, the upper side of the
一方、座標CYが式(3)に示す範囲内に含まれない場合には(ステップS301:No)、補正モード制御部17mは、図14に示すように、記録領域220の上辺又は下辺にブレ補正領域を設ける余裕がないと判断し、記録領域220の左辺及び右辺のみにブレ補正領域240を設ける垂直方向流し撮りモードを設定する(ステップS311)。この場合には、X軸方向についてのみ、電子式手ブレ補正が有効になる。それに応じて、電子式手ブレ補正部17kは、ブレ補正量Δc(ΔcX,0)を算出する(ステップS312)。
ステップS303又はS312の後、撮像装置1の動作はステップS106に移行する。
On the other hand, when the coordinates CY are not included in the range shown in the expression (3) (step S301: No), the correction mode control unit 17m is placed on the upper side or the lower side of the
After step S303 or S312, the operation of the imaging device 1 proceeds to step S106.
次に、ステップS101において注目被写体が検出されなかった場合(ステップS101:No)における撮像装置1の動作について説明する。例えば、遠方の風景等を撮影している場合、特定の注目被写体は検出されない。このような場合には、図15に示すように、記録領域中心Cは、当初から撮像領域中心Oに設定される。それにより、撮像領域画像200の上部及び下部が等しくカットされた画像が表示領域300に表示される。
Next, the operation of the imaging device 1 when the target subject is not detected in step S101 (step S101: No) will be described. For example, when photographing a distant landscape or the like, a specific subject of interest is not detected. In such a case, as shown in FIG. 15, the recording area center C is set to the imaging area center O from the beginning. As a result, an image in which the upper and lower portions of the
以上説明したように、本実施の形態によれば、動画撮影モードの立ち上げ時に、撮像領域画像上の被写体画像の位置に応じて記録領域を設定するので、撮影者は、動画撮影開始当初から、それまで表示部に表示されていた所望の被写体を引き続き撮影することが可能となる。また、本実施の形態によれば、そのように設定された記録領域を、本来使用される撮像領域画像の中央領域まで徐々に移動させるので、撮影者は、表示部に表示された被写体の移動を観察しつつ、少しずつ撮像装置1の画角を調節して、被写体を所望の位置に留めておくことが可能となる。 As described above, according to the present embodiment, the recording area is set according to the position of the subject image on the imaging area image at the start of the moving image shooting mode. The desired subject that has been displayed on the display unit can be continuously photographed. Further, according to the present embodiment, since the recording area set in such a manner is gradually moved to the central area of the originally used imaging area image, the photographer moves the subject displayed on the display unit. It is possible to adjust the angle of view of the imaging device 1 little by little while observing the image and keep the subject in a desired position.
さらに、本実施の形態によれば、被写体画像の位置に応じて、電子式手ブレ補正モードの有効範囲(全方向又は水平方向のみ)を制御するため、必要な記録領域を確保することが可能となる。また、一旦、水平方向のみの手ブレ補正が設定された場合であっても、画角の調節により全方向の手ブレ補正が可能となった時点で補正モードが自動変更されるので、手ブレが軽減された動画を取得することが可能となる。 Furthermore, according to the present embodiment, the effective range (only in all directions or only in the horizontal direction) of the electronic image stabilization mode is controlled according to the position of the subject image, so that a necessary recording area can be secured. It becomes. Even if camera shake correction is set only in the horizontal direction, the correction mode is automatically changed when camera shake correction in all directions becomes possible by adjusting the angle of view. Can be obtained.
以上説明した本実施の形態においては、注目被写体として検出する対象を人物の顔としたが、検出対象はそれ以外であっても良い。具体的には、人物(全身)や動物(全身又は顔)、動く車やボール、AF(オートフォーカス)ロックで追尾している物体等であっても良い。また、注目被写体を犬等の小動物とする場合には、例えば、注目被写体検出部17fによって犬の目と鼻を検出し、2つの目と鼻とを結ぶ3角形の重心位置を被写体中心Aとすれば良い。
In the present embodiment described above, the target to be detected as the subject of interest is a human face, but the detection target may be other than that. Specifically, it may be a person (whole body), an animal (whole body or face), a moving car or ball, an object tracked by AF (autofocus) lock, or the like. When the subject of interest is a small animal such as a dog, for example, the subject of
以上においては、画像の縦横比率が3/4である静止画撮影モードから、画像の縦横比率が9/16である動画撮影モードに移行する際の処理について説明したが、画像の縦横比率はこれらの数値に限定されない。また、撮影モードの変更時に限らず、画像の縦横比率の変更を伴う処理であれば、本実施の形態を適用することができる。例えば、本実施の形態においては、画像の縦横比率が大きい静止画撮影モードから、それよりも縦横比率が小さい動画撮影モードに移行するため(即ち、画像の垂直方向をカットするため)、記録領域を垂直方向に移動させている。反対に、画像の縦横比率が小さいモードから、縦横比率がそれよりも大きいモードに移行する場合(即ち、画像の水平方向をカットする場合)には、記録領域を水平方向に移動させれば良い。 In the above, the processing when shifting from the still image shooting mode in which the aspect ratio of the image is 3/4 to the moving image shooting mode in which the aspect ratio of the image is 9/16 has been described. It is not limited to the numerical value of. In addition, the present embodiment can be applied to any process that involves changing the aspect ratio of an image, not only when the shooting mode is changed. For example, in the present embodiment, the recording area is changed from the still image shooting mode in which the aspect ratio of the image is large to the moving image shooting mode in which the aspect ratio is smaller (that is, to cut the vertical direction of the image). Is moved vertically. On the other hand, when shifting from a mode in which the aspect ratio of the image is small to a mode in which the aspect ratio is larger (that is, when the horizontal direction of the image is cut), the recording area may be moved in the horizontal direction. .
さらに、以上の説明においては、撮像装置として一眼デジタルカメラを例示したが、例えばデジタルビデオカメラや、レンズを交換できないデジタルカメラ(コンパクトデジタルカメラ)や、カメラ付き携帯電話など、静止画撮影と動画撮影とを行うことができる各種電子機器に適用することができる。 Furthermore, in the above description, a single-lens digital camera has been exemplified as the imaging device. However, for example, still image shooting and moving image shooting such as a digital video camera, a digital camera (compact digital camera) in which a lens cannot be replaced, and a camera-equipped mobile phone It can be applied to various electronic devices that can perform the above.
1 撮像装置
2 レンズ部
3 レンズ駆動機構
4 絞り駆動機構
5 シャッタ駆動機構
5a シャッタ
6 撮像素子
6a 撮像素子変位機構
7 信号処理部
8 音声入出力部
9 操作入力部
9a 電源スイッチ
9b 静止画レリーズスイッチ
9c 動画レリーズスイッチ
9d モード切換スイッチ
9e 操作スイッチ
9f ズームスイッチ
10 表示部
11 タッチパネル
12 記録媒体インタフェース
12a メモリカード
13 不揮発性メモリ
13a プログラムコード
13b 制御パラメータ
14 揮発性メモリ
14a ワークエリア
15 ブレ検出部
15a X軸ジャイロセンサ
15b Y軸ジャイロセンサ
15c 角速度センサ処理部
16 姿勢検出部
16a 加速度センサ
16b 加速度センサ処理部
17 システムコントローラ
17a 画像処理部
17b 圧縮・伸長部
17c AF制御部
17d AE制御部
17e タイマカウンタ
17f 注目被写体検出部
17g 画素数変換部
17h 領域設定部
17i 画像切出し部
17j 手ブレ補正量算出部
17k 電子式手ブレ補正部
17m 補正モード制御部
17n 動きベクトル検出部
100 被写体
110、120 被写体画像
200 撮像領域画像
210、220 記録領域
230、240 ブレ補正領域
300 表示領域
DESCRIPTION OF SYMBOLS 1
Claims (5)
前記第1の撮影モードから前記第2の撮影モードへの移行時に、前記撮像部によって生成された画像データに対応する画像である撮像領域画像から被写体の中心位置を検出する注目被写体検出部と、
前記撮像領域画像から前記第2の縦横比率で切り出されて記録される記録領域を、前記注目被写体検出部によって検出された被写体の位置に基づいて、前記記録領域の垂直方向における中心位置が前記被写体の垂直方向における中心位置に一致するように初期設定すると共に、該初期設定された記録領域の中心位置を前記撮像領域画像の中心位置に向けて徐々に移動させる領域設定部と、
前記領域設定部によって設定された前記記録領域に基づいて前記撮像領域画像から切り出された画像を生成する画像切出し部と、
を備えることを特徴とする電子機器。 A lens unit that collects light from the field of view and an image sensor that converts the light collected by the lens unit into an electrical signal, and continuously generates electronic image data based on the electrical signal An imaging unit; a storage unit that stores image data generated by the imaging unit; and a display unit that displays an image based on the image data generated by the imaging unit , and performs imaging at a first aspect ratio. An electronic device having a first shooting mode and a second shooting mode for shooting at a second aspect ratio different from the first aspect ratio;
An object- of- interest detection unit that detects a center position of an object from an imaging region image, which is an image corresponding to image data generated by the imaging unit, at the time of transition from the first imaging mode to the second imaging mode ;
Based on the position of the subject detected by the subject-of-interest detection unit , the recording area that is cut out and recorded from the imaged area image at the second aspect ratio is centered in the vertical direction of the recording area. with initially set to match the center position in the vertical direction, the realm setting unit that moves gradually toward the center position of the recording region set period該初the center position of the imaging area image,
An image cutout unit that generates an image cut out from the imaging region image based on the recording region set by the region setting unit;
An electronic device comprising:
前記記録領域の第1の方向における一端と、前記撮像領域画像の前記第1の方向における一端との間隔が、所定範囲よりも狭い場合に、前記第1の方向と直交する第2の方向のみにおいて前記補正を行い、前記間隔が所定範囲以上である場合に、前記第1及び第2の方向において前記補正を行うことを特徴とする請求項1に記載の電子機器。 A camera shake correction unit that calculates a blur amount of an image corresponding to the image data generated by the imaging unit and corrects an image recorded in the recording area based on the blur amount;
Only the second direction orthogonal to the first direction when the interval between the one end in the first direction of the recording area and the one end in the first direction of the imaging area image is narrower than a predetermined range. the correction was carried out, the electronic device according to claim 1, wherein the interval in the case where more than the predetermined range, and performs the correction in the first and second directions in.
前記第1の撮影モードから前記第2の撮影モードへの移行時に、前記撮像部によって生成された画像データに対応する画像である撮像領域画像から被写体を検出する注目被写体検出ステップと、
前記撮像領域画像から前記第2の縦横比率で切り出されて記録される記録領域を、前記注目被写体検出ステップにおいて検出された被写体の位置に基づいて、前記記録領域の垂直方向における中心位置が前記被写体の垂直方向における中心位置に一致するように初期設定すると共に、該初期設定された記録領域の中心位置を前記撮像領域画像の中心位置に向けて徐々に移動させる領域設定ステップと、
前記領域設定ステップにおいて設定された前記記録領域を前記撮像領域画像から切り出す画像切出しステップと、
を含むことを特徴とする撮像方法。 A lens unit that collects light from the field of view and an image sensor that converts the light collected by the lens unit into an electrical signal, and continuously generates electronic image data based on the electrical signal An imaging unit; a storage unit that stores image data generated by the imaging unit; and a display unit that displays an image based on the image data generated by the imaging unit, and performs imaging at a first aspect ratio. An imaging method executed by an electronic device having a first shooting mode and a second shooting mode for shooting at a second aspect ratio different from the first aspect ratio,
An object-of-interest detection step of detecting an object from an imaging region image, which is an image corresponding to image data generated by the imaging unit, at the time of transition from the first imaging mode to the second imaging mode;
Based on the position of the subject detected in the target subject detection step, the recording region cut out and recorded from the imaging region image at the second aspect ratio is the center position in the vertical direction of the recording region. with initially set to match the center position in the vertical direction, the realm setting step of moving gradually toward the center position of the recording region set period該初the center position of the imaging area image,
An image cutting step of cutting out the recording area set in the area setting step from the imaging area image;
An imaging method comprising:
前記第1の撮影モードから前記第2の撮影モードへの移行時に、前記撮像部によって生成された画像データに対応する画像である撮像領域画像から被写体を検出する注目被写体検出ステップと、
前記撮像領域画像から前記第2の縦横比率で切り出されて記録される記録領域を、前記注目被写体検出ステップにおいて検出された被写体の位置に基づいて、前記記録領域の垂直方向における中心位置が前記被写体の垂直方向における中心位置に一致するように初期設定すると共に、該初期設定された記録領域の中心位置を前記撮像領域画像の中心位置に向けて徐々に移動させる領域設定ステップと、
前記領域設定ステップにおいて設定された前記記録領域を前記撮像領域画像から切り出す画像切出しステップと、
を実行させることを特徴とする画像変換プログラム。
A lens unit that collects light from the field of view and an image sensor that converts the light collected by the lens unit into an electrical signal, and continuously generates electronic image data based on the electrical signal An imaging unit; a storage unit that stores image data generated by the imaging unit; and a display unit that displays an image based on the image data generated by the imaging unit, and performs imaging at a first aspect ratio. An electronic apparatus having a first shooting mode and a second shooting mode for shooting at a second aspect ratio different from the first aspect ratio;
An object-of-interest detection step of detecting an object from an imaging region image, which is an image corresponding to image data generated by the imaging unit, at the time of transition from the first imaging mode to the second imaging mode;
Based on the position of the subject detected in the target subject detection step, the recording region cut out and recorded from the imaging region image at the second aspect ratio is the center position in the vertical direction of the recording region. with initially set to match the center position in the vertical direction, the realm setting step of moving gradually toward the center position of the recording region set period該初the center position of the imaging area image,
An image cutting step of cutting out the recording area set in the area setting step from the imaging area image;
An image conversion program characterized in that the program is executed.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010142059A JP5603671B2 (en) | 2010-06-22 | 2010-06-22 | Electronic device, imaging method, and image conversion program |
US13/154,663 US8593545B2 (en) | 2010-06-09 | 2011-06-07 | Imaging apparatus, imaging method, and computer-readable recording medium with switched image capturing mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010142059A JP5603671B2 (en) | 2010-06-22 | 2010-06-22 | Electronic device, imaging method, and image conversion program |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2012009959A JP2012009959A (en) | 2012-01-12 |
JP2012009959A5 JP2012009959A5 (en) | 2013-08-01 |
JP5603671B2 true JP5603671B2 (en) | 2014-10-08 |
Family
ID=45540041
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010142059A Expired - Fee Related JP5603671B2 (en) | 2010-06-09 | 2010-06-22 | Electronic device, imaging method, and image conversion program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5603671B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6465566B2 (en) * | 2013-08-21 | 2019-02-06 | キヤノン株式会社 | Imaging apparatus and imaging method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4260091B2 (en) * | 2004-10-08 | 2009-04-30 | シャープ株式会社 | Imaging device |
JP4281724B2 (en) * | 2005-08-26 | 2009-06-17 | ソニー株式会社 | Imaging apparatus and method |
JP5413002B2 (en) * | 2008-09-08 | 2014-02-12 | ソニー株式会社 | Imaging apparatus and method, and program |
-
2010
- 2010-06-22 JP JP2010142059A patent/JP5603671B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2012009959A (en) | 2012-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5409189B2 (en) | Imaging apparatus and control method thereof | |
US8212895B2 (en) | Digital camera system with portrait effect | |
JP4434151B2 (en) | Imaging device | |
CN109417593B (en) | Imaging device, operation method, image processing device, and image processing method | |
US8593545B2 (en) | Imaging apparatus, imaging method, and computer-readable recording medium with switched image capturing mode | |
CN107850753B (en) | Detection apparatus, detection method, detection program, and imaging apparatus | |
US8823814B2 (en) | Imaging apparatus | |
JP2013070164A (en) | Imaging device and imaging method | |
US10194085B2 (en) | Image pickup apparatus and its control method | |
WO2008010559A1 (en) | Imaging apparatus | |
JP6634298B2 (en) | Imaging device and imaging method | |
JP2011217103A (en) | Compound eye photographing method and apparatus | |
US20160165138A1 (en) | Image capturing apparatus and control method therefor | |
JP2006033758A (en) | Imaging apparatus and image restoration method | |
JP2009171428A (en) | Control method and program for digital camera apparatus and electronic zoom | |
US10419686B2 (en) | Image pickup apparatus and method for controlling the display of through image data based on shutter state | |
JP2013110754A (en) | Camera device, and photographing method and program of the same | |
JP6377286B2 (en) | Imaging apparatus, control method therefor, and operation program | |
JP5448868B2 (en) | IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD | |
JP2015219462A (en) | Imaging device, control method of imaging device and program | |
JP2010193324A (en) | Camera apparatus, photographing method thereof and program | |
JP4670647B2 (en) | Imaging apparatus, control method, and control program | |
JP2007147803A (en) | Imaging apparatus, control method and control program | |
JP5603671B2 (en) | Electronic device, imaging method, and image conversion program | |
JP2015215553A (en) | Imaging apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130618 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130618 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140130 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140204 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140327 |
|
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: 20140805 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140822 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5603671 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |