JP2009171428A - Control method and program for digital camera apparatus and electronic zoom - Google Patents
Control method and program for digital camera apparatus and electronic zoom Download PDFInfo
- Publication number
- JP2009171428A JP2009171428A JP2008009461A JP2008009461A JP2009171428A JP 2009171428 A JP2009171428 A JP 2009171428A JP 2008009461 A JP2008009461 A JP 2008009461A JP 2008009461 A JP2008009461 A JP 2008009461A JP 2009171428 A JP2009171428 A JP 2009171428A
- Authority
- JP
- Japan
- Prior art keywords
- image
- cutout frame
- face
- face image
- center
- 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.)
- Pending
Links
Images
Landscapes
- Studio Devices (AREA)
Abstract
Description
本発明は、デジタルカメラ装置およびそのデジタルカメラ装置が行う電子ズームの制御方法およびこの電子ズームの制御方法を実行する機能を実現するプログラムに関する。 The present invention relates to a digital camera device, an electronic zoom control method performed by the digital camera device, and a program for realizing a function for executing the electronic zoom control method.
近年、デジタルカメラ装置の技術動向として、顔画像検出機能を搭載するものが増加する傾向にある。また、センサの高画素化が進んだことにより、殆どの機種で画像切り出し処理によって多段階の拡大処理を行う電子ズームを備えており、携帯電話機のような小型の撮影装置では、光学ズームを搭載せずに電子ズームのみを搭載しているものも多い。 In recent years, as a technology trend of digital camera devices, those equipped with a face image detection function tend to increase. In addition, as the number of pixels in the sensor has increased, most models are equipped with an electronic zoom that performs multi-stage enlargement processing by image cutout processing, and optical zoom is installed in small photographic devices such as mobile phones. Many of them have only electronic zoom.
例えば、特許文献1に開示されている顔画像検出機能を有する撮影装置での人物撮影では、顔画像検出機能の利用用途として顔位置に合わせたフォーカスを行う、顔に重点を置いたホワイトバランス、AE(After Effect)等の色味調整を行うといったことで顔画像検出機能が利用されている。 For example, in human photographing with a photographing apparatus having a face image detection function disclosed in Patent Document 1, as a use application of the face image detection function, focusing according to the face position, white balance with emphasis on the face, The face image detection function is used by performing color adjustment such as AE (After Effect).
発明が解決しようとする課題を図9および図10を参照して説明する。図9は、顔画像検出結果の画像を示す図である。図10は、発明が解決しようとする課題を説明するための図である。 Problems to be solved by the invention will be described with reference to FIGS. FIG. 9 is a diagram illustrating an image of a face image detection result. FIG. 10 is a diagram for explaining a problem to be solved by the invention.
特許文献1における電子ズーム機能を用いた処理では、図9に示すように、最大画角101の中に有る顔画像に対し、顔画像検出枠103が生成される。顔画像検出結果102に対し、図10(a)に示すように、最大画角201に対するズームによる画像切り出し枠202は、常に画角中央を中心とした画像切り出しをするズームを行うため、図10(b)に示すように、顔の位置が最大画角203の端に検出されている場合には、画像切り出しズーム処理を行うと検出された顔画像が画像切り出し枠204から外れてしまうという問題があった。
In the process using the electronic zoom function in Patent Document 1, as shown in FIG. 9, a face
本発明は、このような課題を解決するために行われたものであり、電子ズーム機能において顔画像検出機能を有する場合に、顔画像の画像切り出し枠を顔画像の検出位置を中心として生成することができるデジタルカメラ装置および電子ズームの制御方法を提供することを目的とする。 The present invention has been made to solve such a problem. When the electronic zoom function has a face image detection function, an image cutout frame of the face image is generated around the detection position of the face image. It is an object of the present invention to provide a digital camera device and an electronic zoom control method that can be used.
本発明の第一の観点は、撮影画面の最大画角よりも小さい画角の画像切り出し枠を生成し、この画像切り出し枠内の画像を、画像処理を用いて拡大することによりズームアップを行う電子ズーム手段を備えたデジタルカメラ装置である。 The first aspect of the present invention is to generate an image cutout frame having an angle of view smaller than the maximum angle of view of the shooting screen, and zoom in by enlarging the image in the image cutout frame using image processing. It is a digital camera device provided with electronic zoom means.
ここで、本発明の特徴とするところは、前記撮影画面内にある顔画像を検出する顔画像検出手段と、この顔画像検出手段により検出された顔画像を中心とする位置に前記画像切り出し枠を生成する切り出し枠生成手段とを備えたところにある。 Here, a feature of the present invention is that a face image detection unit that detects a face image in the shooting screen, and the image clipping frame at a position centering on the face image detected by the face image detection unit. And a cutout frame generation means for generating.
本発明の第二の観点は、デジタルカメラ装置が、撮影画面の最大画角よりも小さい画角の画像切り出し枠を生成し、この画像切り出し枠内の画像を、画像処理を用いて拡大することによりズームアップを行う際に用いる電子ズームの制御方法である。 According to a second aspect of the present invention, the digital camera device generates an image clipping frame having an angle of view smaller than the maximum angle of view of the shooting screen, and enlarges the image in the image clipping frame using image processing. This is an electronic zoom control method used when zooming up.
ここで、本発明の特徴とするところは、顔画像検出手段が、前記撮影画面内にある顔画像を検出し、切り出し枠生成手段が、この顔画像検出手段により検出された顔画像を中心とする位置に前記画像切り出し枠を生成するところにある。 Here, the feature of the present invention is that the face image detection means detects the face image in the shooting screen, and the cutout frame generation means focuses on the face image detected by the face image detection means. The image cutout frame is generated at the position to be processed.
本発明の第三の観点、情報処理装置にインストールすることにより、その情報処理装置に、撮影画面の最大画角よりも小さい画角の画像切り出し枠を生成し、この画像切り出し枠内の画像を、画像処理を用いて拡大することによりズームアップを行うデジタルカメラ装置の電子ズーム機能を実現するプログラムである。 According to the third aspect of the present invention, by installing the information processing apparatus in the information processing apparatus, an image cutout frame having a field angle smaller than the maximum field angle of the shooting screen is generated in the information processing apparatus, and the image in the image cutout frame is displayed. This is a program for realizing an electronic zoom function of a digital camera device that performs zoom-up by enlarging using image processing.
ここで、本発明の特徴とするところは、前記撮影画面内にある顔画像を検出する顔画像検出機能と、この顔画像検出機能により検出された顔画像を中心とする位置に前記画像切り出し枠を生成する切り出し枠生成機能とを実現するところにある。 Here, a feature of the present invention is that a face image detection function for detecting a face image in the shooting screen and the image clipping frame at a position centering on the face image detected by the face image detection function. And a cutout frame generation function for generating.
本発明によれば、電子ズーム機能において顔検出機能を有する場合に、顔画像の画像切り出し枠を顔画像の検出位置を中心として生成することができる。 According to the present invention, when the electronic zoom function has a face detection function, an image cutout frame of a face image can be generated around the detection position of the face image.
(第一の実施形態)
本発明の第一の実施形態を図1から図8を参照して説明する。図1は、第一の実施形態のデジタルカメラ装置のブロック構成図である。図2は、第一の実施形態の電子ズーム機能のブロック構成図である。
(First embodiment)
A first embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a block diagram of the digital camera device according to the first embodiment. FIG. 2 is a block diagram of the electronic zoom function of the first embodiment.
第一の実施形態のデジタルカメラ装置は、図1に示すように、カメラセンサ1、データバス2、画像処理部3、CPU4、表示部5、キー操作部6、メモリ部7により構成される。
As shown in FIG. 1, the digital camera device according to the first embodiment includes a camera sensor 1, a
カメラセンサ1は、CCDやC−MOSにより構成される撮像素子であり、図示していない光学レンズを介した画像がカメラセンサ1上に結像し、この結像した画像を電気信号に変換して画像データとする。また、カメラセンサ1は、データバス2を介して画像処理部3との間で画像データをやりとりする。キー操作部6はユーザがデジタルカメラ装置の起動または撮影またはズーム操作または画像の保存などの操作を入力する装置である。
The camera sensor 1 is an image pickup device composed of a CCD or C-MOS, and an image through an optical lens (not shown) is formed on the camera sensor 1, and the formed image is converted into an electrical signal. Image data. The camera sensor 1 also exchanges image data with the
画像処理部3は顔画像検出処理または画像切り出し枠表示処理またはズーム処理などの画像データの加工処理を行う。また、画像処理部3では画角データも保持する。画像処理部3で保持する画角データは、ズーム実行時に、実際に顔画像を中心として切り出されるズーム画角データおよび顔画像が無い場合に参照する中央切り出し画角データである。
The
CPU4はキー操作部6から入力された操作により、カメラセンサ1に対し画像取得命令やデータ転送命令、画像処理部3に対し顔画像検出処理命令またはズーム処理命令またはデータ転送命令、メモリ部7へのデータ転送と保存処理とを行う。
The
画像処理部3またはCPU4は、図2に示すような本発明の電子ズーム機能のブロック構成を有する。なお、本実施形態では、図2に示す電子ズーム機能のブロック構成は、画像処理部3が有するとして説明する。
The
次に、本発明の電子ズーム機能を図2を参照して説明する。電子ズーム部12は、撮影画面の最大画角よりも小さい画角の画像切り出し枠を生成し、この画像切り出し枠内の画像を、画像処理を用いて拡大することによりズームアップを行う。顔画像検出部10は、撮影画角内にある顔画像を検出する。切り出し枠生成部11は、顔画像検出部10により検出された顔画像を中心とする位置に画像切り出し枠を生成する。
Next, the electronic zoom function of the present invention will be described with reference to FIG. The
さらに、重心位置算出部13は、顔画像検出部12により複数の顔画像が同時に検出されたときには、それら複数の顔画像のそれぞれの中心を結んで形成された図形における重心位置を算出する。この場合に、切り出し枠生成部11は、重心位置算出部13により算出された重心位置を中心とし、顔画像検出部10により検出された複数の顔画像の中で重心位置から最も遠い位置にある顔画像を含む位置に画像切り出し枠を生成する。
Furthermore, when a plurality of face images are simultaneously detected by the face
さらに、ズーム速度調整部14は、ユーザがキー操作部6を操作することによって入力するズーム速度調整操作入力に基づき、画像処理を用いて画像切り出し枠を拡大する際の拡大速度を調整することによりズームアップの際の速度を調整する。
Further, the zoom
さらに、ズーム途中撮影部15は、ユーザがキー操作部6を操作することによって入力する撮影指示入力(シャッタ入力)に基づき、画像切り出し枠が画像処理を用いて拡大する過程の任意のタイミングにおいて撮影を実施することができる。
Furthermore, the
例えば、ユーザがズーム速度調整部14に対して最もスローなズーム速度を設定しておき、ゆっくりとズームアップが行われている途中に、ベストショットと思われる画像が得られたと判断してシャッタ入力を行えば、その時点のズームアップ位置での画像を撮影することができる。
For example, the user sets the slowest zoom speed with respect to the zoom
これによれば、被写体の画像が、全身像→上半身像→胸像→顔画像とズームアップされて行く過程の任意のタイミングで撮影を行うことができるため、撮影の範囲を顔画像に限定することなく、ユーザの創作意欲を満足させることができる。また、被写体が動いているような場合には、いきなり顔画像を追跡することは困難であるので、全身像から徐々にズームアップされて行く過程において追跡可能な限界を把握するためにも役に立つ機能である。 According to this, since the image of the subject can be photographed at an arbitrary timing in the process of zooming up the whole body image → the upper body image → the chest image → the face image, the photographing range is limited to the face image. In addition, the user's willingness to create can be satisfied. In addition, when the subject is moving, it is difficult to track the face image suddenly, so this function is useful for grasping the limit that can be tracked in the process of gradually zooming up from the whole body image. It is.
さらに、中心位置調整部16は、ユーザがキー操作部6を操作することによって入力する中心位置調整入力に基づき、画像切り出し枠内に有る顔画像の位置を中心位置から操作入力により指定された方向に、当該顔画像が画像切り出し枠から逸脱しない範囲で偏らせることができる。
Further, the center
キー操作部6は、上下左右の十字型の押しボタンスイッチを備えており、ユーザはこの十字型の押しボタンスイッチを操作することにより、上下左右の任意の方向に、当該顔画像が画像切り出し枠から逸脱しない範囲で顔画像を偏らせることができる。これにより、顔画像の位置を画面の中心に限定することなく、ユーザの創作意欲を満足させることができる。
The
このように、第一の実施形態は、顔画像検出機能と電子ズーム機能とを有するデジタルカメラ装置において、検出された顔画像の位置に合わせて切り出し位置を確定し、ズーム処理を行うことができる。図3は、第一の実施形態のズーム処理の概念図である。すなわち、図3に示すように、顔画像検出枠103を基に顔画像の位置に合わせて画像切り出し枠302(図3(a))および304(図3(b))を変更することで、切り出しズーム処理を実行しても画角から人物の顔を外さないプレビューまたは撮影を可能にする。なお、符号301および303は最大画角を示す。
As described above, in the digital camera device having the face image detection function and the electronic zoom function, the first embodiment can determine the cutout position according to the position of the detected face image and perform zoom processing. . FIG. 3 is a conceptual diagram of zoom processing according to the first embodiment. That is, as shown in FIG. 3, by changing the image clipping frames 302 (FIG. 3A) and 304 (FIG. 3B) according to the position of the face image based on the face
次に、第一の実施形態における顔画像検出を利用した電子ズームの処理の流れを示す。図4は、顔画像検出を利用した電子ズームの処理の流れを示すフローチャートである。図4に示すように、キー操作部6のキー操作によりカメラ起動が入力された場合には(ステップS1)、CPU4の命令によりカメラセンサ1を起動し(ステップS2)、表示部5でのプレビュー表示を開始する(ステップS3)する。
Next, a flow of processing of electronic zoom using face image detection in the first embodiment is shown. FIG. 4 is a flowchart showing a flow of processing of electronic zoom using face image detection. As shown in FIG. 4, when camera activation is input by key operation of the key operation unit 6 (step S <b> 1), the camera sensor 1 is activated by a command from the CPU 4 (step S <b> 2), and a preview on the
画像処理部3の顔画像検出部10は、カメラセンサ1から送られてくる画像に対し、顔画像検出処理を開始し(ステップS4)、顔画像が検出されたら(ステップS5のYes)、顔画像検出枠を表示し(ステップS6)、顔位置に合わせた画像切り出し枠の画角を算出する(ステップS7)。この際、画像処理部3の電子ズーム部12内で保持しているズーム画角データを更新する(ステップS8、S18)。
The face
また、顔画像が検出されない場合は(ステップS5のNo)、画像処理部3の電子ズーム部12内で保持している中央切り出し画角データを参照し(ステップS16、S17)、ズーム画角データを更新する(ステップS8、S18)。
If no face image is detected (No in step S5), the central cut-out view angle data stored in the
キー操作部6よりズーム処理が実行された場合には(ステップS9のYes)、ズーム画角データ(ステップS18)を基に画像切り出し枠を生成し(ステップS10)、生成された画像切り出し枠を表示部5に切り換え表示する(ステップS11)。
When zoom processing is executed from the key operation unit 6 (Yes in step S9), an image clipping frame is generated based on the zoom angle of view data (step S18) (step S10), and the generated image clipping frame is displayed. The
すなわち、これまで撮影し得る最大の範囲を最大画角にて表示していた表示部5が画像切り出し枠内の画像を最大画角にて表示する。これにより、撮影し得る最大の範囲では小さく撮影されていた画像切り出し枠内の画像が、この画像切り出し枠内の画像を最大画角にて表示したことにより拡大されて表示される。
That is, the
拡大ズーム処理が実行されない場合は(ステップS9のNo)、画像切り出し枠生成(ステップS10)および画像切り出し枠内の画像の最大画角への切り換え表示(ステップS11)は行わない。その後、シャッタボタンが押下された場合は(ステップS12のYes)、表示している画角での撮影画像を取得し(ステップS19)、撮影画像をメモリ部7に保存する(ステップS20)。 When the enlargement zoom process is not executed (No in step S9), the image cutout frame generation (step S10) and the display of switching the image within the image cutout frame to the maximum angle of view (step S11) are not performed. Thereafter, when the shutter button is pressed (Yes in step S12), a captured image at the displayed angle of view is acquired (step S19), and the captured image is stored in the memory unit 7 (step S20).
その後、プレビューが続行されれば(ステップS13のYes)、プレビューおよび顔画像検出処理を継続する(ステップS5)。プレビューが続行されなければ(ステップS13のNo)、カメラセンサ1を停止し(ステップS14)、カメラ装置を停止する(ステップS15)。 Thereafter, if the preview is continued (Yes in step S13), the preview and face image detection process is continued (step S5). If the preview is not continued (No in step S13), the camera sensor 1 is stopped (step S14), and the camera device is stopped (step S15).
ここで、ズーム速度調整部14によるズーム速度の調整は、ステップS10の切り出し枠生成からステップS11の切り出し枠表示に切り換えの過程において行われる。すなわち、ズーム速度調整指示が有れば(ステップS20のYes)、ステップS10およびS11において、瞬時に、最大撮影範囲の表示から画像切り出し枠内の表示に切り換えるのではなく、最大撮影範囲の表示から画像切り出し枠内の表示に、設定された時間をかけて徐々に、画像切り出し枠内の画像を拡大することによりズーム速度調整を実行する(ステップS21)。
Here, the zoom speed adjustment by the zoom
また、ズーム途中撮影部15による撮影は、ステップS10とS11との間で、ズーム速度調整部14により、最大撮影範囲の表示から画像切り出し枠内の表示に、設定された時間をかけて徐々に、画像切り出し枠内の画像を拡大している途中に(ステップS21)、ズーム途中撮影の指示が有れば(ステップS22のYes)、ステップS19の撮影画像取得に処理をジャンプさせる。
Further, the shooting by the zoom
次に、切り出し枠生成部11の画像切り出し枠設定方法に関して図5を参照して説明する。図5は、切り出し枠生成部11の画像切り出し枠生成手順を示す図である。まず、図5(a)に示すように、顔画像検出枠801から顔が中心となる画像切り出し枠802を決定する。なお、符号803は収束する以前の画像切り出し枠である。
Next, an image clipping frame setting method of the clipping
図5(b)に示すように、画像切り出し枠812の一辺が画像切り出し枠802と重なる辺811まで中央切り出しを行い、その後は画像切り出し枠802と重なった辺811を固定し、図5(c)に示すように、他の辺がそれぞれ画像切り出し枠802と重なるまで画像切り出し枠822を徐々に狭めていき、図5(d)に示すように、最終的に、画像切り出し枠822と画像切り出し枠821とが一致する画像切り出し枠831まで切り出し処理を行うことで実現する。
As shown in FIG. 5B, the center cutout is performed until the
(第一の実施形態の効果の説明)
以上説明したように、第一の実施形態においては、以下のような効果を奏する。
第一の効果は、人物を対象とした撮影時、ズーム操作により画角が狭くなる場合に人物の顔画像が画角から外れるのを防止することが可能である。
(Description of effects of the first embodiment)
As described above, the first embodiment has the following effects.
The first effect is that it is possible to prevent the face image of a person from deviating from the angle of view when the angle of view is narrowed by a zoom operation during shooting of the person.
第二の効果は、画像処理部3に第一の実施形態によるズーム機能(図2の顔画像検出部10以降のブロック構成)を組み込むことが可能なため、ハードウェア変更無しに安価かつ容易に実現できる。なお、画像処理部3の代わりに、CPU4に第一の実施形態によるズーム機能を組み込んでもよい。
The second effect is that the zoom function according to the first embodiment (block configuration after the face
第三の効果は、画像処理部3(もしくはCPU4)に第一の実施形態によるズーム機能を組み込むことが可能なため、携帯電話機のようなカメラ機能を備えた小型の装置で容易に実現可能である。 The third effect is that the zoom function according to the first embodiment can be incorporated into the image processing unit 3 (or the CPU 4), so that it can be easily realized with a small device having a camera function such as a mobile phone. is there.
(第二の実施形態)
本発明の第二の実施形態を図6を参照して説明する。図6は、第二の実施形態のズーム手順を説明するための図である。第二の実施形態として、その基本的構成は上記のとおりであるが、ズーム処理の部分において光学ズームと電子ズームとを組み合わせることも可能である実施形態を示す。
(Second embodiment)
A second embodiment of the present invention will be described with reference to FIG. FIG. 6 is a diagram for explaining a zoom procedure according to the second embodiment. As a second embodiment, the basic configuration is as described above, but an embodiment in which an optical zoom and an electronic zoom can be combined in the zoom processing portion will be described.
顔画像検出後、図6に示すように、顔画像が画角から外れない領域603まで光学ズームを行い、第一の実施形態で説明した電子ズーム処理を行うことで、顔画像位置に合わせた画像切り出し枠605を生成する。これにより、電子ズーム処理による画質劣化を最小限に抑えたズームアップ処理が可能である。ここで、符号601は最大画角、符号602は顔画像検出枠、符号604は光学ズームによるズームアップ範囲である。
After the face image is detected, as shown in FIG. 6, the optical zoom is performed up to the
なお、光学ズームと電子ズームとを組み合わせる実施形態については、特許文献2に類似の技術が開示されている。しかしながら、電子ズーム処理を行う際に、第一の実施形態で説明したズーム速度調整やズーム途中撮影を行う技術は、特許文献2には開示されておらず、これらの技術を含めて観れば、第二の実施形態と特許文献2の技術との差異は明らかである。
A technique similar to
(第二の実施形態の効果の説明)
第二の実施形態によれば、第一の実施形態の電子ズーム機能を光学ズーム機能と電子ズーム機能とを有するデジタルカメラ装置においても有効に利用することができる。
(Description of effects of the second embodiment)
According to the second embodiment, the electronic zoom function of the first embodiment can be effectively used also in a digital camera device having an optical zoom function and an electronic zoom function.
(第三の実施形態)
本発明の第三の実施形態として、画像切り出し枠の設定方法に関して工夫した実施形態を図7を参照して説明する。図7は、第三の実施形態の画像切り出し枠の設定方法を説明するための図である。基本的構成では、図5に示したように、ズーム初期段階では中央切り出しを行うが、第三の実施形態では、図7に示すように、各辺において最大画角901から画像切り出し枠904までの距離を同比率にて狭め(ステップS911、S921)、最終的に画像切り出し枠902と画像切り出し枠904とが一致するまで切り出しを行う(ステップS931)。
(Third embodiment)
As a third embodiment of the present invention, an embodiment devised with respect to a method for setting an image clipping frame will be described with reference to FIG. FIG. 7 is a diagram for explaining an image clipping frame setting method according to the third embodiment. In the basic configuration, as shown in FIG. 5, center clipping is performed at the initial stage of zooming, but in the third embodiment, as shown in FIG. 7, from the
(第三の実施形態の効果の説明)
第三の実施形態によれば、第一の実施形態と比べて最終的な画像切り出し枠を生成するまでの時間を短縮することができるため、電子ズームの処理時間を短縮することができる。
(Explanation of effects of the third embodiment)
According to the third embodiment, it is possible to shorten the time until the final image cutout frame is generated as compared with the first embodiment, and thus it is possible to shorten the processing time of the electronic zoom.
(第四の実施形態)
本発明の第四の実施形態を図8を参照して説明する。図8は、複数の顔画像が検出された場合の処理を説明するための図である。第四の実施形態は、カメラセンサ1に複数の顔画像が同時に検出された場合の処理についての実施形態である。
(Fourth embodiment)
A fourth embodiment of the present invention will be described with reference to FIG. FIG. 8 is a diagram for explaining processing when a plurality of face images are detected. The fourth embodiment is an embodiment regarding processing when a plurality of face images are simultaneously detected by the camera sensor 1.
図8に示すように、複数の顔画像が検出された場合に、重心位置算出部13は、複数の顔位置のそれぞれの中心を結んで形成された図形における重心位置701を算出し、その重心位置701を中心とした画像切り出し枠702を生成してズームを行うことで複数人物の顔を画角内にバランス良く配置した画角での撮影が可能である。このとき、顔画像検出部2により検出された複数の顔画像の中で重心位置から最も遠い位置にある顔画像を含む位置に画像切り出し枠702を生成する。
As shown in FIG. 8, when a plurality of face images are detected, the center-of-gravity
(第四の実施形態の効果の説明)
第四の実施形態によれば、複数の人物を対象とした撮影にも本実施形態の電子ズーム機能を応用することができる。
(Description of the effect of the fourth embodiment)
According to the fourth embodiment, the electronic zoom function of the present embodiment can also be applied to shooting for a plurality of persons.
(第五の実施形態)
第一〜第四の実施形態における顔画像検出部10は、人の顔画像を検出する機能を有する機能ブロックであるが、これに代えて、人以外の動物や花などの被写体を検出する機能を有する機能ブロックを設けることもできる。
(Fifth embodiment)
The face
(第五の実施形態の効果の説明)
第五の実施形態によれば、動物や花など人の顔画像以外の被写体を検出し、検出した被写体に対して本実施形態の電子ズーム機能を利用することができる。
(Explanation of the effect of the fifth embodiment)
According to the fifth embodiment, subjects other than human face images such as animals and flowers can be detected, and the electronic zoom function of this embodiment can be used for the detected subjects.
(プログラムの実施形態)
情報処理装置にインストールすることにより、その情報処理装置に、本実施形態のデジタルカメラ装置に相応する機能を実現させるプログラムの実施形態を説明する。
(Program embodiment)
An embodiment of a program that, when installed in an information processing apparatus, causes the information processing apparatus to realize a function corresponding to the digital camera apparatus of the present embodiment will be described.
本実施形態のプログラムは記録媒体に記録されることにより、情報処理装置は、この記録媒体を用いて本実施形態のプログラムをインストールすることができる。あるいは、本実施形態のプログラムを保持するサーバからネットワークを介して直接情報処理装置に本実施形態のプログラムをインストールすることもできる。 By recording the program of the present embodiment on a recording medium, the information processing apparatus can install the program of the present embodiment using the recording medium. Alternatively, the program of this embodiment can be directly installed on the information processing apparatus via a network from a server that holds the program of this embodiment.
なお、本実施形態のプログラムは、情報処理装置によって直接実行可能なものだけでなく、ハードディスクなどにインストールすることによって実行可能となるものも含む。また、圧縮されたり、暗号化されたりしたものも含む。 The program according to the present embodiment includes not only a program that can be directly executed by the information processing apparatus but also a program that can be executed by being installed on a hard disk or the like. Also included are those that are compressed or encrypted.
(プログラムの実施形態の効果の説明)
これにより、情報処理装置を用いて、本実施形態の画像処理部2またはCPU4に相応する機能を実現することができる。なお、情報処理装置とは、例えば、汎用のCPUあるいはマイクロ・コンピュータ装置である。
(Description of the effect of the program embodiment)
Thereby, the function corresponding to the
本発明によれば、携帯電話機などのように、電子ズーム機能のみ、あるいは、電子ズーム機能が中心の小型のカメラ装置において、顔画像検出機能を有する場合に、画像の切り出し枠を顔画像の検出位置を中心として生成することができる。 According to the present invention, when the electronic zoom function alone or a small camera device centering on the electronic zoom function, such as a mobile phone, has a face image detection function, the image cutout frame is detected as a face image. It can be generated around the position.
1 カメラセンサ
2 データバス
3 画像処理部
4 CPU
5 表示部
6 キー操作部
7 メモリ部
10 顔画像検出部
11 切り出し枠生成部
12 電子ズーム部
13 重心位置算出部
14 ズーム速度調整部
15 ズーム途中撮影部
16 中心位置調整部
101、201、203、301、302、601、901 最大画角
102 顔画像検出結果
103、801、602、903 顔画像検出枠
202、204、603、605、702、802、803、821、822、831、902、904、911、921、931 画像切り出し枠
603 領域
604 光学ズームによるズームアップ範囲
701 重心位置
811 辺
1
DESCRIPTION OF
Claims (15)
前記撮影画面内にある顔画像を検出する顔画像検出手段と、
この顔画像検出手段により検出された顔画像を中心とする位置に前記画像切り出し枠を生成する切り出し枠生成手段と
を備えたことを特徴とするデジタルカメラ装置。 Digital camera apparatus provided with electronic zoom means for generating an image cutout frame with a smaller angle of view than the maximum view angle of the shooting screen, and zooming up by enlarging the image in the image cutout frame using image processing In
Face image detection means for detecting a face image in the shooting screen;
A digital camera apparatus comprising: a cutout frame generation unit configured to generate the image cutout frame at a position centered on the face image detected by the face image detection unit.
前記切り出し枠生成手段は、前記重心位置算出手段により算出された重心位置を中心とし、前記顔画像検出手段により検出された複数の顔画像の中で前記重心位置から最も遠い位置にある顔画像を含む位置に画像切り出し枠を生成する手段を備えた
請求項1記載のデジタルカメラ装置。 When a plurality of face images are detected at the same time by the face image detecting means, a center-of-gravity position calculating means for calculating a center-of-gravity position in a figure formed by connecting the centers of the plurality of face images,
The cutout frame generation unit is configured to select a face image at a position farthest from the barycentric position among the plurality of face images detected by the face image detecting unit with the barycentric position calculated by the barycentric position calculating unit as a center. The digital camera device according to claim 1, further comprising means for generating an image cutout frame at a position including the image cutout frame.
顔画像検出手段が、前記撮影画面内にある顔画像を検出し、
切り出し枠生成手段が、この顔画像検出手段により検出された顔画像を中心とする位置に前記画像切り出し枠を生成する
ことを特徴とする電子ズームの制御方法。 An electronic device used when a digital camera device generates an image cutout frame with an angle of view smaller than the maximum angle of view of a shooting screen, and zooms up by enlarging an image in the image cutout frame using image processing. In the zoom control method,
A face image detecting means detects a face image in the shooting screen;
An electronic zoom control method, wherein the cutout frame generation unit generates the image cutout frame at a position centered on the face image detected by the face image detection unit.
前記切り出し枠生成手段が、前記重心位置算出手段により算出された重心位置を中心とし、前記顔画像検出手段により検出された複数の顔画像の中で前記重心位置から最も遠い位置にある顔画像を含む位置に画像切り出し枠を生成する
請求項6記載の電子ズームの制御方法。 When a plurality of face images are detected simultaneously by the face image detecting means, the center of gravity position calculating means calculates the center of gravity position in the figure formed by connecting the centers of the plurality of face images,
The cutout frame generation unit is configured to select a face image that is centered on the barycentric position calculated by the barycentric position calculating unit and that is farthest from the barycentric position among the plurality of face images detected by the face image detecting unit. The method for controlling an electronic zoom according to claim 6, wherein an image cutout frame is generated at a position including the image cutout frame.
撮影画面の最大画角よりも小さい画角の画像切り出し枠を生成し、この画像切り出し枠内の画像を、画像処理を用いて拡大することによりズームアップを行うデジタルカメラ装置の電子ズーム機能を実現するプログラムにおいて、
前記撮影画面内にある顔画像を検出する顔画像検出機能と、
この顔画像検出機能により検出された顔画像を中心とする位置に前記画像切り出し枠を生成する切り出し枠生成機能と
を実現することを特徴とするプログラム。 By installing on an information processing device,
Realizes an electronic zoom function of a digital camera device that generates an image cutout frame with a smaller angle of view than the maximum angle of view of the shooting screen, and zooms up by enlarging the image within this image cutout frame using image processing In the program to
A face image detection function for detecting a face image in the shooting screen;
A cutout frame generation function for generating the image cutout frame at a position centered on a face image detected by the face image detection function.
前記切り出し枠生成機能として、前記重心位置算出機能により算出された重心位置を中心とし、前記顔画像検出機能により検出された複数の顔画像の中で前記重心位置から最も遠い位置にある顔画像を含む位置に画像切り出し枠を生成する機能を実現する
請求項11記載のプログラム。 When a plurality of face images are detected simultaneously by the face image detection function, a center-of-gravity position calculation function for calculating a center-of-gravity position in a figure formed by connecting the centers of the plurality of face images is realized,
As the cutout frame generation function, a face image that is centered on the center of gravity position calculated by the center of gravity position calculation function and that is at the farthest position from the center of gravity position among the plurality of face images detected by the face image detection function. The program according to claim 11, which realizes a function of generating an image cutout frame at a position including the image cutout frame.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008009461A JP2009171428A (en) | 2008-01-18 | 2008-01-18 | Control method and program for digital camera apparatus and electronic zoom |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008009461A JP2009171428A (en) | 2008-01-18 | 2008-01-18 | Control method and program for digital camera apparatus and electronic zoom |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009171428A true JP2009171428A (en) | 2009-07-30 |
Family
ID=40972078
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008009461A Pending JP2009171428A (en) | 2008-01-18 | 2008-01-18 | Control method and program for digital camera apparatus and electronic zoom |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009171428A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011211552A (en) * | 2010-03-30 | 2011-10-20 | Fujifilm Corp | Imaging device and method, and program |
JP2011234234A (en) * | 2010-04-28 | 2011-11-17 | Olympus Imaging Corp | Imaging apparatus |
RU2480803C1 (en) * | 2010-09-10 | 2013-04-27 | Кэнон Кабусики Кайся | Image forming apparatus and control method therefor |
JP2018057020A (en) * | 2017-11-14 | 2018-04-05 | オリンパス株式会社 | Imaging device, imaging method, and program |
CN115442509A (en) * | 2021-06-01 | 2022-12-06 | 荣耀终端有限公司 | Shooting method, user interface and electronic equipment |
WO2023225910A1 (en) * | 2022-05-25 | 2023-11-30 | 北京小米移动软件有限公司 | Video display method and apparatus, terminal device, and computer storage medium |
JP7414077B2 (en) | 2019-12-17 | 2024-01-16 | 日本電気株式会社 | Image processing method |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06217187A (en) * | 1992-10-14 | 1994-08-05 | Mitsubishi Electric Corp | Image pickup device, moving vector detector, and picture shake correcting device |
JPH06273658A (en) * | 1993-01-21 | 1994-09-30 | Sony Corp | Video camera |
JP2001197289A (en) * | 2000-01-11 | 2001-07-19 | Fuji Photo Film Co Ltd | Image processing method and image processor |
JP2003174580A (en) * | 2001-12-07 | 2003-06-20 | Minolta Co Ltd | Digital camera |
JP2005354333A (en) * | 2004-06-10 | 2005-12-22 | Casio Comput Co Ltd | Image reproducer and program |
JP2006109005A (en) * | 2004-10-04 | 2006-04-20 | Canon Inc | Image output device and imaging device |
JP2006135837A (en) * | 2004-11-09 | 2006-05-25 | Nec Access Technica Ltd | Video telephone |
JP2006178222A (en) * | 2004-12-22 | 2006-07-06 | Fuji Photo Film Co Ltd | Image display program and image display device |
JP2006191524A (en) * | 2004-12-09 | 2006-07-20 | Nikon Corp | Auto framing device and photographing device |
JP2007027971A (en) * | 2005-07-13 | 2007-02-01 | Canon Inc | Photographing apparatus, control method thereof, program, and recording medium |
-
2008
- 2008-01-18 JP JP2008009461A patent/JP2009171428A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06217187A (en) * | 1992-10-14 | 1994-08-05 | Mitsubishi Electric Corp | Image pickup device, moving vector detector, and picture shake correcting device |
JPH06273658A (en) * | 1993-01-21 | 1994-09-30 | Sony Corp | Video camera |
JP2001197289A (en) * | 2000-01-11 | 2001-07-19 | Fuji Photo Film Co Ltd | Image processing method and image processor |
JP2003174580A (en) * | 2001-12-07 | 2003-06-20 | Minolta Co Ltd | Digital camera |
JP2005354333A (en) * | 2004-06-10 | 2005-12-22 | Casio Comput Co Ltd | Image reproducer and program |
JP2006109005A (en) * | 2004-10-04 | 2006-04-20 | Canon Inc | Image output device and imaging device |
JP2006135837A (en) * | 2004-11-09 | 2006-05-25 | Nec Access Technica Ltd | Video telephone |
JP2006191524A (en) * | 2004-12-09 | 2006-07-20 | Nikon Corp | Auto framing device and photographing device |
JP2006178222A (en) * | 2004-12-22 | 2006-07-06 | Fuji Photo Film Co Ltd | Image display program and image display device |
JP2007027971A (en) * | 2005-07-13 | 2007-02-01 | Canon Inc | Photographing apparatus, control method thereof, program, and recording medium |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011211552A (en) * | 2010-03-30 | 2011-10-20 | Fujifilm Corp | Imaging device and method, and program |
US8860849B2 (en) | 2010-03-30 | 2014-10-14 | Fujifilm Corporation | Imaging device and method |
JP2011234234A (en) * | 2010-04-28 | 2011-11-17 | Olympus Imaging Corp | Imaging apparatus |
US8885069B2 (en) | 2010-04-28 | 2014-11-11 | Olympus Imaging Corp. | View angle manipulation by optical and electronic zoom control |
RU2480803C1 (en) * | 2010-09-10 | 2013-04-27 | Кэнон Кабусики Кайся | Image forming apparatus and control method therefor |
JP2018057020A (en) * | 2017-11-14 | 2018-04-05 | オリンパス株式会社 | Imaging device, imaging method, and program |
JP7414077B2 (en) | 2019-12-17 | 2024-01-16 | 日本電気株式会社 | Image processing method |
CN115442509A (en) * | 2021-06-01 | 2022-12-06 | 荣耀终端有限公司 | Shooting method, user interface and electronic equipment |
CN115442509B (en) * | 2021-06-01 | 2023-10-13 | 荣耀终端有限公司 | Shooting method, user interface and electronic equipment |
WO2023225910A1 (en) * | 2022-05-25 | 2023-11-30 | 北京小米移动软件有限公司 | Video display method and apparatus, terminal device, and computer storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9578260B2 (en) | Digital photographing apparatus and method of controlling the digital photographing apparatus | |
JP4497211B2 (en) | Imaging apparatus, imaging method, and program | |
KR102235231B1 (en) | Imaging control apparatus and control method therefor | |
JP2008009263A (en) | Imaging device and program therefor | |
JP2006303651A (en) | Electronic device | |
JP2013070164A (en) | Imaging device and imaging method | |
WO2015107927A1 (en) | Image processing device, method, and program | |
JP4891674B2 (en) | camera | |
JP2009171428A (en) | Control method and program for digital camera apparatus and electronic zoom | |
JPWO2015072166A1 (en) | IMAGING DEVICE, IMAGING ASSIST METHOD, AND RECORDING MEDIUM CONTAINING IMAGING ASSIST PROGRAM | |
JP2008252711A (en) | Digital camera | |
JP2018152787A (en) | Imaging device, external device, imaging system, imaging method, operation method, and program | |
JP2013183306A (en) | Imaging apparatus, imaging method, and program | |
WO2011052492A1 (en) | Mobile communication apparatus | |
JP6283329B2 (en) | Augmented Reality Object Recognition Device | |
JP2014068081A (en) | Imaging apparatus and control method of the same, program and storage medium | |
JP2010041365A (en) | Imaging apparatus | |
JP2013110754A (en) | Camera device, and photographing method and program of the same | |
WO2020195073A1 (en) | Image processing device, image processing method, program, and imaging device | |
JP5448868B2 (en) | IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD | |
TWI693828B (en) | Image-capturing device and method for operating the same | |
JP2010193324A (en) | Camera apparatus, photographing method thereof and program | |
WO2012147368A1 (en) | Image capturing apparatus | |
JP2014053863A (en) | Photographing apparatus | |
JP5608803B1 (en) | Imaging device, imaging method, and imaging control program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20101202 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120127 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120207 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120404 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20121030 |