JP2013258583A - Captured image display, captured image display method, and program - Google Patents

Captured image display, captured image display method, and program Download PDF

Info

Publication number
JP2013258583A
JP2013258583A JP2012133718A JP2012133718A JP2013258583A JP 2013258583 A JP2013258583 A JP 2013258583A JP 2012133718 A JP2012133718 A JP 2012133718A JP 2012133718 A JP2012133718 A JP 2012133718A JP 2013258583 A JP2013258583 A JP 2013258583A
Authority
JP
Japan
Prior art keywords
camera
distance
captured image
horizontal
image
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.)
Granted
Application number
JP2012133718A
Other languages
Japanese (ja)
Other versions
JP5805013B2 (en
Inventor
Masashi Tagaya
昌志 多賀谷
Yasuo Morinaga
康夫 森永
Masakatsu Tsukamoto
昌克 塚本
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.)
NTT Docomo Inc
Original Assignee
NTT Docomo Inc
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 NTT Docomo Inc filed Critical NTT Docomo Inc
Priority to JP2012133718A priority Critical patent/JP5805013B2/en
Priority to PCT/JP2013/065463 priority patent/WO2013187282A1/en
Publication of JP2013258583A publication Critical patent/JP2013258583A/en
Application granted granted Critical
Publication of JP5805013B2 publication Critical patent/JP5805013B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2621Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2628Alteration of picture size, shape, position or orientation, e.g. zooming, rotation, rolling, perspective, translation

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)
  • Processing Or Creating Images (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a captured image display which can display a captured image while processing the captured image as if the display is an observation hole.SOLUTION: The captured image display includes a camera, a display for presenting an image in a direction opposite from the capturing direction of the camera, a first distance sensor outputting the data for measuring the distance (first distance) to an object existing in a direction opposite from the capturing direction of the camera, a calibration value storage section for storing a calibration value that is determined based on the relationship of a variation in the distance between a camera and a subject in the capturing direction and a variation in the occupation pixels in a captured image of a subject, an image reduction section for generating a reduced image by decreasing the number of pixels of an image captured by means of the camera based on the first distance and the calibration value, a trimming position calculation section for calculating the positions of start point and end point pixels, a trimming section for clipping a reduced image based on the positions of start point and end point pixels, and a display control section for displaying an image thus clipped on a display.

Description

本発明はカメラとディスプレイとを備える撮像画像表示装置、撮像画像表示装置を用いる撮像画像表示方法、およびそのプログラムに関する。   The present invention relates to a captured image display device including a camera and a display, a captured image display method using the captured image display device, and a program thereof.

従来、カメラと、カメラの撮像画像をライブビュー映像として連続的かつリアルタイムに表示するディスプレイ(ライブビュー機能付き電子ファインダ、液晶ファインダ)とを備えるディジタルカメラや、ディジタルカメラ付き電子機器(携帯端末、タブレット型端末、PDA、携帯ゲーム機など)が開発されている(例えば、特許文献1のライブビュー機能付き携帯端末)。図1に従来のディジタルカメラ付き携帯端末におけるディスプレイへのライブビュー映像表示例を示す。図1のように、ディジタルカメラ付き携帯端末9は、被写体1を、カメラが備える画角内においてリアルタイムに撮像し、当該撮像画像全体がディジタルカメラ付き携帯端末9のディスプレイのサイズに丁度収まる程度にサイズを調整してライブビュー映像2として表示する。   Conventionally, a digital camera provided with a camera and a display (electronic viewfinder with live view function, liquid crystal finder) that continuously and in real time displays a captured image of the camera as a live view video, or an electronic device with a digital camera (mobile terminal, tablet) Type terminals, PDAs, portable game machines, etc.) have been developed (for example, portable terminals with a live view function of Patent Document 1). FIG. 1 shows an example of live view video display on a display in a conventional portable terminal with a digital camera. As shown in FIG. 1, the mobile terminal 9 with a digital camera captures the subject 1 in real time within the angle of view of the camera, and the entire captured image just fits within the display size of the mobile terminal 9 with the digital camera. Adjust the size and display as Live View video 2.

特開2011−171917号公報JP 2011-171917 A

しかしながら、従来のディジタルカメラ付き携帯端末9では、ユーザはディスプレイを素通しファインダ(覗き窓)のように使用することは出来ない。ディスプレイに表示されるライブビュー映像は通常、予め決められたカメラ画角内において撮像された画像全体を、ディスプレイ内になるべく大きく表示する性格のものであり、ユーザは、ディスプレイを観察したとしても、ディスプレイサイズの覗き窓を通して被写体を観察したことにはならない。これについて、図2を参照して詳細に説明する。図2は、ディジタルカメラ付き携帯端末のディスプレイを覗き窓として使用した場合のライブビュー映像表示例を示す図である。ライブビュー映像をあたかもディスプレイサイズの覗き窓を通して観察される風景のように構成するためには、ユーザ眼球位置(便宜上一点とする)と被写体1の任意の点(点Rと呼ぶ)とを結ぶ直線とディスプレイ面との交点にあたる座標に当該被写体1の点Rが表示されるように、ライブビュー映像を表示しなければならない。具体的には図2に示すライブビュー映像3のように映像を表示しなければならない。   However, in the conventional mobile terminal 9 with a digital camera, the user cannot use the display as a finder (view window). The live view video displayed on the display is usually of the nature of displaying the entire image captured within a predetermined camera angle of view as large as possible in the display, and even if the user observes the display, It does not mean that the subject is observed through the viewing window of the display size. This will be described in detail with reference to FIG. FIG. 2 is a diagram showing a live view video display example when the display of the mobile terminal with a digital camera is used as a viewing window. In order to configure a live view image as if it is a landscape observed through a viewing window of a display size, a straight line connecting the user eyeball position (for convenience, one point) and an arbitrary point on the subject 1 (referred to as point R) The live view video must be displayed so that the point R of the subject 1 is displayed at the coordinates corresponding to the intersection of the display surface and the display surface. Specifically, the video must be displayed like a live view video 3 shown in FIG.

従来のディジタルカメラ付き携帯端末9では、前述のライブビュー映像3のような表示をすることが出来ないため、ユーザはディスプレイを覗き窓として使用することができない。このため、従来のディジタルカメラ付き携帯端末9において撮影される画像や映像はユーザ視点からみた被写体の占有立体角を正しく再現するものでなく、被写体のサイズ感を反映したものにならない。また、従来のディジタルカメラ付き携帯端末9では、ディスプレイを風景を切り取る枠として使用したいというユーザのニーズに応えることは出来ない。そこで本発明では、ディスプレイが覗き窓であるかのように、撮像画像を加工してディスプレイに表示することができる撮像画像表示装置を提供することを目的とする。   In the conventional mobile terminal 9 with a digital camera, the user cannot use the display as a viewing window because it cannot display the live view video 3 described above. For this reason, images and videos captured by the conventional mobile terminal 9 with a digital camera do not accurately reproduce the occupied solid angle of the subject from the viewpoint of the user, and do not reflect the sense of size of the subject. In addition, the conventional portable terminal 9 with a digital camera cannot meet the user's needs to use the display as a frame for cutting a landscape. Therefore, an object of the present invention is to provide a captured image display device that can process a captured image and display it on the display as if the display is a viewing window.

本発明の撮像画像表示装置は、カメラと、カメラの撮像方向と反対方向に画像を提示するディスプレイと、第1距離センサと、第1距離計算部と、校正値記憶部と、画像縮小部と、トリミング位置計算部と、トリミング部と、ディスプレイ制御部とを備える。   A captured image display device of the present invention includes a camera, a display that presents an image in a direction opposite to the imaging direction of the camera, a first distance sensor, a first distance calculation unit, a calibration value storage unit, and an image reduction unit. A trimming position calculation unit, a trimming unit, and a display control unit.

第1距離センサは、カメラの撮像方向と反対方向に存在する物体との距離を測定するためのデータを出力する。第1距離計算部は、第1距離センサの出力に基づいて、撮像方向と反対方向に存在する物体との距離(以下、第1距離という)を計算する。校正値記憶部は、カメラと被写体との撮像方向距離の変化量と、被写体の撮像画像中における占有画素の変化量との関係に基づいて定められる校正値を予め記憶する。画像縮小部は、第1距離と校正値とに基づいて、カメラの撮像画像の水平、鉛直方向それぞれの画素数を少なくして縮小し、縮小画像を生成する。トリミング位置計算部は、ディスプレイの水平、鉛直方向それぞれのサイズと、第1距離と、カメラの水平、鉛直方向それぞれの画素数と、カメラの水平、鉛直方向それぞれの画角とに基づいて、水平、鉛直方向それぞれの始点画素と、終点画素の位置を計算する。トリミング部は、縮小画像を始点画素、および終点画素の位置に基づいて切り抜く。ディスプレイ制御部は、切り抜かれた画像をディスプレイに表示する。   The first distance sensor outputs data for measuring a distance from an object that exists in a direction opposite to the imaging direction of the camera. The first distance calculation unit calculates a distance (hereinafter referred to as a first distance) from an object that exists in a direction opposite to the imaging direction based on the output of the first distance sensor. The calibration value storage unit stores in advance a calibration value that is determined based on the relationship between the change amount of the imaging direction distance between the camera and the subject and the change amount of the occupied pixel in the captured image of the subject. Based on the first distance and the calibration value, the image reduction unit reduces the number of pixels in the horizontal and vertical directions of the captured image of the camera to generate a reduced image. The trimming position calculation unit calculates the horizontal position based on the horizontal and vertical sizes of the display, the first distance, the number of pixels of the horizontal and vertical directions of the camera, and the angle of view of the horizontal and vertical directions of the camera. The positions of the start pixel and the end pixel in the vertical direction are calculated. The trimming unit cuts out the reduced image based on the positions of the start point pixel and the end point pixel. The display control unit displays the clipped image on the display.

本発明の撮像画像表示装置によれば、ディスプレイが覗き窓であるかのように、撮像画像を加工してディスプレイに表示することができる。   According to the captured image display device of the present invention, the captured image can be processed and displayed on the display as if the display were a viewing window.

従来のディジタルカメラ付き携帯端末におけるディスプレイへのライブビュー映像表示例を示す図。The figure which shows the example of a live view image | video display on the display in the conventional portable terminal with a digital camera. ディジタルカメラ付き携帯端末のディスプレイを覗き窓として使用した場合のライブビュー映像表示例を示す図。The figure which shows the example of a live view image | video display at the time of using the display of a portable terminal with a digital camera as a viewing window. 実施例1の撮像画像表示装置の構成を示すブロック図。1 is a block diagram illustrating a configuration of a captured image display device according to Embodiment 1. FIG. 実施例1の撮像画像表示装置の動作を示すフローチャート。5 is a flowchart showing the operation of the captured image display device of Embodiment 1. 実施例1の校正部の構成を示すブロック図。FIG. 2 is a block diagram illustrating a configuration of a calibration unit according to the first embodiment. 実施例1の校正部の動作を示すフローチャート。6 is a flowchart illustrating the operation of the calibration unit according to the first embodiment. 実施例1の校正部が校正値の計算に用いる第1画像、第2画像を説明する図。FIG. 6 is a diagram for explaining a first image and a second image used by the calibration unit of the first embodiment for calculating a calibration value. カメラと基準との撮像方向距離の変化量と、基準の撮像画像中における占有画素(ピクセル)の変化量との関係を表す図。The figure showing the relationship between the variation | change_quantity of the imaging direction distance of a camera and a reference | standard, and the variation | change_quantity of the occupation pixel (pixel) in a reference | standard captured image. 実施例1のトリミング位置計算部の構成を示すブロック図。FIG. 3 is a block diagram illustrating a configuration of a trimming position calculation unit according to the first embodiment. 実施例1のトリミング位置計算部の動作を示すフローチャート。6 is a flowchart illustrating an operation of a trimming position calculation unit according to the first embodiment. 実施例1の画像縮小部が生成する縮小画像について説明する図。FIG. 6 is a diagram illustrating a reduced image generated by an image reduction unit according to the first embodiment. カメラの画角とカメラの画素の関係について説明する図。The figure explaining the relationship between the angle of view of a camera, and the pixel of a camera. 実施例1のトリミング位置計算部の始点終点画素計算手段が計算する始点、終点画素について説明する図。FIG. 6 is a diagram for explaining a start point and an end point pixel calculated by a start point / end point pixel calculation unit of the trimming position calculation unit according to the first embodiment. 実施例2の撮像画像表示装置の構成を示すブロック図。FIG. 6 is a block diagram illustrating a configuration of a captured image display device according to a second embodiment. 実施例2の撮像画像表示装置の動作を示すフローチャート。9 is a flowchart illustrating the operation of the captured image display device according to the second embodiment. 実施例2のトリミング位置計算部の構成を示すブロック図。FIG. 9 is a block diagram illustrating a configuration of a trimming position calculation unit according to the second embodiment. 実施例2のトリミング位置計算部の動作を示すフローチャート。9 is a flowchart illustrating the operation of a trimming position calculation unit according to the second embodiment. カメラの画角、ファインダ角、第1距離、第2距離を説明する図。The figure explaining the view angle of a camera, a finder angle, 1st distance, and 2nd distance. トリミング角について説明する図。The figure explaining a trimming angle. 実施例2のトリミング位置計算部の始点終点画素計算手段が計算する始点、終点画素について説明する図。FIG. 10 is a diagram for explaining a start point and an end point pixel calculated by a start point / end point pixel calculation unit of a trimming position calculation unit according to the second embodiment. 実施例3の撮像画像表示装置の構成を示すブロック図。FIG. 6 is a block diagram illustrating a configuration of a captured image display device according to a third embodiment. 実施例3の撮像画像表示装置の動作を示すフローチャート。10 is a flowchart showing the operation of the captured image display apparatus according to the third embodiment. 実施例3のトリミング位置計算部の構成を示すブロック図。FIG. 9 is a block diagram illustrating a configuration of a trimming position calculation unit according to a third embodiment. 実施例3のトリミング位置計算部の動作を示すフローチャート。10 is a flowchart illustrating the operation of a trimming position calculation unit according to the third embodiment. 覗きこみ角、第1トリミング角、第2トリミング角(パターン1)を説明する図。The figure explaining a peep angle, the 1st trimming angle, and the 2nd trimming angle (pattern 1). 実施例3のトリミング位置計算部の始点終点画素計算手段が計算する始点、終点画素(パターン1)について説明する図。FIG. 10 is a diagram for explaining a start point and an end point pixel (pattern 1) calculated by a start point / end point pixel calculation unit of a trimming position calculation unit according to the third embodiment. 覗きこみ角、第1トリミング角、第2トリミング角(パターン2)を説明する図。The figure explaining a peep angle, the 1st trimming angle, and the 2nd trimming angle (pattern 2). 実施例3のトリミング位置計算部の始点終点画素計算手段が計算する始点、終点画素(パターン2)について説明する図。FIG. 10 is a diagram for explaining a start point and an end point pixel (pattern 2) calculated by a start point / end point pixel calculation unit of a trimming position calculation unit according to the third embodiment.

以下、本発明の実施の形態について、詳細に説明する。なお、同じ機能を有する構成部には同じ番号を付し、重複説明を省略する。   Hereinafter, embodiments of the present invention will be described in detail. In addition, the same number is attached | subjected to the structure part which has the same function, and duplication description is abbreviate | omitted.

<撮像画像表示装置>
本発明では、カメラと、カメラの撮像画像をライブビュー映像として連続的かつリアルタイムに表示するディスプレイとを備える電子機器を撮像画像表示装置と総称する。撮像画像表示装置には、携帯端末、タブレット型端末、PDA、携帯ゲーム機、ノート型PCが含まれる。
<Captured image display device>
In the present invention, electronic devices including a camera and a display that continuously and in real time displays captured images of the camera as a live view video are collectively referred to as a captured image display device. The captured image display device includes a portable terminal, a tablet terminal, a PDA, a portable game machine, and a notebook PC.

以下、図3、図4を参照して本発明の実施例1の撮像画像表示装置について説明する。図3は本実施例の撮像画像表示装置100の構成を示すブロック図である。図4は本実施例の撮像画像表示装置100の動作を示すフローチャートである。図3に示すように、本実施例の撮像画像表示装置100は、カメラ105と、カメラ制御部110と、画像記憶部115と、校正部120と、校正値記憶部125と、第1距離センサ130と、第1距離センサ制御部135と、第1距離計算部140と、画像縮小部145と、トリミング位置計算部150と、トリミング部155と、ディスプレイ制御部160と、ディスプレイ165とを備える。ディスプレイ165は、カメラ105の撮像方向と反対方向に画像を提示できるように、撮像画像表示装置100本体に設けられている。   Hereinafter, the captured image display apparatus according to the first embodiment of the present invention will be described with reference to FIGS. 3 and 4. FIG. 3 is a block diagram showing the configuration of the captured image display apparatus 100 of the present embodiment. FIG. 4 is a flowchart showing the operation of the captured image display apparatus 100 of the present embodiment. As shown in FIG. 3, the captured image display apparatus 100 of the present embodiment includes a camera 105, a camera control unit 110, an image storage unit 115, a calibration unit 120, a calibration value storage unit 125, and a first distance sensor. 130, a first distance sensor control unit 135, a first distance calculation unit 140, an image reduction unit 145, a trimming position calculation unit 150, a trimming unit 155, a display control unit 160, and a display 165. The display 165 is provided in the main body of the captured image display apparatus 100 so that an image can be presented in a direction opposite to the imaging direction of the camera 105.

以下、図4を参照しながら各構成部の動作の概略について説明する。カメラ制御部110は、ユーザ入力に従ってカメラ105の起動、カメラ105の動作(撮像、画像記録など)を制御する。カメラ105の撮像画像は画像記憶部115に記憶される。校正部120は、カメラ105と被写体との撮像方向距離の変化量と、被写体の撮像画像中における占有画素の変化量との関係に基づいて定められる校正値を計算し、計算された校正値を校正値記憶部125に記憶する(S120)。ステップS120について詳細は後述する。第1距離センサ130は、カメラ105の撮像方向と反対方向に存在する物体との距離を測定するためのデータを出力する。第1距離センサ130について詳細は後述する。第1距離センサ制御部135は、カメラ105の起動を検知して(S105Y)、第1距離センサ130を起動する(S135)。第1距離計算部140は、第1距離センサ130の出力に基づいて、撮像方向と反対方向に存在する物体との距離(以下、第1距離という)を計算する(S140)。ステップS140について詳細は後述する。画像縮小部145は、第1距離と校正値とに基づいて、カメラ105の撮像画像の水平、鉛直方向それぞれの画素数を少なくして縮小し、縮小画像を生成する(S145)。ステップS145について詳細は後述する。トリミング位置計算部150は、ディスプレイ165の水平、鉛直方向それぞれのサイズと、第1距離と、カメラ105の水平、鉛直方向それぞれの画素数と、カメラ105の水平、鉛直方向それぞれの画角とに基づいて、水平、鉛直方向それぞれの始点画素と、終点画素の位置を計算する(S150)。ステップS150について詳細は後述する。トリミング部155は、縮小画像を始点画素、および終点画素の位置に基づいて切り抜く(S155)。ディスプレイ制御部160は、切り抜かれた画像をディスプレイ165に表示する(S160)。   The outline of the operation of each component will be described below with reference to FIG. The camera control unit 110 controls the activation of the camera 105 and the operation (imaging, image recording, etc.) of the camera 105 according to the user input. The captured image of the camera 105 is stored in the image storage unit 115. The calibration unit 120 calculates a calibration value determined based on the relationship between the change amount of the imaging direction distance between the camera 105 and the subject and the change amount of the occupied pixel in the captured image of the subject, and calculates the calculated calibration value. It memorize | stores in the calibration value memory | storage part 125 (S120). Details of step S120 will be described later. The first distance sensor 130 outputs data for measuring the distance to an object existing in the direction opposite to the imaging direction of the camera 105. Details of the first distance sensor 130 will be described later. The first distance sensor control unit 135 detects the activation of the camera 105 (S105Y), and activates the first distance sensor 130 (S135). Based on the output of the first distance sensor 130, the first distance calculator 140 calculates a distance (hereinafter referred to as a first distance) from an object that exists in the direction opposite to the imaging direction (S140). Details of step S140 will be described later. Based on the first distance and the calibration value, the image reduction unit 145 reduces the number of pixels in the horizontal and vertical directions of the image captured by the camera 105 to generate a reduced image (S145). Details of step S145 will be described later. The trimming position calculator 150 determines the horizontal and vertical sizes of the display 165, the first distance, the number of pixels of the camera 105 in the horizontal and vertical directions, and the angle of view of the camera 105 in the horizontal and vertical directions. Based on this, the positions of the start pixel and the end pixel in the horizontal and vertical directions are calculated (S150). Details of step S150 will be described later. The trimming unit 155 cuts out the reduced image based on the positions of the start point pixel and the end point pixel (S155). The display control unit 160 displays the clipped image on the display 165 (S160).

<校正部120の動作(ステップS120)について>
以下、校正部120の動作(ステップS120)について図5から図8を参照して詳細に説明する。図5は、本実施例の校正部120の構成を示すブロック図である。図6は、本実施例の校正部120の動作を示すフローチャートである。図7は、本実施例の校正部120が校正値の計算に用いる第1画像10、第2画像20を説明する図である。図7(a)は第1画像10の例、図7(b)は第2画像20の例である。図8は、カメラ105と基準30との撮像方向距離の変化量と、基準30の撮像画像中における占有画素(ピクセル)の変化量との関係を表す図である。
<Operation of Calibration Unit 120 (Step S120)>
Hereinafter, the operation of the calibration unit 120 (step S120) will be described in detail with reference to FIGS. FIG. 5 is a block diagram showing the configuration of the calibration unit 120 of this embodiment. FIG. 6 is a flowchart showing the operation of the calibration unit 120 of this embodiment. FIG. 7 is a diagram illustrating the first image 10 and the second image 20 that are used by the calibration unit 120 of the present embodiment for calculating the calibration value. FIG. 7A shows an example of the first image 10, and FIG. 7B shows an example of the second image 20. FIG. 8 is a diagram illustrating the relationship between the change amount of the imaging direction distance between the camera 105 and the reference 30 and the change amount of the occupied pixel (pixel) in the captured image of the reference 30.

図5に示すように、本実施例の校正部120は、第1画像取得手段121と、第2画像取得手段122と、領域特定手段123と、校正値計算手段124とを備える。なお、校正部120の各構成手段121〜124などはアプリケーションソフトウェアで実現される。また、校正部120が行う校正動作には、予めサイズを定めてユーザに配布した基準30を使用する。図7の例では、基準30は長手方向の長さがaの棒形状である。基準30は、例えば本実施例の撮像画像変換装置100の製品パッケージ等に同封しておけばよい。以下、図6を参照しながら校正部120の動作について説明する。まず、第1画像取得手段121は、基準30を画面の幅(水平)方向一杯に撮影する旨の指示をディスプレイに提示して、指示提示の後、最初に撮影された画像(第1画像10)に第1画像10を示す固有のフラグ値を付加する。ユーザが第1画像取得手段121の指示に従って基準30を撮影した場合、第1画像10は図7(a)に例示したような画像となる。次に、第2画像取得手段121は、第1画像10の撮影位置から所定の距離b(例えばb=1メートル)基準30から撮影方向遠ざかった位置において、基準30を再度撮影する旨の指示をディスプレイに提示して、指示提示の後、最初に撮影された画像(第2画像20)に第2画像20を示す固有のフラグ値を付加する。ユーザが第2画像取得手段122の指示に従って基準30を撮影した場合、第2画像20は図7(b)に例示したような画像となる。固有のフラグ値を付加された第1、第2画像20は何れも画像記憶部115に記憶される。ユーザは、第1画像10、第2画像20を正常に撮影したと判断した場合には、端末操作により撮影終了を通知する。具体的には、校正部120のアプリケーションプログラムにおいて、撮影終了ボタンをタッチスクリーン上に表示するか、撮影終了ボタンとして操作ボタンのひとつを割り当てて当該割り当てを表示し、撮影終了ボタンの押下を検知すればよい。第1画像取得手段121は、ユーザからの撮影終了通知を契機として、画像記憶部115から、第1画像10を示す固有のフラグ値を付加された画像(第1画像10)を検索して、当該第1画像10を取得する(SS121)。第2画像取得手段122は、ユーザからの撮影終了通知を契機として、画像記憶部115から、第2画像20を示す固有のフラグ値を付加された画像(第2画像20)を検索して、当該第2画像20を取得する(SS122)。領域特定手段123は、第1画像10、第2画像20の双方から撮像された基準30を検出する(SS123)。基準30の検出方法は周知の画像処理方法で構わない。例えばフィルタ関数の畳みこみによるコントラストの検知などでよい。例えば、基準30の両端部に、予め定めた識別パタンを印刷しておき、この識別パタンを検知することによって、基準30の占有画素を見積もってもよい。この場合、識別パタンが検知できない場合には、基準30が撮影されていないものとして、処理を中断しても良い。次に、校正値計算手段124は、第1画像10、第2画像20中の基準30が撮像された画素(ピクセル)数から校正値を計算して、校正値記憶部125に記憶する(SS124)。より具体的には、図8に示すように、第1画像10における基準30が撮像された画素の数、例えば水平方向の画素数をZとし、第2画像20における基準30が撮像された画素の数、例えば水平方向の画素数をZとして、横軸をカメラの移動距離、縦軸を基準30の撮像された画素の水平方向の個数とし、第1画像10におけるカメラ105の位置を移動距離0、つまりZを切片とし、座標(b,Z)を通過する一次関数を考える。例えばこの一次関数の傾きcを校正値とすることができる。校正値cは、c=(Z−Z)/bにより求められる。校正値cは、校正値記憶部125に記憶され、画像縮小部145が実行するステップS145において用いられる。詳細については後述する。なお、校正値cを出荷時点で撮像画像表示装置100のいずれかの記憶領域(例えば校正値記憶部125)に予め記憶しておけば、上述のユーザを介した校正動作は必要ない。この場合、校正部120全体を省略することができる。 As shown in FIG. 5, the calibration unit 120 of this embodiment includes a first image acquisition unit 121, a second image acquisition unit 122, a region specifying unit 123, and a calibration value calculation unit 124. Each constituent unit 121 to 124 of the calibration unit 120 is realized by application software. Further, for the calibration operation performed by the calibration unit 120, the reference 30 that has a predetermined size and is distributed to the user is used. In the example of FIG. 7, the reference 30 is a rod shape having a length in the longitudinal direction. The reference 30 may be enclosed in, for example, the product package of the captured image conversion apparatus 100 of the present embodiment. Hereinafter, the operation of the calibration unit 120 will be described with reference to FIG. First, the first image acquisition unit 121 presents an instruction on the display to capture the reference 30 in the full width (horizontal) direction of the screen, and after presenting the instruction, the first image (first image 10) is captured. ) Is added with a unique flag value indicating the first image 10. When the user captures the reference 30 according to the instruction of the first image acquisition unit 121, the first image 10 is an image as illustrated in FIG. Next, the second image acquisition unit 121 gives an instruction to shoot the reference 30 again at a position away from the reference 30 by a predetermined distance b (for example, b = 1 meter) from the shooting position of the first image 10. The unique flag value indicating the second image 20 is added to the first photographed image (second image 20) after presentation on the display and the indication. When the user captures the reference 30 according to the instruction of the second image acquisition unit 122, the second image 20 is an image as illustrated in FIG. 7B. Both the first and second images 20 to which the unique flag value is added are stored in the image storage unit 115. When the user determines that the first image 10 and the second image 20 have been shot normally, the user notifies the end of shooting by operating the terminal. Specifically, in the application program of the calibration unit 120, the shooting end button is displayed on the touch screen, or one of the operation buttons is assigned as the shooting end button to display the assignment, and the pressing of the shooting end button is detected. That's fine. The first image acquisition unit 121 searches the image storage unit 115 for an image (first image 10) to which a unique flag value indicating the first image 10 is added, triggered by a shooting end notification from the user. The first image 10 is acquired (SS121). The second image acquisition unit 122 searches the image storage unit 115 for an image (second image 20) to which a unique flag value indicating the second image 20 is added, triggered by a shooting end notification from the user, The second image 20 is acquired (SS122). The region specifying unit 123 detects the reference 30 captured from both the first image 10 and the second image 20 (SS123). The detection method of the reference 30 may be a known image processing method. For example, the detection of contrast by convolution of a filter function may be used. For example, the occupation pixels of the reference 30 may be estimated by printing a predetermined identification pattern on both ends of the reference 30 and detecting this identification pattern. In this case, if the identification pattern cannot be detected, the process may be interrupted assuming that the reference 30 has not been shot. Next, the calibration value calculation means 124 calculates a calibration value from the number of pixels (pixels) in which the reference 30 in the first image 10 and the second image 20 is imaged, and stores it in the calibration value storage unit 125 (SS124). ). More specifically, as shown in FIG. 8, the number of pixels that reference 30 in the first image 10 is captured, for example, the number of pixels in the horizontal direction and Z 1, reference 30 in the second image 20 is captured the number of pixels, for example, the number of pixels in the horizontal direction as Z 2, the movement distance of the camera on the horizontal axis, vertical axis and horizontal number of the imaged pixel of the base 30, the position of the camera 105 in the first image 10 Consider a linear function passing through coordinates (b, Z 2 ) with the movement distance 0, that is, Z 1 as an intercept. For example, the slope c of this linear function can be used as a calibration value. The calibration value c is obtained by c = (Z 2 −Z 1 ) / b. The calibration value c is stored in the calibration value storage unit 125 and used in step S145 executed by the image reduction unit 145. Details will be described later. If the calibration value c is stored in advance in any storage area (for example, the calibration value storage unit 125) of the captured image display device 100 at the time of shipment, the above-described calibration operation through the user is not necessary. In this case, the entire calibration unit 120 can be omitted.

<第1距離センサ130について>
以下、第1距離センサ130について説明する。前述したように、第1距離センサ130は、カメラ105の撮像方向と反対方向に存在する物体との距離を測定するためのデータを出力する。第1距離センサ130は、例えば、CCDで光を受けて角度で測距するパッシブ方式による距離センサでもよい。第1距離センサ130は、音波を発射し、物体に反射された音波が帰ってくるまでの時間で測距するソナー方式、近赤外光の出射角と、物体に反射された赤外光の入射角とを測り、幾何学的に距離を測距する赤外線方式によってもよい。または、CCDで撮像した画像のコントラストを検知して、レンズ位置を前後に動作させ、ピント位置を割り出して、測距するコントラスト検知方式でもよい。レンズから導いたスリット光の位相を検知することにより測距する位相差検知方式でもよい。実施例2以降で説明する第2距離センサ230についても同様に、パッシブ方式、ソナー方式、赤外線方式、コントラスト検知方式、位相差検知方式の何れか、または他の方式によってもよい。なお、第1距離センサ130によるデータ出力は、第1距離センサ制御部135により、例えば0.1〜1秒毎に実行され、ユーザの動きに十分に追従できればさらによい。
<About the first distance sensor 130>
Hereinafter, the first distance sensor 130 will be described. As described above, the first distance sensor 130 outputs data for measuring the distance to an object that exists in a direction opposite to the imaging direction of the camera 105. The first distance sensor 130 may be, for example, a passive distance sensor that receives light by a CCD and measures a distance by an angle. The first distance sensor 130 is a sonar method that emits a sound wave and measures the distance until the sound wave reflected by the object returns, the emission angle of near infrared light, and the infrared light reflected by the object. An infrared method may be used in which the incident angle is measured and the distance is measured geometrically. Alternatively, a contrast detection method may be used in which the contrast of an image captured by the CCD is detected, the lens position is moved back and forth, the focus position is determined, and the distance is measured. A phase difference detection method that measures the distance by detecting the phase of the slit light guided from the lens may be used. Similarly, the second distance sensor 230 described in the second and subsequent embodiments may be either a passive method, a sonar method, an infrared method, a contrast detection method, a phase difference detection method, or another method. Note that the data output by the first distance sensor 130 is executed by the first distance sensor control unit 135, for example, every 0.1 to 1 second, and it is even better if it can sufficiently follow the user's movement.

<第1距離計算部140の動作(ステップS140)について>
以下、第1距離計算部140について説明する。前述したように、第1距離計算部140は、第1距離センサ130の出力に基づいて、撮像方向と反対方向に存在する物体との距離(第1距離)を計算する(S140)。第1距離計算部140の測距用のプログラムは、第1距離センサ130の方式に対応して組み込まれており、第1距離センサ130の出力データに基づいて、第1距離を算出することができる。ここで、撮像方向と反対方向に存在する物体として想定しているのはユーザの顔面や、ユーザの身体の一部である。従って、第1距離計算部140は、撮像画像表示装置100とユーザの間の距離を第1距離として計算することを想定して撮像画像表示装置100に組み込まれている。前述したように、撮像画像表示装置100は、カメラ105を備え、カメラ105の撮像方向と逆向きに撮像画像を表示するディスプレイ165を備えており、ユーザはカメラ105起動時にはディスプレイ165をファインダとして観察していることを考えれば、カメラ105の撮像方向と逆方向であって、撮像画像表示装置100の最近傍に存在する物体はユーザの顔面、もしくはユーザの身体の一部である可能性が高い。従って、第1距離センサ130が出力したデータにより計算した距離離れた位置にユーザが存在すると考えることができる。また、カメラ105の撮像方向と逆方向にユーザが存在しない場合には、そもそもユーザがディスプレイ165を見ていない可能性が高い。具体的には、カメラ105を起動したまま、撮像画像表示装置100を放置している場合などである。このような場合、第1距離センサ130が出力したデータによっては、ユーザとの距離を正しく計算することができず後述する画像の切り抜きなどにも影響を与えることになる。しかしながら、この場合、ユーザがディスプレイ165を見ていない可能性が高く、ディスプレイ165への表示自体が不必要であるため問題とならない。
<Operation of First Distance Calculation Unit 140 (Step S140)>
Hereinafter, the first distance calculation unit 140 will be described. As described above, the first distance calculation unit 140 calculates a distance (first distance) from an object existing in the opposite direction to the imaging direction based on the output of the first distance sensor 130 (S140). The distance measurement program of the first distance calculation unit 140 is incorporated corresponding to the method of the first distance sensor 130, and can calculate the first distance based on the output data of the first distance sensor 130. it can. Here, what is assumed as an object that exists in a direction opposite to the imaging direction is a user's face or a part of the user's body. Therefore, the first distance calculation unit 140 is incorporated in the captured image display apparatus 100 on the assumption that the distance between the captured image display apparatus 100 and the user is calculated as the first distance. As described above, the captured image display apparatus 100 includes the camera 105 and includes the display 165 that displays the captured image in the direction opposite to the imaging direction of the camera 105. The user observes the display 165 as a viewfinder when the camera 105 is activated. In view of this, the object that is in the opposite direction to the imaging direction of the camera 105 and that is closest to the captured image display device 100 is likely to be the user's face or a part of the user's body. . Therefore, it can be considered that the user exists at a position separated by a distance calculated from the data output by the first distance sensor 130. In addition, when there is no user in the direction opposite to the imaging direction of the camera 105, it is highly likely that the user is not looking at the display 165 in the first place. Specifically, the captured image display device 100 is left unattended with the camera 105 activated. In such a case, depending on the data output from the first distance sensor 130, the distance to the user cannot be calculated correctly, and this will affect image clipping, which will be described later. However, in this case, there is a high possibility that the user is not looking at the display 165, and there is no problem because the display on the display 165 itself is unnecessary.

<画像縮小部145の動作(ステップS145)について>
図11を参照して画像縮小部145の動作について説明を加える。図11は本実施例の画像縮小部145が生成する縮小画像について説明する図である。図11に示すように、座標軸(図中の一点鎖線)の正方向をカメラ105の撮像方向とし、当該座標軸がカメラレンズの中心をとおるものとする。ユーザ眼球位置の撮像方向座標をCEYE、カメラ105の撮像方向座標をCCAM、被写体の撮像方向座標をCOBJとする。この場合、座標CCAMと座標CEYEとは、前述した第1距離だけ離れているものと考えることができる。従って、第1距離は、図中の座標CCAMと座標CEYEとの距離を意味するdと等しいものとして説明を続ける。ここで、画像縮小部145が生成する画像として想定しているのは、図11の座標CEYEにカメラ105を移動して被写体を撮像した場合の撮像画像である。ここで、画像縮小部145によって変形される前の撮像画像は、座標CCAMにあるカメラ105により座標COBJに存在する被写体を、画角αで撮像した画像のことである。一方、カメラ105を、撮像方向の負方向に第1距離(d)だけ移動させ、座標CEYEにおいて被写体を画角αで撮影した場合、変形前よりも広範囲の被写体を画角α内に収めることができる。従って、変形前の撮像画像から、カメラ105を、撮像方向の負方向に第1距離(d)だけ移動させたときの撮像画像を完全な形で取得することはできない。従って、画像縮小部145は、変形前の撮像画像に写されておらず、変形後の撮像画像に写されるはずの被写体については再現せずに、例えば信号ゼロとする。また、画像縮小部145は、変形前の撮像画像に写された被写体については、座標CEYEにおける画角となるように、縮小変形する。従って、画像縮小部145は、第1距離dと校正値cとに基づいて、撮像画像の縮小率を計算し、カメラ105の撮像画像の水平、鉛直方向それぞれの画素数を少なくして縮小した画像を生成する。このように生成した画像を、水平、鉛直方向のカメラ画素数が等しくなる画像領域の中央に配置して、配置された画像が占有しない周辺領域の画素値を所定の値(例えば信号ゼロ、RGB値が0)とした縮小画像を生成する。従ってこの場合、配置された画像が占有しない周辺領域は黒い額縁のように表示される。このようにして生成された縮小画像はトリミング位置計算部150が計算した始点終点画素の位置に基づいてトリミング(切り抜き)処理される。詳細については後述する。
<Operation of Image Reduction Unit 145 (Step S145)>
The operation of the image reduction unit 145 will be described with reference to FIG. FIG. 11 is a diagram illustrating a reduced image generated by the image reduction unit 145 of the present embodiment. As shown in FIG. 11, it is assumed that the positive direction of the coordinate axis (the one-dot chain line in the figure) is the imaging direction of the camera 105, and the coordinate axis is at the center of the camera lens. The imaging direction coordinate of the user eyeball position is C EYE , the imaging direction coordinate of the camera 105 is C CAM , and the imaging direction coordinate of the subject is C OBJ . In this case, it can be considered that the coordinates C CAM and the coordinates C EYE are separated by the first distance described above. Therefore, the description will be continued assuming that the first distance is equal to d, which means the distance between the coordinates C CAM and the coordinates C EYE in the figure. Here, what is assumed as an image generated by the image reduction unit 145 is a captured image when the camera 105 is moved to the coordinates KEY of FIG. Here, the captured image before being deformed by the image reducing unit 145 is an image obtained by capturing the subject existing at the coordinate C OBJ with the angle of view α by the camera 105 at the coordinate C CAM . On the other hand, when the camera 105 is moved by the first distance (d) in the negative direction of the image capturing direction and the subject is photographed at the angle EYE at the angle of view α, a wider range of subjects than before the deformation is included in the angle of view α. be able to. Therefore, it is not possible to obtain a complete captured image when the camera 105 is moved by the first distance (d) in the negative direction of the imaging direction from the captured image before deformation. Therefore, the image reduction unit 145 does not reproduce the subject that should not be copied in the captured image before deformation and should be copied in the captured image after deformation, and sets the signal to, for example, zero. In addition, the image reduction unit 145 reduces and deforms the subject captured in the pre-deformation captured image so as to have an angle of view at the coordinates KEYE . Accordingly, the image reduction unit 145 calculates the reduction ratio of the captured image based on the first distance d and the calibration value c, and reduces the number of pixels in the horizontal and vertical directions of the captured image of the camera 105 to reduce the image. Generate an image. The image generated in this way is arranged at the center of the image area where the number of camera pixels in the horizontal and vertical directions is equal, and the pixel value of the peripheral area not occupied by the arranged image is set to a predetermined value (for example, signal zero, RGB A reduced image with a value of 0) is generated. Therefore, in this case, the peripheral area not occupied by the arranged image is displayed like a black frame. The reduced image generated in this way is subjected to trimming (cutout) processing based on the position of the start point / end point pixel calculated by the trimming position calculation unit 150. Details will be described later.

<トリミング位置計算部150の動作(ステップS150)について>
以下、トリミング位置計算部150の動作(ステップS150)について図9から図13を参照して詳細に説明する。図9は、本実施例のトリミング位置計算部150の構成を示すブロック図である。図10は、本実施例のトリミング位置計算部150の動作を示すフローチャートである。図12は、カメラ105の画角とカメラ105の画素の関係について説明する図である。図13は、本実施例のトリミング位置計算部150の始点終点画素計算手段154が計算する始点、終点画素について説明する図である。
<Operation of Trimming Position Calculation Unit 150 (Step S150)>
Hereinafter, the operation (step S150) of the trimming position calculation unit 150 will be described in detail with reference to FIGS. FIG. 9 is a block diagram showing the configuration of the trimming position calculation unit 150 of this embodiment. FIG. 10 is a flowchart showing the operation of the trimming position calculation unit 150 of this embodiment. FIG. 12 is a diagram for explaining the relationship between the angle of view of the camera 105 and the pixels of the camera 105. FIG. 13 is a diagram illustrating the start point and end point pixels calculated by the start point / end point pixel calculation means 154 of the trimming position calculation unit 150 of the present embodiment.

図9に示す通り、トリミング位置計算部150は、パラメータ記憶手段151と、ファインダ角計算手段152と、始点終点画素計算手段154とを備える。パラメータ記憶手段151には、水平、鉛直方向それぞれのディスプレイサイズ、水平、鉛直方向それぞれの画素数、水平、鉛直方向それぞれのカメラ画角が記憶されている。ディスプレイサイズ、画素数(一辺)、カメラ画角については、それぞれ水平、鉛直方向のパラメータが存在する。従って、水平方向のディスプレイサイズをh、鉛直方向のディスプレイサイズをh、水平方向の画素数をN、鉛直方向の画素数をN、水平方向のカメラ画角をα、鉛直方向のカメラ画角をα、などと表すことができる。しかしながら、以下の説明では、鉛直方向の計算が水平方向の計算にほぼそのまま当てはまり、その逆も真であるからこれらを区別しておく必要もないため、パラメータh、N、αという表現を用いた場合には水平、鉛直の双方を纏めて説明する表現であるものとする。 As shown in FIG. 9, the trimming position calculation unit 150 includes a parameter storage unit 151, a finder angle calculation unit 152, and a start point / end point pixel calculation unit 154. The parameter storage unit 151 stores display sizes in the horizontal and vertical directions, the numbers of pixels in the horizontal and vertical directions, and camera angles of view in the horizontal and vertical directions. For the display size, the number of pixels (one side), and the camera angle of view, there are parameters in the horizontal and vertical directions, respectively. Accordingly, the horizontal display size is h 1 , the vertical display size is h 2 , the number of horizontal pixels is N 1 , the number of vertical pixels is N 2 , the horizontal camera field angle is α 1 , and the vertical direction Can be expressed as α 2 , etc. However, in the following description, the calculation in the vertical direction is almost directly applied to the calculation in the horizontal direction, and vice versa, and it is not necessary to distinguish between them, so the expression of parameters h, N, and α is used. Is an expression that describes both horizontal and vertical.

以下、図10を参照しながらトリミング位置計算部150の動作について説明する。まず、ファインダ角計算手段152は、パラメータ記憶手段151に記憶されているディスプレイサイズhと、前述の第1距離計算部140が計算した第1距離dを用いてファインダ角θを計算する(SS152)。ファインダ角θとは図11に示すようにユーザ眼球位置(便宜上、一点とする)と、ディスプレイ165一端の点(便宜上、ディスプレイ一端辺の中点としておく)とを結ぶ直線と、ユーザ眼球位置と、ディスプレイ165他端の点(便宜上、ディスプレイ他端辺の中点としておく)とを結ぶ直線とがなす角度(鋭角)のことである。ファインダ角θは以下の式により概算することができる。   Hereinafter, the operation of the trimming position calculator 150 will be described with reference to FIG. First, the finder angle calculation unit 152 calculates the finder angle θ using the display size h stored in the parameter storage unit 151 and the first distance d calculated by the first distance calculation unit 140 (SS152). . As shown in FIG. 11, the finder angle θ is a line connecting a user eyeball position (for convenience, one point) and a point at one end of the display 165 (for convenience, the middle point of one side of the display), and the user eyeball position. , An angle (acute angle) formed by a straight line connecting a point on the other end of the display 165 (for convenience, the midpoint of the other end of the display). The finder angle θ can be estimated by the following equation.

Figure 2013258583
Figure 2013258583

前述の画像縮小部145により縮小された画像からファインダ角θに該当する画像領域の画素を切り抜いて、切り抜いた画像をディスプレイ165画面いっぱいに表示することにより、ユーザがディスプレイ165を覗き窓として覗いた場合に見える光景と近似した画像を表示することが可能となる。   A pixel in the image area corresponding to the finder angle θ is cut out from the image reduced by the image reduction unit 145 described above, and the cut image is displayed over the entire screen of the display 165, so that the user looks into the display 165 as a viewing window. It is possible to display an image that approximates the sight seen in the case.

次に、始点終点画素計算手段154は、前述のファインダ角θ、カメラの水平、または鉛直方向の画素数N、カメラ画角αから始点、終点にあたる画素を計算する(SS154)。カメラ105の撮像画像の各画素と画角の関係は図12に示すとおりである。n番目の画素が占有する画角をαdiv(n)とすると、もっとも単純には、 Next, the start point / end point pixel calculation means 154 calculates the pixels corresponding to the start point and the end point from the finder angle θ, the number N of pixels in the horizontal or vertical direction of the camera, and the camera angle of view α (SS154). The relationship between each pixel of the captured image of the camera 105 and the angle of view is as shown in FIG. If the angle of view occupied by the nth pixel is α div (n), the simplest is

Figure 2013258583
Figure 2013258583

と概算することができる。また、図12に示すように、N個の画素を配置した領域の仮想的な長さをLとし、底辺の長さをL、頂角の大きさを画角αとした二等辺三角形を考える。この場合、二等辺三角形の頂点とn番目の画素との距離をxとし、高さL/N、底辺xである直角三角形を考える。αdiv(n)をこの直角三角形の底辺と斜辺のなす角(鋭角)であるものとして近似すれば、 Can be estimated. Also, as shown in FIG. 12, an isosceles triangle is considered in which an imaginary length of an area where N pixels are arranged is L, a base length is L, and an apex angle is an angle of view α. . In this case, a right triangle having a height L / N and a base xn is considered, where the distance between the vertex of the isosceles triangle and the nth pixel is xn . If α div (n) is approximated as an angle (acute angle) formed by the base and hypotenuse of this right triangle,

Figure 2013258583
Figure 2013258583

となり、 And

Figure 2013258583
Figure 2013258583

と概算することができる。式(4)において仮想的な長さLはキャンセルされる。式(2)や式(4)のように画角と画素は対応付けることが可能である。 Can be estimated. In equation (4), the virtual length L is canceled. The angle of view and the pixel can be associated with each other as in Expression (2) and Expression (4).

一方、画像縮小部145により生成された縮小画像は、座標CEYEにおいて撮像した画像を再現したものであるから、この縮小画像をファインダ角θに対応付けられる画素の始点と終点とで切り抜くことで、ユーザが座標CEYEにおいてディスプレイ165を覗き窓として覗いた場合に見える光景と近似した画像を生成することができる。そこで、図13のようにファインダ角θに対応付けられる画素の始点と終点とを求める。始点の画素をp番目の画素、終点の画素をq番目の画素とする(ただし、0≦p<q≦N)。ここで、式(1)によりファインダ角θは求められている。pとqの充たすべき条件は次式のようになる。 On the other hand, the reduced image generated by the image reduction unit 145 is a reproduction of the image captured at the coordinates KEYE . Therefore, the reduced image is cut out at the start point and the end point of the pixel associated with the finder angle θ. It is possible to generate an image that approximates a sight that can be seen when the user looks through the display 165 at the coordinates C EYE as a viewing window. Therefore, the start point and end point of the pixel associated with the finder angle θ are obtained as shown in FIG. The starting point pixel is the pth pixel and the ending point pixel is the qth pixel (where 0 ≦ p <q ≦ N). Here, the finder angle θ is obtained from the equation (1). The condition to be satisfied by p and q is as follows.

Figure 2013258583
Figure 2013258583

従って、始点終点画素計算手段154は、パラメータ記憶手段151に記憶されたカメラの水平、または鉛直方向の画素数N、カメラ画角α、計算されたファインダ角θを用いて、式(3)〜(6)を用いて(簡易的な方法では、式(2)、(5)、(6)でもよい)、始点、終点にあたる画素を計算する(SS154)。   Therefore, the start point / end point pixel calculation means 154 uses the number of horizontal or vertical pixels N of the camera, the camera angle of view α, and the calculated finder angle θ stored in the parameter storage means 151, to calculate the expressions (3) to (3). Using (6) (in the simple method, equations (2), (5), and (6) may be used), the pixels corresponding to the start point and the end point are calculated (SS154).

トリミング部155は、縮小画像をp番目の始点画素、およびq番目の終点画素の位置に基づいて切り抜く(S155)。より詳細には、トリミング部155は、水平方向の始点画素がp番目、水平方向の終点画素がq番目、鉛直方向の始点画素がp番目、鉛直方向の終点画素がq番目であった場合に、水平鉛直方向の座標(p,p)、(q,p)、(q,q)、(p,q)の4点を頂点とする長方形に縮小画像を切り抜く。ディスプレイ制御部160は、切り抜かれた画像をディスプレイ165に表示する(S160)。 The trimming unit 155 cuts out the reduced image based on the positions of the p-th start point pixel and the q-th end point pixel (S155). More specifically, the trimming unit 155 has a horizontal start point pixel p 1 , a horizontal end point pixel q 1 , a vertical start point pixel p 2 , and a vertical end pixel q 2nd . If there is, a rectangle with four points of horizontal and vertical coordinates (p 1 , p 2 ), (q 1 , p 2 ), (q 1 , q 2 ), (p 1 , q 2 ) as vertices Crop the reduced image. The display control unit 160 displays the clipped image on the display 165 (S160).

このように、本実施例の撮像画像表示装置100によれば、ディスプレイが覗き窓であるかのように、撮像画像を加工してディスプレイに表示することができるため、ユーザはディスプレイを覗き窓として使用して写真や動画の撮影を行うことができる。このため、ユーザ視点からみた被写体の占有立体角を正しく再現した写真や動画を生成することができ、ユーザからみた被写体のサイズ感を再現した写真や動画の生成に役立つ。さらに、本実施例の撮像画像表示装置100によれば、ディスプレイを風景を切り取る枠として使用することができるため、ユーザの利便性が向上する。さらに、本実施例の撮像画像表示装置100のカメラを常時起動状態にしておけば、装置本体をシースルーな装置として演出することができるため、装置の外観のデザインに利用することができ、ユーザを飽きさせない装置外観を提供することが可能となる。   Thus, according to the captured image display apparatus 100 of the present embodiment, the captured image can be processed and displayed on the display as if the display were a viewing window, so that the user can use the display as a viewing window. You can use it to take photos and videos. For this reason, it is possible to generate a photograph or a movie that correctly reproduces the occupied solid angle of the subject as viewed from the user's viewpoint, which is useful for generating a photograph or a movie that reproduces the sense of size of the subject as viewed from the user. Furthermore, according to the captured image display apparatus 100 of the present embodiment, since the display can be used as a frame for cutting a landscape, convenience for the user is improved. Furthermore, if the camera of the captured image display device 100 of the present embodiment is always activated, the device body can be produced as a see-through device, which can be used for the design of the appearance of the device, It becomes possible to provide the appearance of the device that does not get bored.

以下、図14、図15を参照して本発明の実施例2の撮像画像表示装置について説明する。図14は本実施例の撮像画像表示装置200の構成を示すブロック図である。図15は本実施例の撮像画像表示装置200の動作を示すフローチャートである。図14に示すように、本実施例の撮像画像表示装置200は、カメラ105と、カメラ制御部110と、画像記憶部115と、第1距離センサ130と、第1距離センサ制御部135と、第1距離計算部140と、第2距離センサ230と、第2距離センサ制御部235と、第2距離計算部240と、トリミング位置計算部250と、トリミング部155と、ディスプレイ制御部160と、ディスプレイ165とを備える。ディスプレイ165は、カメラ105の撮像方向と反対方向に画像を提示できるように、撮像画像表示装置200本体に設けられている。   Hereinafter, a captured image display apparatus according to Embodiment 2 of the present invention will be described with reference to FIGS. 14 and 15. FIG. 14 is a block diagram showing the configuration of the captured image display apparatus 200 of this embodiment. FIG. 15 is a flowchart showing the operation of the captured image display apparatus 200 of the present embodiment. As shown in FIG. 14, the captured image display device 200 of this embodiment includes a camera 105, a camera control unit 110, an image storage unit 115, a first distance sensor 130, a first distance sensor control unit 135, A first distance calculation unit 140, a second distance sensor 230, a second distance sensor control unit 235, a second distance calculation unit 240, a trimming position calculation unit 250, a trimming unit 155, a display control unit 160, A display 165. The display 165 is provided in the main body of the captured image display device 200 so that an image can be presented in a direction opposite to the imaging direction of the camera 105.

本実施例の撮像画像表示装置200は、実施例1の撮像画像表示装置100が備える校正部120、校正値記憶部125、画像縮小部145を備えない。本実施例の撮像画像表示装置200は、実施例1の撮像画像表示装置100が備えない第2距離センサ230、第2距離センサ制御部235、第2距離計算部240を備える。実施例1の撮像画像表示装置100が備えるトリミング位置計算部150は、本実施例ではトリミング位置計算部250に変更されている。実施例1の撮像画像表示装置100と同一の番号を付した本実施例の撮像画像表示装置200の各構成部については、実施例1における同一番号の各構成部と同じであるから説明を割愛する。   The captured image display apparatus 200 according to the present embodiment does not include the calibration unit 120, the calibration value storage unit 125, and the image reduction unit 145 included in the captured image display apparatus 100 according to the first embodiment. The captured image display device 200 according to the present embodiment includes a second distance sensor 230, a second distance sensor control unit 235, and a second distance calculation unit 240 that are not included in the captured image display device 100 according to the first embodiment. The trimming position calculation unit 150 included in the captured image display apparatus 100 according to the first embodiment is changed to the trimming position calculation unit 250 in the present embodiment. Each component of the captured image display apparatus 200 of the present embodiment, which is assigned the same number as that of the captured image display apparatus 100 of the first embodiment, is the same as each component having the same number in the first embodiment, and thus description thereof is omitted. To do.

以下、図15を参照しながら各構成部の動作の概略について説明する。実施例1と同様に、ステップS105、S135、S140が実行されて、第1距離が計算される。第2距離センサ230は、カメラ105の撮像方向に存在する物体との距離を測定するためのデータを出力する。第2距離センサ230について詳細は後述する。第2距離センサ制御部235は、カメラ105の起動を検知して、第2距離センサ230を起動する(S235)。第2距離計算部240は、第2距離センサ230の出力に基づいて、撮像方向に存在する物体との距離(以下、第2距離という)を計算する(S240)。ステップS240について詳細は後述する。トリミング位置計算部250は、ディスプレイ165の水平、鉛直方向それぞれのサイズと、第1、第2距離と、カメラ105の水平、鉛直方向それぞれの画素数と、カメラ105の水平、鉛直方向それぞれの画角とに基づいて、水平、鉛直方向それぞれの始点画素と、終点画素の位置を計算する(S250)。ステップS250について詳細は後述する。実施例1と同様に、ステップS155、S160が実行されて、切り抜かれた画像がディスプレイに表示される。   The outline of the operation of each component will be described below with reference to FIG. Similar to the first embodiment, steps S105, S135, and S140 are executed to calculate the first distance. The second distance sensor 230 outputs data for measuring the distance to an object existing in the imaging direction of the camera 105. Details of the second distance sensor 230 will be described later. The second distance sensor control unit 235 detects the activation of the camera 105 and activates the second distance sensor 230 (S235). Based on the output of the second distance sensor 230, the second distance calculator 240 calculates a distance (hereinafter referred to as a second distance) from an object present in the imaging direction (S240). Details of step S240 will be described later. The trimming position calculation unit 250 displays the size of the display 165 in the horizontal and vertical directions, the first and second distances, the number of pixels in the horizontal and vertical directions of the camera 105, and the images in the horizontal and vertical directions of the camera 105, respectively. Based on the corners, the positions of the start pixel and the end pixel in the horizontal and vertical directions are calculated (S250). Details of step S250 will be described later. As in the first embodiment, steps S155 and S160 are executed, and the clipped image is displayed on the display.

<第2距離センサ230について>
以下、第2距離センサ230について説明する。前述したように、第2距離センサ230は、カメラ105の撮像方向に存在する物体との距離を測定するためのデータを出力する。第2距離センサ230は、第1距離センサ130と同様に、パッシブ方式、ソナー方式、赤外線方式、コントラスト検知方式、位相差検知方式の何れか、または他の方式によってもよい。なお、第2距離センサ230によるデータ出力は、第2距離センサ制御部235により、例えば0.1〜1秒毎に実行され、カメラの動きに十分に追従できればさらによい。
<About the second distance sensor 230>
Hereinafter, the second distance sensor 230 will be described. As described above, the second distance sensor 230 outputs data for measuring the distance to an object existing in the imaging direction of the camera 105. Similar to the first distance sensor 130, the second distance sensor 230 may be one of a passive method, a sonar method, an infrared method, a contrast detection method, a phase difference detection method, or another method. The data output by the second distance sensor 230 is more preferably performed by the second distance sensor control unit 235, for example, every 0.1 to 1 second, and can sufficiently follow the movement of the camera.

<第2距離計算部240の動作(ステップS240)について>
以下、第2距離計算部240について説明する。前述したように、第2距離計算部240は、第2距離センサ230の出力に基づいて、撮像方向に存在する物体との距離(第2距離)を計算する(S240)。第2距離計算部240の測距用のプログラムは、第2距離センサ230の方式に対応して組み込まれており、第2距離センサ230の出力データに基づいて、第2距離を算出することができる。ここで、撮像方向に存在する物体として想定しているのは被写体である。従って、第2距離計算部240は、撮像画像表示装置200と被写体の間の距離を第2距離として計算することを想定している。
<Operation of Second Distance Calculation Unit 240 (Step S240)>
Hereinafter, the second distance calculation unit 240 will be described. As described above, the second distance calculation unit 240 calculates a distance (second distance) to an object existing in the imaging direction based on the output of the second distance sensor 230 (S240). The distance measurement program of the second distance calculation unit 240 is incorporated corresponding to the method of the second distance sensor 230, and the second distance can be calculated based on the output data of the second distance sensor 230. it can. Here, a subject is assumed as an object existing in the imaging direction. Therefore, it is assumed that the second distance calculation unit 240 calculates the distance between the captured image display device 200 and the subject as the second distance.

<トリミング位置計算部250の動作(ステップS250)について>
以下、トリミング位置計算部250の動作(ステップS250)について図16から図20を参照して詳細に説明する。図16は、本実施例のトリミング位置計算部250の構成を示すブロック図である。図17は、本実施例のトリミング位置計算部250の動作を示すフローチャートである。図18は、カメラ105の画角α、ファインダ角θ、第1距離d、第2距離sを説明する図である。図19は、トリミング角βについて説明する図である。図20は本実施例のトリミング位置計算部250の始点終点画素計算手段254が計算する始点、終点画素について説明する図である。
<Operation of Trimming Position Calculation Unit 250 (Step S250)>
Hereinafter, the operation (step S250) of the trimming position calculation unit 250 will be described in detail with reference to FIGS. FIG. 16 is a block diagram showing the configuration of the trimming position calculation unit 250 of this embodiment. FIG. 17 is a flowchart showing the operation of the trimming position calculator 250 of this embodiment. FIG. 18 is a diagram for explaining the angle of view α, the finder angle θ, the first distance d, and the second distance s of the camera 105. FIG. 19 is a diagram for explaining the trimming angle β. FIG. 20 is a diagram illustrating the start point and end point pixels calculated by the start point / end point pixel calculation means 254 of the trimming position calculation unit 250 of the present embodiment.

図16に示す通り、トリミング位置計算部250は、パラメータ記憶手段151と、ファインダ角計算手段152と、トリミング角計算手段253と、始点終点画素計算手段254とを備える。実施例1と同様、パラメータ記憶手段151には、水平、鉛直方向それぞれのディスプレイサイズ、水平、鉛直方向それぞれの画素数、水平、鉛直方向それぞれのカメラ画角が記憶されている。実施例1同様、パラメータh、N、αという表現を用いた場合には水平、鉛直の双方を纏めて説明する表現であるものとする。   As shown in FIG. 16, the trimming position calculation unit 250 includes a parameter storage unit 151, a finder angle calculation unit 152, a trimming angle calculation unit 253, and a start point / end point pixel calculation unit 254. As in the first embodiment, the parameter storage unit 151 stores the display size in the horizontal and vertical directions, the number of pixels in the horizontal and vertical directions, and the camera angle of view in the horizontal and vertical directions. As in the first embodiment, when the expressions of parameters h, N, and α are used, it is assumed that both the horizontal and vertical expressions are described together.

以下、図17を参照しながらトリミング位置計算部250の動作について説明する。まず、ファインダ角計算手段152は、実施例1と同様に、パラメータ記憶手段151に予め記憶されているhと、dを用いてファインダ角θを計算する(SS152)。ここで、図18に示すように、座標COBJと、座標CCAMの距離をsと表す。sは前述した第2距離と等しいものと考えることができる。次に、トリミング角計算手段253は、第1距離d、第2距離s、ファインダ角θからトリミング角βを計算する(SS253)。トリミング角βとは図19に表す角度のことである。トリミング角βとファインダ角θの関係は、第1距離d、第2距離sを用いて以下の式で表すことができる。 Hereinafter, the operation of the trimming position calculator 250 will be described with reference to FIG. First, the finder angle calculation unit 152 calculates the finder angle θ using h and d stored in the parameter storage unit 151 in the same manner as in the first embodiment (SS152). Here, as shown in FIG. 18, the distance between the coordinate C OBJ and the coordinate C CAM is represented as s. It can be considered that s is equal to the second distance described above. Next, the trimming angle calculation means 253 calculates the trimming angle β from the first distance d, the second distance s, and the finder angle θ (SS253). The trimming angle β is an angle shown in FIG. The relationship between the trimming angle β and the finder angle θ can be expressed by the following equation using the first distance d and the second distance s.

Figure 2013258583
Figure 2013258583

従って、トリミング角計算手段253は、第1距離d、第2距離s、ファインダ角θを式(8)に代入してトリミング角βを計算する(SS253)。   Accordingly, the trimming angle calculation unit 253 calculates the trimming angle β by substituting the first distance d, the second distance s, and the finder angle θ into the equation (8) (SS253).

次に、始点終点画素計算手段254は、前述のトリミング角β、カメラの水平、または鉛直方向の画素数N、カメラ画角αから始点、終点にあたる画素を計算する(SS254)。具体的には、図20のようにトリミング角βに対応付けられる画素の始点と終点とを求める。始点の画素をp番目の画素、終点の画素をq番目の画素とする(ただし、0≦p<q≦N)。ここで、式(8)によりトリミング角βは求められている。pとqの充たすべき条件は次式のようになる。   Next, the start point / end point pixel calculation means 254 calculates the pixels corresponding to the start point and the end point from the trimming angle β, the number N of pixels in the horizontal or vertical direction of the camera, and the camera angle of view α (SS254). Specifically, as shown in FIG. 20, the start point and end point of the pixel associated with the trimming angle β are obtained. The starting point pixel is the pth pixel and the ending point pixel is the qth pixel (where 0 ≦ p <q ≦ N). Here, the trimming angle β is obtained by the equation (8). The condition to be satisfied by p and q is as follows.

Figure 2013258583
Figure 2013258583

従って、始点終点画素計算手段254は、パラメータ記憶手段151に記憶されたカメラの水平、または鉛直方向の画素数N、カメラ画角α、計算されたトリミング角βを用いて、式(3)、(4)、(6)、(9)を用いて(簡易的な方法では、式(2)、(6)、(9)でもよい)、始点、終点にあたる画素を計算する(SS254)。   Accordingly, the start point / end point pixel calculation means 254 uses the number of horizontal or vertical pixels N of the camera, the camera angle of view α, and the calculated trimming angle β stored in the parameter storage means 151 to obtain the expression (3), Using (4), (6), and (9) (in a simple method, the equations (2), (6), and (9) may be used), and the pixels corresponding to the start point and the end point are calculated (SS254).

トリミング部155は、縮小画像をp番目の始点画素、およびq番目の終点画素の位置に基づいて切り抜く(S155)。より詳細には、トリミング部155は、水平方向の始点画素がp番目、水平方向の終点画素がq番目、鉛直方向の始点画素がp番目、鉛直方向の終点画素がq番目であった場合に、水平鉛直方向の座標(p,p)、(q,p)、(q,q)、(p,q)の4点を頂点とする長方形に縮小画像を切り抜く。ディスプレイ制御部160は、切り抜かれた画像をディスプレイ165に表示する(S160)。 The trimming unit 155 cuts out the reduced image based on the positions of the p-th start point pixel and the q-th end point pixel (S155). More specifically, the trimming unit 155 has a horizontal start point pixel p 1 , a horizontal end point pixel q 1 , a vertical start point pixel p 2 , and a vertical end pixel q 2nd . If there is, a rectangle with four points of horizontal and vertical coordinates (p 1 , p 2 ), (q 1 , p 2 ), (q 1 , q 2 ), (p 1 , q 2 ) as vertices Crop the reduced image. The display control unit 160 displays the clipped image on the display 165 (S160).

このように、本実施例の撮像画像表示装置200によれば、実施例1の撮像画像表示装置100と同様の効果を得ることができるうえ、事前の校正作業を省略することができるため、ユーザや機器メーカーの手間が削減される。   As described above, according to the captured image display device 200 of the present embodiment, the same effects as those of the captured image display device 100 of Embodiment 1 can be obtained, and the prior calibration work can be omitted. And labor of equipment manufacturers are reduced.

以下、図21、図22を参照して本発明の実施例3の撮像画像表示装置について説明する。図21は本実施例の撮像画像表示装置300の構成を示すブロック図である。図22は本実施例の撮像画像表示装置300の動作を示すフローチャートである。図21に示すように、本実施例の撮像画像表示装置300は、カメラ105と、カメラ制御部110と、画像記憶部115と、第1距離センサ130と、第1距離センサ制御部135と、第1距離計算部140と、第2距離センサ230と、第2距離センサ制御部235と、第2距離計算部240と、インカメラ370と、インカメラ制御部375と、眼球検出部380と、覗きこみ角計算部385と、トリミング位置計算部350と、トリミング部155と、ディスプレイ制御部160と、ディスプレイ165とを備える。ディスプレイ165は、カメラ105の撮像方向と反対方向に画像を提示できるように、撮像画像表示装置300本体に設けられている。   Hereinafter, a captured image display apparatus according to Embodiment 3 of the present invention will be described with reference to FIGS. 21 and 22. FIG. 21 is a block diagram showing the configuration of the captured image display apparatus 300 of this embodiment. FIG. 22 is a flowchart showing the operation of the captured image display apparatus 300 of this embodiment. As shown in FIG. 21, the captured image display apparatus 300 of the present embodiment includes a camera 105, a camera control unit 110, an image storage unit 115, a first distance sensor 130, a first distance sensor control unit 135, A first distance calculation unit 140, a second distance sensor 230, a second distance sensor control unit 235, a second distance calculation unit 240, an in-camera 370, an in-camera control unit 375, an eyeball detection unit 380, A peep angle calculation unit 385, a trimming position calculation unit 350, a trimming unit 155, a display control unit 160, and a display 165 are provided. The display 165 is provided in the main body of the captured image display device 300 so that an image can be presented in a direction opposite to the imaging direction of the camera 105.

本実施例の撮像画像表示装置300は、実施例2の撮像画像表示装置200が備えないインカメラ370、インカメラ制御部375、眼球検出部380、覗きこみ角計算部385を備える。実施例2の撮像画像表示装置200が備えるトリミング位置計算部250は、本実施例ではトリミング位置計算部350に変更されている。実施例2の撮像画像表示装置200と同一の番号を付した本実施例の撮像画像表示装置300の各構成部については、実施例2における同一番号の各構成部と同じであるから説明を割愛する。   The captured image display apparatus 300 according to the present embodiment includes an in camera 370, an in camera control unit 375, an eyeball detection unit 380, and a peep angle calculation unit 385 that are not included in the captured image display apparatus 200 according to the second embodiment. The trimming position calculation unit 250 included in the captured image display apparatus 200 according to the second embodiment is changed to a trimming position calculation unit 350 in the present embodiment. Each component of the captured image display apparatus 300 of the present embodiment, which is assigned the same number as that of the captured image display apparatus 200 of the second embodiment, is the same as each component having the same number in the second embodiment, so that the description thereof is omitted. To do.

以下、図22を参照しながら各構成部の動作の概略について説明する。実施例2と同様に、ステップS105、S135、S140、S235、S240が実行されて、第1距離、第2距離が計算される。インカメラ370は、カメラ105の撮像方向と反対の方向を撮像方向とする。インカメラ制御部375は、カメラ105の起動を検知して、インカメラ370を起動する(S375)。眼球検出部380は、インカメラ370の撮像画像から眼球が撮像された画素を検出する(S380)。ステップS380について詳細は後述する。覗きこみ角計算部385は、眼球が撮像された画素が検出された場合に、検出された画素の位置に基づいて、眼球の視線方向と、カメラの撮像方向とがなす角度(鋭角、以下、覗きこみ角という)を計算する(S385)。ステップS385について詳細は後述する。トリミング位置計算部350は、ディスプレイ165の水平、鉛直方向それぞれのサイズと、第1、第2距離と、カメラの水平、鉛直方向それぞれの画素数と、カメラの水平、鉛直方向それぞれの画角に加え、覗きこみ角に基づいて水平、鉛直方向それぞれの始点画素と、終点画素の位置を計算する(S350)。ステップS350について詳細は後述する。実施例1、2と同様に、ステップS155、S160が実行されて、切り抜かれた画像がディスプレイに表示される。   The outline of the operation of each component will be described below with reference to FIG. Similar to the second embodiment, steps S105, S135, S140, S235, and S240 are executed to calculate the first distance and the second distance. The in-camera 370 sets the direction opposite to the imaging direction of the camera 105 as the imaging direction. The in-camera control unit 375 detects the activation of the camera 105 and activates the in-camera 370 (S375). The eyeball detection unit 380 detects a pixel in which the eyeball is captured from the captured image of the in-camera 370 (S380). Details of step S380 will be described later. The peeping angle calculation unit 385, when a pixel in which the eyeball is imaged is detected, based on the position of the detected pixel, an angle (acute angle, hereinafter referred to as “acute angle,” hereinafter) The peep angle is calculated (S385). Details of step S385 will be described later. The trimming position calculator 350 determines the horizontal and vertical sizes of the display 165, the first and second distances, the number of pixels in the horizontal and vertical directions of the camera, and the angle of view in the horizontal and vertical directions of the camera. In addition, the positions of the start point pixel and the end point pixel in the horizontal and vertical directions are calculated based on the peep angle (S350). Details of step S350 will be described later. Similar to the first and second embodiments, Steps S155 and S160 are executed, and the clipped image is displayed on the display.

<眼球検出部380の動作(ステップS380)について>
以下、眼球検出部380の動作(ステップS380)について説明する。前述のとおり、眼球検出部380は、インカメラ370の撮像画像から眼球が撮像された画素を検出する。インカメラ370は、ディスプレイ165側に設けられているため、第1距離計算部140の説明で述べたのと同じ論理で、インカメラ370によりユーザ顔面が撮影される可能性は高い。インカメラの撮像画像から眼球を検出する方法は従来技術をそのまま利用すれば足りる。例えば、顔検出用のフィルタで撮像画像内を走査して顔候補を抽出し、抽出された顔候補を統計的判別法により、顔・非顔の何れかに判別したうえで、顔と判別された領域内から眼球が撮像された画素の概略位置を特定すればよい。なお、以下の説明では、簡単のため眼球位置を1点に集約して説明するため、眼球が二つ検出された場合には、眼球が撮像された画素の座標同士を結ぶ線分の中点を眼球位置とする。
<Operation of Eyeball Detection Unit 380 (Step S380)>
Hereinafter, the operation of the eyeball detection unit 380 (step S380) will be described. As described above, the eyeball detection unit 380 detects the pixel in which the eyeball is captured from the captured image of the in-camera 370. Since the in-camera 370 is provided on the display 165 side, it is highly likely that the in-camera 370 captures the user face with the same logic as described in the description of the first distance calculation unit 140. The method for detecting the eyeball from the captured image of the in-camera is sufficient if the conventional technology is used as it is. For example, a candidate for face is extracted by scanning the captured image with a face detection filter, and the extracted face candidate is identified as either a face or a non-face by a statistical discrimination method and then identified as a face. What is necessary is just to specify the approximate position of the pixel from which the eyeball was imaged from within the region. In the following description, for the sake of simplicity, the eyeball position is described as a single point. Therefore, when two eyeballs are detected, the midpoint of the line segment that connects the coordinates of the pixels in which the eyeball is imaged is detected. Is the eyeball position.

<覗きこみ角計算部385の動作(ステップS385)について>
以下、覗きこみ角計算部385の動作(ステップS385)について説明する。前述のとおり、覗きこみ角計算部385は、眼球が撮像された画素が検出された場合に、検出された画素の位置に基づいて、眼球の視線方向と、カメラ105の撮像方向とがなす角度(覗きこみ角)を計算する(S385)。ステップS385では、図12で説明した画素と画角の関係をそのまま応用できる。従って、眼球位置として特定された画素が水平、鉛直方向における何番目の画素であるかが分かれば、眼球位置とインカメラ370とを結ぶ直線が、カメラ105の撮像方向に対してどんな角度を持つかが分かる。このように計算される眼球の視線方向と、カメラ105の撮像方向とがなす角度(鋭角)を覗きこみ角φとして、以下の計算に用いる。
<About Operation of Peep Angle Calculation Unit 385 (Step S385)>
Hereinafter, the operation (step S385) of the peep angle calculation unit 385 will be described. As described above, the peep angle calculation unit 385 determines the angle formed by the eye direction of the eyeball and the imaging direction of the camera 105 based on the position of the detected pixel when the pixel where the eyeball is captured is detected. (Peep angle) is calculated (S385). In step S385, the relationship between the pixel and the angle of view described with reference to FIG. 12 can be applied as it is. Therefore, if the pixel specified as the eyeball position is the pixel in the horizontal and vertical directions, a straight line connecting the eyeball position and the in-camera 370 has an angle with respect to the imaging direction of the camera 105. I understand. The angle (acute angle) formed by the eye gaze direction calculated in this way and the imaging direction of the camera 105 is used as the peeping angle φ in the following calculation.

<トリミング位置計算部350の動作(ステップS350)について>
以下、トリミング位置計算部350の動作(ステップS350)について図23から図28を参照して詳細に説明する。図23は、本実施例のトリミング位置計算部350の構成を示すブロック図である。図24は、本実施例のトリミング位置計算部350の動作を示すフローチャートである。図25は、覗きこみ角φ、第1トリミング角β、第2トリミング角β(パターン1)を説明する図である。図26は本実施例のトリミング位置計算部350の始点終点画素計算手段354が計算する始点、終点画素(パターン1)について説明する図である。図27は、覗きこみ角φ、第1トリミング角β、第2トリミング角β(パターン2)を説明する図である。図28は本実施例のトリミング位置計算部350の始点終点画素計算手段354が計算する始点、終点画素(パターン2)について説明する図である。
<Operation of Trimming Position Calculation Unit 350 (Step S350)>
Hereinafter, the operation (step S350) of the trimming position calculation unit 350 will be described in detail with reference to FIGS. FIG. 23 is a block diagram illustrating a configuration of the trimming position calculation unit 350 of the present embodiment. FIG. 24 is a flowchart showing the operation of the trimming position calculation unit 350 of the present embodiment. FIG. 25 is a diagram for explaining the viewing angle φ, the first trimming angle β 1 , and the second trimming angle β 2 (pattern 1). FIG. 26 is a diagram for explaining the start point and end point pixels (pattern 1) calculated by the start point / end point pixel calculation means 354 of the trimming position calculation unit 350 of the present embodiment. FIG. 27 is a diagram for explaining the viewing angle φ, the first trimming angle β 1 , and the second trimming angle β 2 (pattern 2). FIG. 28 is a diagram illustrating the start point and end point pixels (pattern 2) calculated by the start point / end point pixel calculation means 354 of the trimming position calculation unit 350 of the present embodiment.

図23に示す通り、トリミング位置計算部350は、パラメータ記憶手段151と、第1トリミング角計算手段352と、第2トリミング角計算手段353と、始点終点画素計算手段354とを備える。実施例1、2と同様、パラメータ記憶手段151には、水平、鉛直方向それぞれのディスプレイサイズ、水平、鉛直方向それぞれの画素数、水平、鉛直方向それぞれのカメラ画角が記憶されている。実施例1、2同様、パラメータh、N、αという表現を用いた場合には水平、鉛直の双方を纏めて説明する表現であるものとする。   As shown in FIG. 23, the trimming position calculation unit 350 includes a parameter storage unit 151, a first trimming angle calculation unit 352, a second trimming angle calculation unit 353, and a start point / end point pixel calculation unit 354. As in the first and second embodiments, the parameter storage unit 151 stores the display size in the horizontal and vertical directions, the number of pixels in the horizontal and vertical directions, and the camera angle of view in the horizontal and vertical directions. As in the first and second embodiments, when the expressions “h”, “N”, and “α” are used, it is assumed that both the horizontal and vertical expressions are collectively described.

以下、図24を参照しながらトリミング位置計算部350の動作について説明する。まず、第1トリミング角計算手段352は、ディスプレイサイズh、第1距離d、第2距離s、覗きこみ角φから第1トリミング角βを計算する(SS352)。同様に、第2トリミング角計算手段353は、ディスプレイサイズh、第1距離d、第2距離s、覗きこみ角φから第2トリミング角βを計算する(SS353)。第1トリミング角β、第2トリミング角βとは図25に表す角度のことである。β、βは、図25に示す第1トリミング距離y、第2トリミング距離y、第1距離d、第2距離sを用いて以下の式で表すことができる。 Hereinafter, the operation of the trimming position calculator 350 will be described with reference to FIG. First, a first trimming angle calculating means 352, display size h, the first distance d, the second distance s, calculating a first trimming angle beta 1 from a corner φ peeping (SS352). Similarly, the second trimming angle calculating means 353, display size h, the first distance d, the second distance s, to the peeping corner φ calculating a second trimming angle β 2 (SS353). The first trimming angle β 1 and the second trimming angle β 2 are angles shown in FIG. β 1 and β 2 can be expressed by the following equations using the first trimming distance y 1 , the second trimming distance y 2 , the first distance d, and the second distance s shown in FIG.

Figure 2013258583
Figure 2013258583

従って、第1トリミング角計算手段352は、ディスプレイサイズh、第1距離d、第2距離s、覗きこみ角φを式(10)、(11)、(12)に代入して第1トリミング角βを計算する(SS352)。同様に、第2トリミング角計算手段353は、ディスプレイサイズh、第1距離d、第2距離s、覗きこみ角φを式(10)、(11)、(13)に代入して第2トリミング角βを計算する(SS353)。 Accordingly, the first trimming angle calculation means 352 substitutes the display size h, the first distance d, the second distance s, and the peeping angle φ into the expressions (10), (11), and (12) to thereby calculate the first trimming angle. β 1 is calculated (SS352). Similarly, the second trimming angle calculation unit 353 substitutes the display size h, the first distance d, the second distance s, and the peeping angle φ into the expressions (10), (11), and (13) to perform the second trimming. to calculate the angle β 2 (SS353).

次に、始点終点画素計算手段354は、前述の第1、第2トリミング角β、β、カメラの水平、または鉛直方向の画素数N、カメラ画角αから始点、終点にあたる画素を計算する(SS354)。具体的には、図26のように第1、第2トリミング角β、βに対応付けられる画素の始点と終点とを求める。始点の画素をp番目の画素、終点の画素をq番目の画素とする(ただし、0≦p<q≦N)。ここで、式(12)、(13)により第1、第2トリミング角β、βは求められている。pとqの充たすべき条件は次式のようになる。 Next, the start point / end point pixel calculation means 354 calculates the pixels corresponding to the start point and the end point from the first and second trimming angles β 1 and β 2 , the number N of pixels in the horizontal or vertical direction of the camera, and the camera angle of view α. (SS354). Specifically, as shown in FIG. 26, the start point and end point of the pixels associated with the first and second trimming angles β 1 and β 2 are obtained. The starting point pixel is the pth pixel and the ending point pixel is the qth pixel (where 0 ≦ p <q ≦ N). Here, the first and second trimming angles β 1 and β 2 are obtained by the equations (12) and (13). The condition to be satisfied by p and q is as follows.

Figure 2013258583
Figure 2013258583

従って、始点終点画素計算手段354は、パラメータ記憶手段151に記憶されたカメラの水平、または鉛直方向の画素数N、カメラ画角α、計算された第1、第2トリミング角β、βを用いて、式(3)、(4)、(14)、(15)を用いて(簡易的な方法では、式(2)、(14)、(15)でもよい)、始点、終点にあたる画素を計算する(SS354)。 Accordingly, the start point / end pixel calculation means 354 stores the number N of horizontal or vertical pixels of the camera, the camera angle of view α, and the calculated first and second trimming angles β 1 and β 2 stored in the parameter storage means 151. Using the formulas (3), (4), (14), and (15) (in the simple method, the formulas (2), (14), and (15) may be used), and corresponding to the start point and the end point Pixels are calculated (SS354).

図25、図26では始点画素、終点画素の何れもが端に寄っている場合(つまり切り抜かれる画像領域が元の画像の中心画素を含まない場合)について説明した。一方、始点画素、終点画素により切り抜かれる画像が元の画像の中心画素を含む場合については、図27、図28のようになる。この場合でも、第1、第2トリミング角β、βの計算は式(12)、(13)により行うことができる。また、始点、終点画素に該当するp、qについても、前述の式(14)、(15)により計算できる。 In FIGS. 25 and 26, the case where both the start point pixel and the end point pixel are close to the end (that is, the image region to be cut out does not include the center pixel of the original image) has been described. On the other hand, the case where the image cut out by the start point pixel and the end point pixel includes the center pixel of the original image is as shown in FIGS. Even in this case, the calculation of the first and second trimming angles β 1 and β 2 can be performed by the equations (12) and (13). Further, p and q corresponding to the start point and end point pixels can also be calculated by the above formulas (14) and (15).

トリミング部155は、縮小画像をp番目の始点画素、およびq番目の終点画素の位置に基づいて切り抜く(S155)。より詳細には、トリミング部155は、水平方向の始点画素がp番目、水平方向の終点画素がq番目、鉛直方向の始点画素がp番目、鉛直方向の終点画素がq番目であった場合に、水平鉛直方向の座標(p,p)、(q,p)、(q,q)、(p,q)の4点を頂点とする長方形に縮小画像を切り抜く。ディスプレイ制御部160は、切り抜かれた画像をディスプレイ165に表示する(S160)。 The trimming unit 155 cuts out the reduced image based on the positions of the p-th start point pixel and the q-th end point pixel (S155). More specifically, the trimming unit 155 has a horizontal start point pixel p 1 , a horizontal end point pixel q 1 , a vertical start point pixel p 2 , and a vertical end pixel q 2nd . If there is, a rectangle with four points of horizontal and vertical coordinates (p 1 , p 2 ), (q 1 , p 2 ), (q 1 , q 2 ), (p 1 , q 2 ) as vertices Crop the reduced image. The display control unit 160 displays the clipped image on the display 165 (S160).

このように、本実施例の撮像画像表示装置300によれば、実施例2の撮像画像表示装置200の効果に加え、ユーザの視線がディスプレイ165に対して斜めに入射している場合でも、ディスプレイ165が覗き窓であった場合にユーザが目にする光景を正しくシュミレーションすることができる。   Thus, according to the captured image display apparatus 300 of the present embodiment, in addition to the effect of the captured image display apparatus 200 of the second embodiment, even when the user's line of sight is incident on the display 165 at an angle, the display When 165 is a viewing window, it is possible to correctly simulate the scene that the user sees.

また、上述の各種の処理は、記載に従って時系列に実行されるのみならず、処理を実行する装置の処理能力あるいは必要に応じて並列的にあるいは個別に実行されてもよい。その他、本発明の趣旨を逸脱しない範囲で適宜変更が可能であることはいうまでもない。   In addition, the various processes described above are not only executed in time series according to the description, but may be executed in parallel or individually according to the processing capability of the apparatus that executes the processes or as necessary. Needless to say, other modifications are possible without departing from the spirit of the present invention.

また、上述の構成をコンピュータによって実現する場合、各装置が有すべき機能の処理内容はプログラムによって記述される。そして、このプログラムをコンピュータで実行することにより、上記処理機能がコンピュータ上で実現される。   Further, when the above-described configuration is realized by a computer, processing contents of functions that each device should have are described by a program. The processing functions are realized on the computer by executing the program on the computer.

この処理内容を記述したプログラムは、コンピュータで読み取り可能な記録媒体に記録しておくことができる。コンピュータで読み取り可能な記録媒体としては、例えば、磁気記録装置、光ディスク、光磁気記録媒体、半導体メモリ等どのようなものでもよい。   The program describing the processing contents can be recorded on a computer-readable recording medium. As the computer-readable recording medium, for example, any recording medium such as a magnetic recording device, an optical disk, a magneto-optical recording medium, and a semiconductor memory may be used.

また、このプログラムの流通は、例えば、そのプログラムを記録したDVD、CD−ROM等の可搬型記録媒体を販売、譲渡、貸与等することによって行う。さらに、このプログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにそのプログラムを転送することにより、このプログラムを流通させる構成としてもよい。   The program is distributed by selling, transferring, or lending a portable recording medium such as a DVD or CD-ROM in which the program is recorded. Furthermore, the program may be distributed by storing the program in a storage device of the server computer and transferring the program from the server computer to another computer via a network.

このようなプログラムを実行するコンピュータは、例えば、まず、可搬型記録媒体に記録されたプログラムもしくはサーバコンピュータから転送されたプログラムを、一旦、自己の記憶装置に格納する。そして、処理の実行時、このコンピュータは、自己の記録媒体に格納されたプログラムを読み取り、読み取ったプログラムに従った処理を実行する。また、このプログラムの別の実行形態として、コンピュータが可搬型記録媒体から直接プログラムを読み取り、そのプログラムに従った処理を実行することとしてもよく、さらに、このコンピュータにサーバコンピュータからプログラムが転送されるたびに、逐次、受け取ったプログラムに従った処理を実行することとしてもよい。また、サーバコンピュータから、このコンピュータへのプログラムの転送は行わず、その実行指示と結果取得のみによって処理機能を実現する、いわゆるASP(Application Service Provider)型のサービスによって、上述の処理を実行する構成としてもよい。なお、本形態におけるプログラムには、電子計算機による処理の用に供する情報であってプログラムに準ずるもの(コンピュータに対する直接の指令ではないがコンピュータの処理を規定する性質を有するデータ等)を含むものとする。   A computer that executes such a program first stores, for example, a program recorded on a portable recording medium or a program transferred from a server computer in its own storage device. When executing the process, the computer reads a program stored in its own recording medium and executes a process according to the read program. As another execution form of the program, the computer may directly read the program from a portable recording medium and execute processing according to the program, and the program is transferred from the server computer to the computer. Each time, the processing according to the received program may be executed sequentially. Also, the program is not transferred from the server computer to the computer, and the above-described processing is executed by a so-called ASP (Application Service Provider) type service that realizes the processing function only by the execution instruction and result acquisition. It is good. Note that the program in this embodiment includes information that is used for processing by an electronic computer and that conforms to the program (data that is not a direct command to the computer but has a property that defines the processing of the computer).

また、この形態では、コンピュータ上で所定のプログラムを実行させることにより、本装置を構成することとしたが、これらの処理内容の少なくとも一部をハードウェア的に実現することとしてもよい。   In this embodiment, the present apparatus is configured by executing a predetermined program on a computer. However, at least a part of these processing contents may be realized by hardware.

Claims (7)

カメラと、前記カメラの撮像方向と反対方向に画像を提示するディスプレイとを備える撮像画像表示装置であって、
前記カメラの撮像方向と反対方向に存在する物体との距離を測定するためのデータを出力する第1距離センサと、
前記第1距離センサの出力に基づいて、前記撮像方向と反対方向に存在する物体との距離(以下、第1距離という)を計算する第1距離計算部と、
前記カメラと被写体との撮像方向距離の変化量と、前記被写体の撮像画像中における占有画素の変化量との関係に基づいて定められる校正値を予め記憶する校正値記憶部と、
前記第1距離と前記校正値とに基づいて、前記カメラの撮像画像の水平、鉛直方向それぞれの画素数を少なくして縮小し、縮小画像を生成する画像縮小部と、
前記ディスプレイの水平、鉛直方向それぞれのサイズと、前記第1距離と、前記カメラの水平、鉛直方向それぞれの画素数と、前記カメラの水平、鉛直方向それぞれの画角とに基づいて、水平、鉛直方向それぞれの始点画素と、終点画素の位置を計算するトリミング位置計算部と、
前記縮小画像を前記始点画素、および前記終点画素の位置に基づいて切り抜くトリミング部と、
前記切り抜かれた画像を前記ディスプレイに表示するディスプレイ制御部と、
を備えることを特徴とする撮像画像表示装置。
A captured image display device comprising a camera and a display that presents an image in a direction opposite to the imaging direction of the camera,
A first distance sensor for outputting data for measuring a distance to an object existing in a direction opposite to the imaging direction of the camera;
A first distance calculation unit that calculates a distance (hereinafter referred to as a first distance) from an object that exists in a direction opposite to the imaging direction based on an output of the first distance sensor;
A calibration value storage unit that preliminarily stores a calibration value determined based on the relationship between the amount of change in the imaging direction distance between the camera and the subject and the amount of change in the occupied pixels in the captured image of the subject;
Based on the first distance and the calibration value, an image reduction unit that reduces the number of pixels in the horizontal and vertical directions of the captured image of the camera and generates a reduced image;
Based on the size of the display in the horizontal and vertical directions, the first distance, the number of pixels in the horizontal and vertical directions of the camera, and the angles of view of the horizontal and vertical directions of the camera, A trimming position calculator for calculating the start point pixel in each direction and the position of the end point pixel;
A trimming unit that cuts out the reduced image based on the position of the start point pixel and the end point pixel;
A display control unit for displaying the clipped image on the display;
A captured image display device comprising:
カメラと、前記カメラの撮像方向と反対方向に画像を提示するディスプレイとを備える撮像画像表示装置であって、
前記カメラの撮像方向と反対方向に存在する物体との距離を測定するためのデータを出力する第1距離センサと、
前記カメラの撮像方向に存在する物体との距離を測定するためのデータを出力する第2距離センサと、
前記第1距離センサの出力に基づいて、前記撮像方向と反対方向に存在する物体との距離(以下、第1距離という)を計算する第1距離計算部と、
前記第2距離センサの出力に基づいて、前記撮像方向に存在する物体との距離(以下、第2距離という)を計算する第2距離計算部と、
前記ディスプレイの水平、鉛直方向それぞれのサイズと、前記第1、第2距離と、前記カメラの水平、鉛直方向それぞれの画素数と、前記カメラの水平、鉛直方向それぞれの画角とに基づいて、水平、鉛直方向それぞれの始点画素と、終点画素の位置を計算するトリミング位置計算部と、
前記カメラの撮像画像を前記始点画素、および前記終点画素の位置に基づいて切り抜くトリミング部と、
前記切り抜かれた画像を前記ディスプレイに表示するディスプレイ制御部と、
を備えることを特徴とする撮像画像表示装置。
A captured image display device comprising a camera and a display that presents an image in a direction opposite to the imaging direction of the camera,
A first distance sensor for outputting data for measuring a distance to an object existing in a direction opposite to the imaging direction of the camera;
A second distance sensor for outputting data for measuring a distance to an object existing in the imaging direction of the camera;
A first distance calculation unit that calculates a distance (hereinafter referred to as a first distance) from an object that exists in a direction opposite to the imaging direction based on an output of the first distance sensor;
A second distance calculation unit that calculates a distance (hereinafter referred to as a second distance) to an object existing in the imaging direction based on an output of the second distance sensor;
Based on the horizontal and vertical sizes of the display, the first and second distances, the number of pixels in the horizontal and vertical directions of the camera, and the angle of view of the horizontal and vertical directions of the camera, A trimming position calculation unit that calculates the position of the start point pixel and the end point pixel in the horizontal and vertical directions,
A trimming unit that cuts out a captured image of the camera based on the position of the start point pixel and the end point pixel;
A display control unit for displaying the clipped image on the display;
A captured image display device comprising:
請求項2に記載の撮像画像表示装置であって、
前記カメラの撮像方向と反対の方向を撮像方向とするインカメラと、
前記インカメラの撮像画像から眼球が撮像された画素を検出する眼球検出部と、
前記眼球が撮像された画素が検出された場合に、前記検出された画素の位置に基づいて、前記眼球の視線方向と、前記カメラの撮像方向とがなす角度(以下、覗きこみ角という)を計算する覗きこみ角計算部と、をさらに備え、
前記トリミング位置計算部は、前記ディスプレイの水平、鉛直方向それぞれのサイズと、前記第1、第2距離と、前記カメラの水平、鉛直方向それぞれの画素数と、前記カメラの水平、鉛直方向それぞれの画角に加え、前記覗きこみ角に基づいて水平、鉛直方向それぞれの始点画素と、終点画素の位置を計算すること
を特徴とする撮像画像表示装置。
The captured image display device according to claim 2,
An in-camera whose imaging direction is a direction opposite to the imaging direction of the camera;
An eyeball detection unit that detects pixels in which an eyeball is imaged from the captured image of the in-camera;
When a pixel in which the eyeball is imaged is detected, an angle (hereinafter referred to as a peep angle) formed by the eye direction of the eyeball and the imaging direction of the camera is determined based on the position of the detected pixel. A peep angle calculation unit for calculating,
The trimming position calculation unit includes the horizontal and vertical sizes of the display, the first and second distances, the number of pixels in the horizontal and vertical directions of the camera, and the horizontal and vertical directions of the camera. A picked-up image display device that calculates the positions of the start pixel and the end pixel in the horizontal and vertical directions based on the peep angle in addition to the angle of view.
カメラと、前記カメラの撮像方向と反対方向に画像を提示するディスプレイと、前記カメラの撮像方向と反対方向に存在する物体との距離を測定するためのデータを出力する第1距離センサとを備える撮像画像表示装置により実行される撮像画像表示方法であって、
前記第1距離センサの出力に基づいて、前記撮像方向と反対方向に存在する物体との距離(以下、第1距離という)を計算する第1距離計算ステップと、
前記カメラと被写体との撮像方向距離の変化量と、前記被写体の撮像画像中における占有画素の変化量との関係に基づいて定められる校正値と、前記第1距離とに基づいて、前記カメラの撮像画像の水平、鉛直方向それぞれの画素数を少なくして縮小し、縮小画像を生成する画像縮小ステップと、
前記ディスプレイの水平、鉛直方向それぞれのサイズと、前記第1距離と、前記カメラの水平、鉛直方向それぞれの画素数と、前記カメラの水平、鉛直方向それぞれの画角とに基づいて、水平、鉛直方向それぞれの始点画素と、終点画素の位置を計算するトリミング位置計算ステップと、
前記縮小画像を前記始点画素、および前記終点画素の位置に基づいて切り抜くトリミングステップと、
前記切り抜かれた画像を前記ディスプレイに表示するディスプレイ制御ステップと、
を有することを特徴とする撮像画像表示方法。
A camera; a display that presents an image in a direction opposite to the imaging direction of the camera; and a first distance sensor that outputs data for measuring a distance between an object existing in a direction opposite to the imaging direction of the camera. A captured image display method executed by a captured image display device,
A first distance calculating step of calculating a distance (hereinafter referred to as a first distance) with an object existing in a direction opposite to the imaging direction based on an output of the first distance sensor;
Based on the calibration value determined based on the relationship between the amount of change in the imaging direction distance between the camera and the subject and the amount of change in the occupied pixels in the captured image of the subject, and the first distance, An image reduction step for reducing the number of pixels in the horizontal and vertical directions of the captured image to reduce the image and generating a reduced image;
Based on the size of the display in the horizontal and vertical directions, the first distance, the number of pixels in the horizontal and vertical directions of the camera, and the angles of view of the horizontal and vertical directions of the camera, Trimming position calculation step for calculating the start point pixel in each direction and the position of the end point pixel;
A trimming step of cropping the reduced image based on the position of the start point pixel and the end point pixel;
A display control step for displaying the clipped image on the display;
A captured image display method characterized by comprising:
カメラと、前記カメラの撮像方向と反対方向に画像を提示するディスプレイと、前記カメラの撮像方向と反対方向に存在する物体との距離を測定するためのデータを出力する第1距離センサと、前記カメラの撮像方向に存在する物体との距離を測定するためのデータを出力する第2距離センサとを備える撮像画像表示装置により実行される撮像画像表示方法であって、
前記第1距離センサの出力に基づいて、前記撮像方向と反対方向に存在する物体との距離(以下、第1距離という)を計算する第1距離計算ステップと、
前記第2距離センサの出力に基づいて、前記撮像方向に存在する物体との距離(以下、第2距離という)を計算する第2距離計算ステップと、
前記ディスプレイの水平、鉛直方向それぞれのサイズと、前記第1、第2距離と、前記カメラの水平、鉛直方向それぞれの画素数と、前記カメラの水平、鉛直方向それぞれの画角とに基づいて、水平、鉛直方向それぞれの始点画素と、終点画素の位置を計算するトリミング位置計算ステップと、
前記カメラの撮像画像を前記始点画素、および前記終点画素の位置に基づいて切り抜くトリミングステップと、
前記切り抜かれた画像を前記ディスプレイに表示するディスプレイ制御ステップと、
を有することを特徴とする撮像画像表示方法。
A first distance sensor that outputs data for measuring a distance between a camera, a display that presents an image in a direction opposite to the imaging direction of the camera, and an object that exists in a direction opposite to the imaging direction of the camera; A captured image display method executed by a captured image display device including a second distance sensor that outputs data for measuring a distance to an object existing in an imaging direction of a camera,
A first distance calculating step of calculating a distance (hereinafter referred to as a first distance) with an object existing in a direction opposite to the imaging direction based on an output of the first distance sensor;
A second distance calculating step of calculating a distance (hereinafter referred to as a second distance) with an object existing in the imaging direction based on an output of the second distance sensor;
Based on the horizontal and vertical sizes of the display, the first and second distances, the number of pixels in the horizontal and vertical directions of the camera, and the angle of view of the horizontal and vertical directions of the camera, Trimming position calculation step for calculating the position of the start point pixel and the end point pixel in the horizontal and vertical directions,
A trimming step of cutting out the captured image of the camera based on the position of the start point pixel and the end point pixel;
A display control step for displaying the clipped image on the display;
A captured image display method characterized by comprising:
請求項5に記載の撮像画像表示方法であって、
前記撮像画像表示装置がインカメラをさらに備え、
前記インカメラの撮像画像から眼球が撮像された画素を検出する眼球検出ステップと、
前記眼球が撮像された画素が検出された場合に、前記検出された画素の位置に基づいて、前記眼球の視線方向と、前記カメラの撮像方向とがなす角度(以下、覗きこみ角という)を計算する覗きこみ角計算ステップと、をさらに有し、
前記トリミング位置計算部ステップは、前記ディスプレイの水平、鉛直方向それぞれのサイズと、前記第1、第2距離と、前記カメラの水平、鉛直方向それぞれの画素数と、前記カメラの水平、鉛直方向それぞれの画角に加え、前記覗きこみ角に基づいて水平、鉛直方向それぞれの始点画素と、終点画素の位置を計算すること
を特徴とする撮像画像表示方法。
The captured image display method according to claim 5,
The captured image display device further includes an in-camera,
An eyeball detecting step of detecting a pixel in which an eyeball is imaged from a captured image of the in-camera;
When a pixel in which the eyeball is imaged is detected, an angle (hereinafter referred to as a peep angle) formed by the eye direction of the eyeball and the imaging direction of the camera is determined based on the position of the detected pixel. A peeping angle calculation step for calculating,
The trimming position calculation unit steps include the horizontal and vertical sizes of the display, the first and second distances, the number of pixels in the horizontal and vertical directions of the camera, and the horizontal and vertical directions of the camera, respectively. In addition to the angle of view, a captured image display method is characterized in that the positions of the start point pixel and the end point pixel in the horizontal and vertical directions are calculated based on the look angle.
コンピュータを、請求項1から3の何れかに記載の撮像画像表示装置として機能させるためのプログラム。   A program for causing a computer to function as the captured image display device according to any one of claims 1 to 3.
JP2012133718A 2012-06-13 2012-06-13 Captured image display device, captured image display method, and program Expired - Fee Related JP5805013B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2012133718A JP5805013B2 (en) 2012-06-13 2012-06-13 Captured image display device, captured image display method, and program
PCT/JP2013/065463 WO2013187282A1 (en) 2012-06-13 2013-06-04 Image pick-up image display device, image pick-up image display method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012133718A JP5805013B2 (en) 2012-06-13 2012-06-13 Captured image display device, captured image display method, and program

Publications (2)

Publication Number Publication Date
JP2013258583A true JP2013258583A (en) 2013-12-26
JP5805013B2 JP5805013B2 (en) 2015-11-04

Family

ID=49758108

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012133718A Expired - Fee Related JP5805013B2 (en) 2012-06-13 2012-06-13 Captured image display device, captured image display method, and program

Country Status (2)

Country Link
JP (1) JP5805013B2 (en)
WO (1) WO2013187282A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170031733A (en) * 2014-09-17 2017-03-21 인텔 코포레이션 Technologies for adjusting a perspective of a captured image for display
WO2020110283A1 (en) * 2018-11-30 2020-06-04 マクセル株式会社 Display device
WO2021145244A1 (en) * 2020-01-16 2021-07-22 ソニーグループ株式会社 Display device, image generation method, and program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111554283A (en) * 2020-04-23 2020-08-18 海信集团有限公司 Intelligent device and control method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08307765A (en) * 1995-05-11 1996-11-22 Canon Inc Image pickup device
JP2004215062A (en) * 2003-01-07 2004-07-29 Minolta Co Ltd Imaging device
JP2005121838A (en) * 2003-10-15 2005-05-12 Olympus Corp Camera
JP2007324976A (en) * 2006-06-01 2007-12-13 Fujifilm Corp Digital camera
JP2010081261A (en) * 2008-09-25 2010-04-08 Casio Computer Co Ltd Imaging apparatus, program therefor, and electronic device
JP2010183378A (en) * 2009-02-05 2010-08-19 Sony Ericsson Mobile Communications Ab Image photographing apparatus, method of controlling image photographing apparatus and control program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08307765A (en) * 1995-05-11 1996-11-22 Canon Inc Image pickup device
JP2004215062A (en) * 2003-01-07 2004-07-29 Minolta Co Ltd Imaging device
JP2005121838A (en) * 2003-10-15 2005-05-12 Olympus Corp Camera
JP2007324976A (en) * 2006-06-01 2007-12-13 Fujifilm Corp Digital camera
JP2010081261A (en) * 2008-09-25 2010-04-08 Casio Computer Co Ltd Imaging apparatus, program therefor, and electronic device
JP2010183378A (en) * 2009-02-05 2010-08-19 Sony Ericsson Mobile Communications Ab Image photographing apparatus, method of controlling image photographing apparatus and control program

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170031733A (en) * 2014-09-17 2017-03-21 인텔 코포레이션 Technologies for adjusting a perspective of a captured image for display
JP2017525052A (en) * 2014-09-17 2017-08-31 インテル コーポレイション Technology that adjusts the field of view of captured images for display
KR102291461B1 (en) * 2014-09-17 2021-08-20 인텔 코포레이션 Technologies for adjusting a perspective of a captured image for display
WO2020110283A1 (en) * 2018-11-30 2020-06-04 マクセル株式会社 Display device
JPWO2020110283A1 (en) * 2018-11-30 2021-10-14 マクセル株式会社 Display device
JP7146944B2 (en) 2018-11-30 2022-10-04 マクセル株式会社 Display device
US11483483B2 (en) 2018-11-30 2022-10-25 Maxell, Ltd. Display apparatus
JP2022183171A (en) * 2018-11-30 2022-12-08 マクセル株式会社 Display device
US11831976B2 (en) 2018-11-30 2023-11-28 Maxell, Ltd. Display apparatus
JP7427739B2 (en) 2018-11-30 2024-02-05 マクセル株式会社 display device
WO2021145244A1 (en) * 2020-01-16 2021-07-22 ソニーグループ株式会社 Display device, image generation method, and program

Also Published As

Publication number Publication date
JP5805013B2 (en) 2015-11-04
WO2013187282A1 (en) 2013-12-19

Similar Documents

Publication Publication Date Title
US10915998B2 (en) Image processing method and device
US7733404B2 (en) Fast imaging system calibration
CN109565551B (en) Synthesizing images aligned to a reference frame
JP3847753B2 (en) Image processing apparatus, image processing method, recording medium, computer program, semiconductor device
TWI527448B (en) Imaging apparatus, image processing method, and recording medium for recording program thereon
WO2015180659A1 (en) Image processing method and image processing device
EP2328125A1 (en) Image splicing method and device
JP7164968B2 (en) IMAGE PROCESSING DEVICE, CONTROL METHOD AND PROGRAM OF IMAGE PROCESSING DEVICE
WO2018054267A1 (en) Image display method and device utilized in virtual reality-based apparatus
JP5805013B2 (en) Captured image display device, captured image display method, and program
CN113643414A (en) Three-dimensional image generation method and device, electronic equipment and storage medium
US20160353021A1 (en) Control apparatus, display control method and non-transitory computer readable medium
JP2014164483A (en) Database generation device, camera attitude estimation device, database generation method, camera attitude estimation method and program
JP4689548B2 (en) Image processing apparatus, image processing method, recording medium, computer program, semiconductor device
CN114390186A (en) Video shooting method and electronic equipment
JP6483661B2 (en) Imaging control apparatus, imaging control method, and program
JP6625654B2 (en) Projection device, projection method, and program
CN111726602B (en) Matching method of different-field-angle camera-imaging system, system and computing system thereof
JPWO2020059064A1 (en) Calculator, information processing method and program
JP6344903B2 (en) Image processing apparatus, control method therefor, imaging apparatus, and program
JP6514386B1 (en) PROGRAM, RECORDING MEDIUM, AND IMAGE GENERATION METHOD
CN115514895B (en) Image anti-shake method, apparatus, electronic device, and computer-readable storage medium
JP2014089304A (en) Viewpoint measuring device, and electronic equipment
JP4767331B2 (en) Image processing apparatus, image processing method, recording medium, computer program, semiconductor device
CN114821460A (en) Method, device, system, medium and equipment for identifying target object in video

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140225

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140909

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150210

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150330

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150901

R150 Certificate of patent or registration of utility model

Ref document number: 5805013

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees