JP2015050704A - Portable terminal device, program, and recording medium - Google Patents

Portable terminal device, program, and recording medium Download PDF

Info

Publication number
JP2015050704A
JP2015050704A JP2013182431A JP2013182431A JP2015050704A JP 2015050704 A JP2015050704 A JP 2015050704A JP 2013182431 A JP2013182431 A JP 2013182431A JP 2013182431 A JP2013182431 A JP 2013182431A JP 2015050704 A JP2015050704 A JP 2015050704A
Authority
JP
Japan
Prior art keywords
led
side direction
display surface
terminal device
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2013182431A
Other languages
Japanese (ja)
Inventor
秀輝 重竹
Hideki Shigetake
秀輝 重竹
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2013182431A priority Critical patent/JP2015050704A/en
Publication of JP2015050704A publication Critical patent/JP2015050704A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a portable terminal device that has an imaging function and that can photograph a self-portrait with intended composition in such a case.SOLUTION: A portable terminal device 100 includes: a display monitor 8 which has a display surface for displaying a photographic image based upon image data that a camera device 5 generates; a face detection part 9; and an LED control part 10. The face detection part 9 outputs face image center coordinates of a face image area of the photographic image. The LED control part 10 blinks a first LED (L1) at a period corresponding to the amount of deviation of the face image center coordinate from the reference point coordinate of the display surface in a long-side direction of the display surface, and also blinks a second LED (L2) at a period corresponding to the amount of deviation of the face image center coordinate from the reference point coordinate of the display surface in a short-side direction of the display surface.

Description

本発明は、被写体を撮像する撮像機能を有する携帯端末装置、プログラムおよび記録媒体に関する。   The present invention relates to a portable terminal device having an imaging function for imaging a subject, a program, and a recording medium.

近年、カメラ機能付き携帯電話装置またはデジタルカメラなど、静止画または動画を撮影するための撮像機能を有する携帯端末装置が広く利用されている。   In recent years, mobile terminal devices having an imaging function for capturing still images or moving images, such as mobile phone devices with camera functions or digital cameras, have been widely used.

通常、携帯端末装置は、撮像部による被写体の撮影に先立って、被写体の画像をプレビューするためにその画像を表示画面に表示できるようになっている。撮影者が対峙する被写体に撮像部を向けた状態で、撮影者が表示画面を確認するために、表示部の表示画面とは反対側の面に撮像部が配置されている。したがって、撮影者が自分自身を撮影しようとして撮像部を自分に向けたとき、表示部の表示画面が見えず、プレビューが行えない。   Usually, the mobile terminal device can display the image on the display screen in order to preview the image of the subject prior to photographing of the subject by the imaging unit. In order for the photographer to check the display screen with the image pickup unit facing the subject facing the photographer, the image pickup unit is disposed on the surface of the display unit opposite to the display screen. Therefore, when the photographer tries to photograph himself and points the imaging unit toward himself, the display screen of the display unit cannot be seen and previewing cannot be performed.

このような問題点を解決するための技術として、特許文献1には、フレーム内に検出した被写体の位置を、AF補助光の発光パターンにより撮影者に通知することが可能に構成された撮像装置が開示されている。特許文献1に開示される撮像装置によれば、撮影者は、AF補助光の発光パターンを確認することによって、被写体の位置を知ることができるので、自分自身の自画像を撮影する場合であっても、意図した構図の自画像を撮影することができる。   As a technique for solving such a problem, Patent Document 1 discloses an imaging apparatus configured to notify a photographer of the position of a subject detected in a frame by using a light emission pattern of AF auxiliary light. Is disclosed. According to the imaging device disclosed in Patent Document 1, the photographer can know the position of the subject by confirming the light emission pattern of the AF auxiliary light. It is also possible to take a self-portrait of the intended composition.

また、特許文献2には、筐体の表示部が設けられている側とは反対側の主面、すなわち、筐体の撮像部が設けられている側の主面に、3つの発光素子が配置された電子カメラが開示されている。特許文献2に開示される電子カメラでは、筐体の撮像部が設けられている側の主面において、左端部、中央部および右端部にそれぞれ発光素子が配置されており、被写体の顔がフレームの左側にあれば左端部に配置された発光素子が点灯し、被写体の顔がフレームの中央にあれば中央部に配置された発光素子が点灯し、被写体の顔がフレームの右側にあれば右端部に配置された発光素子が点灯するように制御される。このように構成される特許文献2に開示される電子カメラによれば、撮影者は、筐体の撮像部が設けられている側の主面に配置される3つの発光素子の点灯状態を確認することによって、被写体の位置を知ることができるので、自分自身の自画像を撮影する場合であっても、意図した構図の自画像を撮影することができる。   Further, in Patent Document 2, three light emitting elements are provided on the main surface opposite to the side where the display unit of the housing is provided, that is, the main surface on the side where the imaging unit of the housing is provided. An arranged electronic camera is disclosed. In the electronic camera disclosed in Patent Document 2, light emitting elements are arranged at the left end, the center, and the right end on the main surface of the housing where the imaging unit is provided, and the face of the subject is a frame. If the subject's face is at the center of the frame, the light-emitting element located at the center is lit.If the subject's face is on the right side of the frame, the right end is illuminated. Control is performed so that the light emitting elements arranged in the unit are lit. According to the electronic camera disclosed in Patent Document 2 configured as described above, the photographer confirms the lighting state of the three light emitting elements arranged on the main surface of the housing where the imaging unit is provided. By doing so, the position of the subject can be known, so that even when shooting a self-portrait of the subject, a self-portrait of the intended composition can be taken.

特開2006−184789号公報JP 2006-184789 A 特開2012−124765号公報JP 2012-124765 A

しかしながら、特許文献1に開示される技術では、フレーム内における顔の位置ごとに定められた発光パターンでAF補助光が発光するが、その発光パターンとフレーム内における顔の位置には関係性がなく、単に発光パターンを撮影者が確認しただけでは、フレーム内における顔の位置が、撮影者に直観的に伝わらない。すなわち、特許文献1に開示される技術では、撮影者は、フレーム内における被写体の位置ごとに異なる発光パターンを全て記憶しておく必要がある。   However, in the technique disclosed in Patent Document 1, AF auxiliary light is emitted in a light emission pattern determined for each face position in the frame, but the light emission pattern and the face position in the frame are not related. If the photographer simply confirms the light emission pattern, the position of the face in the frame cannot be transmitted intuitively to the photographer. That is, in the technique disclosed in Patent Document 1, the photographer needs to store all the different light emission patterns for each position of the subject in the frame.

また、特許文献2に開示される技術では、撮影者は、フレーム内における顔の位置が、左、右、中央のいずれの位置にあるのかを確認することができるのみであり、フレーム内における上下方向に関する顔の位置を確認することができない。   In the technique disclosed in Patent Document 2, the photographer can only confirm whether the position of the face in the frame is the left, right, or center position. The position of the face with respect to the direction cannot be confirmed.

本発明の目的は、被写体を撮像する撮像機能を有する携帯端末装置において、自分自身の自画像を撮影する場合に、意図した構図の自画像を撮影することができる携帯端末装置、プログラムおよび記録媒体を提供することである。   An object of the present invention is to provide a mobile terminal device, a program, and a recording medium that can capture a self-portrait of an intended composition when a self-portrait is captured in a mobile terminal device that has an imaging function of capturing a subject. It is to be.

本発明は、
第1主面および該第1主面とは反対側の第2主面を有する筐体と、
前記筐体の前記第1主面に設けられ、被写体を撮像して画像データを生成する撮像部と、
前記筐体の前記第2主面に設けられ、前記画像データに基づく画像を表示する矩形状の表示面を有する表示部と、
前記筐体の前記第1主面における、予め定める第1領域に設けられる第1発光部と、
前記筐体の前記第1主面における、前記第1領域とは異なる第2領域に設けられる第2発光部と、
前記表示面に表示される画像内の、予め定める条件を満たす特定領域を抽出し、該特定領域の中心を算出する特定領域中心算出部と、
前記表示面の長辺方向における、前記表示面の予め定める基準点からの、前記特定領域の中心のずれ量である長辺方向ずれ量を算出する長辺方向ずれ量算出部と、
前記表示面の短辺方向における、前記表示面の予め定める基準点からの、前記特定領域の中心のずれ量である短辺方向ずれ量を算出する短辺方向ずれ量算出部と、
前記第1発光部を前記長辺方向ずれ量に応じた周期で点滅させ、前記第2発光部を前記短辺方向ずれ量に応じた周期で点滅させる発光制御部と、を備えることを特徴とする携帯端末装置である。
The present invention
A housing having a first main surface and a second main surface opposite to the first main surface;
An imaging unit that is provided on the first main surface of the housing and that captures an image of a subject to generate image data;
A display unit provided on the second main surface of the housing and having a rectangular display surface for displaying an image based on the image data;
A first light-emitting portion provided in a first region predetermined in the first main surface of the housing;
A second light emitting unit provided in a second region different from the first region in the first main surface of the housing;
A specific area satisfying a predetermined condition in the image displayed on the display surface, and a specific area center calculating unit for calculating a center of the specific area;
A long side direction deviation amount calculation unit that calculates a long side direction deviation amount that is a deviation amount of the center of the specific region from a predetermined reference point of the display surface in the long side direction of the display surface;
A short side direction deviation amount calculation unit that calculates a short side direction deviation amount that is a deviation amount of the center of the specific region from a predetermined reference point of the display surface in the short side direction of the display surface;
A light emission control unit that causes the first light emitting unit to blink at a cycle according to the long side direction deviation amount, and causes the second light emitting unit to blink at a cycle according to the short side direction deviation amount. Mobile terminal device.

また本発明の携帯端末装置において、前記発光制御部は、
前記長辺方向ずれ量が大きくなるにつれて、前記第1発光部を点滅させる周期を長くし、
前記長辺方向ずれ量が小さくなるにつれて、前記第1発光部を点滅させる周期を短くすることを特徴とする。
In the mobile terminal device of the present invention, the light emission control unit is
As the amount of displacement in the long side direction increases, the cycle of blinking the first light emitting unit is lengthened,
The period of blinking the first light emitting unit is shortened as the displacement in the long side direction decreases.

また本発明の携帯端末装置において、前記発光制御部は、
前記短辺方向ずれ量が大きくなるにつれて、前記第2発光部を点滅させる周期を長くし、
前記短辺方向ずれ量が小さくなるにつれて、前記第2発光部を点滅させる周期を短くすることを特徴とする。
In the mobile terminal device of the present invention, the light emission control unit is
As the amount of deviation in the short side direction increases, the cycle of blinking the second light emitting unit is lengthened,
As the amount of deviation in the short side direction becomes smaller, the cycle of blinking the second light emitting unit is shortened.

また本発明は、コンピュータを、前記携帯端末装置として機能させるためのプログラムである。
また本発明は、前記プログラムを記録したコンピュータ読取可能な記録媒体である。
Moreover, this invention is a program for functioning a computer as the said portable terminal device.
The present invention is also a computer-readable recording medium on which the program is recorded.

本発明によれば、携帯端末装置は、筐体の第1主面に設けられる撮像部と、筐体の第1主面とは反対側の第2主面に設けられる表示部とを備え、撮像部によって生成された画像データを表示部の表示面に表示可能に構成されている。さらに本発明の携帯端末装置は、筐体の第1主面に設けられる第1および第2発光部と、特定領域中心算出部と、長辺方向ずれ量算出部と、短辺方向ずれ量算出部と、第1および第2発光部を制御する発光制御部とを備える。特定領域中心算出部は、撮像部による被写体の撮像に応じて生成された画像データに基づく、表示部の表示面に表示される画像における特定領域を抽出し、該特定領域の中心を算出する。   According to the present invention, the mobile terminal device includes an imaging unit provided on the first main surface of the housing, and a display unit provided on the second main surface opposite to the first main surface of the housing, The image data generated by the imaging unit can be displayed on the display surface of the display unit. Furthermore, the mobile terminal device of the present invention includes first and second light emitting units provided on the first main surface of the housing, a specific area center calculation unit, a long side direction deviation amount calculation unit, and a short side direction deviation amount calculation. And a light emission control unit for controlling the first and second light emitting units. The specific area center calculation unit extracts a specific area in an image displayed on the display surface of the display unit based on image data generated in accordance with imaging of the subject by the imaging unit, and calculates the center of the specific area.

長辺方向ずれ量算出部は、表示部の表示面の長辺方向における、表示面の予め定める基準点に対する前記特定領域の中心の長辺方向ずれ量を算出する。短辺方向ずれ量算出部は、表示部の表示面の短辺方向における、表示面の予め定める基準点に対する前記特定領域の中心の短辺方向ずれ量を算出する。そして、発光制御部は、第1発光部を前記長辺方向ずれ量に応じた周期で点滅させ、第2発光部を前記短辺方向ずれ量に応じた周期で点滅させる。   The long side direction deviation amount calculation unit calculates a long side direction deviation amount of the center of the specific region with respect to a predetermined reference point of the display surface in the long side direction of the display surface of the display unit. The short side direction deviation amount calculation unit calculates a short side direction deviation amount of the center of the specific region with respect to a predetermined reference point of the display surface in the short side direction of the display surface of the display unit. Then, the light emission control unit causes the first light emitting unit to blink at a cycle according to the long side direction deviation amount, and causes the second light emitting unit to blink at a cycle according to the short side direction deviation amount.

上記のように構成された本発明の携帯端末装置では、自分自身の自画像を撮影する場合に、撮影者は、撮像部によって撮像中の被写体に対応した、表示部の表示面に表示された画像における顔などの特定領域の、表示面の長辺方向に関する長辺方向ずれ量を第1発光部の点滅周期で直感的に確認することができ、表示面の短辺方向に関する短辺方向ずれ量を第2発光部の点滅周期で直感的に確認することができる。したがって、自分自身の自画像を撮影する場合に、撮影者は、第1および第2発光部の点滅周期に応じて移動することによって、意図した構図の自画像を撮影することができる。   In the mobile terminal device of the present invention configured as described above, when the user takes a self-portrait, the photographer displays an image displayed on the display surface of the display unit corresponding to the subject being imaged by the imaging unit. The amount of displacement in the long side direction in the long side direction of the display surface of a specific area such as a face in the screen can be intuitively confirmed by the blinking cycle of the first light emitting unit, and the amount of displacement in the short side direction in the short side direction of the display surface Can be intuitively confirmed by the blinking cycle of the second light emitting unit. Therefore, when shooting a self-portrait of the user himself / herself, the photographer can take a self-portrait of the intended composition by moving according to the blinking cycle of the first and second light emitting units.

本発明の第1実施形態に係る携帯端末装置100の構成を示すブロック図である。It is a block diagram which shows the structure of the portable terminal device 100 which concerns on 1st Embodiment of this invention. 携帯端末装置100の外観を示す図である。1 is a diagram illustrating an appearance of a mobile terminal device 100. FIG. 携帯端末装置100における、撮像モード設定時の動作を示すフローチャートである。4 is a flowchart illustrating an operation when the imaging mode is set in the mobile terminal device 100. 携帯端末装置100が撮像モードに設定されている状態における、第1および第2LEDの点灯制御処理を示すフローチャートである。It is a flowchart which shows the lighting control process of 1st and 2nd LED in the state in which the portable terminal device 100 is set to imaging mode. 携帯端末装置100における、第1および第2LEDの点灯制御処理を説明するための図である。It is a figure for demonstrating the lighting control process of 1st and 2nd LED in the portable terminal device. 本発明の第2実施形態に係る携帯端末装置200の構成を示すブロック図である。It is a block diagram which shows the structure of the portable terminal device 200 which concerns on 2nd Embodiment of this invention. 携帯端末装置200の外観を示す図である。It is a figure which shows the external appearance of the portable terminal device. 携帯端末装置200が撮像モードに設定されている状態における、第1〜第4LEDの点灯制御処理を示すフローチャートである。It is a flowchart which shows the lighting control process of the 1st-4th LED in the state in which the portable terminal device 200 is set to imaging mode. 携帯端末装置200が撮像モードに設定されている状態における、第1〜第4LEDの点灯制御処理を示すフローチャートである。It is a flowchart which shows the lighting control process of the 1st-4th LED in the state in which the portable terminal device 200 is set to imaging mode. 携帯端末装置200における、第1〜第4LEDの点灯制御処理を説明するための図である。It is a figure for demonstrating the lighting control process of the 1st-4th LED in the portable terminal device 200. FIG.

図1は、本発明の第1実施形態に係る携帯端末装置100の構成を示すブロック図である。図2は、携帯端末装置100の外観を示す図である。携帯端末装置100は、カメラ機能付き携帯電話装置(スマートフォン)やデジタルカメラであり、本実施形態ではスマートフォンである。携帯端末装置100は、電源ボタン1と、制御プロセッサ2と、シャッタースイッチ3と、カメラ制御部4と、撮像部として機能するカメラデバイス5と、画像処理部6と、表示制御部7と、表示部として機能する表示モニタ8と、特定領域中心算出部として機能する顔検出部9と、長辺方向ずれ量算出部、短辺方向ずれ量算出部および発光制御部として機能するLED制御部10と、第1および第2発光部とを備える。本実施形態では、携帯端末装置100が備える第1発光部は、1つの発光ダイオード(以下、「第1LED」という)L1からなり、第2発光部は、1つの発光ダイオード(以下、「第2LED」という)L2からなる。   FIG. 1 is a block diagram showing the configuration of the mobile terminal device 100 according to the first embodiment of the present invention. FIG. 2 is a diagram illustrating an appearance of the mobile terminal device 100. The mobile terminal device 100 is a mobile phone device (smart phone) with a camera function or a digital camera, and is a smartphone in this embodiment. The mobile terminal device 100 includes a power button 1, a control processor 2, a shutter switch 3, a camera control unit 4, a camera device 5 that functions as an imaging unit, an image processing unit 6, a display control unit 7, and a display. A display monitor 8 that functions as a unit, a face detection unit 9 that functions as a specific area center calculation unit, an LED control unit 10 that functions as a long side direction deviation amount calculation unit, a short side direction deviation amount calculation unit, and a light emission control unit , First and second light emitting units. In the present embodiment, the first light emitting unit included in the mobile terminal device 100 includes one light emitting diode (hereinafter referred to as “first LED”) L1, and the second light emitting unit includes one light emitting diode (hereinafter referred to as “second LED”). L2).

電源ボタン1は、携帯端末装置100を起動させるためのものである。制御プロセッサ2は、携帯端末装置100を構成する各部を統括的に制御する制御部として機能する。   The power button 1 is for activating the mobile terminal device 100. The control processor 2 functions as a control unit that comprehensively controls each unit configuring the mobile terminal device 100.

カメラデバイス5は、カメラ制御部4によって制御されて、被写体を撮像して画像データを生成する。具体的には、カメラデバイス5は、レンズなどを含む撮像光学系と撮像素子とを含んで構成され、被写体からの光に基づいて撮像光学系を介して結像される光学像を、撮像素子によって電気信号に変換し、その変換された電気信号に基づいて画像データを生成する。このカメラデバイス5は、携帯端末装置100の基本構造体となる筐体21の、矩形状の第1主面に設けられている。なお、カメラデバイス5によって生成された画像データは、画像処理部6を介して表示モニタ8に入力される。   The camera device 5 is controlled by the camera control unit 4 to image a subject and generate image data. Specifically, the camera device 5 is configured to include an imaging optical system including a lens or the like and an imaging element, and an optical image formed through the imaging optical system based on light from a subject is captured by the imaging element. Is converted into an electric signal, and image data is generated based on the converted electric signal. The camera device 5 is provided on the first main surface having a rectangular shape of the casing 21 that is a basic structure of the mobile terminal device 100. The image data generated by the camera device 5 is input to the display monitor 8 via the image processing unit 6.

表示モニタ8は、たとえば液晶パネルおよびバックライトを備える液晶ディスプレイ装置や、有機EL(Electro-Luminescence)ディスプレイ装置などによって実現される。この表示モニタ8は、表示制御部7によって制御され、カメラデバイス5によって生成された画像データに基づく撮影画像30を表示する。本実施形態では、表示モニタ8は、矩形状の表示面81を有し、この表示面81に撮影画像81を表示する。また、表示モニタ8は、筐体21の前記第1主面とは反対側の、矩形状の第2主面に設けられている。なお、矩形状に形成される表示面81の長辺が延びる方向である長辺方向は、筐体21の第1および第2主面の長辺方向に平行であり、表示面81の短辺が延びる方向である短辺方向は、筐体21の第1および第2主面の短辺方向に平行である。   The display monitor 8 is realized by, for example, a liquid crystal display device including a liquid crystal panel and a backlight, an organic EL (Electro-Luminescence) display device, or the like. The display monitor 8 is controlled by the display control unit 7 and displays a captured image 30 based on the image data generated by the camera device 5. In the present embodiment, the display monitor 8 has a rectangular display surface 81, and displays the captured image 81 on the display surface 81. Further, the display monitor 8 is provided on a rectangular second main surface of the casing 21 on the side opposite to the first main surface. The long side direction, which is the direction in which the long side of the display surface 81 formed in a rectangular shape extends, is parallel to the long side direction of the first and second main surfaces of the housing 21, and the short side of the display surface 81. The short-side direction, which is the direction in which the angle extends, is parallel to the short-side direction of the first and second main surfaces of the housing 21.

なお、本明細書において、カメラデバイス5が被写体を撮像している状態とは、カメラデバイス5によって生成された画像データに基づく撮影画像30が表示モニタ8に表示されている状態、すなわちカメラデバイス5による被写体の撮像によって撮影が可能な状態を意味する。したがって、撮影した撮影画像30の記録は、たとえば、静止画の場合は、シャッタースイッチ3が押下操作されることによって記録すればよいし、動画の場合は、記録開始ボタン等が押下操作されることによって記録すればよい。   In this specification, the state in which the camera device 5 is capturing a subject means a state in which a captured image 30 based on image data generated by the camera device 5 is displayed on the display monitor 8, that is, the camera device 5. This means a state in which shooting can be performed by shooting a subject. Therefore, for example, in the case of a still image, the recorded photographed image 30 may be recorded by pressing the shutter switch 3, and in the case of a moving image, a recording start button or the like is pressed. Can be recorded.

また、携帯端末装置100は、携帯端末装置100における動作モードが、制御プロセッサ2によって切換可能に構成されている。ここで、動作モードとは、携帯端末装置100がどのような動作をするかが設定されたモードであり、この動作モードに従って、表示モニタ8における表示画面が切り換えられる。   The mobile terminal device 100 is configured such that the operation mode in the mobile terminal device 100 can be switched by the control processor 2. Here, the operation mode is a mode in which the operation of the mobile terminal device 100 is set, and the display screen on the display monitor 8 is switched according to this operation mode.

制御プロセッサ2は、カメラデバイス5によって被写体の撮像動作が実行されるときには、表示モニタ8における表示画面を撮像モードに切り換え、撮影後に記録された撮影画像30を確認する指示がユーザによって入力されたときには、表示モニタ8における表示画面を表示モードに切り換える。ここで、撮像モードとは、カメラデバイス5によって撮像中の被写体に対応した画像データに基づいて、表示モニタ8に撮影画像30が表示されるモードである。また、表示モードとは、撮影後に記録された撮影画像30が表示モニタ8に表示されるモードである。   When the camera device 5 performs an imaging operation of the subject, the control processor 2 switches the display screen on the display monitor 8 to the imaging mode, and when the user inputs an instruction to confirm the captured image 30 recorded after the imaging. Then, the display screen on the display monitor 8 is switched to the display mode. Here, the imaging mode is a mode in which the captured image 30 is displayed on the display monitor 8 based on image data corresponding to the subject being imaged by the camera device 5. The display mode is a mode in which the captured image 30 recorded after shooting is displayed on the display monitor 8.

第1LED(L1)および第2LED(L2)は、後述のLED制御部10によって制御されて発光する。第1LEDは、筐体21における第1主面の予め定める第1領域に設けられ、第2LEDは、筐体21における第1主面の前記第1領域とは異なる第2領域に設けられる。具体的には、第1LEDは、筐体21における第1主面の長辺方向一端側で、かつ短辺方向一端部に設けられ、第2LEDは、筐体21における第1主面の長辺方向他端側で、かつ短辺方向他端部に設けられる。すなわち、第1LEDと第2LEDとは、筐体21の第1主面における、対角線上に位置する角隅部にそれぞれ設けられる。   The first LED (L1) and the second LED (L2) emit light under the control of the LED controller 10 described later. The first LED is provided in a predetermined first region of the first main surface of the housing 21, and the second LED is provided in a second region different from the first region of the first main surface of the housing 21. Specifically, the first LED is provided at one end of the first main surface of the housing 21 in the long side direction and at one end of the short side direction, and the second LED is the long side of the first main surface of the housing 21. It is provided at the other end in the direction and at the other end in the short side direction. In other words, the first LED and the second LED are respectively provided at the corners of the first main surface of the housing 21 that are located on the diagonal line.

顔検出部9は、携帯端末装置100が撮像モードに設定された状態で、画像処理部6によって制御されて、表示モニタ8の表示面81に表示される撮影画像30内の、予め定める条件を満たす特定領域として顔画像領域31を抽出し、抽出した顔画像領域31の中心を算出する。さらに、顔検出部9は、算出した顔画像領域31の中心の、表示面81における位置を表す顔画像中心座標31aを算出する。なお、顔検出部9が抽出する顔画像領域31は、カメラデバイス5によって生成された画像データに基づいて表示モニタ8の表示面81に表示された撮影画像30における、被写体の顔に対応した画像領域である。   The face detection unit 9 is controlled by the image processing unit 6 in a state where the mobile terminal device 100 is set to the imaging mode, and sets a predetermined condition in the captured image 30 displayed on the display surface 81 of the display monitor 8. The face image area 31 is extracted as a specific area to be filled, and the center of the extracted face image area 31 is calculated. Further, the face detection unit 9 calculates face image center coordinates 31 a representing the position on the display surface 81 of the center of the calculated face image region 31. The face image area 31 extracted by the face detection unit 9 is an image corresponding to the face of the subject in the captured image 30 displayed on the display surface 81 of the display monitor 8 based on the image data generated by the camera device 5. It is an area.

ここで、顔検出部9によって実行される顔画像領域31の検出方法について説明する。顔画像領域31を検出する方法としては、たとえば、人の露出部の体温から検出する方法、動きから検出する方法、対象物までの距離から検出する方法、などである。「動きから検出する方法」とは、撮影画像30中の各ピクセルが、連続するフレーム間でどの程度移動したかを検出するオプティカルフローを用いて顔画像領域31の検出を行うものである。たとえば、撮影前に顔を左右に振るなどして抽出された領域を顔画像領域31と認識する。「対象物までの距離から検出する方法」とは、携帯端末装置100から最も近くに見つかった物体を顔と仮定する、または、取得された距離情報から顔の凹凸を検出し、顔の領域を推定するものである。距離情報の取得には、赤外光を用いたレンジスキャナを利用する方法や、撮像素子を複数用いてそれらの取得画像の差分から距離情報を得る方法等を利用することができる。本実施形態では、カメラデバイス5によって生成された画像データを解析することによって、顔画像領域31の抽出を行なう。   Here, a detection method of the face image area 31 executed by the face detection unit 9 will be described. Examples of the method of detecting the face image region 31 include a method of detecting from the body temperature of an exposed part of a person, a method of detecting from a motion, and a method of detecting from a distance to an object. The “method of detecting from motion” is to detect the face image region 31 using an optical flow for detecting how much each pixel in the captured image 30 has moved between consecutive frames. For example, an area extracted by shaking the face left and right before photographing is recognized as the face image area 31. The “method of detecting from the distance to the target object” means that the object found closest to the mobile terminal device 100 is a face, or the facial unevenness is detected from the acquired distance information, and the face region is detected. To be estimated. For obtaining distance information, a method using a range scanner using infrared light, a method using a plurality of image sensors and obtaining distance information from the difference between the acquired images, and the like can be used. In the present embodiment, the face image region 31 is extracted by analyzing the image data generated by the camera device 5.

まず、顔検出部9は、カメラデバイス5によって生成された画像データに基づく撮影画像30から肌色領域を抽出する。この際、画素値は明暗の変化に強いとされているHSV色空間ヘマッピングした上で処理を行なう。見つかった肌色領域に対して、パターンマッチングやエッジ検出を付加することで背景にある肌色や肌色に近い色の服などをその領域から除去する。最後に、見つかった各領域の中心座標を求める。この中心座標を顔の位置であると仮定する。そのような領域が複数見つかった場合は、被写体が複数人であると判断する。複数人の場合には全員の顔画像領域の中心(重心)位置を顔画像領域31の中心とみなして処理を行う。このような処理によって、顔検出部9は、撮影画像30における顔画像領域31の中心の、表示面81における位置を表す顔画像中心座標31aを算出する。   First, the face detection unit 9 extracts a skin color region from the captured image 30 based on the image data generated by the camera device 5. At this time, the pixel value is processed after being mapped to the HSV color space, which is considered to be resistant to changes in brightness. By adding pattern matching and edge detection to the found skin color region, the skin color in the background or clothing having a color close to the skin color is removed from the region. Finally, the center coordinates of each area found are obtained. This center coordinate is assumed to be the face position. If a plurality of such areas are found, it is determined that there are a plurality of subjects. In the case of a plurality of persons, the processing is performed by regarding the position (center of gravity) of the face image area of all the persons as the center of the face image area 31. By such processing, the face detection unit 9 calculates the face image center coordinates 31 a representing the position on the display surface 81 of the center of the face image region 31 in the captured image 30.

LED制御部10は、携帯端末装置100が撮像モードに設定された状態で、表示モニタ8の表示面81に表示される撮影画像30について、表示面81の長辺方向における、表示面81の予め定める基準点の座標(基準点座標)に対する、顔画像領域31についての顔画像中心座標31aの長辺方向ずれ量を算出する。また、LED制御部10は、表示モニタ8の表示面81に表示される撮影画像30について、表示面81の短辺方向における、表示面81の基準点座標に対する、顔画像領域31についての顔画像中心座標31aの短辺方向ずれ量を算出する。   The LED control unit 10 preliminarily displays the display surface 81 in the long side direction of the display surface 81 for the captured image 30 displayed on the display surface 81 of the display monitor 8 in a state where the mobile terminal device 100 is set to the imaging mode. A long side direction shift amount of the face image center coordinates 31a for the face image region 31 with respect to the determined reference point coordinates (reference point coordinates) is calculated. In addition, the LED control unit 10 has a face image of the face image region 31 with respect to the reference point coordinates of the display surface 81 in the short side direction of the display surface 81 for the captured image 30 displayed on the display surface 81 of the display monitor 8. The amount of deviation in the short side direction of the center coordinate 31a is calculated.

さらにLED制御部10は、第1LEDを前記長辺方向ずれ量に応じた周期で点滅させ、第2LEDを前記短辺方向ずれ量に応じた周期で点滅させる。本実施形態では、LED制御部10は、前記長辺方向ずれ量および短辺方向ずれ量が大きくなるにつれて、第1LEDおよび第2LEDを点滅させる周期を長くし、長辺方向ずれ量および短辺方向ずれ量が小さくなるにつれて、第1LEDおよび第2LEDを点滅させる周期を短くする。このような、LED制御部10が実行する、第1LEDおよび第2LEDに対する点灯制御処理の詳細については、後述する。   Further, the LED control unit 10 causes the first LED to blink at a period corresponding to the long side direction deviation amount, and causes the second LED to blink at a period corresponding to the short side direction deviation amount. In the present embodiment, the LED control unit 10 increases the period of blinking the first LED and the second LED as the long side direction deviation amount and the short side direction deviation amount increase, and the long side direction deviation amount and the short side direction. As the amount of deviation decreases, the cycle of blinking the first LED and the second LED is shortened. Details of the lighting control process for the first LED and the second LED, which are executed by the LED control unit 10, will be described later.

次に、図3および図4を用いて、携帯端末装置100の撮像モード設定時における動作について説明する。図3は、携帯端末装置100における、撮像モード設定時の動作を示すフローチャートである。図4は、携帯端末装置100が撮像モードに設定されている状態における、第1および第2LEDの点灯制御処理を示すフローチャートである。   Next, the operation of the mobile terminal device 100 when the imaging mode is set will be described with reference to FIGS. 3 and 4. FIG. 3 is a flowchart illustrating an operation when the imaging mode is set in the mobile terminal device 100. FIG. 4 is a flowchart showing lighting control processing of the first and second LEDs in a state where the mobile terminal device 100 is set to the imaging mode.

携帯端末装置100は、電源ボタン1が押下操作されて起動し、撮像モードに設定された状態で、撮像モード制御プログラムを実行し、撮像モード設定時における動作を開始する。なお、携帯端末装置100を用いて被写体を撮影する場合、撮影者は、表示モニタ8の表示面81を正面視して、表示面81の長辺が横方向(左右方向)に延びる姿勢で携帯端末装置100を用いて撮影することができ、また、表示面81の短辺が横方向(左右方向)に延びる姿勢で携帯端末装置100を用いて撮影することができる。撮影者が自分自身を撮影する場合には、表示モニタ8の表示面81を見ながら撮影するのではなく、筐体21において、表示モニタ8が配置される第1主面とは反対側の、カメラデバイス5、第1LEDおよび第2LEDが配置される第2主面を見ながら撮影することになる。   The portable terminal device 100 is activated when the power button 1 is pressed down, and executes an imaging mode control program in a state where the imaging mode is set, and starts an operation when the imaging mode is set. When the subject is photographed using the portable terminal device 100, the photographer carries the mobile phone in a posture in which the long side of the display surface 81 extends in the horizontal direction (left-right direction) when the display surface 81 of the display monitor 8 is viewed from the front. Shooting can be performed using the terminal device 100, and shooting can be performed using the mobile terminal device 100 in a posture in which the short side of the display surface 81 extends in the horizontal direction (left-right direction). When the photographer photographs himself / herself, the photographer does not photograph while looking at the display surface 81 of the display monitor 8, but the housing 21 is opposite to the first main surface on which the display monitor 8 is disposed, The camera device 5, the first LED, and the second LED are photographed while looking at the second main surface on which the LED is disposed.

以下では、撮影者が、表示モニタ8の表示面81を正面視して、表示面81の長辺が横方向(左右方向)に延びる姿勢で携帯端末装置100を用いて撮影することとして説明する。また、本実施形態では、表示モニタ8の表示面81には、表示面81の長辺が横方向(左右方向)に延びる姿勢において、表示面81の下側長辺と左側短辺との交点を基準点(原点)とし、下側長辺に沿って延びるx軸と、左側短辺に沿って延びるy軸とで規定されるxy座標が設定されている。この表示面81におけるxy座標は、x軸座標が「0〜8」に設定され、y軸座標が「0〜8」に設定されている。たとえば、表示面81において、基準点(原点)の座標は(x,y)=(0,0)であり、表示面81の右下端の座標は(x,y)=(8,0)であり、表示面81の左上端の座標は(x,y)=(0,8)である。   In the following description, it is assumed that the photographer takes a picture using the mobile terminal device 100 in a posture in which the long side of the display surface 81 extends in the horizontal direction (left-right direction) when the display surface 81 of the display monitor 8 is viewed from the front. . In the present embodiment, the display surface 81 of the display monitor 8 has an intersection of the lower long side and the left short side of the display surface 81 in a posture in which the long side of the display surface 81 extends in the horizontal direction (left-right direction). Is set as a reference point (origin), and xy coordinates defined by an x-axis extending along the lower long side and a y-axis extending along the left short side are set. The xy coordinates on the display surface 81 are set such that the x-axis coordinate is “0-8” and the y-axis coordinate is “0-8”. For example, on the display surface 81, the coordinates of the reference point (origin) are (x, y) = (0, 0), and the coordinates of the lower right corner of the display surface 81 are (x, y) = (8, 0). Yes, the coordinates of the upper left corner of the display surface 81 are (x, y) = (0, 8).

まず、ステップs1では、制御プロセッサ2に制御されたLED制御部10は、第1LEDおよび第2LEDを消灯させる。   First, in step s1, the LED control unit 10 controlled by the control processor 2 turns off the first LED and the second LED.

次に、ステップs2では、制御プロセッサ2に制御されたカメラ制御部4は、カメラデバイス5に被写体の撮像を開始させる。次に、ステップs3では、画像処理部6は、カメラデバイス5が被写体の撮像動作によって生成した画像データを表示制御部7に出力する。   Next, in step s2, the camera control unit 4 controlled by the control processor 2 causes the camera device 5 to start imaging the subject. Next, in step s3, the image processing unit 6 outputs the image data generated by the camera device 5 through the imaging operation of the subject to the display control unit 7.

ステップs4では、画像データが入力された表示制御部7は、表示モニタ8を制御し、画像データに基づく撮影画像30を表示面81に表示させる。次に、ステップs5では、画像処理部6に制御された顔検出部9は、撮影画像30における顔画像領域31を抽出する。   In step s 4, the display control unit 7 to which the image data is input controls the display monitor 8 to display the captured image 30 based on the image data on the display surface 81. Next, in step s 5, the face detection unit 9 controlled by the image processing unit 6 extracts a face image region 31 in the captured image 30.

次に、ステップs6では、顔検出部9は、撮影画像30において顔画像領域31が存在するか否かを判断する。顔検出部9が顔画像領域31が存在すると判断した場合にはステップs8に進み、顔画像領域31が存在しないと判断した場合にはステップs7に進む。   Next, in step s <b> 6, the face detection unit 9 determines whether or not the face image area 31 exists in the captured image 30. When the face detection unit 9 determines that the face image area 31 exists, the process proceeds to step s8, and when it determines that the face image area 31 does not exist, the process proceeds to step s7.

ステップs7では、制御プロセッサ2に制御されたLED制御部10は、第1LEDおよび第2LEDを消灯させる。また、ステップs8では、顔検出部9は、撮影画像30から抽出した顔画像領域31の中心位置を表す顔画像中心座標31aを算出し、その算出した顔画像中心座標31aを制御プロセッサ2に出力する。   In step s7, the LED control unit 10 controlled by the control processor 2 turns off the first LED and the second LED. In step s 8, the face detection unit 9 calculates face image center coordinates 31 a representing the center position of the face image area 31 extracted from the captured image 30, and outputs the calculated face image center coordinates 31 a to the control processor 2. To do.

顔検出部9から出力された顔画像中心座標31aが入力された制御プロセッサ2は、ステップs9において、第1LEDおよび第2LEDの点灯制御処理を開始する。ステップs9において第1LEDと第2LEDの点灯制御処理を終了すると、ステップs3へ戻り、撮像モードを終了するまで処理を繰り返す。   The control processor 2 to which the face image center coordinates 31a output from the face detection unit 9 are input starts lighting control processing of the first LED and the second LED in step s9. When the lighting control process for the first LED and the second LED is finished in step s9, the process returns to step s3, and the process is repeated until the imaging mode is finished.

ステップs9における、第1LEDおよび第2LEDの点灯制御処理は、図4に示すフローチャートに従って実行される。制御プロセッサ2によって第1LEDおよび第2LEDの点灯制御処理が開始された、ステップs91では、制御プロセッサ2によって制御されたLED制御部10は、顔検出部9によって算出された顔画像中心座標31aのx軸座標が「0<x<9」であるか否かを判断する。x軸座標が「0<x<9」であると判断した場合にはステップs92に進み、x軸座標が「0<x<9」ではないと判断した場合にはステップs93に進む。   The lighting control process of the first LED and the second LED in step s9 is executed according to the flowchart shown in FIG. In step s91 where the lighting control processing of the first LED and the second LED is started by the control processor 2, the LED control unit 10 controlled by the control processor 2 performs x of the face image center coordinates 31a calculated by the face detection unit 9. It is determined whether or not the axis coordinates are “0 <x <9”. If it is determined that the x-axis coordinate is “0 <x <9”, the process proceeds to step s92. If it is determined that the x-axis coordinate is not “0 <x <9”, the process proceeds to step s93.

ステップs92では、LED制御部10は、表示面81の長辺方向(x軸方向)における、基準点(原点)座標に対する、顔画像領域31についての顔画像中心座標31aの長辺方向ずれ量を算出する。すなわち、LED制御部10は、基準点(原点)のx軸座標「0」に対する、顔画像中心座標31aにおけるx軸座標の長辺方向ずれ量を算出する。ここで、基準点(原点)のx軸座標が「0」であるので、前記長辺方向ずれ量は、顔画像中心座標31aにおけるx軸座標に一致する。そして、LED制御部10は、算出した前記長辺方向ずれ量に応じて第1LEDの点滅周期を表す点滅間隔Thを「Th=x(長辺方向ずれ量)/8」に設定する。また、ステップs93では、LED制御部10は、第1LEDの点滅間隔Thを「消灯」に設定する。   In step s92, the LED control unit 10 determines the long side direction shift amount of the face image center coordinates 31a for the face image region 31 with respect to the reference point (origin) coordinates in the long side direction (x-axis direction) of the display surface 81. calculate. That is, the LED control unit 10 calculates the amount of deviation in the long side direction of the x-axis coordinate in the face image center coordinate 31a with respect to the x-axis coordinate “0” of the reference point (origin). Here, since the x-axis coordinate of the reference point (origin) is “0”, the displacement in the long side direction coincides with the x-axis coordinate in the face image center coordinate 31a. Then, the LED control unit 10 sets the blinking interval Th representing the blinking cycle of the first LED to “Th = x (long-side deviation amount) / 8” according to the calculated deviation amount in the long-side direction. In step s93, the LED control unit 10 sets the blinking interval Th of the first LED to “extinguish”.

次に、ステップs94では、LED制御部10は、顔検出部9によって算出された顔画像中心座標31aのy軸座標が「0<y<9」であるか否かを判断する。y軸座標が「0<y<9」であると判断した場合にはステップs95に進み、y軸座標が「0<y<9」ではないと判断した場合にはステップs96に進む。   Next, in step s94, the LED control unit 10 determines whether or not the y-axis coordinate of the face image center coordinate 31a calculated by the face detection unit 9 is “0 <y <9”. If it is determined that the y-axis coordinate is “0 <y <9”, the process proceeds to step s95. If it is determined that the y-axis coordinate is not “0 <y <9”, the process proceeds to step s96.

ステップs95では、LED制御部10は、表示面81の短辺方向(y軸方向)における、基準点(原点)座標に対する、顔画像領域31についての顔画像中心座標31aの短辺方向ずれ量を算出する。すなわち、LED制御部10は、前述のステップs92と同様にして、基準点(原点)のy軸座標「0」に対する、顔画像中心座標31aにおけるy軸座標の短辺方向ずれ量を算出する。そして、LED制御部10は、算出した前記短辺方向ずれ量に応じて第2LEDの点滅周期を表す点滅間隔Tvを「Tv=y(短辺方向ずれ量)/8」に設定する。また、ステップs96では、LED制御部10は、第2LEDの点滅間隔Tvを「消灯」に設定する。   In step s95, the LED control unit 10 determines the short side direction deviation of the face image center coordinates 31a for the face image region 31 with respect to the reference point (origin) coordinates in the short side direction (y-axis direction) of the display surface 81. calculate. That is, the LED control unit 10 calculates the short-side direction shift amount of the y-axis coordinate in the face image center coordinate 31a with respect to the y-axis coordinate “0” of the reference point (origin) in the same manner as in the above-described step s92. Then, the LED control unit 10 sets the blinking interval Tv representing the blinking period of the second LED to “Tv = y (short side direction deviation amount) / 8” according to the calculated short side direction deviation amount. In step s96, the LED control unit 10 sets the blinking interval Tv of the second LED to “extinguish”.

そして、ステップs97では、LED制御部10は、第1LEDおよび第2LEDの点灯制御を実行し、設定した点滅間隔Thで第1LEDを点滅させ、設定した点滅間隔Tvで第2LEDを点滅させる。   In step s97, the LED control unit 10 performs lighting control of the first LED and the second LED, blinks the first LED at the set blinking interval Th, and blinks the second LED at the set blinking interval Tv.

LED制御部10が実行する具体的な点灯制御について、図5を用いて説明する。図5は、携帯端末装置100における、第1および第2LEDの点灯制御処理を説明するための図である。   Specific lighting control executed by the LED control unit 10 will be described with reference to FIG. FIG. 5 is a diagram for explaining lighting control processing of the first and second LEDs in the mobile terminal device 100.

図5(a)では、顔検出部9によって算出される顔画像領域31の顔画像中心座標31aが(x,y)=(1,2)のエリアに存在する。このような場合には、LED制御部10は、第1LEDの点滅周期を表す点滅間隔Thが「1/8」に設定され、第2LEDの点滅周期を表す点滅間隔Tvが「2/8」に設定される。したがって、第1LEDは、「1/8」秒間隔で点灯および消灯を繰り返すように点滅し、第2LEDは、「2/8」秒間隔で点灯および消灯を繰り返すように点滅する。   In FIG. 5A, the face image center coordinates 31a of the face image region 31 calculated by the face detection unit 9 are present in the area (x, y) = (1, 2). In such a case, the LED control unit 10 sets the blinking interval Th representing the blinking cycle of the first LED to “1/8” and the blinking interval Tv representing the blinking cycle of the second LED to “2/8”. Is set. Accordingly, the first LED blinks so as to repeat turning on and off at intervals of “1/8” seconds, and the second LED blinks so as to repeat turning on and off at intervals of “2/8” seconds.

図5(b)では、顔検出部9によって算出される顔画像領域31の顔画像中心座標31aが(x,y)=(4,4)に存在する。このような場合には、LED制御部10は、第1LEDの点滅周期を表す点滅間隔Thが「4/8」に設定され、第2LEDの点滅周期を表す点滅間隔Tvが「4/8」に設定される。したがって、第1LEDは、「4/8」秒間隔で点灯および消灯を繰り返すように点滅し、第2LEDは、「4/8」秒間隔で点灯および消灯を繰り返すように点滅する。   In FIG. 5B, the face image center coordinates 31a of the face image area 31 calculated by the face detection unit 9 exist at (x, y) = (4, 4). In such a case, the LED control unit 10 sets the blinking interval Th representing the blinking cycle of the first LED to “4/8” and the blinking interval Tv representing the blinking cycle of the second LED to “4/8”. Is set. Accordingly, the first LED blinks so as to be repeatedly turned on and off at intervals of “4/8” seconds, and the second LED blinks so as to be repeatedly turned on and off at intervals of “4/8” seconds.

図5(c)では、顔検出部9によって顔画像領域31が抽出されず、表示面81内に顔画像領域31が存在しない。したがって、第1LEDおよび第2LEDは、消灯する。   In FIG. 5C, the face image area 31 is not extracted by the face detection unit 9, and the face image area 31 does not exist in the display surface 81. Accordingly, the first LED and the second LED are turned off.

以上のように構成された本実施形態に係る携帯端末装置100では、撮像モードが設定された状態において、自分自身の自画像を撮影する場合に、撮影者は、カメラデバイス5によって撮像中の被写体に対応した、表示モニタ8の表示面81に表示された撮影画像30における顔画像領域31の、表示面81の長辺方向に関する長辺方向ずれ量を第1LEDの点滅周期で直感的に確認することができ、表示面81の短辺方向に関する短辺方向ずれ量を第2LEDの点滅周期で直感的に確認することができる。したがって、自分自身の自画像を撮影する場合に、撮影者は、第1LEDおよび第2LEDの点滅周期に応じて移動することによって、意図した構図の自画像を撮影することができる。   In the mobile terminal device 100 according to the present embodiment configured as described above, when the user takes a self-portrait in a state where the imaging mode is set, the photographer takes an object being imaged by the camera device 5. Correspondingly confirming the long side direction shift amount of the face image area 31 in the captured image 30 displayed on the display surface 81 of the display monitor 8 with respect to the long side direction of the display surface 81 with the blinking cycle of the first LED. It is possible to intuitively check the short side direction shift amount of the display surface 81 with respect to the short side direction by the blinking cycle of the second LED. Accordingly, when shooting a self-portrait of the user himself / herself, the photographer can take a self-portrait of the intended composition by moving according to the blinking cycle of the first LED and the second LED.

図6は、本発明の第2実施形態に係る携帯端末装置200の構成を示すブロック図である。図7は、携帯端末装置200の外観を示す図である。携帯端末装置200は、前述した第1実施形態に係る携帯端末装置100に類似し、対応する部分については同一の参照符号を付して説明を省略する。   FIG. 6 is a block diagram showing the configuration of the mobile terminal device 200 according to the second embodiment of the present invention. FIG. 7 is a diagram illustrating an appearance of the mobile terminal device 200. The mobile terminal device 200 is similar to the mobile terminal device 100 according to the first embodiment described above, and corresponding portions are denoted by the same reference numerals and description thereof is omitted.

本実施形態の携帯端末装置200は、前述した携帯端末装置100が2つのLEDである第1LEDおよび第2LEDを備えていたのに対して、4つのLEDである第1LED(L1)、第2LED(L2)、第3LED(L3)および第4LED(L4)を備えていることが特徴である。本実施形態では、携帯端末装置200が備える第1発光部は、2つの発光ダイオードである第1LEDおよび第2LEDからなり、第2発光部は、2つの発光ダイオードである第3LEDおよび第4LEDからなる。   The mobile terminal device 200 of the present embodiment includes the first LED (L1) and the second LED (four LEDs), whereas the mobile terminal device 100 described above includes the first LED and the second LED that are two LEDs. L2), 3rd LED (L3), and 4th LED (L4) are characterized. In this embodiment, the 1st light emission part with which the portable terminal device 200 is provided consists of 1st LED and 2nd LED which are two light emitting diodes, and a 2nd light emission part consists of 3rd LED and 4th LED which are two light emitting diodes. .

第1LED、第2LED、第3LED、および第4LEDは、LED制御部10によって制御されて発光する。   The first LED, the second LED, the third LED, and the fourth LED emit light under the control of the LED control unit 10.

第1LEDおよび第2LEDは、筐体21における第1主面の予め定める第1領域に設けられ、第3LEDおよび第4LEDは、筐体21における第1主面の前記第1領域とは異なる第2領域に設けられる。具体的には、第1LEDは、筐体21における第1主面の長辺方向一端側で、かつ短辺方向中央部に設けられ、第2LEDは、筐体21における第1主面の長辺方向他端側で、かつ短辺方向中央部に設けられ、第3LEDは、筐体21における第1主面の短辺方向一端側で、かつ長辺方向中央部に設けられ、第4LEDは、筐体21における第1主面の短辺方向他端側で、かつ長辺方向中央部に設けられる。   The first LED and the second LED are provided in a predetermined first region of the first main surface of the housing 21, and the third LED and the fourth LED are different from the first region of the first main surface of the housing 21. Provided in the region. Specifically, the first LED is provided at one end side in the long side direction of the first main surface of the housing 21 and in the central portion in the short side direction, and the second LED is the long side of the first main surface of the housing 21. The third LED is provided on the other end side in the short side direction and in the central part in the short side direction, the third LED is provided on one end side in the short side direction of the first main surface of the housing 21 and in the central part in the long side direction, and the fourth LED is It is provided at the other end side in the short side direction of the first main surface of the housing 21 and at the central part in the long side direction.

次に、図8Aおよび図8Bを用いて、携帯端末装置200の撮像モード設定時における動作について説明する。図8Aおよび図8Bは、携帯端末装置200が撮像モードに設定されている状態における、第1〜第4LEDの点灯制御処理を示すフローチャートである。   Next, the operation of the mobile terminal device 200 when the imaging mode is set will be described with reference to FIGS. 8A and 8B. 8A and 8B are flowcharts showing lighting control processing of the first to fourth LEDs in a state where the mobile terminal device 200 is set to the imaging mode.

携帯端末装置200は、電源ボタン1が押下操作されて起動し、撮像モードに設定された状態で、撮像モード制御プログラムを実行し、撮像モード設定時における動作を開始する。撮影者が自分自身を撮影する場合には、表示モニタ8の表示面81を見ながら撮影するのではなく、筐体21において、表示モニタ8が配置される第1主面とは反対側の、カメラデバイス5、第1LED、第2LED、第3LED、および第4LEDが配置される第2主面を見ながら撮影することになる。   The portable terminal device 200 is activated when the power button 1 is pressed down, and executes an imaging mode control program in a state where the imaging mode is set, and starts an operation when the imaging mode is set. When the photographer photographs himself / herself, the photographer does not photograph while looking at the display surface 81 of the display monitor 8, but the housing 21 is opposite to the first main surface on which the display monitor 8 is disposed, The camera device 5, the first LED, the second LED, the third LED, and the fourth LED are photographed while looking at the second main surface on which the camera device 5, the first LED, the second LED, the third LED, and the fourth LED are arranged.

以下では、撮影者が、表示モニタ8の表示面81を正面視して、表示面81の長辺が横方向(左右方向)に延びる姿勢で携帯端末装置200を用いて撮影することとして説明する。また、本実施形態では、表示モニタ8の表示面81には、表示面81の長辺が横方向(左右方向)に延びる姿勢において、表示面81の中心を基準点(原点)とし、該基準点(原点)を通り表示面81の長辺に平行に延びるx軸と、該基準点(原点)を通り表示面81の短辺に平行に延びるy軸とで規定されるxy座標が設定されている。この表示面81におけるxy座標は、x軸座標が「−4〜4」に設定され、y軸座標が「−4〜4」に設定されている。たとえば、表示面81において、基準点(原点)の座標は(x,y)=(0,0)であり、表示面81の右下端の座標は(x,y)=(4,−4)であり、表示面81の右上端の座標は(x,y)=(4,4)であり、表示面81の左下端の座標は(x,y)=(−4,−4)であり、表示面81の左上端の座標は(x,y)=(−4,4)である。   In the following description, it is assumed that the photographer takes a picture using the mobile terminal device 200 in a posture in which the long side of the display surface 81 extends in the horizontal direction (left-right direction) when the display surface 81 of the display monitor 8 is viewed from the front. . In the present embodiment, the display surface 81 of the display monitor 8 has the center of the display surface 81 as a reference point (origin) in a posture in which the long side of the display surface 81 extends in the horizontal direction (left-right direction). An xy coordinate defined by an x-axis extending through the point (origin) and parallel to the long side of the display surface 81 and a y-axis extending through the reference point (origin) and parallel to the short side of the display surface 81 is set. ing. As for the xy coordinates on the display surface 81, the x-axis coordinates are set to “−4 to 4”, and the y-axis coordinates are set to “−4 to 4”. For example, on the display surface 81, the coordinates of the reference point (origin) are (x, y) = (0, 0), and the coordinates of the lower right corner of the display surface 81 are (x, y) = (4, −4). The coordinates of the upper right end of the display surface 81 are (x, y) = (4, 4), and the coordinates of the lower left end of the display surface 81 are (x, y) = (− 4, −4). The coordinates of the upper left corner of the display surface 81 are (x, y) = (− 4, 4).

制御プロセッサ2によって第1LED、第2LED、第3LEDおよび第4LEDの点灯制御処理が開始された、ステップa91では、制御プロセッサ2によって制御されたLED制御部10は、顔検出部9によって算出された顔画像中心座標31aのx軸座標が「−5<x<5」であるか否かを判断する。x軸座標が「−5<x<5」であると判断した場合にはステップa94に進み、x軸座標が「−5<x<5」ではないと判断した場合にはステップa92に進む。   In step a91 where the lighting control processing of the first LED, the second LED, the third LED, and the fourth LED is started by the control processor 2, the LED control unit 10 controlled by the control processor 2 determines the face calculated by the face detection unit 9. It is determined whether or not the x-axis coordinate of the image center coordinate 31a is “−5 <x <5”. If it is determined that the x-axis coordinate is “−5 <x <5”, the process proceeds to step a94. If it is determined that the x-axis coordinate is not “−5 <x <5”, the process proceeds to step a92.

ステップa92では、LED制御部10は、第2LEDの点滅間隔Trを「消灯」に設定する。次に、ステップa93では、LED制御部10は、第1LEDの点滅間隔Tlを「消灯」に設定し、ステップa102に進む。   In Step a92, the LED control unit 10 sets the blinking interval Tr of the second LED to “off”. Next, in step a93, the LED control unit 10 sets the blinking interval Tl of the first LED to “extinguish”, and proceeds to step a102.

ステップa91において顔画像中心座標31aのx軸座標が「−5<x<5」であると判断された後のステップa94では、LED制御部10は、顔検出部9によって算出された顔画像中心座標31aのx軸座標が「x<0」であるか否かを判断する。x軸座標が「x<0」であると判断した場合にはステップa95に進み、x軸座標が「x<0」ではないと判断した場合にはステップa97に進む。   In step a94 after it is determined in step a91 that the x-axis coordinate of the face image center coordinate 31a is “−5 <x <5”, the LED control unit 10 determines the face image center calculated by the face detection unit 9. It is determined whether or not the x-axis coordinate of the coordinate 31a is “x <0”. If it is determined that the x-axis coordinate is “x <0”, the process proceeds to step a95. If it is determined that the x-axis coordinate is not “x <0”, the process proceeds to step a97.

ステップa95では、LED制御部10は、表示面81の長辺方向(x軸方向)における、基準点(原点)座標に対する、顔画像領域31についての顔画像中心座標31aの長辺方向ずれ量を算出する。すなわち、LED制御部10は、基準点(原点)のx軸座標「0」に対する、顔画像中心座標31aにおけるx軸座標の長辺方向ずれ量を算出する。ここで、基準点(原点)のx軸座標が「0」であるので、前記長辺方向ずれ量は、顔画像中心座標31aにおけるx軸座標の絶対値に一致する。そして、LED制御部10は、算出した前記長辺方向ずれ量に応じて第2LEDの点滅周期を表す点滅間隔Trを「Tr=|x|(長辺方向ずれ量)/4」に設定する。また、ステップa96では、LED制御部10は、第1LEDの点滅間隔Tlを「消灯」に設定する。   In step a <b> 95, the LED control unit 10 sets the amount of deviation in the long side direction of the face image center coordinates 31 a for the face image region 31 with respect to the reference point (origin) coordinates in the long side direction (x-axis direction) of the display surface 81. calculate. That is, the LED control unit 10 calculates the amount of deviation in the long side direction of the x-axis coordinate in the face image center coordinate 31a with respect to the x-axis coordinate “0” of the reference point (origin). Here, since the x-axis coordinate of the reference point (origin) is “0”, the long-side direction deviation amount coincides with the absolute value of the x-axis coordinate in the face image center coordinate 31a. Then, the LED control unit 10 sets the blinking interval Tr representing the blinking cycle of the second LED to “Tr = | x | (long-side direction deviation amount) / 4” according to the calculated long-side direction deviation amount. In Step a96, the LED control unit 10 sets the blinking interval Tl of the first LED to “extinguish”.

ステップa97では、LED制御部10は、顔検出部9によって算出された顔画像中心座標31aのx軸座標が「x=0」であるか否かを判断する。x軸座標が「x=0」であると判断した場合にはステップa98に進み、x軸座標が「x=0」ではないと判断した場合にはステップa100に進む。   In step a97, the LED control unit 10 determines whether or not the x-axis coordinate of the face image center coordinate 31a calculated by the face detection unit 9 is “x = 0”. When it is determined that the x-axis coordinate is “x = 0”, the process proceeds to step a98, and when it is determined that the x-axis coordinate is not “x = 0”, the process proceeds to step a100.

ステップa98では、LED制御部10は、第2LEDの点滅間隔Trを「点灯」に設定する。また、ステップa99では、LED制御部10は、第1LEDの点滅間隔Tlを「点灯」に設定する。   In Step a98, the LED control unit 10 sets the blinking interval Tr of the second LED to “lighting”. In step a99, the LED control unit 10 sets the blinking interval Tl of the first LED to “lighting”.

ステップa100では、LED制御部10は、第2LEDの点滅間隔Trを「消灯」に設定する。また、ステップa101では、LED制御部10は、第1LEDの点滅間隔Tlを「Tl=x(長辺方向ずれ量)/4」に設定する。   In Step a100, the LED control unit 10 sets the blinking interval Tr of the second LED to “off”. In Step a101, the LED control unit 10 sets the blinking interval Tl of the first LED to “Tl = x (long side direction deviation amount) / 4”.

次に、ステップa102では、LED制御部10は、顔検出部9によって算出された顔画像中心座標31aのy軸座標が「−5<y<5」であるか否かを判断する。y軸座標が「−5<y<5」であると判断した場合にはステップa105に進み、y軸座標が「−5<y<5」ではないと判断した場合にはステップa103に進む。   Next, in step a102, the LED control unit 10 determines whether the y-axis coordinate of the face image center coordinate 31a calculated by the face detection unit 9 is “−5 <y <5”. When it is determined that the y-axis coordinate is “−5 <y <5”, the process proceeds to step a105, and when it is determined that the y-axis coordinate is not “−5 <y <5”, the process proceeds to step a103.

ステップa103では、LED制御部10は、第3LEDの点滅間隔Ttを「消灯」に設定する。次に、ステップa104では、LED制御部10は、第4LEDの点滅間隔Tbを「消灯」に設定する。   In Step a103, the LED control unit 10 sets the blinking interval Tt of the third LED to “extinguish”. Next, in step a104, the LED control unit 10 sets the blinking interval Tb of the fourth LED to “extinguish”.

ステップa102において顔画像中心座標31aのy軸座標が「−5<y<5」であると判断された後のステップa105では、LED制御部10は、顔検出部9によって算出された顔画像中心座標31aのy軸座標が「y<0」であるか否かを判断する。y軸座標が「y<0」であると判断した場合にはステップa106に進み、y軸座標が「y<0」ではないと判断した場合にはステップa108に進む。   In step a105 after it is determined in step a102 that the y-axis coordinate of the face image center coordinate 31a is “−5 <y <5”, the LED control unit 10 calculates the face image center calculated by the face detection unit 9. It is determined whether or not the y-axis coordinate of the coordinate 31a is “y <0”. When it is determined that the y-axis coordinate is “y <0”, the process proceeds to step a106, and when it is determined that the y-axis coordinate is not “y <0”, the process proceeds to step a108.

ステップa106では、LED制御部10は、表示面81の短辺方向(y軸方向)における、基準点(原点)座標に対する、顔画像領域31についての顔画像中心座標31aの短辺方向ずれ量を算出する。すなわち、LED制御部10は、基準点(原点)のy軸座標「0」に対する、顔画像中心座標31aにおけるy軸座標の短辺方向ずれ量を算出する。ここで、基準点(原点)のy軸座標が「0」であるので、前記短辺方向ずれ量は、顔画像中心座標31aにおけるy軸座標の絶対値に一致する。そして、LED制御部10は、第3LEDの点滅間隔Ttを「消灯」に設定する。また、ステップa107では、LED制御部10は、算出した前記短辺方向ずれ量に応じて第4LEDの点滅周期を表す点滅間隔Tbを「Tb=|y|(短辺方向ずれ量)/4」に設定する。   In step a <b> 106, the LED control unit 10 determines the amount of deviation in the short side direction of the face image center coordinates 31 a for the face image region 31 with respect to the reference point (origin) coordinates in the short side direction (y-axis direction) of the display surface 81. calculate. That is, the LED control unit 10 calculates the amount of deviation in the short side direction of the y-axis coordinate in the face image center coordinate 31a with respect to the y-axis coordinate “0” of the reference point (origin). Here, since the y-axis coordinate of the reference point (origin) is “0”, the short-side direction shift amount matches the absolute value of the y-axis coordinate in the face image center coordinate 31a. Then, the LED control unit 10 sets the blinking interval Tt of the third LED to “off”. In Step a107, the LED control unit 10 sets the blinking interval Tb representing the blinking cycle of the fourth LED according to the calculated short side direction deviation amount to “Tb = | y | (short side direction deviation amount) / 4”. Set to.

ステップa108では、LED制御部10は、顔検出部9によって算出された顔画像中心座標31aのy軸座標が「y=0」であるか否かを判断する。y軸座標が「y=0」であると判断した場合にはステップa109に進み、y軸座標が「y=0」ではないと判断した場合にはステップa111に進む。   In step a108, the LED control unit 10 determines whether or not the y-axis coordinate of the face image center coordinate 31a calculated by the face detection unit 9 is “y = 0”. If it is determined that the y-axis coordinate is “y = 0”, the process proceeds to step a109. If it is determined that the y-axis coordinate is not “y = 0”, the process proceeds to step a111.

ステップa109では、LED制御部10は、第3LEDの点滅間隔Ttを「点灯」に設定する。また、ステップa110では、LED制御部10は、第4LEDの点滅間隔Tbを「点灯」に設定する。   In Step a109, the LED control unit 10 sets the blinking interval Tt of the third LED to “lighting”. In step a110, the LED control unit 10 sets the blinking interval Tb of the fourth LED to “lighting”.

ステップa111では、LED制御部10は、第3LEDの点滅間隔Ttを「Tt=y(短辺方向ずれ量)/4」に設定する。また、ステップa112では、LED制御部10は、第4LEDの点滅間隔Tbを「消灯」に設定する。   In Step a111, the LED control unit 10 sets the blinking interval Tt of the third LED to “Tt = y (short side direction deviation amount) / 4”. In Step a112, the LED control unit 10 sets the blinking interval Tb of the fourth LED to “extinguish”.

以上のような動作によって、LED制御部10は、第1LED、第2LED、第3LEDおよび第4LEDの点灯制御を実行し、設定した点滅間隔Tlで第1LEDを点滅させ、設定した点滅間隔Trで第2LEDを点滅させ、設定した点滅間隔Ttで第3LEDを点滅させ、設定した点滅間隔Tbで第4LEDを点滅させる。   Through the operation as described above, the LED control unit 10 performs the lighting control of the first LED, the second LED, the third LED, and the fourth LED, causes the first LED to blink at the set blinking interval Tl, and performs the first blinking at the set blinking interval Tr. 2 LEDs are blinked, the third LED is blinked at the set blinking interval Tt, and the fourth LED is blinked at the set blinking interval Tb.

LED制御部10が実行する具体的な点灯制御について、図9を用いて説明する。図9は、携帯端末装置200における、第1〜第4LEDの点灯制御処理を説明するための図である。   Specific lighting control executed by the LED control unit 10 will be described with reference to FIG. FIG. 9 is a diagram for explaining lighting control processing of the first to fourth LEDs in the mobile terminal device 200.

図9(a)では、顔検出部9によって算出される顔画像領域31の顔画像中心座標31aが(x,y)=(−4,−3)のエリアに存在する。このような場合には、LED制御部10は、第1LEDの点滅周期を表す点滅間隔Tlが「消灯」に設定され、第2LEDの点滅周期を表す点滅間隔Trが「|−4|/4」に設定され、第3LEDの点滅周期を表す点滅間隔Ttが「消灯」に設定され、第4LEDの点滅周期を表す点滅間隔Tbが「|−3|/4」に設定される。したがって、第1LEDは消灯し、第2LEDは「|−4|/4」秒間隔で点灯および消灯を繰り返すように点滅し、第3LEDは消灯し、第4LEDは「|−3|/4」秒間隔で点灯および消灯を繰り返すように点滅する。   In FIG. 9A, the face image center coordinates 31a of the face image area 31 calculated by the face detection unit 9 are present in the area (x, y) = (− 4, −3). In such a case, the LED control unit 10 sets the blinking interval Tl representing the blinking cycle of the first LED to “off” and the blinking interval Tr representing the blinking cycle of the second LED to “| −4 | / 4”. The blinking interval Tt representing the blinking cycle of the third LED is set to “off”, and the blinking interval Tb representing the blinking cycle of the fourth LED is set to “| −3 | / 4”. Accordingly, the first LED is turned off, the second LED blinks so as to be turned on and off repeatedly at intervals of “| −4 | / 4” seconds, the third LED is turned off, and the fourth LED is turned “| −3 | / 4” seconds. Blinks repeatedly to turn on and off at intervals.

図9(b)では、顔検出部9によって算出される顔画像領域31の顔画像中心座標31aが(x,y)=(0,0)に存在する。このような場合には、LED制御部10は、第1LEDの点滅周期を表す点滅間隔Tlが「点灯」に設定され、第2LEDの点滅周期を表す点滅間隔Trが「点灯」に設定され、第3LEDの点滅周期を表す点滅間隔Ttが「点灯」に設定され、第4LEDの点滅周期を表す点滅間隔Tbが「点灯」に設定される。したがって、第1LED、第2LED、第3LED、および第4LEDの全てが点灯する。   In FIG. 9B, the face image center coordinates 31a of the face image area 31 calculated by the face detection unit 9 exist at (x, y) = (0, 0). In such a case, the LED control unit 10 sets the blinking interval Tl representing the blinking cycle of the first LED to “lighting”, the blinking interval Tr representing the blinking cycle of the second LED to “lit”, The blinking interval Tt representing the blinking cycle of the 3 LEDs is set to “lighting”, and the blinking interval Tb representing the blinking cycle of the fourth LED is set to “lighting”. Accordingly, all of the first LED, the second LED, the third LED, and the fourth LED are turned on.

図9(c)では、顔検出部9によって顔画像領域31が抽出されず、表示面81内に顔画像領域31が存在しない。したがって、第1LED、第2LED、第3LEDおよび第4LEDは、消灯する。   In FIG. 9C, the face image area 31 is not extracted by the face detection unit 9, and the face image area 31 does not exist in the display surface 81. Accordingly, the first LED, the second LED, the third LED, and the fourth LED are turned off.

以上のように構成された本実施形態に係る携帯端末装置200では、撮像モードが設定された状態において、自分自身の自画像を撮影する場合に、撮影者は、カメラデバイス5によって撮像中の被写体に対応した、表示モニタ8の表示面81に表示された撮影画像30における顔画像領域31の、表示面81の長辺方向に関する長辺方向ずれ量を、第1LEDおよび第2LEDの点滅周期で直感的に確認することができ、表示面81の短辺方向に関する短辺方向ずれ量を、第3LEDおよび第4LEDの点滅周期で直感的に確認することができる。したがって、自分自身の自画像を撮影する場合に、撮影者は、第1LED、第2LED、第3LEDおよび第4LEDの点滅周期に応じて移動することによって、意図した構図の自画像を撮影することができる。   In the mobile terminal device 200 according to the present embodiment configured as described above, when the user takes a self-portrait in a state in which the imaging mode is set, the photographer takes the subject being captured by the camera device 5. The corresponding shift amount of the face image region 31 in the captured image 30 displayed on the display surface 81 of the display monitor 8 with respect to the long side direction of the display surface 81 is intuitively determined by the blinking cycle of the first LED and the second LED. The amount of short side direction deviation with respect to the short side direction of the display surface 81 can be intuitively confirmed by the blinking cycle of the third LED and the fourth LED. Therefore, when taking a self-portrait of the user, the photographer can take a self-portrait of an intended composition by moving according to the blinking cycle of the first LED, the second LED, the third LED, and the fourth LED.

上記の実施形態では、撮像モード制御プログラムは、半導体メモリによって実現される記憶部に記憶されているが、このような記憶装置に限定されるものではなく、コンピュータで読取り可能な記録媒体に記録されていてもよい。記録媒体は、たとえば図示しない外部記憶装置としてプログラム読取装置を設け、そこに記録媒体を挿入することによって読取り可能な記録媒体であってもよいし、または他の装置の記憶装置であってもよい。   In the above embodiment, the imaging mode control program is stored in a storage unit realized by a semiconductor memory, but is not limited to such a storage device, and is recorded on a computer-readable recording medium. It may be. The recording medium may be a recording medium that can be read by providing a program reading device as an external storage device (not shown) and inserting the recording medium therein, or may be a storage device of another device. .

いずれの記録媒体であっても、記録媒体に記憶されているプログラムがコンピュータからアクセスされて実行される構成であればよい。すなわち、いずれの記録媒体であっても、記録媒体からプログラムが読み出され、読み出されたプログラムが、記憶装置のプログラム記憶エリアに記憶されて、そのプログラムが実行される構成であればよい。さらに通信ネットワークを介して他の装置からダウンロードされてプログラム記憶エリアに記憶させてもよい。ダウンロード用のプログラムは、予めコンピュータの記憶装置に記憶しておくか、または別な記録媒体からプログラム記憶エリアにインストールしておく。   Any recording medium may be used as long as the program stored in the recording medium is accessed from a computer and executed. In other words, any recording medium may be used as long as the program is read from the recording medium, the read program is stored in the program storage area of the storage device, and the program is executed. Further, it may be downloaded from another device via a communication network and stored in the program storage area. The download program is stored in advance in a storage device of a computer, or installed in a program storage area from another recording medium.

本体と分離可能に構成される記録媒体は、たとえば磁気テープ/カセットテープなどのテープ系の記録媒体、フロッピー(登録商標)ディスクなどの磁気ディスクのディスク系の記録媒体、フレキシブルディスク/ハードディスクなどの磁気ディスクもしくはCD−ROM(Compact Disk Read Only Memory)/MO(Magneto Optical disk)/MD(Mini Disk)/DVD(Digital Versatile Disk)などの光ディスクのディスク系の記録媒体、IC(Integrated Circuit)カード(メモリカードを含む)/光カードなどのカード系の記録媒体、またはマスクROM/EPROM(Erasable Programmable Read Only Memory)/EEPROM(Electrically Erasable Programmable Read Only Memory)(登録商標)/フラッシュROMなどの半導体メモリを含む固定的にプログラムを担持する記録媒体であってもよい。   The recording medium configured to be separable from the main body is, for example, a tape-based recording medium such as a magnetic tape / cassette tape, a disk-based recording medium such as a floppy (registered trademark) disk, or a magnetic disk such as a flexible disk / hard disk. Disc or CD-ROM (Compact Disk Read Only Memory) / MO (Magneto Optical disk) / MD (Mini Disk) / DVD (Digital Versatile Disk) disk-type recording medium, IC (Integrated Circuit) card (memory Card-type recording media such as optical cards, etc., or semiconductor memories such as mask ROM / EPROM (Erasable Programmable Read Only Memory) / EEPROM (Electrically Erasable Programmable Read Only Memory) (registered trademark) / flash ROM A recording medium that carries a fixed program, Also good.

1 電源ボタン
2 制御プロセッサ
3 シャッタースイッチ
4 カメラ制御部
5 カメラデバイス
6 画像処理部
7 表示制御部
8 表示モニタ
9 顔検出部
10 LED制御部
21 筐体
30 被写体
31 顔画像領域
31a 顔画像中心座標
100,200 携帯端末装置
L1 第1LED
L2 第2LED
L3 第3LED
L4 第4LED
DESCRIPTION OF SYMBOLS 1 Power button 2 Control processor 3 Shutter switch 4 Camera control part 5 Camera device 6 Image processing part 7 Display control part 8 Display monitor 9 Face detection part 10 LED control part 21 Case 30 Subject 31 Face image area 31a Face image center coordinate 100 , 200 Mobile terminal device L1 1st LED
L2 2nd LED
L3 3rd LED
L4 4th LED

Claims (5)

第1主面および該第1主面とは反対側の第2主面を有する筐体と、
前記筐体の前記第1主面に設けられ、被写体を撮像して画像データを生成する撮像部と、
前記筐体の前記第2主面に設けられ、前記画像データに基づく画像を表示する矩形状の表示面を有する表示部と、
前記筐体の前記第1主面における、予め定める第1領域に設けられる第1発光部と、
前記筐体の前記第1主面における、前記第1領域とは異なる第2領域に設けられる第2発光部と、
前記表示面に表示される画像内の、予め定める条件を満たす特定領域を抽出し、該特定領域の中心を算出する特定領域中心算出部と、
前記表示面の長辺方向における、前記表示面の予め定める基準点からの、前記特定領域の中心のずれ量である長辺方向ずれ量を算出する長辺方向ずれ量算出部と、
前記表示面の短辺方向における、前記表示面の予め定める基準点からの、前記特定領域の中心のずれ量である短辺方向ずれ量を算出する短辺方向ずれ量算出部と、
前記第1発光部を前記長辺方向ずれ量に応じた周期で点滅させ、前記第2発光部を前記短辺方向ずれ量に応じた周期で点滅させる発光制御部と、を備えることを特徴とする携帯端末装置。
A housing having a first main surface and a second main surface opposite to the first main surface;
An imaging unit that is provided on the first main surface of the housing and that captures an image of a subject to generate image data;
A display unit provided on the second main surface of the housing and having a rectangular display surface for displaying an image based on the image data;
A first light-emitting portion provided in a first region predetermined in the first main surface of the housing;
A second light emitting unit provided in a second region different from the first region in the first main surface of the housing;
A specific area satisfying a predetermined condition in the image displayed on the display surface, and a specific area center calculating unit for calculating a center of the specific area;
A long side direction deviation amount calculation unit that calculates a long side direction deviation amount that is a deviation amount of the center of the specific region from a predetermined reference point of the display surface in the long side direction of the display surface;
A short side direction deviation amount calculation unit that calculates a short side direction deviation amount that is a deviation amount of the center of the specific region from a predetermined reference point of the display surface in the short side direction of the display surface;
A light emission control unit that causes the first light emitting unit to blink at a cycle according to the long side direction deviation amount, and causes the second light emitting unit to blink at a cycle according to the short side direction deviation amount. Mobile terminal device.
前記発光制御部は、
前記長辺方向ずれ量が大きくなるにつれて、前記第1発光部を点滅させる周期を長くし、
前記長辺方向ずれ量が小さくなるにつれて、前記第1発光部を点滅させる周期を短くすることを特徴とする請求項1に記載の携帯端末装置。
The light emission control unit
As the amount of displacement in the long side direction increases, the cycle of blinking the first light emitting unit is lengthened,
The mobile terminal device according to claim 1, wherein a cycle of blinking the first light emitting unit is shortened as the long side direction deviation amount is reduced.
前記発光制御部は、
前記短辺方向ずれ量が大きくなるにつれて、前記第2発光部を点滅させる周期を長くし、
前記短辺方向ずれ量が小さくなるにつれて、前記第2発光部を点滅させる周期を短くすることを特徴とする請求項1または2に記載の携帯端末装置。
The light emission control unit
As the amount of deviation in the short side direction increases, the cycle of blinking the second light emitting unit is lengthened,
3. The mobile terminal device according to claim 1, wherein a cycle of blinking the second light emitting unit is shortened as the amount of deviation in the short side direction is reduced.
コンピュータを、請求項1〜3のいずれか1つに記載の携帯端末装置として機能させるためのプログラム。   The program for functioning a computer as a portable terminal device as described in any one of Claims 1-3. 請求項4に記載のプログラムを記録したコンピュータ読取可能な記録媒体。   The computer-readable recording medium which recorded the program of Claim 4.
JP2013182431A 2013-09-03 2013-09-03 Portable terminal device, program, and recording medium Pending JP2015050704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013182431A JP2015050704A (en) 2013-09-03 2013-09-03 Portable terminal device, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013182431A JP2015050704A (en) 2013-09-03 2013-09-03 Portable terminal device, program, and recording medium

Publications (1)

Publication Number Publication Date
JP2015050704A true JP2015050704A (en) 2015-03-16

Family

ID=52700347

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013182431A Pending JP2015050704A (en) 2013-09-03 2013-09-03 Portable terminal device, program, and recording medium

Country Status (1)

Country Link
JP (1) JP2015050704A (en)

Similar Documents

Publication Publication Date Title
CN111052727B (en) Electronic device and control method thereof
KR102598109B1 (en) Electronic device and method for providing notification relative to image displayed via display and image stored in memory based on image analysis
KR101545883B1 (en) Method for controlling camera of terminal and terminal thereof
US9813607B2 (en) Method and apparatus for image capture targeting
US9025044B2 (en) Imaging device, display method, and computer-readable recording medium
US20050088542A1 (en) System and method for displaying an image composition template
US9986155B2 (en) Image capturing method, panorama image generating method and electronic apparatus
KR20170106325A (en) Method and apparatus for multiple technology depth map acquisition and fusion
US9843727B2 (en) Image capturing apparatus and image capturing method
KR20120022512A (en) Electronic camera, image processing apparatus, and image processing method
EP3236415B1 (en) Determining a boundary associated with image data
CN104243800A (en) Control device and storage medium
KR102661185B1 (en) Electronic device and method for obtaining images
JP2008148089A (en) Projection apparatus and camera
TWI484285B (en) Panorama photographing method
JP2012070144A (en) Display apparatus
TW201621814A (en) Gesture sensing device and method of sensing three-dimensional gestures
KR20210101087A (en) An electronic device and method for displaying image at the electronic device
CN111182199B (en) Electronic device and photographing method
JP2015050704A (en) Portable terminal device, program, and recording medium
JP2010178158A (en) Electronic camera
JP7264675B2 (en) processor and program
JP2016111521A (en) Information processing device, information processing program and information processing method
JP7321187B2 (en) Image processing method and apparatus, camera assembly, electronic device, storage medium
KR102039025B1 (en) Method for controlling camera of terminal and terminal thereof