JP5158438B2 - Image generating apparatus, image generating method, and program - Google Patents

Image generating apparatus, image generating method, and program Download PDF

Info

Publication number
JP5158438B2
JP5158438B2 JP2008280798A JP2008280798A JP5158438B2 JP 5158438 B2 JP5158438 B2 JP 5158438B2 JP 2008280798 A JP2008280798 A JP 2008280798A JP 2008280798 A JP2008280798 A JP 2008280798A JP 5158438 B2 JP5158438 B2 JP 5158438B2
Authority
JP
Japan
Prior art keywords
person
image
height
detected
persons
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
Application number
JP2008280798A
Other languages
Japanese (ja)
Other versions
JP2010109793A (en
JP2010109793A5 (en
Inventor
淳一 宮坂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2008280798A priority Critical patent/JP5158438B2/en
Publication of JP2010109793A publication Critical patent/JP2010109793A/en
Publication of JP2010109793A5 publication Critical patent/JP2010109793A5/ja
Application granted granted Critical
Publication of JP5158438B2 publication Critical patent/JP5158438B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像生成装置、画像生成方法及びプログラムに関し、詳細には、複数の人物が写った画像の修正に関わる画像生成装置、画像生成方法及びプログラム修正に関する。   The present invention relates to an image generation apparatus, an image generation method, and a program, and more particularly to an image generation apparatus, an image generation method, and a program correction related to correction of an image in which a plurality of persons are captured.

たとえば、自然の景観を背景にして人物を撮影する場合、構図的には、胸から上の部分(いわゆるバストショット)を入れた方が、顔が大きく写るので好ましいとされている。   For example, when photographing a person against the background of a natural landscape, it is considered preferable from the composition to include the upper part (so-called bust shot) from the chest because the face appears larger.

図7は、バストショット撮影画像を示す図である。(a)に示すように、撮影画像100には、山脈101を背景にした人物102、103が写っているが、このようなバストショットの構図で複数の人物撮影を行う際、人物102、103に身長差Xがあると、人物102、103の顔の位置が上下にずれてしまい構図のバランスが悪い写真になる。このようなとき、一般的には身長の高い人物をしゃがませたり、身長の低い人物に背伸びさせたりなどの指示を行う必要があり、手間がかかって面倒であった。   FIG. 7 shows a bust shot image. As shown in (a), the photographed image 100 includes persons 102 and 103 with the mountain range 101 in the background. When photographing a plurality of persons with such a bust shot composition, the persons 102 and 103 are shown. If there is a height difference X, the positions of the faces of the persons 102 and 103 shift up and down, resulting in a photo with a poor compositional balance. In such a case, it is generally necessary to give instructions such as squatting a tall person or extending a tall person to a short person, which is troublesome and cumbersome.

バストショット撮影画像における構図の適不適は、当然ながら撮影者の主観に依るところが大である。したがって、(a)の構図の適不適の判断はもちろん分かれるが、たとえば、(b)に示すような身長差のある多人数のバストショット撮影画像104の場合に、違和感を持つ可能性が高いことも事実である。つまり、この撮影画像104には、四人の人物105〜108が写っているが、そのうちの一人の人物107の身長が極端に低く、他の人物105、106、108とのバランスが悪くなっているからである。このような構図の場合、撮影者の多くは違和感を持ち、たとえば、その人物107に対して「背伸びをして」などの指示を与える可能性がある。   Of course, the suitability of the composition in the bust shot image depends largely on the subjectivity of the photographer. Therefore, the determination of suitability of composition in (a) is of course divided, but for example, in the case of a bust shot image 104 of a large number of people with different heights as shown in (b), there is a high possibility of having a sense of incongruity. Is also true. That is, in this photographed image 104, four persons 105 to 108 are shown, but the height of one person 107 of them is extremely low, and the balance with the other persons 105, 106, 108 becomes poor. Because. In the case of such a composition, many photographers have a sense of incongruity, and for example, there is a possibility of giving an instruction such as “stretch out” to the person 107.

このように、人物撮影における身長差問題は、特に多人数を被写体とする場合に顕著になるが、本件発明は、被写体の人数を限定する意図はない。要は身長差問題に注目したものであって、当該問題は最低二人の人物を撮影する場合に少なくとも生じる可能性があるからである。   As described above, the height difference problem in person photographing is particularly noticeable when a large number of people are subjects, but the present invention is not intended to limit the number of subjects. In short, it focuses on the height difference problem, which may occur at least when shooting at least two persons.

身長差問題に適用できる従来技術としては、たとえば、下記の特許文献1に記載の「電子カメラ及び撮影記録方法」が知られている。この従来技術を端的に表現すれば、二人の人物の一方を撮影した半画像と、二人の人物の他方を撮影した半画像とを合成して1枚の画像(二人の人物が写った画像)を生成するというものである。   As a conventional technique applicable to the height difference problem, for example, “electronic camera and photographing recording method” described in Patent Document 1 below is known. To express this prior art in a straightforward manner, a half image obtained by photographing one of the two persons and a half image obtained by photographing the other of the two persons are combined into a single image (the two persons are photographed). Image).

これによれば、各半画像を撮影する際に、何かを基準にして二人の人物の身長を揃えることが可能である。基準としては、たとえば、背景の一部やファインダー内の指標線などを利用することができる。   According to this, when taking each half-image, it is possible to make the heights of the two persons uniform based on something. As a reference, for example, a part of the background or an index line in the finder can be used.

特開2003−274263号公報JP 2003-274263 A

しかしながら、上記の従来技術にあっては、たとえ、背景の一部やファインダー内の指標線などを利用して人物の身長を揃えることが可能であるとしても、依然として、身長の高い人物をしゃがませるか、身長の低い人物に背伸びさせるかの指示を行わなければならない点で何ら変わりなく、前記の面倒がまったく解決されていない。   However, in the above prior art, even if it is possible to align the height of a person using a part of the background or an index line in the viewfinder, it still squats a tall person In addition, there is no change in that it is necessary to instruct a person with a short height to extend his back, and the above trouble is not solved at all.

そこで、本発明の目的は、複数の人物が写った画像において、構図を修正した修正画像を容易に得ることができる画像生成装置、画像生成方法、及びプログラムを提供することにある。   Therefore, an object of the present invention is to provide an image generation apparatus, an image generation method, and a program that can easily obtain a corrected image in which a composition is corrected in an image in which a plurality of persons are captured.

請求項1記載の発明は、画像から人物領域を検出する検出手段と、前記検出手段によって検出された人物領域が複数か否かを判定する第1の判定手段と、前記第1の判定手段によって複数と判定された場合に、これら複数の人物領域のうち所定の条件を満たした人物の人物領域を選択する選択手段と、この選択手段によって選択された人物領域について記画像中における高さを伸ばすように修正した画像を生成する生成手段とを備えたこと特徴とする画像生成装置である。
請求項2記載の発明は、前記生成手段は、前記選択された人物領域の人物の顔以外の部分を変形させることによって、前記人物領域について前記高さを伸ばすように修正した画像を生成することを特徴とする請求項1に記載の画像生成装置である。
請求項3記載の発明は、前記生成手段は、前記選択された人物領域の人物の顔部分を変形させることによって、前記人物領域について前記高さを伸ばすように修正した画像を生成することを特徴とする請求項1に記載の画像生成装置である。
請求項4記載の発明は、前記第1の判定手段によって複数検出されたと判定された場合に、これらの人物領域に含まれる人物の前記高さの差が所定の範囲内であるか否を判定する第2の判定手段を更に備え、前記選択手段は、前記第2の判定手段によって上方への高さの差が所定の範囲内であると判定された場合に、前記検出された複数の人物のうち、所定の条件を満たした人物の人物領域を選択することを特徴とする請求項1から3の何れかに記載の画像生成装置である。
請求項5記載の発明は、前記第1の判定手段によって複数検出されたと判定された場合に、これらの人物領域に含まれる人物のうち、前記画像中における高さの最も高い人物と他の人物との高さの差が所定値以上であるか否を判定する第3の判定手段を更に備え、前記選択手段は、前記第3の判定手段によって所定値以上であると判定された場合に、前記検出された複数の人物のうち、所定の条件を満たした人物の人物領域を選択することを特徴とする請求項1から3の何れかに記載の画像生成装置である。
請求項6記載の発明は、修正対象の人物の画像を登録する登録手段と、前記検出手段によって検出された人物領域に、前記登録手段によって登録された人物の画像が含まれるか否かを判定する第4の判定手段と、を更に備え、前記選択手段は、前記第4の判定手段によって登録された人物が含まれると判定された場合に、前記登録された人物の人物領域を選択することを特徴とする請求項1から3の何れかに記載の画像生成装置である。
請求項7記載の発明は、前記所定の条件を満たした人物とは、前記検出された複数の人物のうち、前記画像内において、前記画像中における高さが最も低い人物であることを特徴とする請求項1から4の何れかに記載の画像生成装置である。
請求項8記載の発明は、前記所定の条件を満たした人物とは、前記検出された複数の人物のうち、前記画像内において、前記画像中における高さが最も高い人物以外の人物であることを特徴とする請求項1から4の何れかに記載の画像生成装置である。
請求項9記載の発明は、前記所定の条件を満たした人物とは、前記検出された複数の人物のうち、前記第3の判定手段によって上方への高さの差が所定値以上であると判定された人物であることを特徴とする請求項5に記載の画像生成装置である。
請求項10記載の発明は、前記所定の条件を満たした人物とは、前記検出された複数の人物のうち、前記第3の判定手段によって上方への高さの差が所定値以上であると判定された人物であることを特徴とする請求項5に記載の画像生成装置である。
請求項11記載の発明は、画像から人物領域を検出する検出ステップと、この検出ステップによって複数の人物が検出されたか否かを判定する判定ステップと、この判定ステップによって複数の人物が検出されたと判定された場合に、検出された人物のうち所定の条件を満たした人物の人物領域を選択する選択ステップと、この選択された人物領域の前記画像中における高さを伸ばした修正画像を生成する生成手段とを含むこと特徴とする画像生成方法である。
請求項12記載の発明は、画像生成装置が備えるコンピュータに、画像から人物領域を検出する検出手段と、前記検出手段によって複数の人物が検出されたか否かを判定する第1の判定手段と、前記第1の判定手段によって複数の人物が検出されたと判定された場合に、前記検出された人物のうち所定の条件を満たした人物の人物領域を選択する選択手段と、前記選択された人物領域の前記画像中における高さを伸ばした修正画像を生成する生成手段としての機能を実現させるためのプログラムである。
According to a first aspect of the present invention, there is provided a detection means for detecting a person area from an image, a first determination means for determining whether or not there are a plurality of person areas detected by the detection means, and the first determination means. If it is determined that a plurality, extend selection means for selecting the person area of the person who satisfies a predetermined condition among the plurality of human region, the human region selected by the selecting means the height in the serial image An image generation apparatus comprising generation means for generating an image corrected as described above.
Invention of claim 2, wherein said generating means, by deforming the portion other than the face of the person of the selected human region, generating a corrected image to stretch the height for the person area The image generation apparatus according to claim 1, wherein:
Invention of claim 3, wherein said generating means, by deforming the face portion of a person of the selected human region, characterized by generating the corrected image to stretch the height for the person area The image generation apparatus according to claim 1.
The invention of claim 4, wherein, when it is determined that a plurality of detected by said first determination means, determines whether the difference between the height of the person included in these human region is within a predetermined range A plurality of detected persons when the difference in the upward height is determined to be within a predetermined range by the second determination means. The image generation apparatus according to claim 1, wherein a person area of a person that satisfies a predetermined condition is selected.
According to a fifth aspect of the present invention, the person having the highest height in the image and the other person among the persons included in these person areas when it is determined that a plurality of the first determining means has detected. And a third determining means for determining whether or not the height difference is equal to or greater than a predetermined value, wherein the selecting means is determined by the third determining means to be equal to or greater than a predetermined value, 4. The image generation apparatus according to claim 1, wherein a person region of a person that satisfies a predetermined condition is selected from the plurality of detected persons.
According to a sixth aspect of the present invention, a registration unit for registering an image of a person to be corrected, and whether or not the person image detected by the registration unit is included in the person area detected by the detection unit. And a fourth determination unit that selects the person area of the registered person when it is determined that the person registered by the fourth determination unit is included. The image generating apparatus according to claim 1, wherein:
The invention according to claim 7 is characterized in that the person satisfying the predetermined condition is a person having the lowest height in the image among the plurality of detected persons in the image. An image generation apparatus according to any one of claims 1 to 4.
In the invention according to claim 8, the person who satisfies the predetermined condition is a person other than the person having the highest height in the image in the image among the plurality of detected persons. An image generating apparatus according to claim 1, wherein:
According to the ninth aspect of the present invention, the person who satisfies the predetermined condition is that a difference in an upward height by the third determination unit among the plurality of detected persons is a predetermined value or more. The image generation apparatus according to claim 5, wherein the image generation apparatus is a determined person.
According to a tenth aspect of the present invention, the person who satisfies the predetermined condition is that, among the plurality of detected persons, a difference in an upward height by the third determination means is a predetermined value or more. The image generation apparatus according to claim 5, wherein the image generation apparatus is a determined person.
According to the eleventh aspect of the present invention, a detection step of detecting a person region from an image, a determination step of determining whether or not a plurality of persons are detected by the detection step, and a plurality of persons being detected by the determination step When the determination is made, a selection step of selecting a person area of a person who satisfies a predetermined condition among the detected persons, and a corrected image in which the height of the selected person area in the image is increased is generated. An image generation method including generation means.
According to a twelfth aspect of the present invention, a computer included in the image generation apparatus includes a detection unit that detects a person region from an image, a first determination unit that determines whether a plurality of persons are detected by the detection unit, A selection unit that selects a person area of a person that satisfies a predetermined condition among the detected persons when the first determination unit determines that a plurality of persons are detected; and the selected person area Fixed image extended heights in the in the image of a program for realizing a function as a generation means for generating.

本発明によれば、複数の人物が写った画像において、構図を修正した修正画像を容易に得ることができる。   According to the present invention, it is possible to easily obtain a corrected image in which a composition is corrected in an image showing a plurality of persons.

以下、本発明の実施形態を、デジタルカメラへの適用を例にして、図面を参照しながら説明する。なお、以下の説明における様々な細部の特定ないし実例および数値や文字列その他の記号の例示は、本発明の思想を明瞭にするための、あくまでも参考であって、それらのすべてまたは一部によって本発明の思想が限定されないことは明らかである。また、周知の手法、周知の手順、周知のアーキテクチャおよび周知の回路構成等(以下「周知事項」)についてはその細部にわたる説明を避けるが、これも説明を簡潔にするためであって、これら周知事項のすべてまたは一部を意図的に排除するものではない。かかる周知事項は本発明の出願時点で当業者の知り得るところであるので、以下の説明に当然含まれている。   Hereinafter, embodiments of the present invention will be described with reference to the drawings, taking application to a digital camera as an example. It should be noted that the specific details or examples in the following description and the illustrations of numerical values, character strings, and other symbols are only for reference in order to clarify the idea of the present invention, and the present invention may be used in whole or in part. Obviously, the idea of the invention is not limited. In addition, a well-known technique, a well-known procedure, a well-known architecture, a well-known circuit configuration, and the like (hereinafter, “well-known matter”) are not described in detail, but this is also to simplify the description. Not all or part of the matter is intentionally excluded. Such well-known matters are known to those skilled in the art at the time of filing of the present invention, and are naturally included in the following description.

図1は、デジタルカメラの概念構成図である。この図において、デジタルカメラ1は、撮影レンズ2aやズームレンズ2b及びフォーカスレンズ2cなどを含む光学系2と、この光学系2を介して取り込まれた被写体3の像を撮像するCCDやCMOS等の二次元イメージセンサを含む撮像部4と、被写体3までの距離を測定するコントラストAF方式またはハイブリッドAF方式などの測距部5と、撮像部4で撮像された画像信号に所要の画像処理(ガンマ補正等)を施す画像処理部6と、フォーカスレンズ2cを駆動するフォーカス駆動部7と、ズームレンズ2bを駆動するズーム駆動部8と、各種ボタン類(撮影動作と再生動作とのモード切り換えボタン9aやメニューボタン9b、カーソルキー9c及びシャッタボタン9dなど)を含む操作部9と、ストロボ発光部10及びストロボ駆動部11と、液晶ディスプレイ等からなる表示部12と、この表示部12の表示面上に併設されたタッチパネル13と、固定式又は着脱式の大容量記憶デバイスで構成された記憶部14と、パーソナルコンピュータ等の外部機器15との間のデータ入出力を必要に応じて仲介する外部入出力部16と、バッテリ等を含む電源部17と、制御部18とを備える。   FIG. 1 is a conceptual configuration diagram of a digital camera. In this figure, a digital camera 1 includes an optical system 2 including a photographing lens 2a, a zoom lens 2b, a focus lens 2c, and the like, and a CCD, a CMOS, or the like that captures an image of a subject 3 captured through the optical system 2. An image pickup unit 4 including a two-dimensional image sensor, a distance measuring unit 5 such as a contrast AF method or a hybrid AF method for measuring a distance to the subject 3, and image processing (gamma) required for an image signal picked up by the image pickup unit 4 An image processing unit 6 for performing correction, a focus driving unit 7 for driving the focus lens 2c, a zoom driving unit 8 for driving the zoom lens 2b, and various buttons (a mode switching button 9a between a shooting operation and a reproduction operation). , The menu button 9b, the cursor key 9c, the shutter button 9d, etc. A display unit 12 including a liquid crystal display, a touch panel 13 provided on the display surface of the display unit 12, and a storage unit 14 configured by a fixed or removable mass storage device. And an external input / output unit 16 that mediates data input / output with an external device 15 such as a personal computer as necessary, a power source unit 17 including a battery, and a control unit 18.

制御部18は、コンピュータ(以下、CPU)18a、不揮発性メモリ(以下、ROM)18b、揮発性メモリ(以下、RAM)18c及び書き換え可能型不揮発性メモリ(以下、PROM)18dを備えており、ROM18bに予め格納されている制御プログラムやPROM18dに予め又は任意に書き込まれるデータをRAM18cにロードしてCPU18aで実行することにより、つまり、プログラム制御方式によって、このデジタルカメラ1の撮影機能や再生機能などを統括制御するものであるが、これに限らず、その機能の全て又は一部をハードロジックで実現してもよいことはもちろんである。   The control unit 18 includes a computer (hereinafter referred to as CPU) 18a, a nonvolatile memory (hereinafter referred to as ROM) 18b, a volatile memory (hereinafter referred to as RAM) 18c, and a rewritable nonvolatile memory (hereinafter referred to as PROM) 18d. A control program stored in advance in the ROM 18b or data written in advance or arbitrarily in the PROM 18d is loaded into the RAM 18c and executed by the CPU 18a. However, the present invention is not limited to this, and it is needless to say that all or part of the functions may be realized by hard logic.

図示のデジタルカメラ1は、操作部9のモード切り換えボタン9aが「撮影」位置にあるときに撮影モード(静止画又は動画撮影モード)で動作し、「再生」位置にあるときに再生モードで動作する。   The illustrated digital camera 1 operates in the shooting mode (still image or moving image shooting mode) when the mode switching button 9a of the operation unit 9 is in the “shooting” position, and operates in the playback mode when in the “playback” position. To do.

静止画又は動画撮影モードを選択した場合、撮像部4から周期的(毎秒数十フレーム)に出力される画像信号が、画像処理部6と制御部18を経て表示部12に出力され、構図確認用のスルー画像として継続的に表示される。撮影者は、スルー画像を見ながら所望の構図になるように撮影方向や撮像部4の画角(ズーム倍率)を調節し、所望の構図が得られたときにレリーズ操作(シャッタボタン9dの押し下げ操作)を行う。   When the still image or moving image shooting mode is selected, an image signal periodically output from the imaging unit 4 (several tens of frames per second) is output to the display unit 12 through the image processing unit 6 and the control unit 18 to confirm the composition. Continuously displayed as a live view image. The photographer adjusts the shooting direction and the angle of view (zoom magnification) of the imaging unit 4 so that the desired composition is obtained while viewing the through image, and when the desired composition is obtained, the release operation (depressing the shutter button 9d) is performed. Operation).

そして、レリーズ操作に応答して、AF(自動焦点)とAE(自動露出)が実行され、撮像部4から高画質の画像信号が取り出される。この際、暗い場所での撮影(たとえば夜景を撮影する場合)においては、レリーズ操作に応答してストロボ駆動部11がストロボ発光部10によりストロボを発光させる。この画像信号は、画像処理部6と制御部18を経て記憶部14に送られ、撮影済み画像として記憶部14に記録保存される。この撮影済み画像は、撮像部4から取り出された高画質の画像信号に相当する生画像であってもよいが、生画像はサイズが大きく、記憶部14の記憶容量を圧迫するので、たとえば、JPEG(Joint Photographic Experts Group)等の汎用圧縮技術を用いて圧縮した画像を撮影済み画像として記録することが望ましい。なお、動画撮影モードの場合は、1回目のレリーズ操作で記録開始、2回目のレリーズ操作で記録終了となり、その間に撮像部4から取り出された高画質の画像信号が、所定の動画ファイル形式(たとえば、MPEG形式)で記憶部14に記録保存される。   In response to the release operation, AF (automatic focus) and AE (automatic exposure) are executed, and a high-quality image signal is extracted from the imaging unit 4. At this time, in shooting in a dark place (for example, shooting a night scene), the strobe driving unit 11 causes the strobe light emitting unit 10 to emit a strobe in response to the release operation. This image signal is sent to the storage unit 14 via the image processing unit 6 and the control unit 18 and is recorded and saved in the storage unit 14 as a captured image. The captured image may be a raw image corresponding to a high-quality image signal extracted from the imaging unit 4, but the raw image has a large size and presses the storage capacity of the storage unit 14. It is desirable to record an image compressed using a general-purpose compression technique such as JPEG (Joint Photographic Experts Group) as a captured image. In the moving image shooting mode, recording is started by the first release operation, recording is ended by the second release operation, and a high-quality image signal taken out from the imaging unit 4 during that period is a predetermined moving image file format ( For example, it is recorded and saved in the storage unit 14 in MPEG format.

一方、再生モードを選択した場合は、直近に撮影された画像(静止画または動画)を記憶部14から読み出し、表示部12に拡大表示する。あるいは、撮影済み画像の縮小画像を記憶部14から読み出して表示部12に一覧表示し、その一覧の中から再生を希望する画像を選択して、その元画像を記憶部14から読み出して表示部12に拡大表示する。   On the other hand, when the playback mode is selected, the most recently captured image (still image or moving image) is read from the storage unit 14 and enlarged and displayed on the display unit 12. Alternatively, the reduced images of the captured images are read from the storage unit 14 and displayed in a list on the display unit 12, an image desired to be reproduced is selected from the list, and the original image is read from the storage unit 14 and displayed. 12 is enlarged and displayed.

以上の撮影モードと再生モードの動作は、従来公知のものであるが、本実施形態においては、それに加えて、以下の特徴的事項を含む。   The above-described operations in the shooting mode and the playback mode are conventionally known, but in the present embodiment, the following characteristic items are included in addition thereto.

図2は、本実施形態の特徴的事項を示す概念的な構成図である。この図において、制御部18は、プログラム制御方式によって機能的に実現されたいくつかのブロック部、具体的には、人物領域検出部19、人物修正量演算部20、修正画像生成部21を含む。   FIG. 2 is a conceptual configuration diagram showing the characteristic items of the present embodiment. In this figure, the control unit 18 includes several block units functionally realized by a program control method, specifically, a person area detection unit 19, a person correction amount calculation unit 20, and a corrected image generation unit 21. .

人物領域検出部19は、撮影画像22(この撮影画像22は記憶部14から読み出された再生画像であってもよい。)から人物領域23、24を検出する。ここで、人物領域とは、撮影画像22に写し込まれている様々な被写体のうち“人物”と考えられる領域のことをいう。たとえば、画像の中から人物の顔を認識する技術(いわゆる顔認識技術)は公知であるから、この技術を利用して、まず、撮影画像22に写し込まれている様々な被写体のうち人物の顔の部分を認識し、次いで、その顔に繋がる部分(具体的には顔と同一の距離にあって焦点が合っている部分)を認識して、それらの両認識部分を合体させて人物領域23、24としてもよい。   The person area detection unit 19 detects the person areas 23 and 24 from the captured image 22 (this captured image 22 may be a reproduced image read from the storage unit 14). Here, the person area refers to an area considered to be a “person” among various subjects captured in the captured image 22. For example, since a technique for recognizing a person's face from an image (so-called face recognition technique) is known, first, using this technique, a person's face among various subjects captured in a captured image 22 is detected. Recognize the face part, then recognize the part connected to the face (specifically, the part that is at the same distance from the face and in focus), and combine both of these recognition parts 23 and 24 are also possible.

人物修正量演算部20は、検出された人物領域23、24が複数である場合、つまり、撮影画像22に複数の人物が写し込まれている場合に、各々の人物の高さを修正するために必要な修正量の演算を行う。この修正量は、たとえば、身長差のある二人の人物の身長を揃える場合を例にして説明すると、身長が低い方の人物(図示の例では右側の人物領域24)を画像の上側に伸ばすための修正量のことをいう。ここで、上記の“身長”は、実際の人物の身長である必要は無く、撮影画像22内における人物の“画像の上側への高さ”を意味し、一般的に人物撮影では立ち姿の人物を対象にするから、上記の“画像の上側”は、天地の“天側”を意味する。   The person correction amount calculation unit 20 corrects the height of each person when there are a plurality of detected person areas 23 and 24, that is, when a plurality of persons are imprinted in the captured image 22. The amount of correction required for the operation is calculated. This correction amount will be described by taking, for example, the case where the heights of two persons with different heights are aligned, and the person with the shorter height (the person area 24 on the right side in the illustrated example) is extended to the upper side of the image. It means the amount of correction. Here, the above-mentioned “height” does not need to be the height of an actual person, but means “the height above the image” of the person in the photographed image 22. Therefore, the above “upper side of the image” means the “upper side” of the top and bottom.

したがって、「身長が低い方の人物を画像の上側に伸ばすための量」とは、要するに、身長の高い人物を基準にして身長が低い方の人物の背丈を伸ばし、それによって、身長差を少なくする(望ましくは身長を揃える)ための修正量のことをいう。   Therefore, “the amount to extend the person with the shorter height to the upper side of the image” means that the height of the person with the shorter height is increased based on the person with a higher height, thereby reducing the height difference. This is the amount of correction to do (preferably to align height).

修正画像生成部21は、撮影画像22に対して、上記の修正量を適用することにより、人物の高さを修正した修正画像25を生成する。つまり、この修正画像25にも、修正前の撮影画像22と同様に、二つの人物領域26、27が含まれているが、これら二つの人物領域26、27の背丈がほぼ揃っている点で、修正前の撮影画像22と相違する。   The corrected image generation unit 21 generates a corrected image 25 in which the height of the person is corrected by applying the above correction amount to the captured image 22. That is, the corrected image 25 also includes two person areas 26 and 27 as in the photographed image 22 before correction, but the heights of the two person areas 26 and 27 are almost the same. This is different from the photographed image 22 before correction.

したがって、この構成によれば、人物の高さを修正した修正画像25を得ることができるので、被写体をしゃがませたり背伸びさせたりといった手間をかけることなく、簡単に、複数の人物撮影の構図修正を行うことができる。   Therefore, according to this configuration, it is possible to obtain the corrected image 25 in which the height of the person is corrected. Therefore, it is possible to easily compose a plurality of person images without taking the trouble of squatting or stretching the subject. Corrections can be made.

なお、以上の説明において、「望ましくは身長を揃えた」とは、人物修正量演算部20における修正量が最適の場合のことをいう。つまり、その修正量を適用して、身長の高い人物を基準にして身長が低い方の人物の背丈を伸ばした際に、身長差が“零”になる場合のことをいう。「身長差が零になる」ことは理想であるが、多くの場合、それほどの厳密さは求められない。実用上は、違和感を生じない程度に身長差が少なくなればよいのであるから、上記の修正量は「身長差が零になる」を理想値とし、その前後に若干の余裕を持つものとして演算されればよい。   In the above description, “desirably having the same height” means that the correction amount in the person correction amount calculation unit 20 is optimal. That is, it means a case where the height difference becomes “zero” when the correction amount is applied and the height of a person with a short height is increased based on a person with a high height. It is ideal that the height difference is zero, but in many cases, not so rigorously. For practical purposes, it is only necessary to reduce the height difference to such an extent that it does not cause a sense of incongruity, so the above correction amount is calculated assuming that “the height difference is zero” and that there is some margin before and after that. It only has to be done.

次に、本実施形態の動作について説明する。
図3は、本実施形態の撮影動作フローを示す図である。このフローでは、スルー画像を表示(ステップS1)している間に、シャッタ全押し(レリーズ操作)を判定する(ステップS2)と、まず、撮像処理を実行し(ステップS3)、次いで、撮像画像内から人物領域を検出する(ステップS4)。そして、人物領域を複数検出したか否か、つまり複数の人物領域を検出したか否かを判定し(ステップS5)、人物領域を複数検出しなかった場合(または人物領域を一つも検出しなかった場合)は、修正不要の撮影画像であると判断し、その撮像画像を記憶部14に記録(ステップS6)してからフローを終了するが、人物領域を複数検出した場合は、次に、検出した人物の身長の差が所定の範囲内であるか否かを判定する(ステップS7)。
Next, the operation of this embodiment will be described.
FIG. 3 is a diagram showing a shooting operation flow of the present embodiment. In this flow, when a full-press of the shutter (release operation) is determined while displaying a through image (step S1) (step S2), first, an imaging process is executed (step S3), and then the captured image is displayed. A person area is detected from the inside (step S4). Then, it is determined whether or not a plurality of person areas have been detected, that is, whether or not a plurality of person areas have been detected (step S5). If a plurality of person areas have not been detected (or no person area has been detected). If it is determined that the captured image does not need to be corrected and the captured image is recorded in the storage unit 14 (step S6), the flow is terminated. It is determined whether or not the detected difference in the height of the person is within a predetermined range (step S7).

そして、所定の範囲内でなければ、つまり、身長差がない、又は所定値を越える身長差がある場合は修正不要又は修正不可と判断して、撮像画像を記憶部14に記録(ステップS6)してからフローを終了する一方、所定の範囲内の身長差の場合、つまり、修正が必要であり修正可能な身長差の場合は、身長を伸ばす人物(身長を修正する人物であって、具体的には背丈の低い人物)を選択し(ステップS8)、選択した人物の身長の修正量を演算すると共に、その修正量に従って、選択した人物の身長を伸ばした修正画像を生成し(ステップS9)、その修正画像を記憶部14に記録(ステップS10)してからフローを終了する。   If it is not within the predetermined range, that is, if there is no height difference or there is a height difference exceeding a predetermined value, it is determined that correction is not necessary or cannot be corrected, and the captured image is recorded in the storage unit 14 (step S6). If the height difference is within a predetermined range, that is, if the height difference needs to be corrected and can be corrected, the person who increases the height (the person whose height is to be corrected In particular, a person with a short height is selected (step S8), and the correction amount of the height of the selected person is calculated, and a corrected image in which the height of the selected person is increased is generated according to the correction amount (step S9). ), The corrected image is recorded in the storage unit 14 (step S10), and the flow ends.

図4は、身長修正の概念図である。(a)に示すように、修正前の画像28には、便宜的に二人の人物29、30が写っている。背景は自然の景色であり、たとえば、遠くに見える山脈31である。ここで、左側の人物29の背丈(ただし、ここでいう背丈とは、画像下端から頭頂部までの長さをいう。)をA、右側の人物30の背丈をBとすると、A>Bの関係にある。つまり、右側の人物30の背丈が低い。したがって、修正前の画像28では、身長差がある二人の人物29、30が写っているので、顔の位置が上下にずれた構図的にバランスの悪いものになっているといえる。   FIG. 4 is a conceptual diagram of height correction. As shown in (a), in the image 28 before correction, two persons 29 and 30 are shown for convenience. The background is a natural scenery, for example, a mountain range 31 that is visible in the distance. Here, assuming that the height of the left person 29 (here, the height is the length from the lower end of the image to the top of the head) is A, and the height of the right person 30 is B, A> B. There is a relationship. That is, the height of the right person 30 is low. Therefore, in the image 28 before correction, two persons 29 and 30 having a height difference are shown, and it can be said that the face position is shifted up and down and the composition is unbalanced.

身長の修正は、前記のとおり、背丈の低い方の人物30に対して行われる。つまり、(b)に示すように、人物30の画像領域を抽出し、抽出した人物30の背丈Bを、このBよりも大きいA´に伸ばした人物30´の画像を生成する。したがって、この場合の修正量はBとA´の差に相当する。ここで、A´は、左側の人物29の背丈Aと同一であることが好ましいが、実用上は、見た目の身長差が少なくなればよいのであるから、A´をAに近づけるだけでよい。この(b)において、ハッチングで示す人物30´は、背丈をA´に伸ばした画像を生成した後のものである。   As described above, the height is corrected for the person 30 having a shorter height. That is, as shown in (b), the image area of the person 30 is extracted, and an image of the person 30 'is generated by extending the extracted person 30's height B to A' larger than B. Therefore, the correction amount in this case corresponds to the difference between B and A ′. Here, A ′ is preferably the same as the height A of the left person 29. However, in practice, it is only necessary to reduce the difference in the height of the appearance, so it is only necessary to bring A ′ closer to A. In this (b), the person 30 'indicated by hatching is the one after generating an image in which the height is extended to A'.

そして、最後に、上記の生成した人物30´の画像を元の画像28に合成することにより、(c)に示すように、身長差を少なくした(望ましくは身長を揃えた)修正画像32を得る。   Finally, by combining the generated image of the person 30 'with the original image 28, as shown in (c), a corrected image 32 with a reduced height difference (preferably with the same height) is obtained. obtain.

この修正画像32の左側の人物33は、修正前の画像28の人物29と同一であるが、右側の人物34は、背丈をA´に伸ばして生成した人物30´の画像であるから、被写体をしゃがませたり背伸びさせたりといった手間をかけることなく、簡単に、複数の人物撮影の構図修正を行うことができる。   The person 33 on the left side of the corrected image 32 is the same as the person 29 of the image 28 before correction, but the person 34 on the right side is an image of a person 30 ′ generated by extending the height to A ′. It is possible to easily correct the composition of a plurality of persons without taking the trouble of squatting or stretching the back.

なお、以上の説明では、身長の修正に際し、人物30の背丈Bを人物29の背丈Aにほぼ相当するA´にしている。このBからA´への修正を行うための方法としては、たとえば、人物30の画像下端部から頭頂部までの上下方向(天地方向)の寸法を単純に伸ばすことが考えられる。この単純な方法は、BからA´への修正量が少ない場合に用いることができる。BからA´への修正量が少なければ、人物30の上下方向(天地方向)の寸法を伸ばしても見た目に大きな変化を感じないからである。   In the above description, the height B of the person 30 is set to A ′ substantially corresponding to the height A of the person 29 when the height is corrected. As a method for performing the correction from B to A ′, for example, it is conceivable to simply extend the dimension of the person 30 in the vertical direction (vertical direction) from the lower end of the image to the top of the head. This simple method can be used when the amount of correction from B to A ′ is small. This is because, if the amount of correction from B to A ′ is small, even if the dimension of the person 30 in the vertical direction (vertical direction) is extended, a large change in appearance is not felt.

図5は、BからA´への修正量が多い場合に好適な身長修正の概念図である。(a)に示すように、修正対象の人物30の背丈はBであり、このBのうち顔30aの高さ寸法をCとし、残りの首から下の胴体部分30bの寸法をDとする。   FIG. 5 is a conceptual diagram of height correction that is suitable when the amount of correction from B to A ′ is large. As shown in (a), the height of the person 30 to be corrected is B, of which the height of the face 30a is C, and the body part 30b below the remaining neck is D.

一般的に人物画像の変形に伴う違和感は顔30aの部分に顕著に表れ、胴体部分30bの変形は相当大きな変形でない限りあまり目立たないから、とりわけ、BからA´への修正量が多い場合においては、(b)に示すように、胴体部分30bの寸法Dを上下方向(天地方向)に伸ばしてD´とすることが望ましい。ここで、「D´=A´−C」である。   In general, the sense of incongruity associated with the deformation of the person image appears prominently in the face 30a, and the deformation of the body portion 30b is not so noticeable unless it is a considerably large deformation, and particularly when the amount of correction from B to A 'is large. As shown in (b), it is desirable to extend the dimension D of the body portion 30b in the vertical direction (vertical direction) to D ′. Here, “D ′ = A′−C”.

このようにすれば、顔30aの部分の寸法Cが変わらないので、BからA´への修正量が多い場合であっても見た目に違和感のない修正を行うことができる。   In this way, since the dimension C of the face 30a does not change, even if the amount of correction from B to A ′ is large, it is possible to perform a correction that does not seem strange to the eye.

なお、この例では、修正前と後の顔の寸法を共に同一のCとしているが、つまり、顔の寸法Cに一切手を加えていないが、これに限らず、胴体部分30bの寸法Dの修正と一緒に顔の寸法Cを適量修正してもよい。この場合、顔の修正量を胴体部分の修正量よりも少なくして、顔の変形を目立たせないようにする必要がある。すなわち、修正対象の人物の顔の部分を少なく変形させるとともに、顔以外の部分を大きく変形させるようにしてもよい。このようにしても、当該人物の身長を伸ばして人物間の身長差を少なくすることができる。顔の部分をどの程度修正すべきかは、顔の変形に伴う違和感を生じない適切な値を適宜に決定すればよい。   In this example, the face dimensions before and after the correction are both set to the same C, that is, the face dimensions C are not modified at all. However, the present invention is not limited to this. An appropriate amount of the face dimension C may be corrected together with the correction. In this case, it is necessary to make the face correction amount less conspicuous by making the face correction amount smaller than the body portion correction amount. That is, the face portion of the person to be corrected may be deformed to a small extent and the portion other than the face may be greatly deformed. Even in this case, the height of the person can be increased to reduce the height difference between the persons. To what extent the face portion should be corrected, an appropriate value that does not cause discomfort associated with the deformation of the face may be determined as appropriate.

図6は、図3の撮影動作フローの一部を変更した図である。この図において、変更箇所は破線で囲んだ部分であり、具体的には、検出した人物の身長の差が“所定値以上”か否かを判定する部分(ステップS11)と、一番身長の高い人物との差が大きい人物を選択する部分(ステップS12)とを含む点にある。   FIG. 6 is a diagram in which a part of the shooting operation flow of FIG. 3 is changed. In this figure, the changed part is a part surrounded by a broken line. Specifically, a part for determining whether or not the difference in height of the detected person is “predetermined value” or more (step S11), and the highest height. And a portion (step S12) for selecting a person having a large difference from a high person.

検出した人物の身長の差が所定値以上とは、たとえば、三人以上の人物撮影において、最も身長の高い人物との身長差が所定値以上あることをいう。また、一番身長の高い人物との差が大きい人物とは、同じく三人以上の人物撮影において、最も身長の高い人物との身長差が所定値以上あると判定された人物(たとえば、図7の人物107参照)のことをいい、この場合、最も身長の高い人物との身長差が所定値以上ある人物であれば複数の人物であってもよい。   The difference in height of the detected person is greater than or equal to a predetermined value means that, for example, in photographing three or more persons, the height difference from the tallest person is greater than or equal to a predetermined value. Further, the person having the largest difference from the tallest person is a person who has been determined that the height difference from the tallest person is greater than or equal to a predetermined value in the case of photographing three or more persons (for example, FIG. 7 In this case, a plurality of persons may be used as long as the height difference from the tallest person is a predetermined value or more.

したがって、この変更フローでは、最も身長の高い人物との身長差が所定値以上ある人物の身長を適量修正して身長差を少なくした(望ましくは身長を揃えた)修正画像を得ることができるので、多人数の被写体に適用できる。   Therefore, in this change flow, it is possible to obtain a corrected image in which the height difference of the person whose height difference from the tallest person is equal to or greater than a predetermined value is corrected to reduce the height difference (preferably the height is aligned). It can be applied to a large number of subjects.

なお、以上の説明では、身長の低い人物の身長を適量修正して身長差を少なくした(望ましくは身長を揃えた)修正画像を得るようにしたが、修正するのは身長の低い人物でなくてもよく、ある人物の身長が高くなるように修正するようにしてもよい。この場合、予め身長を高くしたい人物の画像を登録しておき、登録した人物が画像に含まれている場合に、その人物の身長が高くなるように修正する方法が考えられる。これにより、自分の身長に悩みを感じている人物に対しても有効である。
また、身長の最も高い人物に合わせて、他の人物全員の身長を適量修正して身長差を少なくした(望ましくは身長を揃えた)修正画像を得るようにしてもよい。
In the above description, a corrected image is obtained by correcting the height of a person with a short height to reduce the height difference (preferably with the same height), but it is not for a person with a short height. Alternatively, it may be corrected so that the height of a certain person increases. In this case, a method may be considered in which an image of a person whose height is desired is registered in advance, and when the registered person is included in the image, the person's height is corrected. This is also effective for a person who is worried about his height.
Further, in accordance with the person with the highest height, the height of all other persons may be corrected by an appropriate amount to obtain a corrected image in which the difference in height is reduced (preferably, the height is aligned).

また、撮影画像22から人物領域の画像を抽出し、抽出した人物領域を伸ばした画像を生成し、生成した画像を元の撮影画像22に合成することで、身長を修正した修正画像を生成したが、修正画像を生成する方法は、これに限定されず、抽出した人物領域を拡大して元の撮影画像22に合成する等、身長を修正できる方法であれば、いかなる方法であってもよい。   Further, an image of a person area is extracted from the photographed image 22, an image obtained by extending the extracted person area is generated, and the corrected image with a corrected height is generated by combining the generated image with the original photographed image 22. However, the method for generating the corrected image is not limited to this, and any method may be used as long as the method can correct the height, such as enlarging the extracted person region and combining it with the original captured image 22. .

また、以上の説明における“身長”は、実際の人物の身長である必要は無く、撮影画像22内における人物の“上側への高さ”であってもよい。つまり、一般的に人物撮影では立ち姿の人物を対象にするから、“上側への高さ”は、天地の“天側への高さ”を意味し、“身長”は“天側への高さ”であってもよい。これにより、段差や傾斜がある場所で撮影したことによって、実際の身長に関わらず、撮影画像22内の複数の人物の“天側への高さ”に差がついてしまった場合でも、適宜修正することが可能である。   Further, the “height” in the above description does not have to be the actual height of the person, but may be the “upward height” of the person in the captured image 22. In other words, in general, when shooting a person, standing people are considered, so “upward height” means “height to the heaven” and “height” means “height to the heaven”. May be "". As a result, even if there is a difference in the “height to the top” of multiple persons in the captured image 22 regardless of the actual height due to shooting at a place with a step or inclination, correct as appropriate. Is possible.

また、夜景などをバックに撮影する場合においては、ストロボを発光させることにより、人物を明るく照らすことで人物領域を検出しやすくするようにしてもよい。   When shooting a night scene or the like in the background, the person area may be easily detected by illuminating the person brightly by emitting a strobe light.

また、以上の説明では、デジタルカメラ1への適用を例にしたが、これに限定されない。人物の撮影を行うことができる撮像装置であればよく、たとえば、カメラ付き携帯電話機や携帯情報端末などであってもよい。あるいは、撮像装置以外の画像処理装置、たとえば、パーソナルコンピュータやプリンタなどであってもよい。特にプリンタにあっては、メモリカード等の記録媒体をセットすることにより、その記録媒体内の画像を選択して印刷できるものが実用化されているので、その印刷に際して前記の身長差問題を解決することができれば、より商品価値の高いプリンタとすることができるから望ましい。   In the above description, application to the digital camera 1 is taken as an example, but the present invention is not limited to this. Any imaging device capable of photographing a person may be used, and for example, a mobile phone with a camera or a portable information terminal may be used. Alternatively, an image processing apparatus other than the imaging apparatus, such as a personal computer or a printer, may be used. In particular, printers have been put into practical use that can select and print an image in a recording medium by setting a recording medium such as a memory card. If possible, it is desirable because a printer with higher commercial value can be obtained.

デジタルカメラの概念構成図である。It is a conceptual block diagram of a digital camera. 本実施形態の特徴的事項を示す概念的な構成図である。It is a notional block diagram which shows the characteristic matter of this embodiment. 本実施形態の撮影動作フローを示す図である。It is a figure which shows the imaging | photography operation | movement flow of this embodiment. 身長修正の概念図である。It is a conceptual diagram of height correction. 修正量が多い場合に好適な身長修正の概念図である。It is a conceptual diagram of the height correction suitable when the amount of correction is large. 図3の撮影動作フローの一部を変更した図である。FIG. 4 is a diagram in which a part of the shooting operation flow of FIG. 3 is changed. バストショット撮影画像を示す図である。It is a figure which shows a bust shot image.

符号の説明Explanation of symbols

1 デジタルカメラ
4 撮像部
14 記憶部
18 制御部
18a CPU
1 Digital Camera 4 Imaging Unit 14 Storage Unit 18 Control Unit 18a CPU

Claims (12)

画像から人物領域を検出する検出手段と、
前記検出手段によって検出された人物領域が複数か否かを判定する第1の判定手段と、
前記第1の判定手段によって複数と判定された場合に、これら複数の人物領域のうち所定の条件を満たした人物の人物領域を選択する選択手段と、
この選択手段によって選択された人物領域について前記画像中における高さを伸ばすように修正した画像を生成する生成手段と
を備えたこと特徴とする画像生成装置。
Detecting means for detecting a person region from an image;
First determination means for determining whether or not there are a plurality of person areas detected by the detection means;
A selection unit that selects a person area of a person that satisfies a predetermined condition from the plurality of person areas when the first determination unit determines that the plurality of person areas;
Image generating apparatus according to claim further comprising: a generating means for generating a modified image as the person area selected by the selecting means extending the height in the said image.
前記生成手段は、前記選択された人物領域の人物の顔以外の部分を変形させることによって、前記人物領域について前記高さを伸ばすように修正した画像を生成することを特徴とする請求項1に記載の画像生成装置。 It said generating means, by deforming the portion other than the face of the person of the selected human region, to claim 1, characterized in that to generate a corrected image to stretch the height for the person area The image generating apparatus described. 前記生成手段は、前記選択された人物領域の人物の顔部分を変形させることによって、前記人物領域について前記高さを伸ばすように修正した画像を生成することを特徴とする請求項1に記載の画像生成装置。 The said generation means produces | generates the image corrected so that the said height might be extended about the said person area by changing the face part of the person of the said selected person area. Image generation device. 前記第1の判定手段によって複数検出されたと判定された場合に、これらの人物領域に含まれる人物の前記高さの差が所定の範囲内であるか否を判定する第2の判定手段を更に備え、
前記選択手段は、前記第2の判定手段によって前記高さの差が所定の範囲内であると判定された場合に、前記検出された複数の人物のうち、所定の条件を満たした人物の人物領域を選択することを特徴とする請求項1から3の何れかに記載の画像生成装置。
If it is determined that a plurality of detected by said first determination means, the difference in the height of the person included in these human region further the second determination means for determining whether it is within a predetermined range Prepared,
The selecting means is a person who satisfies a predetermined condition among the plurality of detected persons when the second determining means determines that the height difference is within a predetermined range. 4. The image generation apparatus according to claim 1, wherein an area is selected.
前記第1の判定手段によって複数検出されたと判定された場合に、これらの人物領域に含まれる人物のうち、前記画像中における高さの最も高い人物と他の人物との高さの差が所定値以上であるか否を判定する第3の判定手段を更に備え、
前記選択手段は、前記第3の判定手段によって所定値以上であると判定された場合に、前記検出された複数の人物のうち、所定の条件を満たした人物の人物領域を選択することを特徴とする請求項1から3の何れかに記載の画像生成装置。
When it is determined by the first determination means that a plurality of objects are detected, a difference in height between a person having the highest height in the image and another person among the persons included in these person regions is predetermined. A third determination means for determining whether or not the value is greater than or equal to the value;
The selection unit selects a person region of a person that satisfies a predetermined condition from the plurality of detected persons when the third determination unit determines that the value is equal to or greater than a predetermined value. The image generation apparatus according to claim 1.
修正対象の人物の画像を登録する登録手段と、
前記検出手段によって検出された人物領域に、前記登録手段によって登録された人物の画像が含まれるか否かを判定する第4の判定手段と、
を更に備え、
前記選択手段は、前記第4の判定手段によって登録された人物が含まれると判定された場合に、前記登録された人物の人物領域を選択することを特徴とする請求項1から3の何れかに記載の画像生成装置。
A registration means for registering an image of a person to be corrected;
Fourth determination means for determining whether or not the person area detected by the registration means is included in the person area detected by the detection means;
Further comprising
4. The method according to claim 1, wherein the selection unit selects a person area of the registered person when it is determined that the registered person is included by the fourth determination unit. 5. The image generating apparatus described in 1.
前記所定の条件を満たした人物とは、前記検出された複数の人物のうち、前記画像内において、前記画像中における高さが最も低い人物であることを特徴とする請求項1から4の何れかに記載の画像生成装置。 5. The person satisfying the predetermined condition is a person having the lowest height in the image in the image among the plurality of detected persons. An image generating apparatus according to claim 1. 前記所定の条件を満たした人物とは、前記検出された複数の人物のうち、前記画像内において、前記画像中における高さが最も高い人物以外の人物であることを特徴とする請求項1から4の何れかに記載の画像生成装置。 2. The person satisfying the predetermined condition is a person other than the person with the highest height in the image in the image among the plurality of detected persons. 5. The image generating device according to any one of 4 above. 前記所定の条件を満たした人物とは、前記検出された複数の人物のうち、前記第3の判定手段によって前記高さの差が所定値以上であると判定された人物であることを特徴とする請求項5に記載の画像生成装置。   The person satisfying the predetermined condition is a person whose height difference is determined to be greater than or equal to a predetermined value by the third determination unit among the plurality of detected persons. The image generation apparatus according to claim 5. 撮像して画像を取得する撮像手段を備え、
前記複数の人物が写った画像を撮像する撮像手段を更に備えたことを特徴とする請求項1〜9の何れかに記載の画像生成装置。
An imaging unit that captures an image by capturing an image
The image generation apparatus according to claim 1, further comprising an imaging unit that captures an image of the plurality of persons.
画像から人物領域を検出する検出ステップと、
この検出ステップによって複数の人物が検出されたか否かを判定する判定ステップと、
この判定ステップによって複数の人物が検出されたと判定された場合に、検出された人物のうち所定の条件を満たした人物の人物領域を選択する選択ステップと、
この選択された人物領域の前記画像中における高さを伸ばした修正画像を生成する生成手段と
を含むこと特徴とする画像生成方法。
A detection step of detecting a person region from the image;
A determination step for determining whether or not a plurality of persons are detected by the detection step;
A selection step of selecting a person area of a person who satisfies a predetermined condition among the detected persons when it is determined that a plurality of persons are detected by the determination step;
An image generating method comprising: generating means for generating a corrected image in which the height of the selected person region in the image is increased.
画像生成装置が備えるコンピュータに、
画像から人物領域を検出する検出手段と、
前記検出手段によって複数の人物が検出されたか否かを判定する第1の判定手段と、
前記第1の判定手段によって複数の人物が検出されたと判定された場合に、前記検出された人物のうち所定の条件を満たした人物の人物領域を選択する選択手段と、
前記選択された人物領域の前記画像中における高さを伸ばした修正画像を生成する生成手段と
しての機能を実現させるためのプログラム。
In the computer provided in the image generation device,
Detecting means for detecting a person region from an image;
First determination means for determining whether or not a plurality of persons are detected by the detection means;
A selection unit that selects a person area of a person that satisfies a predetermined condition among the detected persons when it is determined that a plurality of persons are detected by the first determination unit;
A program for realizing a function as a generation unit that generates a modified image in which the height of the selected person region in the image is increased.
JP2008280798A 2008-10-31 2008-10-31 Image generating apparatus, image generating method, and program Expired - Fee Related JP5158438B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008280798A JP5158438B2 (en) 2008-10-31 2008-10-31 Image generating apparatus, image generating method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008280798A JP5158438B2 (en) 2008-10-31 2008-10-31 Image generating apparatus, image generating method, and program

Publications (3)

Publication Number Publication Date
JP2010109793A JP2010109793A (en) 2010-05-13
JP2010109793A5 JP2010109793A5 (en) 2011-12-08
JP5158438B2 true JP5158438B2 (en) 2013-03-06

Family

ID=42298770

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008280798A Expired - Fee Related JP5158438B2 (en) 2008-10-31 2008-10-31 Image generating apparatus, image generating method, and program

Country Status (1)

Country Link
JP (1) JP5158438B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6212878B2 (en) * 2013-02-21 2017-10-18 株式会社リコー Image processing apparatus, image processing system, and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5867282A (en) * 1996-07-29 1999-02-02 Eastman Kodak Company Method of combining two digitally generated images wherein one is customized in view of the other
JP2003101978A (en) * 2001-09-19 2003-04-04 Sharp Corp Image processor
JP2005094741A (en) * 2003-08-14 2005-04-07 Fuji Photo Film Co Ltd Image pickup device and image synthesizing method
JP2006222694A (en) * 2005-02-09 2006-08-24 Yamaha Corp Data processor and program for informing user of standing position

Also Published As

Publication number Publication date
JP2010109793A (en) 2010-05-13

Similar Documents

Publication Publication Date Title
KR101700366B1 (en) Digital photographing apparatus and control method thereof
US20070229695A1 (en) Digital camera
JP2008141740A (en) Apparatus, method and program for photography
JP2006203811A (en) Imaging apparatus and its program
JP2007311861A (en) Photographic apparatus and method
JP2008236645A (en) Photographing device
US20110254951A1 (en) Photographing apparatus
JP5228354B2 (en) Digital camera
JP4645228B2 (en) Imaging apparatus and program
JP2006025311A (en) Imaging apparatus and image acquisition method
JP2010087722A (en) Photographing device, and method for editing moving picture
JP4315341B2 (en) Panning method and photographing apparatus
JP5429588B2 (en) Imaging apparatus and imaging method
JP2008090059A (en) Imaging apparatus and autofocus control method therefor
JP4760496B2 (en) Image data generation apparatus and image data generation method
JP5158438B2 (en) Image generating apparatus, image generating method, and program
JP2010087598A (en) Photographic apparatus, photographic control method and program therefor, image display apparatus, image display method and program therefor, and photographic system, control method therefor and program therefor
JP4975247B2 (en) Electronic camera, electronic camera control method, and program
JP6213470B2 (en) Image processing apparatus, imaging apparatus, and program
JP5029765B2 (en) Image data generation apparatus and image data generation method
JP2005236511A (en) Electronic camera
JP4760497B2 (en) Image data generation apparatus and image data generation method
JP4734207B2 (en) Imaging device
JP5157528B2 (en) Imaging device
JP4897577B2 (en) Imaging device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111020

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111020

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121024

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: 20121115

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121128

R150 Certificate of patent or registration of utility model

Ref document number: 5158438

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151221

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees