JP6047919B2 - Image processing apparatus, image processing method, and program - Google Patents

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

Info

Publication number
JP6047919B2
JP6047919B2 JP2012107511A JP2012107511A JP6047919B2 JP 6047919 B2 JP6047919 B2 JP 6047919B2 JP 2012107511 A JP2012107511 A JP 2012107511A JP 2012107511 A JP2012107511 A JP 2012107511A JP 6047919 B2 JP6047919 B2 JP 6047919B2
Authority
JP
Japan
Prior art keywords
image
distance
unit
processing apparatus
image processing
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
JP2012107511A
Other languages
Japanese (ja)
Other versions
JP2013236252A (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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2012107511A priority Critical patent/JP6047919B2/en
Publication of JP2013236252A publication Critical patent/JP2013236252A/en
Application granted granted Critical
Publication of JP6047919B2 publication Critical patent/JP6047919B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は画像処理装置画像処理方法及びプログラムに関する。 The present invention relates to an image processing apparatus , an image processing method, and a program.

近年、携帯端末装置(携帯電話装置、スマートフォン、タブレット端末、カメラ付パーソナルコンピュータ等)においては、撮影機能を有する画像処理装置による画像処理が行われる。特に、ディスプレイ装置の表示画面の少なくとも1つがカメラと同じ向きに設置されているタイプの装置の場合、カメラで撮影した画像の左右を反転して該表示画面に表示する画像処理方法が一般的に行われている。この画像処理方法は、撮影対象が本人自身であり、かつ本人が撮影した画像を見る場合を想定したものであり、画像の左右を反転し、鏡を使った場合と同じ画像とすることで、撮影者にとって違和感の無い見慣れた画像とするためである。   In recent years, image processing by an image processing apparatus having a photographing function is performed in a mobile terminal device (a mobile phone device, a smartphone, a tablet terminal, a personal computer with a camera, or the like). In particular, in the case of an apparatus of a type in which at least one of the display screens of the display device is installed in the same direction as the camera, an image processing method that inverts the left and right of the image captured by the camera and displays the image on the display screen is generally Has been done. This image processing method assumes that the subject is the person himself / herself and sees the image taken by the person himself / herself, by inverting the left and right of the image and making it the same image as when using a mirror, This is to obtain a familiar image with no sense of incongruity for the photographer.

この分野の公知例技術として、例えば特許文献1には、撮影対象を撮影するレンズと撮像素子を含むカメラを搭載した携帯端末装置が開示されている。即ち、携帯端末で相手を撮影するときに相手側から見える第1の画面に鏡に写ったように画像を表示あるいは撮影状態を表すステータスを表示すると共に、撮影者から見える第2の画面に画像を表示するものである。また、撮影時に被撮影者が撮影される画像や撮影状態の確認を可能にしている。具体的な構造としては、レンズを設けた側と同じ側に設けた第1の画面と、レンズを設けた側と異なる側に設けた第2の画面と、被撮影対象にレンズを向けて撮影した画像を第1の画面および第2の画面に表示する手段を備える、ものとしている。   As a well-known example technique in this field, for example, Patent Document 1 discloses a portable terminal device equipped with a camera that includes a lens that captures a subject to be imaged and an image sensor. In other words, when the other party is photographed with the mobile terminal, an image is displayed on the first screen seen from the other party or a status representing the photographing state is displayed as if it was reflected in the mirror, and the image is displayed on the second screen seen by the photographer. Is displayed. In addition, it is possible to check an image taken by the subject at the time of shooting and a shooting state. Specifically, the first screen provided on the same side as the lens is provided, the second screen provided on a different side from the lens provided, and the lens directed toward the subject It is assumed that there is provided means for displaying the processed image on the first screen and the second screen.

また、例えば特許文献2には、カメラを搭載するデジタルフォトフレームにおいて面倒な操作を必要とせずに記憶されている画像を表示する通常表示モードと撮影した画像を鏡像表示する鏡像表示モードとを切り替える技術が開示されている。具体的には、近接センサにより近接物が感知されなかったときには、内蔵メモリやメモリカードに保存されている画像ファイルを表示パネルに表示する通常表示モードを実行する。しかし、近接センサにより近接物の近接が感知されると共にカメラにより撮影された画像の中から顔認識処理により人物の顔が認識されたときには、撮影された画像を鏡のように左右反転して表示する鏡像表示モードを実行する、ものとしている。   For example, Patent Document 2 switches between a normal display mode for displaying a stored image and a mirror image display mode for displaying a captured image as a mirror image without requiring a troublesome operation in a digital photo frame equipped with a camera. Technology is disclosed. Specifically, when a proximity object is not detected by the proximity sensor, a normal display mode for displaying an image file stored in the built-in memory or the memory card on the display panel is executed. However, when the proximity sensor senses the proximity of a nearby object and the face of the person is recognized by the face recognition process from the image captured by the camera, the captured image is displayed in a mirror-reversed manner like a mirror. The mirror image display mode is executed.

また、例えば特許文献3には、使用者が意識することなく、また煩わしい操作せずに、ディスプレイ等の視認性を確保すると共に、照明の消灯状態を含み継続的な顔の検出動作を不要とし一層の省電力化を実現可能な情報端末の照明制御装置が開示されている。具体的には、正面カメラ部を搭載する情報端末の照明制御装置であって、操作部の操作により一定時間の照明の点灯を開始する。一定時間の満了時に、正面カメラ部の撮像画像に顔画像が検出された場合に一定時間の照明の点灯を再開始して点灯を継続する照明制御を行う、ものとしている。   Further, for example, in Patent Document 3, the visibility of a display or the like is ensured without the user's awareness and troublesome operations, and the continuous face detection operation including the illumination off state is unnecessary. An illumination control device for an information terminal capable of realizing further power saving is disclosed. Specifically, it is an illumination control device for an information terminal equipped with a front camera unit, and lighting of a certain time is started by operation of the operation unit. If a face image is detected in the captured image of the front camera unit at the end of the fixed time, the lighting control for restarting the lighting for a fixed time and continuing the lighting is performed.

さらに、例えば特許文献4には、カメラ付携帯電話機の表示画面をミラー代わりに使用して自身の顔等を観察するときの画像品質を高める技術が開示されている。これは、撮影レンズを通して被写体像を固体撮像素子に入射させ、該被写体像を表す画像信号を得る撮像装置である。具体的な構造としては、被写体に合焦するように撮影レンズの焦点位置を変更する合焦手段と、画像信号に基づく画像を表示する表示画面を備える。また、撮影者自身の顔を含む被写体像を撮影しているときに、撮影者が自らの顔画像を視認できる方向に表示面を向けられる表示画面を備える。さらに、固体撮像素子の撮像領域に対する顔画像の大きさの比が所定閾値以上になったとき、中景または遠景の被写体に合焦させるモードから近景の被写体に合焦させるモードに合焦手段を自動的に切り替える制御部を備える、ものとしている。   Furthermore, for example, Patent Document 4 discloses a technique for improving the image quality when observing a person's own face or the like using a display screen of a camera-equipped mobile phone instead of a mirror. This is an imaging apparatus that obtains an image signal representing a subject image by causing the subject image to enter a solid-state imaging device through a photographing lens. As a specific structure, a focusing unit that changes the focal position of the taking lens so as to focus on the subject, and a display screen that displays an image based on the image signal are provided. In addition, a display screen is provided in which the display surface can be directed in a direction in which the photographer can visually recognize his / her face image when photographing a subject image including the photographer's own face. Further, when the ratio of the size of the face image to the imaging region of the solid-state imaging device is equal to or greater than a predetermined threshold, the focusing means is switched from the mode for focusing on the subject in the middle or the background to the mode for focusing on the subject in the foreground. A control unit that automatically switches is provided.

特許第4005119号公報Japanese Patent No. 400005119 特開2009−204817号公報JP 2009-204817 A 特開2009−252650号公報JP 2009-252650 A 特開2010−161702号公報JP 2010-161702 A

ところで、上記背景技術で述べた従前の画像処理装置にあっては、前述のとおり、携帯端末装置(携帯電話、スマートフォン、タブレット端末、カメラ付パーソナルコンピュータ等)に適用されている。この場合、特に、ディスプレイ装置の表示画面の少なくとも1つが、カメラと同じ向きに設置されているタイプの装置にあっては、前述のとおり、カメラで撮影した画像の左右を反転して該表示画面に表示することが多い。これは、本人自身が撮影対象であり、かつ本人が撮影した画像を見る場合を想定したものであり、鏡を使った場合と同様の画像を表示することで、撮影者が感じる違和感を無くし、見慣れた画像とするためである。   By the way, the conventional image processing apparatus described in the background art is applied to a mobile terminal device (a mobile phone, a smartphone, a tablet terminal, a personal computer with a camera, etc.) as described above. In this case, in particular, in the case where at least one of the display screens of the display device is installed in the same direction as the camera, as described above, the left and right sides of the image captured by the camera are reversed and the display screen is displayed. It is often displayed on. This assumes that the person himself / herself is the subject of shooting and sees the image taken by the person himself / herself, and by displaying the same image as when using a mirror, the sense of incongruity felt by the photographer is eliminated, This is to obtain a familiar image.

しかしながら、上記の画像処理方法では、撮影画像の鏡像のみを固定的に表示するため、文字が判別不能となるといった問題点が有った。また、人物の顔を検出した場合、誰が撮影画像を確認するかを検証しないで、一方的に左右を反転するため、撮影対象の人物以外に対しては違和感を与えるといった問題点が有った。即ち、常に鏡像表示とする場合、画像に文字が含まれていると、文字を判読できないという問題が有り、また、撮影者以外の対象物を撮影すると、表示画像と実画像とが異なるので、撮影者が両画像を見比べた場合に違和感を覚えるという問題点が有った。   However, the above image processing method has a problem in that only the mirror image of the captured image is fixedly displayed, so that characters cannot be identified. In addition, when a person's face is detected, there is a problem in that it does not verify who confirms the captured image, and the left and right sides are unilaterally inverted, giving a sense of incongruity to those other than the person to be photographed. . That is, when always displaying a mirror image, there is a problem that the characters cannot be read if the characters are included in the image, and when the object other than the photographer is photographed, the display image and the actual image are different. There was a problem that the photographer felt uncomfortable when comparing both images.

本発明の目的は、上述した課題を解決する画像処理装置画像処理方法及びプログラムを提供することにある。 The objective of this invention is providing the image processing apparatus , the image processing method, and program which solve the subject mentioned above.

上記課題を解決するために、本発明の第1の形態と、画像を表示可能な画像表示部と、画像表示部と同じ向きに設けられた撮像部とを具備する電子機器に組み込まれて画像処理を行う画像処理装置であって、撮像部にて撮像された被写体に対応する画像を生成する画像生成部と、画像生成部が生成した画像から人物の顔を検出する顔検出と、顔検出部が人物の出した場合に、被写体撮像部との間の距離を検出すると共に距離が所定範囲内であるか否かを判定する距離検出と、距離が所定範囲内であると距離検出部が判定した場合に、画像生成部が生成した画像の左右を反転させた鏡像画像を生成する鏡像画像生成部とを備え、距離が所定範囲内であると距離検出部が判定した場合には、鏡像画像生成部が生成した鏡像画像を画像表示部に表示し、距離が所定範囲内ではないと距離検出部が判定した場合には、画像生成部が生成した画像を画像表示部に表示するIn order to solve the above problems, the Ru good to the first aspect of the present invention, incorporated into an electronic device including the image and the image display unit capable of displaying, and an imaging section provided in the same direction as the image display unit An image processing apparatus that performs image processing and an image generation unit that generates an image corresponding to the subject imaged by the imaging unit, and a face detection unit that detects a human face from the image generated by the image generation unit If, when the face detection unit has detected a face, and detects the distance between the object and the imaging unit, and a distance detection unit which distance is determined whether it is within the predetermined range, the distance distance when the distance detection unit is determined to be within a predetermined range, and a mirror image generator for generating a mirror image obtained by inverting the left and right images image generating unit has generated, the distance is within the predetermined range If the detection unit determines, the mirror image generated by the mirror image generation unit It was displayed on the image display unit, the distance when it is determined that the distance detection unit when not within the predetermined range, displays an image by the image generating unit has generated to the image display unit.

本発明の第2の形態と、画像を表示可能な画像表示部と、画像表示部と同じ向きに設けられた撮像部とを具備する電子機器に組み込まれる画像処理装置における画像処理方法であって、撮像部にて撮像された被写体に対応する画像を生成する画像生成段階と、画像生成段階にて生成された画像から人物の顔を検出する顔検出段階と、顔検出段階にて人物の顔が検出された場合に、被写体撮像部との間の距離を検出すると共に距離が所定範囲内であるか否かを判定する距離検出段階と、距離が所定範囲内であると距離検出段階にて判定された場合に、画像生成段階にて生成された画像の左右を反転させた鏡像画像を生成する鏡像画像生成段階とを含み、距離が所定範囲内であると距離検出段階にて判定された場合には、鏡像画像生成段階にて生成された鏡像画像を画像表示部に表示し、距離が所定範囲内ではないと距離検出段階にて判定された場合には、画像生成段階にて生成された画像を画像表示部に表示する When Ru good to a second embodiment of the present invention, an image processing method in an image processing device incorporated in an electronic device including the image and the image display unit capable of displaying, and an imaging section provided in the same direction as the image display unit An image generation stage for generating an image corresponding to the subject imaged by the imaging unit, a face detection stage for detecting a human face from the image generated in the image generation stage, and a face detection stage If the face of a person is detected, and detects the distance between the object and the imaging unit, and a distance detection step of distance to determine whether it is within a predetermined range, when the distance is within a predetermined range A mirror image generation step for generating a mirror image obtained by inverting the left and right of the image generated in the image generation step when determined in the distance detection step, and the distance detection step if the distance is within a predetermined range Mirror image generation if The mirror image generated at the floor is displayed on the image display unit, and if it is determined at the distance detection step that the distance is not within the predetermined range, the image generated at the image generation step is displayed on the image display unit. Display .

本発明の第3の形態と、画像を表示可能な画像表示部と、画像表示部と同じ向きに設けられた撮像部とを具備する電子機器に組み込まれて画像処理を行う画像処理装置としてコンピュータを機能させるプログラムであって、コンピュータを、撮像部にて撮像された被写体に対応する画像を生成する画像生成部画像生成部が生成した画像から人物の顔を検出する顔検出顔検出部が人物の出した場合に、被写体撮像部との間の距離を検出すると共に距離が所定範囲内であるか否かを判定する距離検出、距離が所定範囲内であると距離検出部が判定した場合に、画像生成部が生成した画像の左右を反転させた鏡像画像を生成する鏡像画像生成部として機能させ、距離が所定範囲内であると距離検出部が判定した場合には、鏡像画像生成部が生成した鏡像画像を画像表示部に表示し、距離が所定範囲内ではないと距離検出部が判定した場合には、画像生成部が生成した画像を画像表示部に表示する When Ru good to a third embodiment of the present invention, image processing performed and an image display unit capable of displaying an image, built into an electronic device including an imaging section provided in the same direction as the image display unit an image processing A program that causes a computer to function as an apparatus, an image generation unit that generates an image corresponding to a subject imaged by an imaging unit , and a face detection unit that detects a human face from an image generated by the image generation unit , when the face detection unit has detected a face, and detects the distance between the object and the imaging unit, a distance detection unit distance is determined whether it is within the predetermined range, the distance is a predetermined range When the distance detection unit determines that the distance is within the range, the image generation unit functions as a mirror image generation unit that generates a mirror image obtained by inverting the left and right of the image. If Display mirror image image image generating unit has generated to the image display unit, the distance when it is determined that not the distance detector is within a predetermined range, displays an image by the image generating unit has generated to the image display unit.

以上説明したように、本発明によれば、画像撮影部に付属するカメラと、画像表示部に付属する少なくとも1つの表示画面とが、同じ向きに設置されているタイプの装置の場合に、撮影者が意識することなく、違和感のない自然な画像表示を行うことができる。   As described above, according to the present invention, in the case of a device of a type in which the camera attached to the image photographing unit and at least one display screen attached to the image display unit are installed in the same direction, photographing is performed. Natural image display without a sense of incongruity can be performed without the user being aware of it.

本発明の実施形態に係る画像処理装置の全体構成を示す構成図である。1 is a configuration diagram illustrating an overall configuration of an image processing apparatus according to an embodiment of the present invention. 本発明の実施形態に係る画像処理装置の画像処理方法のイメージを示す説明図である。It is explanatory drawing which shows the image of the image processing method of the image processing apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る画像処理装置の処理手順を示すフローチャート図である。It is a flowchart figure which shows the process sequence of the image processing apparatus which concerns on embodiment of this invention.

以下、本発明の画像処理装置及び画像処理方法並びにコンピュータプログラムの実施形態について、図面を参照して詳細に説明する。図1は、本発明の実施形態に係る画像処理装置の全体構成を示す構成図である。同図において、本実施形態の画像処理装置は、画像撮影部100、顔検出部110、距離検出部120、鏡像生成部130、及び画像表示部140を、具備する。   Embodiments of an image processing apparatus, an image processing method, and a computer program according to the present invention will be described below in detail with reference to the drawings. FIG. 1 is a configuration diagram showing the overall configuration of an image processing apparatus according to an embodiment of the present invention. In the figure, the image processing apparatus according to the present embodiment includes an image photographing unit 100, a face detection unit 110, a distance detection unit 120, a mirror image generation unit 130, and an image display unit 140.

本実施形態の画像処理装置は、外観図は省略するが、画像表示部140に付属するディスプレイ装置には、画像撮影部100に付属するカメラと同じ向きに設置されている表示画面が、少なくとも1つは存在するタイプの装置であるものとする。また、本実施形態の画像処理装置は、撮影画像データの送信機能を有する携帯端末装置に組み込むことが可能であり、また、撮影画像データの送信機能を有しないデジタル機器にも組み込むことが可能である。ここで、撮影画像データの送信機能を有する携帯端末装置とは、例えば、デジカタルカメラ、携帯電話装置、スマートフォン、タブレット端末、ゲーム機器、カメラ付パーソナルコンピュータ等である。また、撮影画像データの送信機能を有しないデジタル機器とは、例えば、デジタルカメラ、ゲーム機器等である。   Although the external view of the image processing apparatus of this embodiment is omitted, the display device attached to the image display unit 140 has at least one display screen installed in the same orientation as the camera attached to the image photographing unit 100. One shall be an existing type of device. In addition, the image processing apparatus of the present embodiment can be incorporated in a portable terminal device having a transmission function of photographed image data, and can also be incorporated in a digital device that does not have a transmission function of photographed image data. is there. Here, the portable terminal device having a transmission function of photographed image data is, for example, a digital camera, a mobile phone device, a smartphone, a tablet terminal, a game device, a personal computer with a camera, or the like. The digital device that does not have a transmission function of photographed image data is, for example, a digital camera or a game device.

以下、本実施形態の画像処理装置の各構成要素について説明する。画像撮影部100は、画像データを生成可能なデジタルカメラ等の機器である。顔検出部110は、画像撮影手部00で生成した画像データから人物の顔を検出する。顔検出部110は、ハードウェアであっても、ソフトウェアであってもよい。距離検出部120は、撮影対象物とカメラとの間の距離を検出する。距離検出部120は、画像撮影部100が決定した焦点距離を検出する方法で撮影対象物との距離を検出するか、若しくは画像データを分析する方法で撮影対象物との距離を検出するものとする。鏡像生成部130は、画像撮影部100で生成した画像データを左右反転した鏡像を生成する。画像表示部140は、画像データを表示可能なLCD等の機器である。   Hereinafter, each component of the image processing apparatus according to the present embodiment will be described. The image capturing unit 100 is a device such as a digital camera that can generate image data. The face detection unit 110 detects a person's face from the image data generated by the image photographing hand unit 00. The face detection unit 110 may be hardware or software. The distance detection unit 120 detects the distance between the object to be photographed and the camera. The distance detector 120 detects the distance to the object to be photographed by a method for detecting the focal length determined by the image photographing unit 100, or detects the distance to the object to be photographed by a method for analyzing image data. To do. The mirror image generation unit 130 generates a mirror image obtained by horizontally inverting the image data generated by the image photographing unit 100. The image display unit 140 is a device such as an LCD that can display image data.

本実施形態の画像処理装置では、画像撮影部100のカメラと、画像表示部140のディスプレイとが同じ向きに設置されている装置とする。この場合、顔検出部110と、距離検出部120と、鏡像生成部130との連携処理によって表示画像の制御を行うことで、撮影者が意識することなく、違和感のない画像表示を行う。このため、まず、顔検出部110が、撮影した画像データに人物の顔が含まれているかを確認する。次に、距離検出部120が、撮影対象までの距離を確認することで、撮影の対象となった人物と、画像を確認する人物とが同一人物であるか否かを判断する。   In the image processing apparatus according to the present embodiment, the camera of the image capturing unit 100 and the display of the image display unit 140 are installed in the same direction. In this case, the display image is controlled by the cooperation processing of the face detection unit 110, the distance detection unit 120, and the mirror image generation unit 130, so that an image display without a sense of incongruity is performed without the photographer being conscious. For this reason, first, the face detection unit 110 confirms whether the captured image data includes a human face. Next, the distance detection unit 120 confirms the distance to the shooting target, thereby determining whether the person who is the shooting target and the person whose image is to be checked are the same person.

以下、この判断方法を、より具体的に説明する。撮影した画像データで検出した人物の顔と本装置との間の距離が、所定の距離範囲以内であれば、撮影の対象となった人物と、画像を確認する人物とが同一人物であると判断する。撮影した画像データで検出した人物の顔と本装置との間の距離が、所定の距離範囲以内であれば、撮影の対象となった人物と、画像を確認する人物(一般には撮影者)とが同一人物ではないと判断する。これとは逆に、撮影の対象となった人物と、画像を確認する人物とが同一人物であると判断した場合は、鏡像生成部130が、受け取った画像データの左右を反転して鏡像を生成する。撮影の対象となった人物と、画像を確認する人物とが同一人物でないと判断した場合には、受け取った画像データのままとする。   Hereinafter, this determination method will be described more specifically. If the distance between the face of the person detected in the captured image data and the present apparatus is within a predetermined distance range, the person to be imaged and the person who confirms the image are the same person to decide. If the distance between the face of the person detected in the captured image data and the present apparatus is within a predetermined distance range, the person who is the subject of the photographing and the person who confirms the image (generally, the photographer) Are not the same person. On the other hand, when it is determined that the person to be imaged and the person whose image is to be confirmed are the same person, the mirror image generation unit 130 inverts the left and right of the received image data to obtain a mirror image. Generate. If it is determined that the person to be imaged and the person confirming the image are not the same person, the received image data is left as it is.

図2は、本発明の実施形態に係る画像処理装置の画像処理方法のイメージを示す説明図である。同図に示すように、カメラ(画像撮影部100に付属するカメラ)で撮影した撮影対象(ここでは人物)の撮影画像を鏡像生成部130にて反転処理し、ディスプレイ(画像表示部140に付属する表示装置)に表示する。このイメージに限るならば、従前の画像処理方法と同様であり、よって、撮影方法にも実質的な差異は無い。   FIG. 2 is an explanatory diagram showing an image of the image processing method of the image processing apparatus according to the embodiment of the present invention. As shown in the figure, a captured image of a subject to be photographed (here, a person) photographed by a camera (camera attached to the image photographing unit 100) is inverted by a mirror image generating unit 130 and attached to a display (attached to the image display unit 140). Display on the display device). If limited to this image, it is the same as the conventional image processing method, and therefore there is no substantial difference in the photographing method.

図3は、本発明の実施形態に係る画像処理装置の処理手順を示すフローチャート図である。以下、図1,2を参照しながら、図3に示すフローチャートを使用して、本実施形態に係る画像処理装置の処理手順について説明する。(ステップS300):まず、ステップS300では、起動済の画像撮影部100が、撮影対象の画像データを生成し、顔検出部110に送出する。(ステップS301):次に、ステップS301では、顔検出部110が、送出された画像データに含まれる人物の顔を検出する。人物の顔を検出した場合には当該画像データを距離検出部120に送出し、ステップS303に進む。また、人物の顔が検出されない場合には当該画像データを画像表示部140に送出し、ステップS306に移る。   FIG. 3 is a flowchart showing a processing procedure of the image processing apparatus according to the embodiment of the present invention. Hereinafter, the processing procedure of the image processing apparatus according to the present embodiment will be described with reference to FIGS. (Step S300): First, in step S300, the activated image photographing unit 100 generates image data to be photographed and sends it to the face detecting unit 110. (Step S301): Next, in step S301, the face detection unit 110 detects a human face included in the transmitted image data. If a human face is detected, the image data is sent to the distance detector 120, and the process proceeds to step S303. If no human face is detected, the image data is sent to the image display unit 140, and the process proceeds to step S306.

(ステップS303):ステップS303では、距離検出部120が、送出された画像データにおいて、画像撮影部100に付属するカメラと撮影対象物との間の距離を検出する。(ステップS304):ステップS304では、距離検出部120が、検出した距離が、予め設定されたしきい値以下か否かを検証する。検出した距離が、予め設定されたしきい値以下の場合(即ち、撮影の対象となった人物と、画像を確認する人物とが同一人物であると判断される場合)には、当該画像データを鏡像生成部130に送出し、ステップS305に進む。また、検出した距離が、予め設定されたしきい値以下ではない場合には、そのままステップS306に移る。(ステップS305):ステップS305では、鏡像生成部130が、受け取った画像データの左右を反転して鏡像を生成し、画像表示部140に送出する。(ステップS306):ステップS306では、画像表示部140が、受け取った画像データを表示する。   (Step S303): In step S303, the distance detector 120 detects the distance between the camera attached to the image photographing unit 100 and the photographing object in the transmitted image data. (Step S304): In step S304, the distance detection unit 120 verifies whether or not the detected distance is equal to or less than a preset threshold value. When the detected distance is equal to or smaller than a preset threshold value (that is, when it is determined that the person to be imaged and the person confirming the image are the same person), the image data Is sent to the mirror image generation unit 130, and the process proceeds to step S305. If the detected distance is not less than or equal to the preset threshold value, the process proceeds to step S306 as it is. (Step S <b> 305): In step S <b> 305, the mirror image generation unit 130 generates a mirror image by inverting the left and right of the received image data, and sends the mirror image to the image display unit 140. (Step S306): In step S306, the image display unit 140 displays the received image data.

このように、画像撮影部100付属のカメラと、画像表示部140付属の少なくとも1つの表示画面とが同じ向きに設置されているタイプの装置において、顔検出部110と、距離検出部120と、鏡像生成部130との連携処理によって表示画像の制御を行う。これにより、撮影者が意識することなく、違和感のない自然な画像表示を行うことが可能となる効果が有る。即ち、顔検出部110が、撮影した画像データに人物の顔が含まれているかを確認する。また、距離検出部120が、撮影対象までの距離を確認することで、撮影の対象となった人物と、画像を確認する人物(一般には撮影者)とが同一人物であるか否かを判断する。撮影の対象となった人物と、画像を確認する人物とが同一人物である場合は、鏡像生成部130が、受け取った画像データの左右を反転して鏡像を生成する。   As described above, in the type of apparatus in which the camera attached to the image capturing unit 100 and at least one display screen attached to the image display unit 140 are installed in the same orientation, the face detection unit 110, the distance detection unit 120, The display image is controlled by the cooperation processing with the mirror image generation unit 130. Thereby, there is an effect that it is possible to perform natural image display without a sense of incongruity without the photographer being conscious. In other words, the face detection unit 110 confirms whether the captured image data includes a human face. Further, the distance detection unit 120 confirms the distance to the shooting target, thereby determining whether or not the person who is the shooting target and the person who checks the image (generally, the shooting person) are the same person. To do. If the person to be imaged and the person confirming the image are the same person, the mirror image generation unit 130 inverts the left and right of the received image data to generate a mirror image.

なお、本発明に係る画像処理装置の各構成要素の処理の少なくとも一部をコンピュータ制御により実行するものとする。かつ、上記処理を、図3のフローチャートで示した手順によりコンピュータに実行せしめるプログラムは、半導体メモリを始め、CD−ROMや磁気テープなどのコンピュータ読み取り可能な記録媒体に格納して配付してもよい。そして、少なくともマイクロコンピュータ、パーソナルコンピュータ、汎用コンピュータを範疇に含むコンピュータが、上記の記録媒体から上記プログラムを読み出して、実行するものとしてもよい。   Note that at least a part of the processing of each component of the image processing apparatus according to the present invention is executed by computer control. In addition, a program that causes a computer to execute the above processing according to the procedure shown in the flowchart of FIG. 3 may be distributed after being stored in a computer-readable recording medium such as a semiconductor memory, a CD-ROM, or a magnetic tape. . A computer including at least a microcomputer, a personal computer, and a general-purpose computer may read and execute the program from the recording medium.

100 画像撮影部
110 顔検出部
120 距離検出部
130 鏡像生成部
140 画像表示部
DESCRIPTION OF SYMBOLS 100 Image pick-up part 110 Face detection part 120 Distance detection part 130 Mirror image generation part 140 Image display part

Claims (8)

画像を表示可能な画像表示部と、前記画像表示部と同じ向きに設けられた撮像部とを具備する電子機器に組み込まれて画像処理を行う画像処理装置であって、
前記撮像部にて撮像された被写体に対応する画像を生成する画像生成部と、
前記画像生成部が生成した画像から人物の顔を検出する顔検出と、
前記顔検出部が人物の出した場合に、前記被写体と前記撮像部との間の距離を検出すると共に、前記距離が所定範囲内であるか否かを判定する距離検出と、
前記距離が所定範囲内であると前記距離検出部が判定した場合に前記画像生成部が生成した画像の左右を反転させた鏡像画像を生成する鏡像画像生成部
備え、
前記距離が所定範囲内であると前記距離検出部が判定した場合には、前記鏡像画像生成部が生成した鏡像画像を前記画像表示部に表示し、前記距離が所定範囲内ではないと前記距離検出部が判定した場合には、前記画像生成部が生成した画像を前記画像表示部に表示する
ことを特徴とする画像処理装置。
An image processing apparatus that performs image processing by being incorporated in an electronic device including an image display unit capable of displaying an image and an imaging unit provided in the same direction as the image display unit,
An image generation unit that generates an image corresponding to the subject imaged by the imaging unit ;
A face detection unit for detecting a human face from the image generated by the image generation unit ;
When the face detection unit has detected a face, and detects the distance between the object and the imaging unit, and a distance detection unit that the distance is determined whether it is within the predetermined range,
When the distance is determined said distance detector to be within a predetermined range, and a mirror image generator for generating a mirror image obtained by inverting the left and right images by the image generating unit has generated,
When the distance detection unit determines that the distance is within a predetermined range, the mirror image generated by the mirror image generation unit is displayed on the image display unit, and the distance is not within the predetermined range. When the detection unit determines, the image generated by the image generation unit is displayed on the image display unit.
An image processing apparatus.
前記距離検出は、前記画像生成部が決定した焦点距離により前記距離を検出する
ことを特徴とする請求項1に記載の画像処理装置。
The distance detection unit detects the distance based on a focal length determined by the image generation unit.
The image processing apparatus according to claim 1.
前記距離検出は、前記画像生成部が生成した画像を分析することにより前記距離を検出する
ことを特徴とする請求項1に記載の画像処理装置。
The distance detection unit detects the distance by analyzing an image generated by the image generation unit.
The image processing apparatus according to claim 1.
前記顔検出部が人物の顔を検出した場合には、前記鏡像画像生成部が生成した鏡像画像を前記画像表示部に表示し、前記顔検出部が人物の顔を検出しなかった場合には、前記画像生成部が生成した画像を前記画像表示部に表示するWhen the face detection unit detects a person's face, the mirror image generated by the mirror image generation unit is displayed on the image display unit, and when the face detection unit does not detect a person's face The image generated by the image generation unit is displayed on the image display unit.
ことを特徴とする請求項1から3のいずれか一項に記載の画像処理装置。The image processing apparatus according to claim 1, wherein the image processing apparatus is an image processing apparatus.
前記電子機器として画像の送信機能を有する携帯端末装置に組み込まれる
ことを特徴とする請求項1から4のいずれか一項に記載の画像処理装置。
Built in a portable terminal device having an image transmission function as the electronic device
The image processing apparatus according to claim 1, wherein the image processing apparatus is an image processing apparatus.
前記電子機器として画像の送信機能を有しないデジタル機器に組み込まれる
ことを特徴とする請求項1から4のいずれか一項に記載の画像処理装置。
The electronic device is incorporated in a digital device that does not have an image transmission function.
The image processing apparatus according to claim 1, wherein the image processing apparatus is an image processing apparatus.
画像を表示可能な画像表示部と、前記画像表示部と同じ向きに設けられた撮像部とを具備する電子機器に組み込まれる画像処理装置における画像処理方法であって、
前記撮像部にて撮像された被写体に対応する画像を生成する画像生成段階と、
前記画像生成段階にて生成された画像から人物の顔を検出する顔検出段階と、
前記顔検出段階にて人物の顔が検出された場合に、前記被写体と前記撮像部との間の距離を検出すると共に、前記距離が所定範囲内であるか否かを判定する距離検出段階と、
前記距離が所定範囲内であると前記距離検出段階にて判定された場合に前記画像生成段階にて生成された画像の左右を反転させた鏡像画像を生成する鏡像画像生成段階
含み、
前記距離が所定範囲内であると前記距離検出段階にて判定された場合には、前記鏡像画像生成段階にて生成された鏡像画像を前記画像表示部に表示し、前記距離が所定範囲内ではないと前記距離検出段階にて判定された場合には、前記画像生成段階にて生成された画像を前記画像表示部に表示する
ことを特徴とする画像処理方法。
An image processing method in an image processing apparatus incorporated in an electronic apparatus comprising an image display unit capable of displaying an image and an imaging unit provided in the same direction as the image display unit,
An image generation step of generating an image corresponding to the subject imaged by the imaging unit ;
A face detection step of detecting a human face from the image generated in the image generation step ;
If the face of a person in the face detecting step is detected, it detects the distance between the object and the imaging unit, and a distance detection step of said distance to determine whether it is within a predetermined range ,
When the distance is determined by the distance detecting step to be within a predetermined range, and a mirror image generating step of generating a mirror image obtained by inverting the left and right image generated by the image generation step,
When it is determined in the distance detection step that the distance is within a predetermined range, the mirror image generated in the mirror image generation step is displayed on the image display unit, and the distance is within the predetermined range. If it is determined in the distance detection step, the image generated in the image generation step is displayed on the image display unit.
An image processing method.
画像を表示可能な画像表示部と、前記画像表示部と同じ向きに設けられた撮像部とを具備する電子機器に組み込まれて画像処理を行う画像処理装置としてコンピュータを機能させるプログラムであって、
前記コンピュータを、
前記撮像部にて撮像された被写体に対応する画像を生成する画像生成部
前記画像生成部が生成した画像から人物の顔を検出する顔検出
前記顔検出部が人物の出した場合に、前記被写体と前記撮像部との間の距離を検出すると共に、前記距離が所定範囲内であるか否かを判定する距離検出
前記距離が所定範囲内であると前記距離検出部が判定した場合に前記画像生成部が生成した画像の左右を反転させた鏡像画像を生成する鏡像画像生成部
として機能させ、
前記距離が所定範囲内であると前記距離検出部が判定した場合には、前記鏡像画像生成部が生成した鏡像画像を前記画像表示部に表示し、前記距離が所定範囲内ではないと前記距離検出部が判定した場合には、前記画像生成部が生成した画像を前記画像表示部に表示する
ことを特徴とするプログラム。
A program that causes a computer to function as an image processing apparatus that performs image processing by being incorporated in an electronic device that includes an image display unit capable of displaying an image and an imaging unit provided in the same orientation as the image display unit,
The computer,
An image generation unit that generates an image corresponding to the subject imaged by the imaging unit ;
A face detection unit for detecting a human face from the image generated by the image generation unit ;
When the face detection unit has detected a face, and detects the distance between the object and the imaging unit, a distance detecting unit which the distance is determined whether it is within the predetermined range,
If the distance is the distance detector determines to be within the predetermined range, mirror image generator for generating a mirror image obtained by inverting the left and right images by the image generating unit has generated
Function as
When the distance detection unit determines that the distance is within a predetermined range, the mirror image generated by the mirror image generation unit is displayed on the image display unit, and the distance is not within the predetermined range. When the detection unit determines, the image generated by the image generation unit is displayed on the image display unit.
A program characterized by that .
JP2012107511A 2012-05-09 2012-05-09 Image processing apparatus, image processing method, and program Expired - Fee Related JP6047919B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012107511A JP6047919B2 (en) 2012-05-09 2012-05-09 Image processing apparatus, image processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012107511A JP6047919B2 (en) 2012-05-09 2012-05-09 Image processing apparatus, image processing method, and program

Publications (2)

Publication Number Publication Date
JP2013236252A JP2013236252A (en) 2013-11-21
JP6047919B2 true JP6047919B2 (en) 2016-12-21

Family

ID=49762012

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012107511A Expired - Fee Related JP6047919B2 (en) 2012-05-09 2012-05-09 Image processing apparatus, image processing method, and program

Country Status (1)

Country Link
JP (1) JP6047919B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6444152B2 (en) * 2014-12-05 2018-12-26 株式会社泉精器製作所 Unshaved judgment method, unshaved judgment program, image display program, electric razor, and shaving system
WO2024070741A1 (en) * 2022-09-27 2024-04-04 テルモ株式会社 Information processing method, program, and information processing device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3154529B2 (en) * 1991-10-14 2001-04-09 鐘淵化学工業株式会社 Isobutylene polymer having functional group and method for producing the same
JP2000165718A (en) * 1998-11-30 2000-06-16 Matsushita Electric Ind Co Ltd Electronic image pickup device
JP2005134614A (en) * 2003-10-30 2005-05-26 Nikon Corp Camera equipped with electronic flash apparatus
JP2008053925A (en) * 2006-08-23 2008-03-06 Nikon Corp Photographing apparatus
JP2010081357A (en) * 2008-09-26 2010-04-08 Olympus Corp Image processing apparatus, image processing method, image processing program, and imaging device
JP2010160217A (en) * 2009-01-06 2010-07-22 Nikon Corp Illumination device for photography and imaging device

Also Published As

Publication number Publication date
JP2013236252A (en) 2013-11-21

Similar Documents

Publication Publication Date Title
JP4904243B2 (en) Imaging apparatus and imaging control method
JP4663700B2 (en) Imaging apparatus and imaging method
US20150109517A1 (en) Method and apparatus for focusing on subject in digital image processing device
TW201246119A (en) Face detector, image pickup device, and face detecting method
JP2013070164A (en) Imaging device and imaging method
WO2015107927A1 (en) Image processing device, method, and program
KR20130017629A (en) Apparatus and method for processing image, and computer-readable storage medium
JP6739064B1 (en) Imaging device
JP5322799B2 (en) Imaging apparatus and imaging method
JP4891674B2 (en) camera
JP4586707B2 (en) Image processing apparatus, electronic camera, and image processing program
JP4866317B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
US11610293B2 (en) Image processing apparatus and image processing method
JP5233727B2 (en) Electronic camera
JP2007049631A (en) Imaging apparatus
JP2010081357A (en) Image processing apparatus, image processing method, image processing program, and imaging device
JP6047919B2 (en) Image processing apparatus, image processing method, and program
JP2009088710A (en) Photographic apparatus, photographing method, and photographing program
JP2009081530A (en) Imaging apparatus and imaging method
US9143684B2 (en) Digital photographing apparatus, method of controlling the same, and computer-readable storage medium
US9826141B2 (en) Imaging apparatus
JP2008054031A (en) Digital camera and display control method
JP4973427B2 (en) Camera with projector
JP2012073512A (en) Photographing device and program
JP2009089083A (en) Age estimation photographing device and age estimation photographing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150407

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20150617

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160121

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160308

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160506

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161107

R150 Certificate of patent or registration of utility model

Ref document number: 6047919

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees