JP2012175685A - Information processing program, imaging apparatus, imaging method, and imaging system - Google Patents

Information processing program, imaging apparatus, imaging method, and imaging system Download PDF

Info

Publication number
JP2012175685A
JP2012175685A JP2011038984A JP2011038984A JP2012175685A JP 2012175685 A JP2012175685 A JP 2012175685A JP 2011038984 A JP2011038984 A JP 2011038984A JP 2011038984 A JP2011038984 A JP 2011038984A JP 2012175685 A JP2012175685 A JP 2012175685A
Authority
JP
Japan
Prior art keywords
display
image
captured image
unit
display position
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
JP2011038984A
Other languages
Japanese (ja)
Other versions
JP5785732B2 (en
Inventor
Tomohisa Kawakami
知久 川上
Tsutomu Araki
勉 荒木
Daigo Shimizu
大悟 清水
Takeshi Nishikawa
猛司 西川
Fumihiko Inoue
文彦 井上
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.)
Nintendo Co Ltd
Original Assignee
Nintendo Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nintendo Co Ltd filed Critical Nintendo Co Ltd
Priority to JP2011038984A priority Critical patent/JP5785732B2/en
Priority to US13/404,562 priority patent/US9167231B2/en
Publication of JP2012175685A publication Critical patent/JP2012175685A/en
Application granted granted Critical
Publication of JP5785732B2 publication Critical patent/JP5785732B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • H04N13/204Image signal generators using stereoscopic image cameras
    • H04N13/239Image signal generators using stereoscopic image cameras using two 2D image sensors having a relative position equal to or related to the interocular distance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/106Processing image signals
    • H04N13/128Adjusting depth or disparity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/189Recording image signals; Reproducing recorded image signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • H04N13/296Synchronisation thereof; Control thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N2013/0074Stereoscopic image analysis
    • H04N2013/0081Depth or disparity estimation from stereoscopic image signals

Abstract

PROBLEM TO BE SOLVED: To provide a correction method for allowing a user to simply adjust an installation position (optical position, etc.) of a stereo camera when the installation position of the stereo camera may be deviated due to an external shock, secular change, or the like during use.SOLUTION: A first temporarily captured image captured by a first imaging part constituting a stereo camera and a second temporarily captured image captured by a second imaging part constituting the stereo camera are displayed on a display part. A user moves the first temporarily captured image displayed on the display part to adjust the display position of the first temporarily captured image to the display position of the second temporarily captured image. On the basis of the result of the movement, the display positions of the two images constituting a stereo image captured by the stereo camera, so that the stereo image is stereoscopically displayed on the display part.

Description

本発明は、情報処理プログラム、撮像装置、撮像方法及び撮像システムに関し、より特定的には、ステレオ撮像を行う情報処理プログラム、撮像装置、撮像方法及び撮像システムに関する。   The present invention relates to an information processing program, an imaging apparatus, an imaging method, and an imaging system, and more specifically to an information processing program, an imaging apparatus, an imaging method, and an imaging system that perform stereo imaging.

ステレオカメラで立体視画像を生成(ステレオ撮像)する際、2つのカメラの焦点距離や、その取り付け位置等の光学的位置は正確に揃っていることが望ましい。しかしながら、実際には、両カメラの光学的位置は必ずしも揃っているとは言えず、そのため、両カメラによって撮像された2つの画像(ステレオ画像)には、ステレオカメラの光学的位置のずれに起因する表示誤差が含まれる。したがって、この誤差を補正して、両画像(ステレオ画像)の表示位置を適切に合わせなければ、奥行き感や飛び出し感を感じさせる最適な立体視画像として表示することができない。そのため、この補正の方法として、特許文献1や特許文献2の方法が開示されている。   When generating a stereoscopic image (stereo imaging) with a stereo camera, it is desirable that the optical positions such as the focal lengths and the mounting positions of the two cameras are accurately aligned. However, in reality, the optical positions of both cameras are not necessarily aligned, and therefore two images (stereo images) captured by both cameras are caused by a shift in the optical positions of the stereo cameras. Display error. Therefore, unless this error is corrected and the display positions of both images (stereo images) are appropriately matched, it is not possible to display an optimal stereoscopic image that gives a sense of depth or popping out. For this reason, methods of Patent Document 1 and Patent Document 2 are disclosed as the correction method.

特開平10−307352号公報JP-A-10-307352 特開2005−017286号公報Japanese Patent Laying-Open No. 2005-017286

上記した従来の補正の方法によれば、調整用の画像(調整用パターン)を用意する必要があるため、製造時や出荷時等に販売元が調整(補正)することができても、ユーザ自身がこの方法により調整することは難しかった。しかし、使用時の外からの衝撃や経年変化等によっては、ステレオカメラの設置位置(光学的位置)がずれる可能性があり、このような場合にユーザが自身で簡単に調整できる補正の方法が必要となる。   According to the conventional correction method described above, an adjustment image (adjustment pattern) needs to be prepared. Therefore, even if the vendor can make adjustments (correction) at the time of manufacture or shipment, the user can It was difficult to adjust by this method. However, there is a possibility that the installation position (optical position) of the stereo camera may be shifted depending on the impact from the outside during use, aging, etc. In such a case, there is a correction method that the user can easily adjust by himself / herself. Necessary.

それ故に、本発明の主たる目的は、使用時の外からの衝撃や経年変化等によって撮像部(ステレオカメラ)の光学的位置がずれた場合であっても、ユーザが自身でステレオ画像を構成する2つの画像の表示位置を簡単に調整できる情報処理プログラム等を提供することである。   Therefore, the main object of the present invention is that the user composes a stereo image by himself even when the optical position of the image pickup unit (stereo camera) is shifted due to an external impact or a secular change during use. To provide an information processing program or the like that can easily adjust the display positions of two images.

本発明は、上述の課題を解決するために、以下の構成を採用した。   The present invention employs the following configuration in order to solve the above-described problems.

本発明に係る情報処理プログラムは、ステレオ撮像部によって被写体を撮像し、立体視可能な撮像画像を取得する、記憶部を備えた撮像装置のコンピュータを、仮撮像画像取得手段と、仮撮像画像表示手段と、入力受付手段と、表示位置変更手段と、補正量算出手段と、記憶制御手段として機能させる。仮撮像画像取得手段は、ステレオ撮像部によって任意の撮像対象を撮像し、当該ステレオ撮像部のうち第1撮像部による撮像画像を第1仮撮像画像とし、第2撮像部による撮像画像を第2仮撮像画像として、それぞれ取得する。仮撮像画像表示手段は、第1仮撮像画像及び第2仮撮像画像を、表示部上に表示させる。入力受付手段は、ユーザからの入力を受け付ける。表示位置変更手段は、入力受付手段によって受け付けられた所定の入力に基づいて、第1仮撮像画像及び第2仮撮像画像の少なくとも一方の表示位置を変更させる。補正量算出手段は、表示位置変更手段によって変更された第1仮撮像画像及び/又は第2仮撮像画像の表示位置の変位に基づいて、第1撮像部及び第2撮像部で撮像した画像の少なくとも一方の表示部上の表示位置を補正する補正量を算出する。記憶制御手段は、補正量算出手段によって算出された補正量を、第1仮撮像画像及び第2仮撮像画像と関連付けずに記憶部に記憶する。   An information processing program according to the present invention includes a provisional captured image acquisition unit, a provisional captured image display, a computer of an imaging apparatus including a storage unit that captures a subject with a stereo imaging unit and acquires a stereoscopically captured image. Means, input receiving means, display position changing means, correction amount calculating means, and storage control means. The temporary captured image acquisition means captures an arbitrary imaging target by the stereo imaging unit, sets the captured image by the first imaging unit among the stereo imaging units as the first temporary captured image, and sets the captured image by the second imaging unit as the second. Each is acquired as a provisional captured image. The temporary captured image display means displays the first temporary captured image and the second temporary captured image on the display unit. The input receiving unit receives an input from the user. The display position changing unit changes the display position of at least one of the first temporary captured image and the second temporary captured image based on the predetermined input received by the input receiving unit. The correction amount calculating unit is configured to detect an image captured by the first imaging unit and the second imaging unit based on the displacement of the display position of the first temporary captured image and / or the second temporary captured image changed by the display position changing unit. A correction amount for correcting the display position on at least one display unit is calculated. The storage control unit stores the correction amount calculated by the correction amount calculation unit in the storage unit without associating the correction amount with the first temporary captured image and the second temporary captured image.

本構成によれば、第1撮像部及び第2撮像部の両撮像部(ステレオカメラ)によって任意の撮像対象(被写体)を撮像して取得した第1仮撮像画像及び第2仮撮像画像の両画像(調整用の両画像)を基に調整を行うので、ユーザは所望の撮像対象をステレオカメラで撮像することで調整用の画像を取得でき、調整用のパターン画像等を別途用意する必要がない。そして、ユーザからの所定の入力(調整用の両画像の少なくとも一方を移動させる指示)に基づいて、表示部(例えばステレオカメラのディスプレイ)に表示された調整用の画像の表示位置が変更されるので、ユーザはディスプレイを確認しながら、調整用の画像を所望の位置に移動させることができる。また、ユーザの指示に基づいて変更された調整用の画像の表示位置の変位に基づいて、ステレオ画像(ステレオカメラによって撮像された2つの画像)をディスプレイ上に立体視表示させる際の表示位置を補正するための補正量が算出され、この補正量が記憶部に記憶される。このことにより、ユーザは、簡単な画像調整(調整用の画像を移動させること)を行うだけで、ステレオ画像の表示位置を適切に調整するための補正量を算出させ、記憶部に記憶させることができる。   According to this configuration, both of the first temporary captured image and the second temporary captured image acquired by capturing an arbitrary imaging target (subject) by the both imaging units (stereo camera) of the first imaging unit and the second imaging unit. Since adjustment is performed based on the images (both images for adjustment), the user can acquire an adjustment image by capturing a desired imaging target with a stereo camera, and it is necessary to prepare a pattern image for adjustment separately. Absent. Then, based on a predetermined input from the user (instruction for moving at least one of both images for adjustment), the display position of the image for adjustment displayed on the display unit (for example, a display of a stereo camera) is changed. Therefore, the user can move the adjustment image to a desired position while checking the display. Further, a display position when stereoscopically displaying a stereo image (two images captured by the stereo camera) on the display based on the displacement of the display position of the adjustment image changed based on the user instruction is displayed. A correction amount for correction is calculated, and this correction amount is stored in the storage unit. As a result, the user can calculate a correction amount for appropriately adjusting the display position of the stereo image and store it in the storage unit simply by performing simple image adjustment (moving the adjustment image). Can do.

コンピュータを、補正手段と、立体視表示制御手段として更に機能させてもよい。補正手段は、第1仮撮像画像及び第2仮撮像画像とは別に第1撮像部で撮像した第1画像及び第2撮像部で撮像した第2画像の少なくとも一方の表示部上の表示位置を、補正量に基づいて補正する。立体視表示制御手段は、第1画像及び第2画像を、補正手段による補正結果に基づいて、表示部上に立体視表示させる。   The computer may further function as correction means and stereoscopic display control means. The correction means determines the display position on at least one display unit of the first image captured by the first imaging unit and the second image captured by the second imaging unit separately from the first temporary captured image and the second temporary captured image. The correction is made based on the correction amount. The stereoscopic display control means causes the first image and the second image to be stereoscopically displayed on the display unit based on the correction result by the correction means.

本構成によれば、補正量に基づいて、第1画像及び第2画像(ステレオ画像)の表示部(ディスプレイ)上の表示位置が補正され、この補正結果に基づいてステレオ画像がディスプレイ上に立体視表示される。このことにより、ユーザは、簡単な画像調整(調整用の画像を移動させること)を行うだけで、ステレオ画像の表示位置を適切に調整して、当該ステレオ画像をディスプレイ上に適切に立体視表示させることができる。   According to this configuration, the display positions of the first image and the second image (stereo image) on the display unit (display) are corrected based on the correction amount, and the stereo image is displayed on the display in three dimensions based on the correction result. Visually displayed. As a result, the user can easily adjust the display position of the stereo image by simply performing simple image adjustment (moving the adjustment image), and appropriately display the stereo image on the display. Can be made.

補正量算出手段による補正量の算出は以下のように行われてもよい。すなわち、補正量算出手段は、第1仮撮像画像及び/又は第2仮撮像画像の上下方向の表示位置の変位のみに基づいて補正量を算出する。   The calculation of the correction amount by the correction amount calculation means may be performed as follows. That is, the correction amount calculation means calculates the correction amount based only on the displacement of the display position in the vertical direction of the first temporary captured image and / or the second temporary captured image.

本構成によれば、第1仮撮像画像及び/又は第2仮撮像画像(調整用の画像)の表示位置を移動させた際の変位には各方向の変位が含まれるが、補正量は、調整用の画像の上下方向(後述する図1,図5等で示すy軸方向)の表示位置の変位のみに基づいて算出される。このことにより、2つのずれた画像として認識されてしまう主因となるステレオ画像の位置ずれ(第1画像と第2画像の上下方向の位置ずれ)を補正するための補正量が算出される。また、ユーザが調整用の画像を移動させることが可能な方向を上下方向だけに限らないことにすると、第1仮撮像画像と第2仮撮像画像を略重ね合わせることが可能となり、結果として第1仮撮像画像と第2仮撮像画像の上下方向の表示位置を合わせやすく(調整しやすく)なり、適切な補正量が算出されやすくなる。   According to this configuration, the displacement when the display position of the first temporary captured image and / or the second temporary captured image (adjustment image) is moved includes the displacement in each direction. It is calculated based only on the displacement of the display position in the vertical direction of the image for adjustment (the y-axis direction shown in FIGS. 1 and 5 to be described later). As a result, a correction amount for correcting the stereo image misalignment (vertical misalignment between the first image and the second image), which is the main cause of being recognized as two misaligned images, is calculated. Further, if the direction in which the user can move the adjustment image is not limited to the vertical direction, the first temporary captured image and the second temporary captured image can be substantially overlapped, resulting in the first The display positions in the vertical direction of the first temporary captured image and the second temporary captured image can be easily aligned (adjusted easily), and an appropriate correction amount can be easily calculated.

記憶部には、第1画像及び第2画像の表示部上の表示位置を決定するための表示パラメータが格納されてもよい。この場合、仮撮像画像表示手段は、第1仮撮像画像及び第2仮撮像画像を、表示パラメータに基づいて表示部上に表示させる。補正手段は、補正量に基づいて補正された表示パラメータに基づいて、第1画像及び第2画像の少なくとも一方の表示部上の表示位置を補正する。   The storage unit may store display parameters for determining display positions on the display unit of the first image and the second image. In this case, the temporary captured image display means displays the first temporary captured image and the second temporary captured image on the display unit based on the display parameters. The correction unit corrects the display position on the display unit of at least one of the first image and the second image based on the display parameter corrected based on the correction amount.

本構成によれば、ステレオ画像(第1画像及び第2画像)を表示部(ディスプレイ)に表示させる際の表示位置を決定する表示パラメータが記憶部(例えば、メインメモリ)に記憶されている。そして、この表示パラメータに基づいて、ステレオ画像の表示位置が決定され、表示パラメータが補正されることによって、ステレオ画像の表示位置が補正される。このことにより、ユーザは、ディスプレイ上の補正の反映された(更新された)適切な表示位置にステレオ画像を表示させることができる。   According to this configuration, the display parameter for determining the display position when displaying the stereo image (first image and second image) on the display unit (display) is stored in the storage unit (for example, main memory). Then, the display position of the stereo image is determined based on the display parameter, and the display position of the stereo image is corrected by correcting the display parameter. Thus, the user can display a stereo image at an appropriate display position in which the correction on the display is reflected (updated).

コンピュータを、表示位置決定手段と、表示調整パラメータ算出手段として更に機能させてもよい。表示位置決定手段は、入力受付手段によって受け付けられた決定入力に基づいて、第1仮撮像画像及び/又は第2仮撮像画像の表示位置を決定する。表示調整パラメータ算出手段は、第1画像及び第2画像の少なくとも一方の表示部上の表示位置を補正するための表示調整パラメータを算出する。この場合において、記憶制御手段は、表示調整パラメータを表示パラメータとして更新して記憶部に記憶させる。表示位置変更手段は、入力受付手段によって受け付けられた第1入力に基づいて、第1仮撮像画像の表示位置を変更させ、表示位置決定手段は、決定入力に基づいて、第1仮撮像画像の表示位置を、表示位置変更手段による変更後の表示位置に決定する。そして、表示調整パラメータ算出手段は、表示位置決定手段によって決定された第1仮撮像画像の表示位置と、表示位置変更手段による変更前の第1仮撮像画像の表示位置との変位である第1変位に基づいて、表示調整パラメータを算出し、補正手段は、記憶部に更新された表示パラメータに基づいて、第1画像及び第2画像の少なくとも一方の表示部上の表示位置を補正する。   The computer may further function as display position determination means and display adjustment parameter calculation means. The display position determining unit determines the display position of the first temporary captured image and / or the second temporary captured image based on the determination input received by the input receiving unit. The display adjustment parameter calculation means calculates a display adjustment parameter for correcting the display position on the display unit of at least one of the first image and the second image. In this case, the storage control means updates the display adjustment parameter as the display parameter and stores it in the storage unit. The display position changing means changes the display position of the first temporary captured image based on the first input received by the input receiving means, and the display position determining means determines the first temporary captured image based on the determination input. The display position is determined as the display position after being changed by the display position changing means. The display adjustment parameter calculation means is a displacement between the display position of the first temporary captured image determined by the display position determination means and the display position of the first temporary captured image before being changed by the display position changing means. The display adjustment parameter is calculated based on the displacement, and the correction unit corrects the display position on the display unit of at least one of the first image and the second image based on the display parameter updated in the storage unit.

本構成によれば、ユーザが、第1仮撮像画像の表示位置を第2仮撮像画像の表示位置に適切に合わせたこと(調整を終了したこと)を指示することによって(すなわち、決定入力を行うことによって)、これまでに移動させた第1仮撮像画像(調整用の一方の画像)の移動情報(表示位置の変位情報)に基づいて表示調整パラメータが算出される。そして、この表示調整パラメータが、ステレオ画像(第1画像及び第2画像)を表示部(ディスプレイ)に表示させる際の表示位置を決める表示パラメータとして更新される。このことにより、ユーザは、自身で第1仮撮像画像(調整用の一方の画像)のずれをディスプレイ上で確認しながら、第1仮撮像画像(調整用の一方の画像)と第2仮撮像画像(調整用の他方の画像)の表示位置を合わせる(調整する)だけで、表示パラメータの値を適切なパラメータ(表示調整パラメータ)の値に更新(補正)し、更新した表示パラメータに基づいて、ステレオ画像を適切な表示位置に表示させることができる。   According to this configuration, when the user instructs that the display position of the first provisional captured image is appropriately matched with the display position of the second provisional captured image (that is, the adjustment has been completed) (that is, the determination input is performed). By doing so, the display adjustment parameter is calculated based on the movement information (displacement information of the display position) of the first temporary captured image (one image for adjustment) that has been moved so far. And this display adjustment parameter is updated as a display parameter which determines the display position at the time of displaying a stereo image (a 1st image and a 2nd image) on a display part (display). As a result, the user confirms the shift of the first temporary captured image (one image for adjustment) on the display by himself / herself, and the second temporary captured image and the first temporary captured image (one image for adjustment). Just by aligning (adjusting) the display position of the image (the other image for adjustment), the display parameter value is updated (corrected) to the appropriate parameter (display adjustment parameter) value, and based on the updated display parameter The stereo image can be displayed at an appropriate display position.

表示位置変更手段による表示位置の変更、表示位置決定手段による表示位置の決定、及び表示調整パラメータ算出手段による表示調整パラメータの算出は、以下のように行われてもよい。すなわち、表示位置変更手段は、更に、入力受付手段によって受け付けられた第2入力に基づいて、第2仮撮像画像の表示位置を変更させ、表示位置決定手段は、決定入力に基づいて、第1仮撮像画像及び第2仮撮像画像の表示位置を、表示位置変更手段による変更後の表示位置に決定し、表示調整パラメータ算出手段は、表示位置決定手段によって決定された第2仮撮像画像の表示位置と、表示位置変更手段による変更前の第2仮撮像画像の表示位置との変位である第2変位、及び第1変位に基づいて、表示調整パラメータを算出する。   The change of the display position by the display position changing unit, the determination of the display position by the display position determining unit, and the calculation of the display adjustment parameter by the display adjustment parameter calculating unit may be performed as follows. That is, the display position changing unit further changes the display position of the second provisional captured image based on the second input received by the input receiving unit, and the display position determining unit is configured to change the first input based on the determination input. The display positions of the temporary captured image and the second temporary captured image are determined as the display positions after the change by the display position changing unit, and the display adjustment parameter calculating unit displays the second temporary captured image determined by the display position determining unit. The display adjustment parameter is calculated based on the second displacement, which is the displacement between the position and the display position of the second temporary captured image before being changed by the display position changing means, and the first displacement.

本構成によれば、第1仮撮像画像と第2仮撮像画像の両仮撮像画像(調整用の両画像)がユーザの指示(第1入力及び第2入力)によって移動可能となる。このことにより、ユーザは、調整用の両画像を移動させることによって両画像の表示位置を合わせる(調整する)ことが可能となる。また、この両画像の移動(変位)情報に基づいて、表示調整パラメータが算出される。このため、ユーザは、第1仮撮像画像(調整用の一方の画像)だけを移動させて調整用の両画像の表示位置を合わせる場合よりも、両画像の表示位置を合わせやすくなり、その調整結果に基づいて、ステレオ画像を適切な表示位置に表示させることができる。   According to this configuration, both the temporary captured images of the first temporary captured image and the second temporary captured image (both images for adjustment) can be moved by the user's instructions (first input and second input). Thus, the user can adjust (adjust) the display positions of both images by moving both images for adjustment. Further, display adjustment parameters are calculated based on the movement (displacement) information of both images. For this reason, it is easier for the user to align the display positions of both images than when the first temporary captured image (one image for adjustment) is moved to match the display positions of both images for adjustment. Based on the result, the stereo image can be displayed at an appropriate display position.

表示調整パラメータ算出手段による表示調整パラメータの算出は以下のように行われてもよい。すなわち、表示調整パラメータ算出手段は、第2変位に対する第1変位の相対的な変位に基づいて、表示調整パラメータを算出する。   The calculation of the display adjustment parameter by the display adjustment parameter calculation unit may be performed as follows. In other words, the display adjustment parameter calculation means calculates the display adjustment parameter based on the relative displacement of the first displacement with respect to the second displacement.

本構成によれば、第1仮撮像画像と第2仮撮像画像の両仮撮像画像(調整用の両画像)がユーザの指示(第1入力及び第2入力)によって移動可能となるが、表示調整パラメータを算出する際に用いられる変位は、第2仮撮像画像に対して第1仮撮像画像が相対的に移動した変位(調整用の一方の画像に対する他方の画像の変位)となる。このことにより、ユーザは調整用の両画像の表示位置を合わせる際に、両画像を移動させることによって、より容易に両画像の表示位置を合わせる(調整する)ことが可能となるとともに、表示調整パラメータの算出は、第2仮撮像画像が固定され第1仮撮像画像のみが移動した場合(すなわち、調整用の一方の画像のみが移動した場合)と同様の算出で足りるので、簡単に表示調整パラメータを算出させることができる。   According to this configuration, both the temporary captured images of the first temporary captured image and the second temporary captured image (both images for adjustment) can be moved by a user instruction (first input and second input). The displacement used when calculating the adjustment parameter is a displacement in which the first temporary captured image is moved relative to the second temporary captured image (displacement of the other image with respect to one image for adjustment). As a result, the user can more easily adjust (adjust) the display positions of both images by moving both images when adjusting the display positions of both images for adjustment. Since the calculation of the parameter is sufficient when the second temporary captured image is fixed and only the first temporary captured image is moved (that is, when only one adjustment image is moved), the display adjustment can be easily performed. Parameters can be calculated.

表示調整パラメータ算出手段による表示調整パラメータの算出は以下のように行われてもよい。すなわち、表示調整パラメータ算出手段は、第1変位の上下方向の変位のみに基づいて、表示調整パラメータを算出する。   The calculation of the display adjustment parameter by the display adjustment parameter calculation unit may be performed as follows. That is, the display adjustment parameter calculation means calculates the display adjustment parameter based only on the vertical displacement of the first displacement.

本構成によれば、第1仮撮像画像を移動させた際の変位(第1変位)には各方向の変位が含まれるが、表示調整パラメータの算出には上下方向(後述する図1,図5等で示すy軸方向)の変位のみが用いられる。このことにより、2つのずれた画像として認識されてしまう主因となるステレオ画像(第1画像及び第2画像)の上下方向の位置ずれが補正される。また、表示調整パラメータの算出には上下方向の変位のみが用いられても、ユーザが第1仮撮像画像(調整用の一方の画像)を移動させることが可能な方向を上下方向だけに限らないことによって、ユーザは、第1仮撮像画像と第2仮撮像画像を略重ね合わせることが可能となり、結果として第1仮撮像画像と第2仮撮像画像の上下方向の表示位置を合わせやすく(調整しやすく)なる。   According to this configuration, the displacement (first displacement) when the first provisional captured image is moved includes the displacement in each direction, but the display adjustment parameter is calculated in the vertical direction (FIGS. 1 and 1 described later). Only the displacement in the y-axis direction indicated by 5 etc. is used. As a result, the positional deviation in the vertical direction of the stereo image (first image and second image), which is the main cause of being recognized as two shifted images, is corrected. Further, even if only the vertical displacement is used for calculating the display adjustment parameter, the direction in which the user can move the first provisional captured image (one image for adjustment) is not limited to the vertical direction. Thus, the user can substantially overlap the first temporary captured image and the second temporary captured image, and as a result, it is easy to align the vertical display positions of the first temporary captured image and the second temporary captured image (adjustment). Easy to do).

表示調整パラメータ算出手段による表示調整パラメータの算出は以下のように行われてもよい。すなわち、表示調整パラメータ算出手段は、第1変位及び第2変位の上下方向の変位のみに基づいて、表示調整パラメータを算出する。   The calculation of the display adjustment parameter by the display adjustment parameter calculation unit may be performed as follows. That is, the display adjustment parameter calculation means calculates the display adjustment parameter based only on the vertical displacement of the first displacement and the second displacement.

本構成によれば、第1仮撮像画像及び第2仮撮像画像を移動させた際の変位(第1変位及び第2変位)には各方向の変位が含まれるが、表示調整パラメータの算出には両仮撮像画像の上下方向(後述する図1,図5等で示すy軸方向)の変位のみが用いられる。このことにより、2つのずれた画像として認識されてしまう主因となるステレオ画像(第1画像及び第2画像)の上下方向の位置ずれが補正される。また、表示調整パラメータの算出には上下方向の変位のみが用いられても、ユーザが第1仮撮像画像及び第2仮撮像画像(調整用の両画像)を移動させることが可能な方向を上下方向だけに限らないことによって、ユーザは、第1仮撮像画像と第2仮撮像画像を略重ね合わせることが可能となり、結果として第1仮撮像画像と第2仮撮像画像の上下方向の表示位置を合わせやすく(調整しやすく)なる。   According to this configuration, the displacement (first displacement and second displacement) when the first temporary captured image and the second temporary captured image are moved includes the displacement in each direction. Only the displacement in the vertical direction (the y-axis direction shown in FIGS. 1, 5, etc., which will be described later) of both temporary captured images is used. As a result, the positional deviation in the vertical direction of the stereo image (first image and second image), which is the main cause of being recognized as two shifted images, is corrected. Further, even when only the vertical displacement is used for the calculation of the display adjustment parameter, the direction in which the user can move the first temporary captured image and the second temporary captured image (both images for adjustment) is moved up and down. By being not limited to only the direction, the user can substantially superimpose the first temporary captured image and the second temporary captured image, and as a result, the vertical display position of the first temporary captured image and the second temporary captured image. Is easy to adjust (easy to adjust).

記憶制御手段による記憶制御、表示調整パラメータ算出手段による表示調整パラメータの算出、立体視表示制御手段による立体視表示制御は、以下のように行われてもよい。すなわち、記憶制御手段は、入力受付手段が第1入力を受け付ける度に、表示位置変更手段によって変更された第1仮撮像画像の表示位置を記憶部に記憶させる。そして、入力受付手段が切替入力を受け付けたときに、表示調整パラメータ算出手段は、記憶部に記憶された第1仮撮像画像の表示位置と、表示位置変更手段による変更前の第1仮撮像画像の表示位置との変位である第3変位に基づいて、表示調整パラメータを算出し、立体視表示制御手段は、第1画像及び第2画像を、算出された表示調整パラメータに基づいて、表示部上に立体視表示させる。   Storage control by the storage control means, calculation of display adjustment parameters by the display adjustment parameter calculation means, and stereoscopic display control by the stereoscopic display control means may be performed as follows. That is, the storage control unit causes the storage unit to store the display position of the first temporarily captured image changed by the display position changing unit every time the input receiving unit receives the first input. When the input receiving unit receives the switching input, the display adjustment parameter calculating unit displays the display position of the first temporary captured image stored in the storage unit and the first temporary captured image before being changed by the display position changing unit. The display adjustment parameter is calculated based on the third displacement that is a displacement from the display position of the display position, and the stereoscopic display control means displays the first image and the second image on the display unit based on the calculated display adjustment parameter. Display stereoscopically on top.

本構成によれば、ユーザの指示によって第1仮撮像画像(調整用の一方の画像)の表示位置が変更される度に、その表示位置が記憶部に記憶され、その記憶された表示位置に基づいて、表示調整パラメータが算出され、算出された表示調整パラメータに基づいてステレオ画像(第1画像及び第2画像)が立体視表示される。このことにより、ユーザは、第1仮撮像画像(調整用の一方の画像)の表示位置を調整しているとき(すなわち、調整中)に、現在の調整であれば、どのようにステレオ画像が立体視表示されるかを実際に確かめることができ、調整を終了(決定)する前に当該調整で問題ないかを確認することができる。   According to this configuration, every time the display position of the first provisional captured image (one image for adjustment) is changed by the user's instruction, the display position is stored in the storage unit, and the stored display position is displayed. Based on the calculated display adjustment parameter, a stereo image (first image and second image) is stereoscopically displayed based on the calculated display adjustment parameter. As a result, when the user is adjusting the display position of the first provisional captured image (one image for adjustment) (that is, during adjustment), if the current adjustment is being made, It is possible to actually confirm whether or not the stereoscopic display is performed, and it is possible to confirm whether or not there is no problem with the adjustment before the adjustment is finished (determined).

記憶制御手段による記憶制御、表示調整パラメータ算出手段による表示調整パラメータの算出、立体視表示制御手段による立体視表示制御は、以下のように行われてもよい。すなわち、記憶制御手段は、更に、入力受付手段が第2入力を受け付ける度に、表示位置変更手段によって変更された第2仮撮像画像の表示位置を記憶部に記憶させる。そして、入力受付手段が切替入力を受け付けたときに、表示調整パラメータ算出手段は、記憶部に記憶された第2仮撮像画像の表示位置と、表示位置変更手段による変更前の第2仮撮像画像の表示位置との変位である第4変位、及び第3変位に基づいて、表示調整パラメータを算出し、立体視表示制御手段は、第1画像及び第2画像を、算出された表示調整パラメータに基づいて、表示部上に立体視表示させる。   Storage control by the storage control means, calculation of display adjustment parameters by the display adjustment parameter calculation means, and stereoscopic display control by the stereoscopic display control means may be performed as follows. That is, the storage control unit further causes the storage unit to store the display position of the second temporary captured image changed by the display position changing unit every time the input receiving unit receives the second input. When the input receiving unit receives the switching input, the display adjustment parameter calculating unit displays the display position of the second temporary captured image stored in the storage unit and the second temporary captured image before the change by the display position changing unit. The display adjustment parameter is calculated based on the fourth displacement and the third displacement, which are displacements with respect to the display position, and the stereoscopic display control means converts the first image and the second image to the calculated display adjustment parameter. Based on this, stereoscopic display is performed on the display unit.

本構成によれば、ユーザの指示によって第1仮撮像画像及び第2仮撮像画像(調整用の両画像)の表示位置が変更される度に、その表示位置が記憶部に記憶され、その記憶された表示位置に基づいて、表示調整パラメータが算出され、算出された表示調整パラメータに基づいてステレオ画像(第1画像及び第2画像)が立体視表示される。このことにより、ユーザは、第1仮撮像画像及び第2仮撮像画像(調整用の両画像)の表示位置を調整しているとき(すなわち、調整中)に、現在の調整であれば、どのようにステレオ画像が立体視表示されるかを実際に確かめることができ、調整を終了(決定)する前に当該調整で問題ないかを確認することができる。   According to this configuration, every time the display position of the first temporary captured image and the second temporary captured image (both images for adjustment) is changed by a user instruction, the display position is stored in the storage unit, and the storage A display adjustment parameter is calculated based on the displayed display position, and a stereo image (first image and second image) is stereoscopically displayed based on the calculated display adjustment parameter. As a result, when the user is adjusting the display position of the first temporary captured image and the second temporary captured image (both images for adjustment) (that is, during the adjustment) In this way, it is possible to confirm whether or not the stereo image is stereoscopically displayed, and it is possible to confirm whether there is no problem with the adjustment before the adjustment is finished (determined).

仮撮像画像表示手段による仮撮像画像の表示は以下のように行われてもよい。すなわち、仮撮像画像表示手段は、第1仮撮像画像及び第2仮撮像画像の両仮撮像画像のうち少なくとも一方を半透明表示にしたうえで、当該両仮撮像画像を表示部上に表示させる。   Display of the temporarily captured image by the temporarily captured image display means may be performed as follows. That is, the temporary captured image display means displays at least one of the first temporary captured image and the second temporary captured image in a semi-transparent display and displays the temporary captured image on the display unit. .

本構成によれば、第1仮撮像画像及び第2仮撮像画像(調整用の両画像)のうち、少なくとも一方の仮撮像画像が半透明表示にされたうえで、両画像がディスプレイ上に表示されるので、ユーザは両画像の位置ずれを容易に視認することができる。さらに、調整用の両画像は視認されやすくなっているため、ユーザは、第1仮撮像画像(調整用の一方の画像)の表示位置を変更して第2仮撮像画像(調整用の他方の画像)の表示位置に直感的に容易に合わせる(調整する)ことができる。   According to this configuration, at least one temporary captured image of the first temporary captured image and the second temporary captured image (both images for adjustment) is displayed semi-transparently, and both images are displayed on the display. Therefore, the user can easily visually recognize the positional deviation between the two images. Furthermore, since both images for adjustment are easily visible, the user changes the display position of the first temporary captured image (one image for adjustment) to change the second temporary captured image (the other image for adjustment). The display position of (image) can be easily adjusted (adjusted) intuitively.

仮撮像画像表示手段による仮撮像画像の表示は以下のように行われてもよい。すなわち、仮撮像画像表示手段は、第1仮撮像画像及び第2仮撮像画像を、表示部上に平面視表示させる。   Display of the temporarily captured image by the temporarily captured image display means may be performed as follows. That is, the temporary captured image display unit displays the first temporary captured image and the second temporary captured image in a plan view on the display unit.

本構成によれば、第1仮撮像画像及び第2仮撮像画像(調整用の両画像)は、ディスプレイ上に平面視表示される(すなわち、両画像がユーザの右目にも左目にも視認されるように表示される)ので、ユーザは調整用の両画像の位置ずれを視認しやすくなり、両画像の調整が容易になる。   According to this configuration, the first temporary captured image and the second temporary captured image (both images for adjustment) are displayed in a plan view on the display (that is, both images are visually recognized by the user's right eye and left eye). Therefore, it is easy for the user to visually recognize the positional deviation between the two images for adjustment, and the adjustment of both images is facilitated.

記憶部には、第1画像及び第2画像の表示部上の予め設定された初期表示位置を規定する初期パラメータが予め格納されてもよい。この場合、記憶制御手段は、入力受付手段が初期化入力を受け付けたときに、初期パラメータを表示パラメータとして更新して記憶部に記憶させる。   The storage unit may store in advance an initial parameter that defines a preset initial display position on the display unit of the first image and the second image. In this case, the storage control unit updates the initial parameter as the display parameter and stores it in the storage unit when the input receiving unit receives the initialization input.

本構成によれば、ユーザが初期化の指示(ステレオ画像の表示位置を初期設定に戻す指示)を行うことによって、表示パラメータの値は初期パラメータの値に変更される。このことにより、ユーザがステレオ画像の表示位置を変更(調整)していた場合であっても、いつでも初期設定の表示位置に戻すことが可能となる。   According to this configuration, the value of the display parameter is changed to the value of the initial parameter when the user issues an instruction for initialization (instruction for returning the display position of the stereo image to the initial setting). Thus, even when the user has changed (adjusted) the display position of the stereo image, it is possible to return to the default display position at any time.

表示位置変更手段による表示位置の変更は以下のように行われてもよい。すなわち、表示位置変更手段は、所定の入力に基づいて、第1仮撮像画像及び第2仮撮像画像の少なくとも一方の表示位置を左右方向及び上下方向に変更させる。   The change of the display position by the display position changing means may be performed as follows. That is, the display position changing unit changes the display position of at least one of the first temporary captured image and the second temporary captured image in the left-right direction and the vertical direction based on a predetermined input.

本構成は、第1仮撮像画像及び第2仮撮像画像(調整用の両画像)が平面視で表示される場合に、より効果的である。一般に、立体視可能な画像は視差を持った画像であるため、調整用の両画像が平面視で表示されると、両画像は左右方向(後述する図1,図5等で示すx軸方向)にずれて表示される。このため、ステレオカメラの光学的位置に起因するずれが、両画像の上下方向(後述する図1,図5等で示すy軸方向)のずれのみであっても、両画像は左右方向にもずれて表示される。また、この左右方向のずれの大きさは、撮像された被写体とステレオカメラの距離に依って異なる。そのため、ユーザは両画像の上下方向のずれをなくす調整を行おうとしても調整しづらいことがある。しかし、本構成によれば、調整用の両画像の少なくとも一方は左右方向にも移動可能となるので、ユーザは、被写体とステレオカメラとの距離を考慮する必要がなく、上下左右方向に調整用の画像の少なくとも一方を移動させて両画像を略重ね合わせることができる。この結果として、ユーザは、調整用の両画像の上下方向の表示位置を合わせる(調整する)ことができる。   This configuration is more effective when the first temporary captured image and the second temporary captured image (both images for adjustment) are displayed in plan view. In general, since a stereoscopically viewable image is an image having parallax, when both images for adjustment are displayed in a plan view, both images are displayed in the left-right direction (the x-axis direction shown in FIGS. 1 and 5 to be described later). ) Is displayed. For this reason, even if the shift due to the optical position of the stereo camera is only the shift in the vertical direction of both images (the y-axis direction shown in FIGS. Displayed out of position. In addition, the magnitude of the horizontal shift differs depending on the distance between the captured subject and the stereo camera. For this reason, it may be difficult for the user to make an adjustment to eliminate the vertical shift between the two images. However, according to this configuration, since at least one of the images for adjustment can also be moved in the left-right direction, the user need not consider the distance between the subject and the stereo camera, and can adjust the image in the up-down, left-right direction The images can be substantially superimposed by moving at least one of the images. As a result, the user can adjust (adjust) the vertical display positions of both images for adjustment.

以上では、情報処理プログラムとして本発明を構成する場合について記載した。しかし、本発明は、撮像装置、撮像システム、又は撮像方法として構成されてもよい。更には、本発明は、上記情報処理プログラムを記録したコンピュータで読み取り可能な記録媒体として構成されてもよい。   The case where the present invention is configured as an information processing program has been described above. However, the present invention may be configured as an imaging device, an imaging system, or an imaging method. Furthermore, the present invention may be configured as a computer-readable recording medium that records the information processing program.

本発明によれば、使用時の外からの衝撃や経年変化等によって撮像部の光学的位置がずれた場合であっても、ユーザが自身でステレオ画像を構成する2つの画像の表示位置を簡単に調整できる情報処理プログラム等を提供することができる。   According to the present invention, even when the optical position of the image pickup unit is shifted due to an external impact or secular change during use, the user can easily display the display positions of the two images constituting the stereo image by himself / herself. It is possible to provide an information processing program and the like that can be adjusted.

開状態におけるゲーム装置10の正面図Front view of game device 10 in the open state 閉状態におけるゲーム装置10の左側面図、正面図、右側面図及び背面図Left side view, front view, right side view, and rear view of game device 10 in the closed state ゲーム装置10の内部構成を示すブロック図Block diagram showing the internal configuration of the game apparatus 10 ステレオカメラが被写体50を撮像する一例を示す図The figure which shows an example in which a stereo camera images the to-be-photographed object 50 調整画像が表示される一例を示す図The figure which shows an example in which an adjustment image is displayed 立体視の一例を説明するための図The figure for demonstrating an example of a stereoscopic vision ステレオカメラの光学的位置ずれの一例を示す図The figure which shows an example of the optical position shift of a stereo camera 調整画像の表示位置のずれの一例を示す図The figure which shows an example of the shift | offset | difference of the display position of an adjustment image 調整画像の表示位置を移動させるときの一例を示す図The figure which shows an example when moving the display position of an adjustment image 調整画像の表示位置を移動させるときの一例を示す図The figure which shows an example when moving the display position of an adjustment image ゲーム装置10のメインメモリ32のメモリマップの一例を示す図The figure which shows an example of the memory map of the main memory 32 of the game device 10 表示調整処理のフローチャートの一例Example of flowchart of display adjustment processing 表示調整処理のフローチャートの一例Example of flowchart of display adjustment processing 調整画像の表示位置のずれの一例を示す図The figure which shows an example of the shift | offset | difference of the display position of an adjustment image 調整画像の表示位置のずれの一例を示す図The figure which shows an example of the shift | offset | difference of the display position of an adjustment image

(一実施形態)
以下、本発明の一実施形態に係る撮像装置であるゲーム装置について説明する。なお、本発明は、このような装置に限定されるものではなく、このような装置の機能を実現する撮像システムであってもよく、このような装置における撮像方法であってもよく、このような装置において実行される情報処理プログラムであってもよい。更には、本発明は、この情報処理プログラムを記録したコンピュータ読み取り可能な記録媒体であってもよい。
(One embodiment)
Hereinafter, a game apparatus which is an imaging apparatus according to an embodiment of the present invention will be described. Note that the present invention is not limited to such an apparatus, and may be an imaging system that realizes the functions of such an apparatus or an imaging method in such an apparatus. An information processing program executed in a simple apparatus may be used. Furthermore, the present invention may be a computer-readable recording medium on which the information processing program is recorded.

(ゲーム装置の外観構成)
以下、本発明の一実施形態に係るゲーム装置について説明する。図1及び図2は、ゲーム装置10の外観を示す平面図である。ゲーム装置10は携帯型のゲーム装置であり、図1及び図2に示すように折り畳み可能に構成されている。図1は、開いた状態(開状態)におけるゲーム装置10を示し、図2は、閉じた状態(閉状態)におけるゲーム装置10を示している。図1は、開状態におけるゲーム装置10の正面図である。ゲーム装置10は、撮像部によって画像を撮像し、撮像した画像を画面に表示したり、撮像した画像のデータを保存したりすることが可能である。また、ゲーム装置10は、交換可能なメモリカード内に記憶され、又は、サーバや他のゲーム装置から受信したゲームプログラムを実行可能であり、仮想空間に設定された仮想カメラで撮像した画像などのコンピュータグラフィックス処理により生成された画像を画面に表示したりすることができる。
(Appearance structure of game device)
Hereinafter, a game device according to an embodiment of the present invention will be described. 1 and 2 are plan views showing the appearance of the game apparatus 10. The game apparatus 10 is a portable game apparatus, and is configured to be foldable as shown in FIGS. 1 and 2. FIG. 1 shows the game apparatus 10 in an open state (open state), and FIG. 2 shows the game apparatus 10 in a closed state (closed state). FIG. 1 is a front view of the game apparatus 10 in the open state. The game apparatus 10 can capture an image with an imaging unit, display the captured image on a screen, and store data of the captured image. In addition, the game device 10 can be stored in a replaceable memory card or can execute a game program received from a server or another game device, such as an image captured by a virtual camera set in a virtual space. An image generated by computer graphics processing can be displayed on the screen.

まず、図1及び図2を参照して、ゲーム装置10の外観構成について説明する。図1及び図2に示されるように、ゲーム装置10は、下側ハウジング11及び上側ハウジング21を有する。下側ハウジング11と上側ハウジング21とは、開閉可能(折り畳み可能)に接続されている。   First, an external configuration of the game apparatus 10 will be described with reference to FIGS. 1 and 2. As shown in FIGS. 1 and 2, the game apparatus 10 includes a lower housing 11 and an upper housing 21. The lower housing 11 and the upper housing 21 are connected so as to be openable and closable (foldable).

(下側ハウジングの説明)
まず、下側ハウジング11の構成について説明する。図1及び図2に示すように、下側ハウジング11には、下側LCD(Liquid Crystal Display:液晶表示装置)12、タッチパネル13、各操作ボタン14A〜14L、アナログスティック15、LED16A〜16B、挿入口17、及び、マイクロフォン用孔18が設けられる。以下、これらの詳細について説明する。
(Description of lower housing)
First, the configuration of the lower housing 11 will be described. As shown in FIGS. 1 and 2, the lower housing 11 has a lower LCD (Liquid Crystal Display) 12, a touch panel 13, operation buttons 14A to 14L, an analog stick 15, LEDs 16A to 16B, and an insertion. A mouth 17 and a microphone hole 18 are provided. Details of these will be described below.

図1に示すように、下側LCD12は下側ハウジング11に収納される。下側LCD12の画素数は、例えば、320dot×240dot(横×縦)であってもよい。下側LCD12は、後述する上側LCD22とは異なり、画像を(立体視可能ではなく)平面的に表示する表示装置である。なお、本実施形態では表示装置としてLCDを用いているが、例えばEL(Electro Luminescence:電界発光)を利用した表示装置など、他の任意の表示装置を利用してもよい。また、下側LCD12として、任意の解像度の表示装置を利用することができる。   As shown in FIG. 1, the lower LCD 12 is housed in the lower housing 11. The number of pixels of the lower LCD 12 may be, for example, 320 dots × 240 dots (horizontal × vertical). Unlike the upper LCD 22 described later, the lower LCD 12 is a display device that displays an image in a planar manner (not stereoscopically viewable). In the present embodiment, an LCD is used as the display device, but other arbitrary display devices such as a display device using EL (Electro Luminescence) may be used. Further, as the lower LCD 12, a display device having an arbitrary resolution can be used.

図1に示されるように、ゲーム装置10は、入力装置として、タッチパネル13を備えている。タッチパネル13は、下側LCD12の画面上に装着されている。なお、本実施形態では、タッチパネル13は抵抗膜方式のタッチパネルである。ただし、タッチパネルは抵抗膜方式に限らず、例えば静電容量方式等、任意の方式のタッチパネルを用いることができる。本実施形態では、タッチパネル13として、下側LCD12の解像度と同解像度(検出精度)のものを利用する。ただし、必ずしもタッチパネル13の解像度と下側LCD12の解像度が一致している必要はない。また、下側ハウジング11の上側面には挿入口17(図1及び図2(d)に示す点線)が設けられている。挿入口17は、タッチパネル13に対する操作を行うために用いられるタッチペン28を収納することができる。なお、タッチパネル13に対する入力は通常タッチペン28を用いて行われるが、タッチペン28に限らずユーザの指でタッチパネル13に対する入力をすることも可能である。   As shown in FIG. 1, the game apparatus 10 includes a touch panel 13 as an input device. The touch panel 13 is mounted on the screen of the lower LCD 12. In the present embodiment, the touch panel 13 is a resistive film type touch panel. However, the touch panel is not limited to the resistive film type, and any type of touch panel such as a capacitance type can be used. In the present embodiment, the touch panel 13 having the same resolution (detection accuracy) as that of the lower LCD 12 is used. However, the resolution of the touch panel 13 and the resolution of the lower LCD 12 do not necessarily match. An insertion port 17 (dotted line shown in FIGS. 1 and 2D) is provided on the upper side surface of the lower housing 11. The insertion slot 17 can accommodate a touch pen 28 used for performing an operation on the touch panel 13. In addition, although the input with respect to the touchscreen 13 is normally performed using the touch pen 28, it is also possible to input with respect to the touchscreen 13 not only with the touch pen 28 but with a user's finger | toe.

各操作ボタン14A〜14Lは、所定の入力を行うための入力装置である。図1に示されるように、下側ハウジング11の内側面(主面)には、各操作ボタン14A〜14Lのうち、十字ボタン14A(方向入力ボタン14A)、ボタン14B、ボタン14C、ボタン14D、ボタン14E、電源ボタン14F、セレクトボタン14J、HOMEボタン14K、及びスタートボタン14Lが、設けられる。十字ボタン14Aは、十字の形状を有しており、上下左右の方向を指示するボタンを有している。ボタン14A〜14E、セレクトボタン14J、HOMEボタン14K、及びスタートボタン14Lには、ゲーム装置10が実行するプログラムに応じた機能が適宜割り当てられる。   Each operation button 14A-14L is an input device for performing a predetermined input. As shown in FIG. 1, on the inner surface (main surface) of the lower housing 11, among the operation buttons 14A to 14L, a cross button 14A (direction input button 14A), a button 14B, a button 14C, a button 14D, A button 14E, a power button 14F, a select button 14J, a HOME button 14K, and a start button 14L are provided. The cross button 14 </ b> A has a cross shape, and has buttons for instructing up, down, left, and right directions. Functions according to a program executed by the game apparatus 10 are appropriately assigned to the buttons 14A to 14E, the select button 14J, the HOME button 14K, and the start button 14L.

アナログスティック15は、方向を指示するデバイスである。アナログスティック15は、そのキートップが、下側ハウジング11の内側面に平行にスライドするように構成されている。アナログスティック15は、ゲーム装置10が実行するプログラムに応じて機能する。なお、アナログスティック15として、上下左右及び斜め方向の任意の方向に所定量だけ傾倒することでアナログ入力を可能としたものを用いても良い。   The analog stick 15 is a device that indicates a direction. The analog stick 15 is configured such that its key top slides parallel to the inner surface of the lower housing 11. The analog stick 15 functions according to a program executed by the game apparatus 10. As the analog stick 15, an analog stick that allows analog input by being tilted by a predetermined amount in any direction of up / down / left / right and oblique directions may be used.

また、下側ハウジング11の内側面には、マイクロフォン用孔18が設けられる。マイクロフォン用孔18の下部には後述する音声入力装置としてのマイク42(図3参照)が設けられ、当該マイク42がゲーム装置10の外部の音を検出する。   A microphone hole 18 is provided on the inner surface of the lower housing 11. A microphone 42 (see FIG. 3), which will be described later, is provided below the microphone hole 18, and the microphone 42 detects sound outside the game apparatus 10.

図2(a)は閉状態におけるゲーム装置10の左側面図であり、図2(b)は閉状態におけるゲーム装置10の正面図であり、図2(c)は閉状態におけるゲーム装置10の右側面図であり、図2(d)は閉状態におけるゲーム装置10の背面図である。図2(b)及び(d)に示されるように、下側ハウジング11の上側面には、Lボタン14G及びRボタン14Hが設けられている。Lボタン14G及びRボタン14Hは、例えば、撮像部のシャッターボタン(撮影指示ボタン)として機能することができる。また、図2(a)に示されるように、下側ハウジング11の左側面には、音量ボタン14Iが設けられる。音量ボタン14Iは、ゲーム装置10が備えるスピーカの音量を調整するために用いられる。   2A is a left side view of the game apparatus 10 in the closed state, FIG. 2B is a front view of the game apparatus 10 in the closed state, and FIG. 2C is a view of the game apparatus 10 in the closed state. FIG. 2D is a right side view, and FIG. 2D is a rear view of the game apparatus 10 in the closed state. As shown in FIGS. 2B and 2D, an L button 14 </ b> G and an R button 14 </ b> H are provided on the upper side surface of the lower housing 11. The L button 14G and the R button 14H can function as shutter buttons (shooting instruction buttons) of the imaging unit, for example. Further, as shown in FIG. 2A, a volume button 14 </ b> I is provided on the left side surface of the lower housing 11. The volume button 14I is used to adjust the volume of a speaker provided in the game apparatus 10.

図2(a)に示されるように、下側ハウジング11の左側面には開閉可能なカバー部11Cが設けられる。このカバー部11Cの内側には、ゲーム装置10とデータ保存用外部メモリ45とを電気的に接続するためのコネクタ(図示せず)が設けられる。データ保存用外部メモリ45は、コネクタに着脱自在に装着される。データ保存用外部メモリ45は、例えば、ゲーム装置10によって撮像された画像のデータを記憶(保存)するために用いられる。   As shown in FIG. 2A, a cover portion 11 </ b> C that can be opened and closed is provided on the left side surface of the lower housing 11. A connector (not shown) for electrically connecting the game apparatus 10 and the data storage external memory 45 is provided inside the cover portion 11C. The data storage external memory 45 is detachably attached to the connector. The data storage external memory 45 is used, for example, for storing (saving) data of an image captured by the game apparatus 10.

また、図2(d)に示されるように、下側ハウジング11の上側面には、ゲーム装置10とゲームプログラムを記録した外部メモリ44を挿入するための挿入口11Dが設けられ、その挿入口11Dの内部には、外部メモリ44と電気的に着脱自在に接続するためのコネクタ(図示せず)が設けられる。当該外部メモリ44がゲーム装置10に接続されることにより、所定のゲームプログラムが実行される。   As shown in FIG. 2D, an insertion port 11D for inserting the game apparatus 10 and an external memory 44 in which a game program is recorded is provided on the upper side surface of the lower housing 11, and the insertion port Inside the 11D, a connector (not shown) for electrically detachably connecting to the external memory 44 is provided. When the external memory 44 is connected to the game apparatus 10, a predetermined game program is executed.

また、図1及び図2(c)に示されるように、下側ハウジング11の下側面にはゲーム装置10の電源のON/OFF状況をユーザに通知する第1LED16A、下側ハウジング11の右側面にはゲーム装置10の無線通信の確立状況をユーザに通知する第2LED16Bが設けられる。ゲーム装置10は他の機器との間で無線通信を行うことが可能であり、第2LED16Bは、無線通信が確立している場合に点灯する。ゲーム装置10は、例えば、IEEE802.11b/gの規格に準拠した方式により、無線LANに接続する機能を有する。下側ハウジング11の右側面には、この無線通信の機能を有効/無効にする無線スイッチ19が設けられる(図2(c)参照)。   Further, as shown in FIGS. 1 and 2C, on the lower side surface of the lower housing 11, the first LED 16A for notifying the user of the power ON / OFF state of the game apparatus 10 and the right side surface of the lower housing 11 Is provided with a second LED 16B for notifying the user of the wireless communication establishment status of the game apparatus 10. The game apparatus 10 can perform wireless communication with other devices, and the second LED 16B lights up when wireless communication is established. The game apparatus 10 has a function of connecting to a wireless LAN, for example, by a method compliant with the IEEE 802.11b / g standard. A wireless switch 19 for enabling / disabling this wireless communication function is provided on the right side surface of the lower housing 11 (see FIG. 2C).

なお、図示は省略するが、下側ハウジング11には、ゲーム装置10の電源となる充電式電池が収納され、下側ハウジング11の側面(例えば、上側面)に設けられた端子を介して当該電池を充電することができる。   Although not shown, the lower housing 11 stores a rechargeable battery that serves as a power source for the game apparatus 10, and the terminal is provided via a terminal provided on a side surface (for example, the upper side surface) of the lower housing 11. The battery can be charged.

(上側ハウジングの説明)
次に、上側ハウジング21の構成について説明する。図1及び図2に示すように、上側ハウジング21には、上側LCD(Liquid Crystal Display:液晶表示装置)22、外側撮像部23(外側撮像部(左)23a及び外側撮像部(右)23b)、内側撮像部24、3D調整スイッチ25、及び、3Dインジケータ26が設けられる。以下、これらの詳細について説明する。
(Description of upper housing)
Next, the configuration of the upper housing 21 will be described. As shown in FIGS. 1 and 2, the upper housing 21 has an upper LCD (Liquid Crystal Display) 22, an outer imaging unit 23 (an outer imaging unit (left) 23a and an outer imaging unit (right) 23b). The inner imaging unit 24, the 3D adjustment switch 25, and the 3D indicator 26 are provided. Details of these will be described below.

図1に示すように、上側LCD22は上側ハウジング21に収納される。上側LCD22の画素数は、例えば、800dot×240dot(横×縦)であってもよい。なお、本実施形態では上側LCD22は液晶表示装置であるとしたが、例えばEL(Electro Luminescence:電界発光)を利用した表示装置などが利用されてもよい。また、上側LCD22として、任意の解像度の表示装置を利用することができる。   As shown in FIG. 1, the upper LCD 22 is accommodated in the upper housing 21. The number of pixels of the upper LCD 22 may be, for example, 800 dots × 240 dots (horizontal × vertical). In the present embodiment, the upper LCD 22 is a liquid crystal display device. However, for example, a display device using EL (Electro Luminescence) may be used. In addition, a display device having an arbitrary resolution can be used as the upper LCD 22.

上側LCD22は、立体視可能な画像(立体視画像)を表示することが可能な表示装置である。また、本実施形態では、実質的に同一の表示領域を用いて左目用画像と右目用画像が表示される。具体的には、左目用画像と右目用画像が所定単位で(例えば、1列ずつ)横方向に交互に表示される方式の表示装置である。又は、左目用画像と右目用画像とが時分割で交互に表示される方式の表示装置であってもよい。また、本実施形態では、裸眼立体視可能な表示装置である。そして、横方向に交互に表示される左目用画像と右目用画像とを左目及び右目のそれぞれに分解して見えるようにレンチキュラー方式やパララックスバリア方式(視差バリア方式)のものが用いられる。本実施形態では、上側LCD22はパララックスバリア方式のものとする。上側LCD22は、右目用画像と左目用画像とを用いて、裸眼で立体視可能な画像(立体視画像)を表示する。すなわち、上側LCD22は、視差バリアを用いてユーザの左目に左目用画像を、ユーザの右目に右目用画像を視認させることにより、ユーザにとって立体感のある立体視画像(立体視可能な画像)を表示することができる。また、上側LCD22は、上記視差バリアを無効にすることが可能であり、視差バリアを無効にした場合は、画像を平面的に表示することができる(上述した立体視とは反対の意味で平面視の画像を表示することができる。すなわち、表示された同一の画像が右目にも左目にも見えるような表示モードである)。このように、上側LCD22は、立体視可能な画像を表示する立体表示モードと、画像を平面的に表示する(平面視表示する)平面表示モードとを切り替えることが可能な表示装置である。この表示モードの切り替えは、後述する3D調整スイッチ25によって行われる。   The upper LCD 22 is a display device capable of displaying a stereoscopically visible image (stereoscopic image). In the present embodiment, the left-eye image and the right-eye image are displayed using substantially the same display area. Specifically, the display device uses a method in which a left-eye image and a right-eye image are alternately displayed in a horizontal direction in a predetermined unit (for example, one column at a time). Or the display apparatus of the system by which the image for left eyes and the image for right eyes are alternately displayed by a time division may be sufficient. Further, in the present embodiment, the display device is capable of autostereoscopic viewing. Then, a lenticular method or a parallax barrier method (parallax barrier method) is used so that the left-eye image and the right-eye image alternately displayed in the horizontal direction appear to be decomposed into the left eye and the right eye, respectively. In the present embodiment, the upper LCD 22 is a parallax barrier type. The upper LCD 22 displays an image (stereoscopic image) that can be stereoscopically viewed with the naked eye, using the right-eye image and the left-eye image. That is, the upper LCD 22 uses the parallax barrier to visually recognize the left-eye image for the user's left eye and the right-eye image for the user's right eye, thereby generating a stereoscopic image (stereoscopic image) that has a stereoscopic effect for the user. Can be displayed. Further, the upper LCD 22 can invalidate the parallax barrier. When the parallax barrier is invalidated, the upper LCD 22 can display an image in a planar manner (in the sense opposite to the above-described stereoscopic view, the planar LCD (This is a display mode in which the same displayed image can be seen by both the right eye and the left eye). Thus, the upper LCD 22 is a display device capable of switching between a stereoscopic display mode for displaying a stereoscopically viewable image and a planar display mode for displaying an image in a planar manner (planar view display). This display mode switching is performed by a 3D adjustment switch 25 described later.

外側撮像部23は、上側ハウジング21の外側面(上側LCD22が設けられた主面と反対側の背面)21Dに設けられた2つの撮像部(23aおよび23b)の総称である。本実施形態では、外側撮像部23は、外側撮像部(左)23aおよび外側撮像部(右)23bの2つの撮像部で構成される。外側撮像部(左)23aと外側撮像部(右)23bの撮像方向は、いずれも当該外側面21Dの外向きの法線方向(図1に示すz軸正方向)である。すなわち、外側撮像部(左)23aの撮像方向および外側撮像部(右)23bの撮像方向は、平行である。外側撮像部(左)23aと外側撮像部(右)23bとは、ゲーム装置10が実行するプログラムによって、ステレオカメラとして使用することが可能である。また、プログラムによっては、2つの外側撮像部(23aおよび23b)のいずれか一方を単独で用いて、外側撮像部23を非ステレオカメラとして使用することも可能である。また、プログラムによっては、2つの外側撮像部(23aおよび23b)で撮像した画像を合成してまたは補完的に使用することにより撮像範囲を広げた撮像をおこなうことも可能である。外側撮像部(左)23aおよび外側撮像部(右)23bは、それぞれ所定の共通の解像度を有する撮像素子(例えば、CCDイメージセンサやCMOSイメージセンサ等)と、レンズとを含む。レンズは、ズーム機構を有するものでもよい。   The outer imaging unit 23 is a general term for two imaging units (23 a and 23 b) provided on the outer surface (back surface opposite to the main surface on which the upper LCD 22 is provided) 21 D of the upper housing 21. In the present embodiment, the outer imaging unit 23 includes two imaging units, an outer imaging unit (left) 23a and an outer imaging unit (right) 23b. The imaging directions of the outer imaging unit (left) 23a and the outer imaging unit (right) 23b are both outward normal directions (z-axis positive direction shown in FIG. 1) of the outer surface 21D. That is, the imaging direction of the outer imaging unit (left) 23a and the imaging direction of the outer imaging unit (right) 23b are parallel. The outer imaging unit (left) 23a and the outer imaging unit (right) 23b can be used as a stereo camera by a program executed by the game apparatus 10. Further, depending on the program, it is possible to use one of the two outer imaging units (23a and 23b) alone and use the outer imaging unit 23 as a non-stereo camera. Further, depending on the program, it is possible to perform imaging with an expanded imaging range by combining or complementarily using images captured by the two outer imaging units (23a and 23b). The outer imaging unit (left) 23a and the outer imaging unit (right) 23b each include an imaging element (for example, a CCD image sensor or a CMOS image sensor) having a predetermined common resolution and a lens. The lens may have a zoom mechanism.

図1の破線および図2(b)の実線で示されるように、外側撮像部23を構成する外側撮像部(左)23aおよび外側撮像部(右)23bは、上側LCD22の画面の横方向(図1に示すx軸方向)と平行に並べられて配置される。すなわち、2つの撮像部を結んだ直線が上側LCD22の画面の横方向と平行になるように、外側撮像部(左)23aおよび外側撮像部(右)23bが配置される。図1の破線で示す23aおよび23bは、上側ハウジング21の内側面とは反対側の外側面に存在する外側撮像部(左)23aおよび外側撮像部(右)23bをそれぞれ表している。図1に示すように、ユーザが上側LCD22の画面を正面から視認した場合に、外側撮像部(左)23aは左側に外側撮像部(右)23bは右側にそれぞれ位置している。外側撮像部23をステレオカメラとして機能させるプログラムが実行されている場合、外側撮像部(左)23aは、ユーザの左目で視認される左目用画像を撮像し、外側撮像部(右)23bは、ユーザの右目で視認される右目用画像を撮像する。外側撮像部(左)23aおよび外側撮像部(右)23bの間隔は、人間の両目の間隔程度に設定され、例えば、30mm〜70mmの範囲で設定されてもよい。なお、外側撮像部(左)23aおよび外側撮像部(右)23bの間隔は、この範囲に限らない。   As shown by the broken line in FIG. 1 and the solid line in FIG. 2B, the outer imaging unit (left) 23a and the outer imaging unit (right) 23b that constitute the outer imaging unit 23 are arranged in the horizontal direction ( They are arranged in parallel with the x-axis direction shown in FIG. That is, the outer imaging unit (left) 23a and the outer imaging unit (right) 23b are arranged so that a straight line connecting the two imaging units is parallel to the horizontal direction of the screen of the upper LCD 22. 1 indicate the outer imaging unit (left) 23a and the outer imaging unit (right) 23b existing on the outer surface opposite to the inner surface of the upper housing 21, respectively. As shown in FIG. 1, when the user views the screen of the upper LCD 22 from the front, the outer imaging unit (left) 23a is positioned on the left side and the outer imaging unit (right) 23b is positioned on the right side. When a program that causes the outer imaging unit 23 to function as a stereo camera is executed, the outer imaging unit (left) 23a captures an image for the left eye that is visually recognized by the user's left eye, and the outer imaging unit (right) 23b A right-eye image that is visually recognized by the user's right eye is captured. The interval between the outer imaging unit (left) 23a and the outer imaging unit (right) 23b is set to be approximately the interval between both eyes of the human, and may be set in a range of 30 mm to 70 mm, for example. In addition, the space | interval of the outer side imaging part (left) 23a and the outer side imaging part (right) 23b is not restricted to this range.

なお、本実施例においては、外側撮像部(左)23aおよび外側撮像部(右)23はハウジングに固定されており、撮像方向を変更することはできない。   In the present embodiment, the outer imaging unit (left) 23a and the outer imaging unit (right) 23 are fixed to the housing, and the imaging direction cannot be changed.

また、外側撮像部(左)23aおよび外側撮像部(右)23bは、上側LCD22(上側ハウジング21)の左右方向(図1に示すx軸方向)に関して中央から対称となる位置にそれぞれ配置される。すなわち、外側撮像部(左)23aおよび外側撮像部(右)23bは、上側LCD22を左右に2等分する線に対して対称の位置にそれぞれ配置される。また、外側撮像部(左)23aおよび外側撮像部(右)23bは、上側ハウジング21を開いた状態において、上側ハウジング21の上部であって、上側LCD22の画面の上端よりも上方の位置の裏側に配置される。すなわち、外側撮像部(左)23aおよび外側撮像部(右)23bは、上側ハウジング21の外側面であって、上側LCD22を外側面に投影した場合、投影した上側LCD22の画面の上端よりも上方に配置される。   The outer imaging unit (left) 23a and the outer imaging unit (right) 23b are respectively arranged at positions symmetrical from the center with respect to the left-right direction (x-axis direction shown in FIG. 1) of the upper LCD 22 (upper housing 21). . That is, the outer imaging unit (left) 23a and the outer imaging unit (right) 23b are respectively arranged at symmetrical positions with respect to a line dividing the upper LCD 22 into two equal parts. In addition, the outer imaging unit (left) 23a and the outer imaging unit (right) 23b are on the upper side of the upper housing 21 in a state where the upper housing 21 is opened, and on the back side of the upper side of the screen of the upper LCD 22. Placed in. That is, the outer imaging unit (left) 23a and the outer imaging unit (right) 23b are the outer surfaces of the upper housing 21, and when the upper LCD 22 is projected on the outer surface, the upper image 22 is higher than the upper end of the projected upper LCD 22 screen. Placed in.

このように、外側撮像部23の2つの撮像部(23aおよび23b)が、上側LCD22の左右方向に関して中央から対称の位置に配置されることにより、ユーザが上側LCD22を正視した場合に、外側撮像部23の撮像方向をユーザの視線方向と一致させることができる。また、外側撮像部23は、上側LCD22の画面の上端より上方の裏側の位置に配置されるため、外側撮像部23と上側LCD22とが上側ハウジング21の内部で干渉することがない。従って、外側撮像部23を上側LCD22の画面の裏側に配置する場合と比べて、上側ハウジング21を薄く構成することが可能となる。   As described above, the two image pickup units (23a and 23b) of the outer image pickup unit 23 are arranged at symmetrical positions from the center with respect to the left-right direction of the upper LCD 22, so that when the user views the upper LCD 22 from the front, the outer image pickup is performed. The imaging direction of the unit 23 can be matched with the user's line-of-sight direction. Further, since the outer imaging unit 23 is disposed at a position on the back side above the upper end of the screen of the upper LCD 22, the outer imaging unit 23 and the upper LCD 22 do not interfere inside the upper housing 21. Accordingly, it is possible to make the upper housing 21 thinner than in the case where the outer imaging unit 23 is disposed on the back side of the screen of the upper LCD 22.

内側撮像部24は、上側ハウジング21の内側面(主面)21Bに設けられ、当該内側面の内向きの法線方向(図1に示すz軸負方向)を撮像方向とする撮像部である。内側撮像部24は、所定の解像度を有する撮像素子(例えば、CCDイメージセンサやCMOSイメージセンサ等)と、レンズとを含む。レンズは、ズーム機構を有するものでもよい。   The inner imaging unit 24 is an imaging unit that is provided on the inner side surface (main surface) 21B of the upper housing 21 and uses the inward normal direction (z-axis negative direction shown in FIG. 1) of the inner side surface as the imaging direction. . The inner imaging unit 24 includes an imaging element (for example, a CCD image sensor or a CMOS image sensor) having a predetermined resolution, and a lens. The lens may have a zoom mechanism.

3D調整スイッチ25は、スライドスイッチであり、上述のように上側LCD22の表示モードを切り替えるために用いられるスイッチである。また、3D調整スイッチ25は、上側LCD22に表示された立体視可能な画像(立体視画像)の立体感を調整するために用いられる。3D調整スイッチ25のスライダ25aは、所定方向(上下方向)の任意の位置にスライド可能であり、当該スライダ25aの位置に応じて上側LCD22の表示モードが設定される。また、スライダ25aの位置に応じて、立体視画像の見え方が調整される。   The 3D adjustment switch 25 is a slide switch, and is a switch used to switch the display mode of the upper LCD 22 as described above. The 3D adjustment switch 25 is used to adjust the stereoscopic effect of the stereoscopically visible image (stereoscopic image) displayed on the upper LCD 22. The slider 25a of the 3D adjustment switch 25 can be slid to an arbitrary position in a predetermined direction (vertical direction), and the display mode of the upper LCD 22 is set according to the position of the slider 25a. Further, the appearance of the stereoscopic image is adjusted according to the position of the slider 25a.

3Dインジケータ26は、上側LCD22が立体表示モードか否かを示す。3Dインジケータ26は、LEDであり、上側LCD22の立体表示モードが有効の場合に点灯する。なお、3Dインジケータ26は、上側LCD22が立体表示モードになっており、かつ、立体視画像を表示するプログラム処理が実行されているときに限り、点灯するようにしてもよい。   The 3D indicator 26 indicates whether or not the upper LCD 22 is in the stereoscopic display mode. The 3D indicator 26 is an LED, and lights up when the stereoscopic display mode of the upper LCD 22 is valid. Note that the 3D indicator 26 may be lit only when the upper LCD 22 is in the stereoscopic display mode and a program process for displaying a stereoscopic image is being executed.

また、上側ハウジング21の内側面には、スピーカ孔21Eが設けられる。後述するスピーカ43からの音声がこのスピーカ孔21Eから出力される。   A speaker hole 21 </ b> E is provided on the inner surface of the upper housing 21. Sound from a speaker 43 described later is output from the speaker hole 21E.

(ゲーム装置10の内部構成)
次に、図3を参照して、ゲーム装置10の内部の電気的構成について説明する。図3は、ゲーム装置10の内部構成を示すブロック図である。図3に示すように、ゲーム装置10は、上述した各部に加えて、情報処理部31、メインメモリ32、外部メモリインターフェイス(外部メモリI/F)33、データ保存用外部メモリI/F34、データ保存用内部メモリ35、無線通信モジュール36、ローカル通信モジュール37、リアルタイムクロック(RTC)38、加速度センサ39、電源回路40、及びインターフェイス回路(I/F回路)41等の電子部品を備えている。これらの電子部品は、電子回路基板上に実装されて下側ハウジング11(又は上側ハウジング21でもよい)内に収納される。
(Internal configuration of game device 10)
Next, with reference to FIG. 3, an internal electrical configuration of the game apparatus 10 will be described. FIG. 3 is a block diagram showing an internal configuration of the game apparatus 10. As shown in FIG. 3, in addition to the above-described units, the game apparatus 10 includes an information processing unit 31, a main memory 32, an external memory interface (external memory I / F) 33, an external memory I / F 34 for data storage, data It includes electronic components such as a storage internal memory 35, a wireless communication module 36, a local communication module 37, a real time clock (RTC) 38, an acceleration sensor 39, a power supply circuit 40, and an interface circuit (I / F circuit) 41. These electronic components are mounted on an electronic circuit board and housed in the lower housing 11 (or the upper housing 21).

情報処理部31は、所定のプログラムを実行するためのCPU(Central Processing Unit)311、画像処理を行うGPU(Graphics Processing Unit)312等を含む情報処理手段である。情報処理部31のCPU311は、ゲーム装置10内のメモリ(例えば外部メモリI/F33に接続された外部メモリ44やデータ保存用内部メモリ35)に記憶されているプログラムを実行することによって、当該プログラムに応じた処理を実行する。なお、情報処理部31のCPU311によって実行されるプログラムは、他の機器との通信によって他の機器から取得されてもよい。また、情報処理部31は、VRAM(Video RAM)313を含む。情報処理部31のGPU312は、情報処理部31のCPU311からの命令に応じて画像を生成し、VRAM313に描画する。そして、情報処理部31のGPU312は、VRAM313に描画された画像を上側LCD22及び/又は下側LCD12に出力し、上側LCD22及び/又は下側LCD12に当該画像が表示される。   The information processing unit 31 is information processing means including a CPU (Central Processing Unit) 311 for executing a predetermined program, a GPU (Graphics Processing Unit) 312 for performing image processing, and the like. The CPU 311 of the information processing unit 31 executes the program stored in a memory (for example, the external memory 44 connected to the external memory I / F 33 or the data storage internal memory 35) in the game apparatus 10, thereby executing the program. The process according to is executed. Note that the program executed by the CPU 311 of the information processing unit 31 may be acquired from another device through communication with the other device. The information processing unit 31 includes a VRAM (Video RAM) 313. The GPU 312 of the information processing unit 31 generates an image in response to a command from the CPU 311 of the information processing unit 31 and draws it on the VRAM 313. Then, the GPU 312 of the information processing unit 31 outputs the image drawn in the VRAM 313 to the upper LCD 22 and / or the lower LCD 12, and the image is displayed on the upper LCD 22 and / or the lower LCD 12.

情報処理部31には、メインメモリ32、外部メモリI/F33、データ保存用外部メモリI/F34、及び、データ保存用内部メモリ35が接続される。外部メモリI/F33は、外部メモリ44を着脱自在に接続するためのインターフェイスである。また、データ保存用外部メモリI/F34は、データ保存用外部メモリ45を着脱自在に接続するためのインターフェイスである。   A main memory 32, an external memory I / F 33, a data storage external memory I / F 34, and a data storage internal memory 35 are connected to the information processing unit 31. The external memory I / F 33 is an interface for detachably connecting the external memory 44. The data storage external memory I / F 34 is an interface for detachably connecting the data storage external memory 45.

メインメモリ32は、情報処理部31(のCPU311)のワーク領域やバッファ領域として用いられる揮発性の記憶手段である。すなわち、メインメモリ32は、上記プログラムに基づく処理に用いられる各種データを一時的に記憶したり、外部(外部メモリ44や他の機器等)から取得されるプログラムを一時的に記憶したりする。本実施形態では、メインメモリ32として例えばPSRAM(Pseudo−SRAM)を用いる。   The main memory 32 is a volatile storage unit used as a work area or a buffer area of the information processing unit 31 (the CPU 311). That is, the main memory 32 temporarily stores various data used for the processing based on the program, or temporarily stores a program acquired from the outside (such as the external memory 44 or another device). In the present embodiment, for example, a PSRAM (Pseudo-SRAM) is used as the main memory 32.

外部メモリ44は、情報処理部31によって実行されるプログラムを記憶するための不揮発性の記憶手段である。外部メモリ44は、例えば読み取り専用の半導体メモリで構成される。外部メモリ44が外部メモリI/F33に接続されると、情報処理部31は外部メモリ44に記憶されたプログラムを読み込むことができる。情報処理部31が読み込んだプログラムを実行することにより、所定の処理が行われる。データ保存用外部メモリ45は、不揮発性の読み書き可能なメモリ(例えばNAND型フラッシュメモリ)で構成され、所定のデータを格納するために用いられる。例えば、データ保存用外部メモリ45には、外側撮像部23で撮像された画像や他の機器で撮像された画像が記憶される。データ保存用外部メモリ45がデータ保存用外部メモリI/F34に接続されると、情報処理部31はデータ保存用外部メモリ45に記憶された画像を読み込み、上側LCD22及び/又は下側LCD12に当該画像を表示することができる。   The external memory 44 is a nonvolatile storage unit for storing a program executed by the information processing unit 31. The external memory 44 is composed of, for example, a read-only semiconductor memory. When the external memory 44 is connected to the external memory I / F 33, the information processing section 31 can read a program stored in the external memory 44. A predetermined process is performed by executing the program read by the information processing unit 31. The data storage external memory 45 is composed of a non-volatile readable / writable memory (for example, a NAND flash memory), and is used for storing predetermined data. For example, the data storage external memory 45 stores an image captured by the outer imaging unit 23 or an image captured by another device. When the data storage external memory 45 is connected to the data storage external memory I / F 34, the information processing section 31 reads an image stored in the data storage external memory 45 and applies the image to the upper LCD 22 and / or the lower LCD 12. An image can be displayed.

データ保存用内部メモリ35は、読み書き可能な不揮発性メモリ(例えばNAND型フラッシュメモリ)で構成され、所定のデータやプログラムを格納するために用いられる。例えば、データ保存用内部メモリ35には、外側撮像部23をステレオカメラとして機能させる際に左目用画像と右目用画像の表示位置を調整するための後述する初期パラメータや表示調整パラメータが格納される。   The data storage internal memory 35 is configured by a readable / writable nonvolatile memory (for example, a NAND flash memory), and is used for storing predetermined data and programs. For example, the data storage internal memory 35 stores initial parameters and display adjustment parameters, which will be described later, for adjusting the display positions of the left-eye image and the right-eye image when the outer imaging unit 23 functions as a stereo camera. .

無線通信モジュール36は、例えばIEEE802.11b/gの規格に準拠した方式により、無線LANに接続する機能を有する。また、ローカル通信モジュール37は、所定の通信方式(例えば独自プロトコルによる通信や、赤外線通信)により同種のゲーム装置との間で無線通信を行う機能を有する。無線通信モジュール36及びローカル通信モジュール37は情報処理部31に接続される。情報処理部31は、無線通信モジュール36を用いてインターネットを介して他の機器との間でデータを送受信したり、ローカル通信モジュール37を用いて同種の他のゲーム装置との間でデータを送受信したりすることができる。   The wireless communication module 36 has a function of connecting to a wireless LAN by a method compliant with, for example, the IEEE 802.11b / g standard. Further, the local communication module 37 has a function of performing wireless communication with the same type of game device by a predetermined communication method (for example, communication using a unique protocol or infrared communication). The wireless communication module 36 and the local communication module 37 are connected to the information processing unit 31. The information processing unit 31 transmits / receives data to / from other devices via the Internet using the wireless communication module 36, and transmits / receives data to / from other game devices of the same type using the local communication module 37. You can do it.

また、情報処理部31には、加速度センサ39が接続される。加速度センサ39は、3軸(xyz軸)方向に沿った直線方向の加速度(直線加速度)の大きさを検出する。加速度センサ39は、下側ハウジング11の内部に設けられる。加速度センサ39は、図1に示すように、下側ハウジング11の長辺方向をx軸、下側ハウジング11の短辺方向をy軸、下側ハウジング11の内側面(主面)に対して垂直な方向をz軸として、各軸の直線加速度の大きさを検出する。なお、加速度センサ39は、例えば静電容量式の加速度センサであるとするが、他の方式の加速度センサを用いるようにしてもよい。また、加速度センサ39は1軸又は2軸方向を検出する加速度センサであってもよい。情報処理部31は、加速度センサ39が検出した加速度を示すデータ(加速度データ)を受信して、ゲーム装置10の姿勢や動きを検出することができる。なお、情報処理部31には、上記した加速度センサ39に加えて(又はその代わりに)角度センサや角速度センサ等の他のセンサが接続され、このセンサによってゲーム装置10の姿勢や動きを検出してもよい。   An acceleration sensor 39 is connected to the information processing unit 31. The acceleration sensor 39 detects the magnitude of linear acceleration (linear acceleration) along the three-axis (xyz-axis) direction. The acceleration sensor 39 is provided inside the lower housing 11. As shown in FIG. 1, the acceleration sensor 39 is configured such that the long side direction of the lower housing 11 is the x axis, the short side direction of the lower housing 11 is the y axis, and the inner side surface (main surface) of the lower housing 11. With the vertical direction as the z axis, the magnitude of linear acceleration on each axis is detected. The acceleration sensor 39 is, for example, an electrostatic capacitance type acceleration sensor, but other types of acceleration sensors may be used. The acceleration sensor 39 may be an acceleration sensor that detects a uniaxial or biaxial direction. The information processing unit 31 can detect data indicating the acceleration detected by the acceleration sensor 39 (acceleration data) and detect the attitude and movement of the game apparatus 10. In addition to (or instead of) the acceleration sensor 39 described above, another sensor such as an angle sensor or an angular velocity sensor is connected to the information processing unit 31, and the attitude and movement of the game apparatus 10 are detected by this sensor. May be.

また、情報処理部31には、RTC38及び電源回路40が接続される。RTC38は、時間をカウントして情報処理部31に出力する。情報処理部31は、RTC38によって計時された時間に基づき現在時刻(日付)を計算する。電源回路40は、ゲーム装置10が有する電源(下側ハウジング11に収納される上記充電式電池)からの電力を制御し、ゲーム装置10の各部品に電力を供給する。   Further, the RTC 38 and the power supply circuit 40 are connected to the information processing unit 31. The RTC 38 counts the time and outputs it to the information processing unit 31. The information processing unit 31 calculates the current time (date) based on the time counted by the RTC 38. The power supply circuit 40 controls power from a power source (the rechargeable battery housed in the lower housing 11) of the game apparatus 10 and supplies power to each component of the game apparatus 10.

また、情報処理部31には、LED16(16A、16B)が接続される。情報処理部31は、LED16を用いて、ゲーム装置10の電源のON/OFF状況をユーザに通知し、又、ゲーム装置10の無線通信の確立状況をユーザに通知する。   The information processing unit 31 is connected to the LEDs 16 (16A, 16B). Using the LED 16, the information processing unit 31 notifies the user of the power ON / OFF status of the game apparatus 10 and notifies the user of the wireless communication establishment status of the game apparatus 10.

また、情報処理部31には、I/F回路41が接続される。I/F回路41には、マイク42及びスピーカ43が接続される。具体的には、I/F回路41には、図示しないアンプを介してスピーカ43が接続される。マイク42は、ユーザの音声を検知して音声信号をI/F回路41に出力する。アンプは、I/F回路41からの音声信号を増幅し、音声をスピーカ43から出力させる。また、タッチパネル13はI/F回路41に接続される。I/F回路41は、マイク42及びスピーカ43(アンプ)の制御を行う音声制御回路と、タッチパネルの制御を行うタッチパネル制御回路とを含む。音声制御回路は、音声信号に対するA/D変換及びD/A変換を行ったり、音声信号を所定の形式の音声データに変換したりする。タッチパネル制御回路は、タッチパネル13からの信号に基づいて所定の形式のタッチ位置データを生成して情報処理部31に出力する。タッチ位置データは、タッチパネル13の入力面において入力が行われた位置の座標を示す。なお、タッチパネル制御回路は、タッチパネル13からの信号の読み込み、及び、タッチ位置データの生成を所定時間に1回の割合で行う。情報処理部31は、タッチ位置データを取得することにより、タッチパネル13に対して入力が行われた位置を知ることができる。   In addition, an I / F circuit 41 is connected to the information processing unit 31. A microphone 42 and a speaker 43 are connected to the I / F circuit 41. Specifically, a speaker 43 is connected to the I / F circuit 41 via an amplifier (not shown). The microphone 42 detects the user's voice and outputs a voice signal to the I / F circuit 41. The amplifier amplifies the audio signal from the I / F circuit 41 and outputs the audio from the speaker 43. The touch panel 13 is connected to the I / F circuit 41. The I / F circuit 41 includes a voice control circuit that controls the microphone 42 and the speaker 43 (amplifier), and a touch panel control circuit that controls the touch panel. The audio control circuit performs A / D conversion and D / A conversion on the audio signal, or converts the audio signal into audio data of a predetermined format. The touch panel control circuit generates touch position data in a predetermined format based on a signal from the touch panel 13 and outputs it to the information processing unit 31. The touch position data indicates the coordinates of the position where the input is performed on the input surface of the touch panel 13. The touch panel control circuit reads signals from the touch panel 13 and generates touch position data at a rate of once per predetermined time. The information processing unit 31 can know the position where the input is performed on the touch panel 13 by acquiring the touch position data.

操作ボタン14は、上記各操作ボタン14A〜14Lからなり、情報処理部31に接続される。操作ボタン14から情報処理部31へは、各操作ボタン14A〜14Iに対する入力状況(押下されたか否か)を示す操作データが出力される。情報処理部31は、操作ボタン14から操作データを取得することによって、操作ボタン14に対する入力に従った処理を実行する。   The operation button 14 includes the operation buttons 14 </ b> A to 14 </ b> L and is connected to the information processing unit 31. From the operation button 14 to the information processing section 31, operation data indicating the input status (whether or not the button is pressed) for each of the operation buttons 14A to 14I is output. The information processing unit 31 acquires the operation data from the operation button 14 to execute processing according to the input to the operation button 14.

アナログスティック15は情報処理部31に接続される。アナログスティック15から情報処理部31へは、アナログスティック15に対するアナログ入力(操作方向及び操作量)を示す操作データが出力される。情報処理部31は、アナログスティック15から操作データを取得することによって、アナログスティック15に対する入力に従った処理を実行する。   The analog stick 15 is connected to the information processing unit 31. Operation data indicating analog input (operation direction and operation amount) to the analog stick 15 is output from the analog stick 15 to the information processing unit 31. The information processing unit 31 acquires operation data from the analog stick 15 to execute processing according to the input to the analog stick 15.

下側LCD12及び上側LCD22は情報処理部31に接続される。下側LCD12及び上側LCD22は、情報処理部31(のGPU312)の指示に従って画像を表示する。本実施形態では、情報処理部31は、上側LCD22に立体視画像(立体視可能な画像)を表示させる。   The lower LCD 12 and the upper LCD 22 are connected to the information processing unit 31. The lower LCD 12 and the upper LCD 22 display images according to instructions from the information processing unit 31 (the GPU 312). In the present embodiment, the information processing section 31 displays a stereoscopic image (a stereoscopically viewable image) on the upper LCD 22.

具体的には、情報処理部31は、上側LCD22のLCDコントローラ(図示せず)と接続され、当該LCDコントローラに対して視差バリアのON/OFF(有効/無効)を制御する。上側LCD22の視差バリアがONになっている場合、情報処理部31のVRAM313に格納された右目用画像と左目用画像とが、上側LCD22に出力される。より具体的には、LCDコントローラは、右目用画像について縦方向に1ライン分の画素データを読み出す処理と、左目用画像について縦方向に1ライン分の画素データを読み出す処理とを交互に繰り返すことによって、VRAM313から右目用画像と左目用画像とを読み出す。これにより、右目用画像及び左目用画像が、画素を縦に1ライン毎に並んだ短冊状画像に分割され、分割された右目用画像の短冊状画像と左目用画像の短冊状画像とが交互に配置された画像が、上側LCD22の画面に表示される。そして、上側LCD22の視差バリアを介して当該画像がユーザに視認されることによって、ユーザの右目に右目用画像が、ユーザの左目に左目用画像が視認される。以上により、上側LCD22の画面には立体視可能な画像が表示される。   Specifically, the information processing unit 31 is connected to an LCD controller (not shown) of the upper LCD 22 and controls ON / OFF (valid / invalid) of the parallax barrier for the LCD controller. When the parallax barrier of the upper LCD 22 is ON, the right-eye image and the left-eye image stored in the VRAM 313 of the information processing unit 31 are output to the upper LCD 22. More specifically, the LCD controller alternately repeats the process of reading pixel data for one line in the vertical direction for the image for the right eye and the process of reading pixel data for one line in the vertical direction for the image for the left eye. Thus, the right-eye image and the left-eye image are read from the VRAM 313. As a result, the right-eye image and the left-eye image are divided into strip-like images in which pixels are arranged vertically for each line, and the striped right-eye image and the left-eye image are alternately displayed. The image arranged on the upper LCD 22 is displayed on the screen. Then, when the user visually recognizes the image through the parallax barrier of the upper LCD 22, the right eye image is visually recognized by the user's right eye and the left eye image is visually recognized by the user's left eye. As a result, a stereoscopically viewable image is displayed on the screen of the upper LCD 22.

外側撮像部23及び内側撮像部24は、情報処理部31に接続される。外側撮像部23及び内側撮像部24は、情報処理部31の指示に従って画像を撮像し、撮像した画像データを情報処理部31に出力する。   The outer imaging unit 23 and the inner imaging unit 24 are connected to the information processing unit 31. The outer imaging unit 23 and the inner imaging unit 24 capture an image in accordance with an instruction from the information processing unit 31, and output the captured image data to the information processing unit 31.

3D調整スイッチ25は、情報処理部31に接続される。3D調整スイッチ25は、スライダ25aの位置に応じた電気信号を情報処理部31に送信する。   The 3D adjustment switch 25 is connected to the information processing unit 31. The 3D adjustment switch 25 transmits an electrical signal corresponding to the position of the slider 25 a to the information processing unit 31.

また、3Dインジケータ26は、情報処理部31に接続される。情報処理部31は、3Dインジケータ26の点灯を制御する。例えば、情報処理部31は、上側LCD22が立体表示モードである場合、3Dインジケータ26を点灯させる。以上がゲーム装置10の内部構成の説明である。   The 3D indicator 26 is connected to the information processing unit 31. The information processing unit 31 controls lighting of the 3D indicator 26. For example, the information processing section 31 turns on the 3D indicator 26 when the upper LCD 22 is in the stereoscopic display mode. The above is the description of the internal configuration of the game apparatus 10.

(ステレオカメラによる調整画像の撮像)
次に、図4及び図5を参照して、ステレオカメラとして機能する外側撮像部23による調整画像の撮像について説明する。ここで、調整画像は、任意の被写体(例えば被写体50)の画像を含み、後述する調整機構によってその表示位置が調整される画像である。なお、以下の説明において、外側撮像部(左)23aを左ステレオカメラ23a(本発明の第1撮像部の一例)、外側撮像部(右)23bを右ステレオカメラ23b(本発明の第2撮像部の一例)ということがある。図4は、左ステレオカメラ23a及び右ステレオカメラ23bが被写体50を撮像する様子を示す図であり、図5は、両ステレオカメラによって撮像された調整画像(被写体50の画像を含む左目用調整画像50a(本発明の第1仮撮像画像の一例)と右目用調整画像50b(本発明の第2仮撮像画像の一例))が上側LCD22の表示画面に重ねて表示される様子を示す図である。
(Shooting adjustment images with a stereo camera)
Next, with reference to FIG. 4 and FIG. 5, the adjustment image capturing by the outer imaging unit 23 functioning as a stereo camera will be described. Here, the adjustment image is an image including an image of an arbitrary subject (for example, the subject 50) and the display position of which is adjusted by an adjustment mechanism described later. In the following description, the outer imaging unit (left) 23a is the left stereo camera 23a (an example of the first imaging unit of the present invention), and the outer imaging unit (right) 23b is the right stereo camera 23b (the second imaging of the present invention). An example of a part). FIG. 4 is a diagram illustrating a state in which the left stereo camera 23a and the right stereo camera 23b capture the subject 50, and FIG. 5 illustrates an adjustment image (left-eye adjustment image including an image of the subject 50) captured by both stereo cameras. 50a (an example of the first provisional captured image of the present invention) and an adjustment image for right eye 50b (an example of the second provisional captured image of the present invention) are displayed on the display screen of the upper LCD 22 in an overlapping manner. .

図4に示すように、左ステレオカメラ23a、右ステレオカメラ23b、被写体50が、図1に示した3次元直交座標空間(xyz座標空間)と同じ3次元空間に配置されている。より具体的には、左ステレオカメラ23aと右ステレオカメラ23bは、両ステレオカメラの中心を結ぶ線分の中点が原点となるようにx軸上に配置されている。また、両ステレオカメラの撮像方向60a,60b(光軸方向)と平行な方向にz軸が定義されており、x軸とz軸の両軸に直交する上向き方向にy軸が定義されている。そして、被写体50は両ステレオカメラの撮像方向に平行なz軸上に配置されている。左ステレオカメラ23aは被写体50を撮像して左目用調整画像50aを生成し、右ステレオカメラ23bは被写体50を撮像して右目用調整画像50bを生成する。このとき、被写体50の画像を含む左目用調整画像50aと右目用調整画像50bとを同時にxy平面上に配置された所定のディスプレイ面(上側LCD22上の表示画面)に表示すると、両画像における被写体50の表示位置は、x軸方向に所定の量だけずれて表示される(図5参照)。このずれの量が視差であり、視差バリアをONにすることによって、左目用調整画像50aをユーザの左目に表示し(視認させ)、右目用調整画像50bをユーザの右目に表示する(視認させる)ことによって、被写体50が立体感をもった立体視画像として視認される(すなわち、手前に飛び出した画像や奥側に引っ込んだ画像として認識される)。   As shown in FIG. 4, the left stereo camera 23a, the right stereo camera 23b, and the subject 50 are arranged in the same three-dimensional space as the three-dimensional orthogonal coordinate space (xyz coordinate space) shown in FIG. More specifically, the left stereo camera 23a and the right stereo camera 23b are arranged on the x axis so that the midpoint of the line segment that connects the centers of both stereo cameras is the origin. Also, the z axis is defined in a direction parallel to the imaging directions 60a and 60b (optical axis direction) of both stereo cameras, and the y axis is defined in the upward direction orthogonal to both the x axis and the z axis. . The subject 50 is arranged on the z axis parallel to the imaging direction of both stereo cameras. The left stereo camera 23a captures the subject 50 and generates a left-eye adjustment image 50a, and the right stereo camera 23b captures the subject 50 and generates a right-eye adjustment image 50b. At this time, when the left-eye adjustment image 50a and the right-eye adjustment image 50b including the image of the subject 50 are simultaneously displayed on a predetermined display surface (display screen on the upper LCD 22) arranged on the xy plane, the subjects in both images The display position of 50 is displayed with a predetermined shift in the x-axis direction (see FIG. 5). The amount of deviation is parallax, and by turning on the parallax barrier, the left-eye adjustment image 50a is displayed (visualized) and the right-eye adjustment image 50b is displayed (visualized). ), The subject 50 is visually recognized as a stereoscopic image having a stereoscopic effect (that is, recognized as an image popping forward or an image retracted to the back).

より具体的には、図5に示すように、上側LCD22に表示される調整画像は、左目用調整画像50a(における被写体50の表示位置)が、右目用調整画像50b(における被写体50の表示位置)に対して相対的に右方向(x軸正方向)にずれている。この場合、ユーザは、両画像を交差視によって視認することにより、被写体50が所定のディスプレイ面よりも手前側に飛び出したように認識する(図6参照)。なお、左目用調整画像50a(における被写体50の表示位置)が右目用調整画像50b(における被写体50の表示位置)に対して相対的に左方向(x軸負方向)にずれている場合には、ユーザは、両画像を平行視によって視認することにより、被写体50が所定のディスプレイ面よりも奥側に引っ込んでいるように認識し、左目用調整画像50aと右目用調整画像50b(における被写体50の表示位置)が一致している場合には、ユーザは、被写体50が所定のディスプレイ面上に位置しているように認識する(図示せず)。このように、x軸方向(左右方向)に所定の間隔を隔てた右目と左目(図6参照)に対して、同じくx軸方向(左右方向)に所定の視差量だけずれた右目用調整画像50bと、左目用調整画像50aを視認させることによって、ユーザは、両画像を脳内で合成して立体視画像として認識することができる。すなわち、x軸方向の両画像のずれ(すなわち、視差)は、立体視画像を生成するうえで大きな意味をもつ。ところで、この視差は個々人によって異なるため、3D調整スイッチ25によってその視差(立体感)は調整可能となっている。一方で、所定のディスプレイ面(上側LCD22の表示画面)においてy軸方向(上下方向)にずれた両画像がユーザのそれぞれの目に視認された場合には、ユーザは脳内で適切に立体視画像として合成することが難しくなり、2つのずれた画像として認識してしまうことがある。これは、人間の左右の目は上下の視認方向が同一であるためと考えられる。すなわち、y軸方向の両画像のずれは、立体視画像を表示するうえで問題となることがある。以下に、このy軸方向(上下方向)の両画像のずれが生じる原因について説明する。   More specifically, as shown in FIG. 5, the adjustment image displayed on the upper LCD 22 is that the left-eye adjustment image 50a (the display position of the subject 50) is the right-eye adjustment image 50b (the display position of the subject 50). ) Relative to the right direction (x-axis positive direction). In this case, the user recognizes the subject 50 as if it has jumped out from the predetermined display surface by visually recognizing both images by cross-view (see FIG. 6). When the left-eye adjustment image 50a (the display position of the subject 50 in the right eye) is shifted relative to the left direction (x-axis negative direction) relative to the right-eye adjustment image 50b (the display position of the subject 50). The user visually recognizes both images by parallel viewing, thereby recognizing that the subject 50 is retracted from the predetermined display surface, and adjusts the left-eye adjustment image 50a and the right-eye adjustment image 50b (the subject 50 If the display positions of the two images coincide with each other, the user recognizes that the subject 50 is located on a predetermined display surface (not shown). As described above, the right-eye adjustment image that is similarly shifted by a predetermined amount of parallax in the x-axis direction (left-right direction) with respect to the right eye and the left eye (see FIG. 6) that are spaced apart in the x-axis direction (left-right direction). By visually recognizing 50b and the left-eye adjustment image 50a, the user can synthesize both images in the brain and recognize them as a stereoscopic image. That is, the shift (that is, parallax) between the two images in the x-axis direction has a large meaning in generating a stereoscopic image. By the way, since this parallax is different for each individual, the parallax (three-dimensional effect) can be adjusted by the 3D adjustment switch 25. On the other hand, when both images shifted in the y-axis direction (vertical direction) on the predetermined display surface (the display screen of the upper LCD 22) are visually recognized by the respective eyes of the user, the user appropriately views in the brain. It becomes difficult to synthesize as an image, and may be recognized as two shifted images. This is probably because the left and right eyes of the human have the same vertical viewing direction. That is, the shift between both images in the y-axis direction may cause a problem when displaying a stereoscopic image. Hereinafter, the cause of the deviation between both images in the y-axis direction (vertical direction) will be described.

一般に、左ステレオカメラ23aと右ステレオカメラ23bの取り付け位置や光軸といった光学的位置は正確に揃っていることが望ましい。しかしながら、この光学的位置は販売時に所定の誤差内に抑えられていたとしても、使用時の外からの衝撃や経年変化等によって所定の誤差を超えてずれることがある。このずれには、例えば、x軸、y軸、z軸に平行な並進ずれΔx、Δy、Δzや、x軸方向、y軸方向、z軸方向の周りの回転ずれΔa、Δb、Δc、或いは、レンズの画角の相違によるずれがある(図4参照)。   In general, it is desirable that the left stereo camera 23a and the right stereo camera 23b are precisely aligned in optical positions such as the mounting position and the optical axis. However, even if the optical position is suppressed within a predetermined error at the time of sale, the optical position may deviate beyond the predetermined error due to an external impact or aging change during use. This deviation includes, for example, translational deviations Δx, Δy, Δz parallel to the x-axis, y-axis, z-axis, rotational deviations Δa, Δb, Δc around the x-axis direction, y-axis direction, z-axis direction, or There is a shift due to the difference in the angle of view of the lens (see FIG. 4).

ここで、例えば、左ステレオカメラ23aを基準として、右ステレオカメラ23b(の光学的位置)が左ステレオカメラ23aに対して相対的にずれた場合にディスプレイ面上に表示される両画像のずれについて考察する。右ステレオカメラ23bがx軸方向にΔxだけ並進ずれを起こした場合、及びy軸方向の周りにΔbだけ回転ずれを起こした場合、右目用調整画像50bはx軸方向にずれを起こす。右ステレオカメラ23bがy軸方向にΔyだけ並進ずれを起こした場合、及びx軸方向の周りにΔaだけ回転ずれを起こした場合、右目用調整画像50bはy軸方向にずれを起こす。右ステレオカメラ23bがz軸方向にΔzだけ並進ずれを起こした場合、或いはレンズの焦点距離がずれることによって画角がずれた場合、右目用調整画像50bはディスプレイ面に表示される大きさにずれ(拡大又は縮小)を起こす。また、右ステレオカメラ23bがz軸方向の周りにΔcだけ回転ずれを起こした場合には、右目用調整画像50bはディスプレイ面において回転ずれを起こす。   Here, for example, with respect to the left stereo camera 23a as a reference, when the right stereo camera 23b (its optical position) is shifted relative to the left stereo camera 23a, the two images displayed on the display surface are shifted. Consider. When the right stereo camera 23b undergoes a translational deviation by Δx in the x-axis direction and when a rotational deviation occurs by Δb around the y-axis direction, the right-eye adjustment image 50b causes a deviation in the x-axis direction. When the right stereo camera 23b undergoes a translational shift by Δy in the y-axis direction and when a rotational shift occurs by Δa around the x-axis direction, the right-eye adjustment image 50b causes a shift in the y-axis direction. When the right stereo camera 23b is translated by Δz in the z-axis direction, or when the angle of view is shifted due to the shift of the focal length of the lens, the right-eye adjustment image 50b is shifted to the size displayed on the display surface. (Enlarge or reduce). In addition, when the right stereo camera 23b is rotationally shifted by Δc around the z-axis direction, the right-eye adjustment image 50b is rotationally shifted on the display surface.

上述したように、立体視画像を認識するうえでは、y軸方向(ユーザから見て上下方向)に両画像のずれがあると、ユーザが脳内で両画像を合成して立体視画像として認識しようとする際に、2つのずれた画像として認識してしまい、立体視が困難になってしまう恐れがある。そこで、両ステレオカメラの光学的位置にずれが生じた場合には、y軸方向のずれをなくすための調整(補正)が重要になる。ところが、y軸方向のずれだけでなく他のずれも補正する従来の技術では、その補正のために調整用のパターン画像等を用意する必要があり、製造元が調整を行うことはできても、ユーザ自身が調整を行うことは難しかった。以下に、本実施形態で特徴的なユーザ自身が調整を行うことが可能な調整機構について説明する。   As described above, when recognizing a stereoscopic image, if there is a deviation between both images in the y-axis direction (vertical direction when viewed from the user), the user combines both images in the brain and recognizes them as a stereoscopic image. When trying to do so, it may be recognized as two shifted images, and stereoscopic viewing may become difficult. Therefore, when a deviation occurs in the optical positions of both stereo cameras, adjustment (correction) to eliminate the deviation in the y-axis direction becomes important. However, in the conventional technique for correcting not only the displacement in the y-axis direction but also other displacements, it is necessary to prepare a pattern image for adjustment for the correction, and even if the manufacturer can make adjustments, It was difficult for the user himself to make adjustments. In the following, an adjustment mechanism that can be adjusted by the user himself, which is characteristic in the present embodiment, will be described.

(本実施形態の特徴的な調整機構)
図7は、右ステレオカメラ23b(の光学的位置)が左ステレオカメラ23a(の光学的位置)に対して相対的にずれた様子を示しており、図7の(1)は、右ステレオカメラ23bがy軸正方向にΔyだけ並進ずれを起こした様子を示し、図7の(2)は、右ステレオカメラ23bがx軸正方向に向かって時計回りにΔaだけ回転ずれを起こした様子を示す。
(Characteristic adjustment mechanism of this embodiment)
FIG. 7 shows a state in which the right stereo camera 23b (optical position thereof) is shifted relative to the left stereo camera 23a (optical position thereof). FIG. 7 (1) shows the right stereo camera. FIG. 7B shows a state in which the translation shift is caused by Δy in the positive y-axis direction, and FIG. 7B shows a state in which the right stereo camera 23b is rotationally shifted by Δa clockwise in the positive x-axis direction. Show.

図7の(1)に示すように、右ステレオカメラ23bが、左ステレオカメラ23aに対してy軸正方向にΔyだけ並進ずれを起こしている場合、右ステレオカメラ23bが生成する右目用調整画像50bは、左目用調整画像50aに対してy軸負方向(下方向)に所定の量だけずれて表示される(図8参照)。なお、この所定の量は、被写体50が位置するz座標(すなわち、ステレオカメラから被写体50までの奥行きの距離)と、Δyの大きさに応じて決定される量である。同様に、図7の(2)に示すように、右ステレオカメラ23bが、左ステレオカメラ23aに対してx軸正方向に向かって時計回りにΔaだけ回転ずれを起こしている場合も、右ステレオカメラ23bが生成する右目用調整画像50bは、左目用調整画像50aに対して所定の量だけy軸負方向(下方向)にずれて表示される(図8参照)。なお、この所定の量は、回転角Δaの大きさに応じて決定される量である。   As shown in (1) of FIG. 7, when the right stereo camera 23b has a translational shift of Δy in the positive y-axis direction with respect to the left stereo camera 23a, the right-eye adjustment image generated by the right stereo camera 23b is generated. 50b is displayed with a predetermined amount shifted in the y-axis negative direction (downward) with respect to the left-eye adjustment image 50a (see FIG. 8). The predetermined amount is an amount determined according to the z coordinate (that is, the depth distance from the stereo camera to the subject 50) where the subject 50 is located and the magnitude of Δy. Similarly, as shown in (2) of FIG. 7, the right stereo camera 23b is also rotated by Δa clockwise in the positive x-axis direction with respect to the left stereo camera 23a. The right-eye adjustment image 50b generated by the camera 23b is displayed with a predetermined amount shifted from the left-eye adjustment image 50a in the negative y-axis direction (downward) (see FIG. 8). The predetermined amount is an amount determined according to the magnitude of the rotation angle Δa.

このように、右目用調整画像50bが左目用調整画像50aに対してy軸負方向(下方向)にずれている場合、このまま立体視画像として、視差バリアをONにして左目用調整画像50aを左目に、右目用調整画像50bを右目に視認させると、ユーザは2つのずれた画像として認識してしまう。このため、購入後にずれが生じた両画像の表示位置のずれをなくす調整を行う必要がある。本実施形態ではユーザが、この調整を行うことができる。具体的には、ユーザがステレオカメラを用いて任意の被写体(被写体50)を撮像すると、左目用調整画像50aと右目用調整画像50bの両画像のうち一方(ここでは、右目用調整画像50bとする)が半透明表示され、視差バリアがOFFにされることによって、両画像がともにディスプレイ面上に静止画として平面視表示される。すなわち、ユーザは、両目で右目用調整画像50bと左目用調整画像50aを同時に静止画として視認することができ、この2つの静止画を後述するように上下左右方向に調整(移動)することで、表示位置のずれをなくす調整を行うことができる。なお、本実施形態においては、ユーザが調整しやすいように静止画として平面視表示しているが、本願発明は動画(いわゆるプレビュー画像)であっても適用可能である。ところで、両画像は、通常、視差を有する画像であるため、平面視表示された両画像は、x軸方向(左右方向)にずれた画像として視認される。ここで、左右方向のずれは視差を生じさせる(立体感をもたせる)ためのずれであるから、立体視した際の立体感に影響するが、多少のずれであれば立体視をすること自体には大きな影響はない。また、左右方向のずれは例えば、視差を調整する3D調整スイッチ25によって調整され得る。一方、y軸方向(上下方向)のずれがあると、右目と左目で異なる高さを視認しているような状態となり、立体視そのものに影響を及ぼす。したがって、ユーザは、y軸方向(上下方向)にずれた両画像のずれをなくす調整を行うことが重要となる。   As described above, when the right-eye adjustment image 50b is displaced in the y-axis negative direction (downward) with respect to the left-eye adjustment image 50a, the left-eye adjustment image 50a is turned on as a stereoscopic image with the parallax barrier turned on. When the right eye adjustment image 50b is visually recognized by the left eye, the user recognizes it as two shifted images. For this reason, it is necessary to make an adjustment to eliminate the shift in the display positions of both images that have been shifted after purchase. In this embodiment, the user can make this adjustment. Specifically, when the user images an arbitrary subject (subject 50) using a stereo camera, one of the left eye adjustment image 50a and the right eye adjustment image 50b (here, the right eye adjustment image 50b). ) Is translucently displayed and the parallax barrier is turned off, so that both images are displayed as a still image on the display surface in plan view. That is, the user can visually recognize the right-eye adjustment image 50b and the left-eye adjustment image 50a simultaneously as still images with both eyes, and adjust (move) these two still images in the vertical and horizontal directions as will be described later. Thus, it is possible to make an adjustment that eliminates the displacement of the display position. In the present embodiment, a planar view is displayed as a still image so that the user can easily adjust. However, the present invention can also be applied to a moving image (so-called preview image). By the way, since both images are usually images having parallax, both images displayed in plan view are visually recognized as images shifted in the x-axis direction (left-right direction). Here, since the shift in the left-right direction is a shift for generating parallax (giving a stereoscopic effect), it affects the stereoscopic effect when stereoscopically viewed. Has no significant effect. Further, the shift in the left-right direction can be adjusted by, for example, the 3D adjustment switch 25 that adjusts the parallax. On the other hand, if there is a shift in the y-axis direction (vertical direction), the right eye and the left eye are in a state where different heights are visually recognized, which affects the stereoscopic vision itself. Therefore, it is important for the user to make an adjustment to eliminate the shift between both images shifted in the y-axis direction (vertical direction).

ユーザは、半透明表示された右目用調整画像50bにおける被写体50のy軸方向(上下方向)の表示位置を、左目用調整画像50aにおける被写体50のy軸方向の表示位置に合わせるように、右目用調整画像50bを移動させることによってy軸方向のずれをなくす調整を行う。これは、両画像のy軸方向のずれを実際に視認しながら調整する処理であるため、ユーザにとっては直感的で容易な処理であり、簡単に調整を行うことができる。具体的には、画像のずれをなくす調整を行うモード(表示調整モード)になると、下側LCD12には表示調整用のディスプレイ画面が表示される。ユーザは、この画面においてタッチペン28で下側LCD12に表示された上下ボタン70をタッチすることによって、半透明画像である右目用調整画像50bを上下(y軸方向)に移動させることができる(図9参照)。ユーザは、上側LCD22に表示される両画像を見ながら、タッチペン28を操作することによって、左目用調整画像50aと右目用調整画像50bのy軸方向のずれをなくす調整を行う。この結果として、この調整結果(調整前の右目用調整画像50bと調整後の右目用調整画像50bのy軸方向の変位量)がメインメモリ32に記憶されて、その後、両ステレオカメラによって撮像されたステレオ画像(両画像)が立体視表示される際に、この調整結果に基づいてステレオ画像の表示位置(両画像のずれ)が補正される。このことにより、ユーザが2つのずれた画像として認識してしまうことのない適切な立体視表示が行われることになる。   The user matches the display position of the subject 50 in the y-axis direction (vertical direction) in the right-eye adjustment image 50b displayed semi-transparently with the display position of the subject 50 in the y-axis direction in the left-eye adjustment image 50a. Adjustment for eliminating the displacement in the y-axis direction is performed by moving the adjustment image 50b. Since this is a process of adjusting while visually recognizing the deviation of both images in the y-axis direction, the process is intuitive and easy for the user, and can be easily adjusted. Specifically, when an adjustment mode for eliminating image displacement (display adjustment mode) is entered, a display screen for display adjustment is displayed on the lower LCD 12. The user can move the right-eye adjustment image 50b, which is a translucent image, up and down (in the y-axis direction) by touching the up / down button 70 displayed on the lower LCD 12 with the touch pen 28 on this screen (FIG. 5). 9). The user operates the touch pen 28 while observing both images displayed on the upper LCD 22 to adjust the left-eye adjustment image 50a and the right-eye adjustment image 50b so as not to shift in the y-axis direction. As a result, this adjustment result (the amount of displacement in the y-axis direction of the adjustment image 50b for the right eye before adjustment and the adjustment image 50b for the right eye after adjustment) is stored in the main memory 32, and then captured by both stereo cameras. When the stereo images (both images) are stereoscopically displayed, the display position of the stereo image (deviation between both images) is corrected based on the adjustment result. As a result, an appropriate stereoscopic display that the user does not recognize as two shifted images is performed.

ところで、前述したように、そもそも左目用調整画像50aと右目用調整画像50bの両画像は、立体視表示するために視差をもった画像であるため、x軸方向にずれた画像となる。この結果、ユーザは、両画像のy軸方向のずれをなくす調整を行おうとした場合に両画像における被写体50の表示位置を完全に一致させることはできないので、画像(被写体)によっては、正確にy軸方向のずれをなくす調整を行うことが難しい。このような場合には、半透明表示された右目用調整画像50bは、x軸方向(左右方向)にも移動可能にしてもよい。すなわち、図10に示すように、ユーザは下側LCD12に表示される左右ボタン71をタッチすることによって、半透明画像である右目用調整画像50bを左右方向(x軸方向)にも移動させることができる。このように、右目用調整画像50bをx軸方向とy軸方向の両方向に移動可能にすることによって、ユーザは、右目用調整画像50bと左目用調整画像50aにおける撮像対象(被写体50)の表示位置を略重ね合わせることができる。この結果として、右目用調整画像50bと左目用調整画像50aのy軸方向のずれがなくなるように正確に調整される。また、このことにより、被写体50はどのようなものであっても、両画像のy軸方向のずれをなくす調整が可能となるため、ユーザは任意の被写体を調整画像として撮像することができる。なお、この場合であっても、両画像の表示位置の補正は、この調整結果のうちy軸方向の調整結果(調整前の右目用調整画像50bと調整後の右目用調整画像50bのy軸方向の変位量)に基づいて行われる。   By the way, as described above, both the left-eye adjustment image 50a and the right-eye adjustment image 50b are images that have parallax for stereoscopic display, and thus are shifted in the x-axis direction. As a result, the user cannot make the display position of the subject 50 in both images completely match when attempting to make an adjustment that eliminates the deviation of both images in the y-axis direction. It is difficult to make adjustments that eliminate the displacement in the y-axis direction. In such a case, the right-eye adjustment image 50b displayed semi-transparently may be movable in the x-axis direction (left-right direction). That is, as shown in FIG. 10, the user moves the right-eye adjustment image 50b, which is a translucent image, in the left-right direction (x-axis direction) by touching the left-right button 71 displayed on the lower LCD 12. Can do. Thus, by enabling the right-eye adjustment image 50b to move in both the x-axis direction and the y-axis direction, the user can display the imaging target (subject 50) in the right-eye adjustment image 50b and the left-eye adjustment image 50a. The positions can be substantially overlapped. As a result, the right-eye adjustment image 50b and the left-eye adjustment image 50a are accurately adjusted so that there is no shift in the y-axis direction. In addition, this makes it possible to make adjustments to eliminate the deviation of both images in the y-axis direction regardless of what the subject 50 is, so that the user can capture an arbitrary subject as an adjustment image. Even in this case, the correction of the display positions of both images is performed by adjusting the y-axis direction of the adjustment results (the y-axis of the adjustment image 50b for the right eye before adjustment and the adjustment image 50b for the right eye after adjustment). Based on the amount of displacement in the direction).

(情報処理の詳細)
次に、ステレオカメラによって撮像を行う処理(以下、ステレオカメラ撮像処理という)及び前述した調整機構によってステレオ画像の表示位置(両画像のずれ)の調整を行う処理(以下、表示調整処理という)が実行される際に行われる情報処理の詳細を説明する。まず、ステレオカメラ撮像処理及び表示調整処理の際にメインメモリ32に記憶されるデータについて説明する。
(Details of information processing)
Next, a process of performing imaging with a stereo camera (hereinafter referred to as “stereo camera imaging process”) and a process of adjusting the display position (shift between both images) of the stereo image by the adjustment mechanism described above (hereinafter referred to as “display adjustment process”). The details of the information processing performed when it is executed will be described. First, data stored in the main memory 32 during the stereo camera imaging process and the display adjustment process will be described.

(メモリマップ)
図11は、ゲーム装置10のメインメモリ32のメモリマップの一例を示す図である。図11に示すように、メインメモリ32は、プログラム記憶領域400及びデータ記憶領域500を含む。プログラム記憶領域400及びデータ記憶領域500のデータの一部は、例えば外部メモリ44に記憶されており、ステレオカメラ撮像処理や表示調整処理の実行時にはメインメモリ32に読み込まれて記憶される。
(Memory map)
FIG. 11 is a diagram illustrating an example of a memory map of the main memory 32 of the game apparatus 10. As shown in FIG. 11, the main memory 32 includes a program storage area 400 and a data storage area 500. A part of the data in the program storage area 400 and the data storage area 500 is stored in, for example, the external memory 44, and is read and stored in the main memory 32 when the stereo camera imaging process and the display adjustment process are executed.

プログラム記憶領域400には、後述する図12に示すフローチャートの処理を実行する撮像処理プログラム401や描画処理プログラム402等のプログラムが記憶される。   The program storage area 400 stores programs such as an imaging processing program 401 and a drawing processing program 402 that execute processing of a flowchart shown in FIG.

データ記憶領域500には、操作データ501、ステレオカメラデータ502、上下変位データ503、初期パラメータデータ504、表示パラメータデータ505、表示調整パラメータデータ506等が記憶される。   The data storage area 500 stores operation data 501, stereo camera data 502, vertical displacement data 503, initial parameter data 504, display parameter data 505, display adjustment parameter data 506, and the like.

操作データ501は、各操作ボタン14A〜E、G〜H、アナログスティック15、3D調整スイッチ25、及びタッチパネル13に対して行われたユーザの操作を示すデータである。この操作データ501には、ユーザが半透明表示された右目用画像を移動させる操作を示すデータや、3D調整スイッチ25におけるスライダ25aの位置を示すデータ等が含まれる。   The operation data 501 is data indicating user operations performed on the operation buttons 14 </ b> A to E and GH, the analog stick 15, the 3D adjustment switch 25, and the touch panel 13. The operation data 501 includes data indicating an operation of moving the right-eye image displayed by the user translucently, data indicating the position of the slider 25a in the 3D adjustment switch 25, and the like.

ステレオカメラデータ502は、図4を参照して説明した各ステレオカメラのデータ、すなわち、左ステレオカメラデータ502a及び右ステレオカメラデータ502b等を含む。   The stereo camera data 502 includes the data of each stereo camera described with reference to FIG. 4, that is, the left stereo camera data 502a and the right stereo camera data 502b.

左ステレオカメラデータ502aは、ユーザの左目に見せるための左目用画像を撮像する左ステレオカメラ23aに関するデータであり、上側ハウジング21に対する左ステレオカメラ23aの位置、撮像方向、及び撮像画角、撮像画像等を示すデータである。なお、左ステレオカメラ23aが撮像する撮像画像のデータは、1フレーム(例えば1/60秒)毎に繰り返し更新される。   The left stereo camera data 502a is data related to the left stereo camera 23a that captures a left-eye image to be viewed by the user's left eye, and the position, imaging direction, imaging angle of view, and captured image of the left stereo camera 23a with respect to the upper housing 21. It is the data which shows etc. The data of the captured image captured by the left stereo camera 23a is repeatedly updated every frame (for example, 1/60 seconds).

右ステレオカメラデータ502bは、ユーザの右目に見せるための右目用画像を撮像する右ステレオカメラ23bに関するデータであり、上側ハウジング21に対する右ステレオカメラ23bの位置、撮像方向、及び撮像画角、撮像画像等を示すデータである。なお、右ステレオカメラ23bが撮像する撮像画像のデータは、1フレーム(例えば1/60秒)毎に繰り返し更新される。   The right stereo camera data 502b is data related to the right stereo camera 23b that captures a right-eye image to be viewed by the user's right eye, and the position, imaging direction, imaging angle of view, and captured image of the right stereo camera 23b with respect to the upper housing 21. It is the data which shows etc. Note that captured image data captured by the right stereo camera 23b is repeatedly updated every frame (for example, 1/60 seconds).

上下変位データ503は、ユーザが調整用に半透明表示された右目用調整画像50bを移動させたことを示す操作データ501に基づいて、右目用調整画像50bが上下方向(y軸方向)にどれだけ変位したか(変位量)を示すデータである。   Based on the operation data 501 indicating that the user has moved the right-eye adjustment image 50b displayed semi-transparently for adjustment, the vertical displacement data 503 indicates which of the right-eye adjustment images 50b is in the vertical direction (y-axis direction). It is the data which shows whether it was displaced only (displacement amount).

初期パラメータデータ504は、両ステレオカメラによって撮像されたステレオ画像(両画像)の初期表示位置を設定するための初期パラメータを示すデータである。この初期パラメータは、出荷時のステレオカメラの光学的位置に応じて決定され、この初期パラメータに基づいて出荷時の状態に対応したステレオ画像の表示位置が決定される。なお、この初期パラメータは、例えば、工場で既知の調整用のパターン画像等を用いて算出される。また、初期パラメータは、データ保存用内部メモリ35に記憶されており、ゲーム装置10の電源が投入されると、データ保存用内部メモリ35のデータがメインメモリ32に読み込まれ、データ保存用内部メモリ35に記憶されている初期パラメータが、初期パラメータデータ504として格納される。   Initial parameter data 504 is data indicating initial parameters for setting an initial display position of stereo images (both images) captured by both stereo cameras. The initial parameter is determined according to the optical position of the stereo camera at the time of shipment, and the display position of the stereo image corresponding to the state at the time of shipment is determined based on the initial parameter. The initial parameter is calculated using, for example, a pattern image for adjustment known at the factory. The initial parameters are stored in the internal data storage memory 35. When the game apparatus 10 is turned on, the data stored in the internal data storage memory 35 is read into the main memory 32, and the internal data storage memory is stored. The initial parameters stored in 35 are stored as initial parameter data 504.

表示パラメータデータ505は、ステレオ画像の表示位置を決定するパラメータを示すデータである。ゲーム装置10の電源が投入されると、データ保存用内部メモリ35のデータがメインメモリ32に読み込まれ、データ保存用内部メモリ35に後述する表示調整パラメータが記憶されている場合には、この表示調整パラメータが表示パラメータデータ505として格納される。一方、データ保存用内部メモリ35に表示調整パラメータが記憶されていない場合には、データ保存用内部メモリ35に記憶されている初期パラメータが、表示パラメータデータ505として格納される。   The display parameter data 505 is data indicating parameters for determining the display position of the stereo image. When the game apparatus 10 is turned on, the data stored in the data storage internal memory 35 is read into the main memory 32, and the display adjustment parameters described later are stored in the data storage internal memory 35. Adjustment parameters are stored as display parameter data 505. On the other hand, when the display adjustment parameter is not stored in the data storage internal memory 35, the initial parameter stored in the data storage internal memory 35 is stored as display parameter data 505.

表示調整パラメータデータ506は、両ステレオカメラによって撮像されたステレオ画像の表示位置を調整するための表示調整パラメータを示すデータである。この表示調整パラメータは、前述した上下変位データ503に基づいて算出される。なお、ユーザによるステレオ画像の表示位置の調整が行われる(すなわち、表示調整パラメータが算出されて登録される)場合には、表示調整パラメータは、データ保存用内部メモリ35にも保存される。このことにより、ゲーム装置10の電源が投入されると、データ保存用内部メモリ35のデータがメインメモリ32に読み込まれ、データ保存用内部メモリ35に保存されている表示調整パラメータが、前述の表示パラメータデータ505として格納される。   The display adjustment parameter data 506 is data indicating display adjustment parameters for adjusting the display position of the stereo image captured by both stereo cameras. This display adjustment parameter is calculated based on the vertical displacement data 503 described above. When the user adjusts the display position of the stereo image (that is, the display adjustment parameter is calculated and registered), the display adjustment parameter is also stored in the data storage internal memory 35. As a result, when the game apparatus 10 is powered on, the data in the internal data storage memory 35 is read into the main memory 32, and the display adjustment parameters stored in the internal data storage memory 35 are displayed as described above. Stored as parameter data 505.

(ステレオカメラ撮像処理)
次に、ゲーム装置10によって実行されるステレオカメラ撮像処理について簡単に説明する。ゲーム装置10の電源が投入されると、ゲーム装置10のCPU311は、データ保存用内部メモリ35等に記憶されている起動プログラムを実行し、これによってメインメモリ32等の各ユニットが初期化される。そして、外部メモリ44に記憶された撮像処理プログラム401やデータ保存用内部メモリ35に記憶されたデータ等がメインメモリ32に読み込まれ、CPU311によって撮像処理プログラム401が実行される。
(Stereo camera imaging processing)
Next, a stereo camera imaging process executed by the game apparatus 10 will be briefly described. When the power of the game apparatus 10 is turned on, the CPU 311 of the game apparatus 10 executes a startup program stored in the data storage internal memory 35 or the like, thereby initializing each unit such as the main memory 32. . Then, the imaging processing program 401 stored in the external memory 44 and the data stored in the data storage internal memory 35 are read into the main memory 32, and the imaging processing program 401 is executed by the CPU 311.

ゲーム装置10が実行する処理には、ステレオカメラ撮像処理(ステレオカメラ撮像モード)と、表示調整処理(表示調整モード)があり、ステレオカメラ撮像モードが選択されると、CPU311の指示に基づいて、GPU312は、まず、表示パラメータデータ505を参照することによって表示パラメータを取得する。次に、GPU312は、ステレオカメラデータ502を参照することによって、左ステレオカメラ23aが撮像した左目用画像及び右ステレオカメラ23bが撮像した右目用画像を取得する。そして、GPU312は、取得した表示パラメータに基づいて、取得したステレオ画像(左目用画像と右目用画像)を視差バリアがONにされた上側LCD22の表示画面上に立体視表示させる。なお、立体視表示される際の立体感(立体具合)は、3D調整スイッチ25によって調整される。そして、シャッターボタン(Lボタン14G及びRボタン14H)が押下されると、CPU311は、立体視表示されたステレオ画像をデータ保存用内部メモリ35やデータ保存用外部メモリ45に記憶させる。   The processing executed by the game apparatus 10 includes a stereo camera imaging process (stereo camera imaging mode) and a display adjustment process (display adjustment mode). When the stereo camera imaging mode is selected, based on an instruction from the CPU 311 The GPU 312 first acquires display parameters by referring to the display parameter data 505. Next, the GPU 312 refers to the stereo camera data 502, and acquires the left-eye image captured by the left stereo camera 23a and the right-eye image captured by the right stereo camera 23b. The GPU 312 stereoscopically displays the acquired stereo image (the left-eye image and the right-eye image) on the display screen of the upper LCD 22 in which the parallax barrier is turned on based on the acquired display parameter. Note that the stereoscopic effect (stereoscopic condition) when stereoscopically displayed is adjusted by the 3D adjustment switch 25. When the shutter button (L button 14G and R button 14H) is pressed, the CPU 311 stores the stereoscopically displayed stereo image in the data storage internal memory 35 or the data storage external memory 45.

一方、表示調整モードが選択されると、CPU311又はCPU311の指示に基づいてGPU312は、上記した表示パラメータを変更する処理を行う。前述したように、ステレオカメラ撮像処理において、ステレオ画像は表示パラメータに基づいて上側LCD22の表示画面上に表示される。すなわち、表示パラメータによって左目用画像と右目用画像の表示位置が決定される。したがって、ステレオカメラの光学的位置がずれることによってずれを生じたステレオ画像の表示位置は、表示パラメータが修正(変更)されることによって補正される。以下に、この表示調整モードで実行される表示調整処理について図12及び図13を参照して詳しく説明する。   On the other hand, when the display adjustment mode is selected, the GPU 312 performs processing for changing the above-described display parameters based on an instruction from the CPU 311 or the CPU 311. As described above, in the stereo camera imaging process, the stereo image is displayed on the display screen of the upper LCD 22 based on the display parameters. That is, the display position of the left-eye image and the right-eye image is determined by the display parameter. Therefore, the display position of the stereo image that is shifted due to the shift of the optical position of the stereo camera is corrected by correcting (changing) the display parameter. Hereinafter, display adjustment processing executed in this display adjustment mode will be described in detail with reference to FIGS.

(表示調整処理)
図12及び図13は、CPU311又はCPU311の指示に基づいてGPU312が実行する表示調整処理のフローチャートの一例である。
(Display adjustment processing)
12 and 13 are an example of a flowchart of the display adjustment process executed by the GPU 312 based on the instruction from the CPU 311 or the CPU 311.

まず、ステップS1において、CPU311は、操作データ501を参照して、ユーザからステレオ画像の表示調整を初期設定に戻すための所定の入力情報があったか否かを判定する。この判定の結果がYESの場合、処理はステップS21に移り、NOの場合、処理はステップS2に移る。   First, in step S1, the CPU 311 refers to the operation data 501 and determines whether or not there is predetermined input information for returning the stereo image display adjustment to the initial setting. If the result of this determination is YES, the process moves to step S21, and if it is NO, the process moves to step S2.

ステップS2において、GPU312は、CPU311の指示に基づいて、ステレオカメラデータ502を参照することによって、1フレーム(例えば1/60秒)毎に更新される左ステレオカメラ23aが撮像した左目用画像及び右ステレオカメラ23bが撮像した右目用画像を取得する。その後、処理はステップS3に移る。   In step S <b> 2, the GPU 312 refers to the stereo camera data 502 based on an instruction from the CPU 311, and the left-eye image and right image captured by the left stereo camera 23 a that is updated every frame (for example, 1/60 seconds). The right eye image captured by the stereo camera 23b is acquired. Thereafter, the process proceeds to step S3.

ステップS3において、GPU312は、ステップS2において取得した左目用画像及び右目用画像のうち、一方の画像を上側LCD22の表示画面に表示(平面視表示)させる。このことにより、ユーザは、非ステレオカメラが撮像する光景を上側LCD22の表示画面上でリアルタイムに視認することができる。その後、処理はステップS4に移る。   In step S3, the GPU 312 displays one of the left-eye image and right-eye image acquired in step S2 on the display screen of the upper LCD 22 (planar display). As a result, the user can view the scene captured by the non-stereo camera in real time on the display screen of the upper LCD 22. Thereafter, the process proceeds to step S4.

ステップS4において、CPU311は、操作データ501を参照して、ユーザからシャッターボタン(Lボタン14G及びRボタン14H)が押下されたことを示す所定の入力情報があったか否かを判定する。この判定の結果がYESの場合、処理はステップS6に移り、NOの場合、処理はステップS2に戻る(すなわち、シャッターボタンが押下されたことを示す入力情報を受け付けるまでステップS2とS3の処理を繰り返す)。   In step S4, the CPU 311 refers to the operation data 501 and determines whether there is predetermined input information indicating that the user has pressed the shutter button (L button 14G and R button 14H). If the result of this determination is YES, the process proceeds to step S6, and if NO, the process returns to step S2 (ie, the processes of steps S2 and S3 are performed until input information indicating that the shutter button has been pressed is received. repeat).

ステップS5において、CPU311は、ステップS2で取得した左目用画像及び右目用画像のうち一方(ここでは右目用画像とする)をGPU312に半透明処理させたうえで両画像を調整画像として(すなわち、左目用画像を左目用調整画像50aとして、右目用画像を右目用調整画像50bとして)、データ記憶領域500に記憶(保存)する(ステレオカメラデータ502として記憶する)。具体的には、GPU312は、右目用調整画像50bの透過度の設定を変更し、右目用調整画像50bと左目用調整画像50aの両画像が重なっても、両画像の視認性が確保されるように右目用調整画像50bの透過度を設定する。その後、処理はステップS6に移る。   In step S5, the CPU 311 causes the GPU 312 to translucently process one of the left-eye image and the right-eye image acquired in step S2 (here, the right-eye image), and then use both images as adjustment images (that is, The left-eye image is used as the left-eye adjustment image 50a, the right-eye image is used as the right-eye adjustment image 50b), and stored (saved) in the data storage area 500 (stored as stereo camera data 502). Specifically, the GPU 312 changes the setting of the transparency of the right-eye adjustment image 50b, and even if the right-eye adjustment image 50b and the left-eye adjustment image 50a overlap, the visibility of both images is ensured. In this way, the transparency of the right-eye adjustment image 50b is set. Thereafter, the process proceeds to step S6.

ステップS6において、GPU312は、ステレオカメラデータ502を参照して、ステップS5で保存した調整画像(左目用調整画像50a及び右目用調整画像50bの両画像)を平面視表示させる。具体的には、GPU312は、表示パラメータデータ505を参照することによって、ステレオ画像の表示位置を調整する表示パラメータを取得する。なお、前述したように、ユーザがステレオ画像の表示位置の調整を既に行っている場合には、表示パラメータの値は表示調整パラメータの値となり、そうでない場合には、表示パラメータの値は初期パラメータの値となる。そして、GPU312は、左目用調整画像50aと半透明処理された右目用調整画像50bを、取得した表示パラメータに基づいて、上側LCD22の表示画面上に平面視表示させる(CPU311によって視差バリアがOFFにされることによって、両画像がともに表示画面上に平面視表示される)。その後、処理はステップS7に移る。   In step S6, the GPU 312 refers to the stereo camera data 502, and displays the adjustment image (both the left-eye adjustment image 50a and the right-eye adjustment image 50b) stored in step S5 in plan view. Specifically, the GPU 312 refers to the display parameter data 505 to acquire a display parameter for adjusting the display position of the stereo image. As described above, when the user has already adjusted the display position of the stereo image, the value of the display parameter is the value of the display adjustment parameter. Otherwise, the value of the display parameter is the initial parameter. It becomes the value of. Then, the GPU 312 displays the left-eye adjustment image 50a and the translucent right-eye adjustment image 50b in a plan view on the display screen of the upper LCD 22 based on the acquired display parameters (the parallax barrier is turned off by the CPU 311). As a result, both images are displayed in a plan view on the display screen). Thereafter, the process proceeds to step S7.

ステップS7において、CPU311は、操作データ501を参照して、ユーザから半透明表示された右目用調整画像50bを移動させるための所定の入力情報があったか否かを判定する。具体的には、CPU311は、ユーザが下側LCD12に表示された上下ボタン70又は左右ボタン71(図9又は図10参照)をタッチペン28等によってタッチしたか否かを判定する。この判定の結果がYESの場合、処理はステップS8に移り、NOの場合、処理はステップS10(図13参照)に移る。   In step S <b> 7, the CPU 311 refers to the operation data 501 and determines whether there is predetermined input information for moving the right-eye adjustment image 50 b displayed semi-transparently from the user. Specifically, the CPU 311 determines whether or not the user has touched the up / down button 70 or the left / right button 71 (see FIG. 9 or 10) displayed on the lower LCD 12 with the touch pen 28 or the like. If the result of this determination is YES, the process moves to step S8, and if it is NO, the process moves to step S10 (see FIG. 13).

ステップS8において、CPU311は、操作データ501に基づいてGPU312に半透明表示された右目用調整画像50bの表示位置を移動させる。具体的には、CPU311の指示に基づいてGPU312は、例えば、ユーザが上下ボタン70の上ボタンをタッチしている場合には、右目用調整画像50bの表示位置を上方に移動させ、また、ユーザが左右ボタン71の左ボタンをタッチしている場合には、右目用調整画像50bの表示位置を左方に移動させる。図9に示すように、下側LCD12には、ユーザの上下ボタン70のタッチに応じて移動量が具体的に表示され(例えば15mm)、この移動量に基づいてGPU312は、右目用調整画像50bの表示位置を上方又は下方に移動させる。このため、ユーザは右目用調整画像50bの上下方向の移動を微調整しやすくなる。なお、本実施形態では、上下の移動量は下側LCD12に表示されるものとしたが、このような形態に限られるものではない。その後、処理はステップS9に移る。   In step S <b> 8, the CPU 311 moves the display position of the right-eye adjustment image 50 b displayed semi-transparently on the GPU 312 based on the operation data 501. Specifically, based on an instruction from the CPU 311, the GPU 312 moves the display position of the right-eye adjustment image 50 b upward when the user touches the upper button of the up / down button 70, for example. When the left button of the left / right button 71 is touched, the display position of the right-eye adjustment image 50b is moved to the left. As shown in FIG. 9, the lower LCD 12 specifically displays the movement amount according to the touch of the user's up / down button 70 (for example, 15 mm), and the GPU 312 can adjust the right-eye adjustment image 50b based on this movement amount. Is moved upward or downward. For this reason, it becomes easy for the user to finely adjust the vertical movement of the right-eye adjustment image 50b. In this embodiment, the vertical movement amount is displayed on the lower LCD 12, but the present invention is not limited to such a form. Thereafter, the process proceeds to step S9.

ステップS9において、CPU311は、操作データ501に含まれるユーザからの右目用調整画像50bの移動指示データに基づいて、右目用調整画像50bの最新位置とステップS6で表示された右目用調整画像50bの表示位置との上下方向(y軸方向)のずれ(変位量)を上下変位データ503として更新(記憶)する。その後、処理はステップS10(図13参照)に移る。   In step S9, the CPU 311 determines the latest position of the right-eye adjustment image 50b and the right-eye adjustment image 50b displayed in step S6 based on the movement instruction data of the right-eye adjustment image 50b from the user included in the operation data 501. The deviation (displacement amount) in the vertical direction (y-axis direction) from the display position is updated (stored) as the vertical displacement data 503. Thereafter, the process proceeds to step S10 (see FIG. 13).

ステップS10(図13参照)において、CPU311は、操作データ501を参照して、ユーザから立体視表示を指示する所定の入力があったか否かを判定する。具体的には、CPU311は、ユーザが下側LCD12に表示された3D表示ボタン72(図9又は図10参照)をタッチペン28等によってタッチしたか否かを判定する。この判定の結果がYESの場合、処理はステップS11に移り、NOの場合、処理はステップS16に移る。   In step S10 (see FIG. 13), the CPU 311 refers to the operation data 501 and determines whether or not there has been a predetermined input instructing stereoscopic display from the user. Specifically, the CPU 311 determines whether or not the user has touched the 3D display button 72 (see FIG. 9 or 10) displayed on the lower LCD 12 with the touch pen 28 or the like. If the result of this determination is YES, the process moves to step S11, and if it is NO, the process moves to step S16.

ステップS11において、CPU311は、上下変位データ503に基づいて、表示調整パラメータを算出し、算出した表示調整パラメータを表示調整パラメータデータ506として更新(記憶)する。その後、処理はステップS12に移る。   In step S <b> 11, the CPU 311 calculates display adjustment parameters based on the vertical displacement data 503, and updates (stores) the calculated display adjustment parameters as display adjustment parameter data 506. Thereafter, the process proceeds to step S12.

ここで、CPU311が実行する表示調整パラメータの算出について説明する。前述したように、ステレオ画像の表示位置は、表示パラメータが修正(変更)されることによって補正される。また、表示パラメータとステレオ画像の表示位置との関係は周知の線形変換等によって与えられる。したがって、ステレオ画像の表示位置をどの程度変更するべきかが算出されれば、線形変換によって表示パラメータをどの程度変更するべきかが算出される。そこで、CPU311は、ステレオ画像の上下方向の表示位置をどの程度変更すべきかを、調整画像(における被写体50)の上下方向の表示位置を合わせるために右目用調整画像50bが上下方向に移動された上下変位量(上下変位データ503)によって算出する。そして、CPU311は、その結果に基づいて線形変換により、表示パラメータをどの程度変更するか(パラメータ変位量)を算出して、このパラメータ変位量に基づいて表示パラメータを修正するために表示調整パラメータを算出する。   Here, calculation of the display adjustment parameter executed by the CPU 311 will be described. As described above, the display position of the stereo image is corrected by correcting (changing) the display parameter. Further, the relationship between the display parameter and the display position of the stereo image is given by a known linear transformation or the like. Therefore, if how much the display position of the stereo image should be changed is calculated, how much the display parameter should be changed is calculated by linear transformation. Therefore, the CPU 311 moves the right-eye adjustment image 50b in the vertical direction in order to adjust the vertical display position of the adjustment image (the subject 50) in order to adjust the vertical display position of the stereo image. It is calculated from the vertical displacement amount (vertical displacement data 503). Then, the CPU 311 calculates how much the display parameter is changed (parameter displacement amount) by linear conversion based on the result, and sets the display adjustment parameter to correct the display parameter based on the parameter displacement amount. calculate.

ステップS12において、GPU312は、CPU311の指示に基づいて、ステレオカメラデータ502を参照することによって、1フレーム毎に更新される左ステレオカメラ23aが撮像した左目用画像及び右ステレオカメラ23bが撮像した右目用画像を取得する。その後、処理はステップS13に移る。   In step S12, the GPU 312 refers to the stereo camera data 502 based on an instruction from the CPU 311 to update the left-eye image captured by the left stereo camera 23a and the right-eye image captured by the right stereo camera 23b, which are updated every frame. Acquire images. Thereafter, the process proceeds to step S13.

ステップS13において、GPU312は、ステップS12で取得した両画像を、表示調整パラメータに基づいてその表示位置を修正して立体視表示させる。具体的には、GPU312は、表示調整パラメータデータ506を参照することによって、ステレオ画像の表示位置を補正するための表示調整パラメータを取得する。そして、GPU312は、取得した表示調整パラメータに基づいて、上側LCD22の表示画面上に両画像を立体視表示させる。なお、この立体視表示は、CPU311が視差バリアをONにし、右目用画像をユーザの右目に視認させ、左目用画像をユーザの左目に視認させることにより実現される。このことにより、ユーザは、左ステレオカメラ23aと右ステレオカメラ23bが撮像する画像の表示位置が補正された場合に、両画像がどのように立体視表示されるかを実際に確かめることができ、当該補正で問題ないかを確認することができる。その後、処理はステップS14に移る。   In step S <b> 13, the GPU 312 corrects the display position of both the images acquired in step S <b> 12 based on the display adjustment parameter and displays them stereoscopically. Specifically, the GPU 312 acquires display adjustment parameters for correcting the display position of the stereo image by referring to the display adjustment parameter data 506. Then, the GPU 312 stereoscopically displays both images on the display screen of the upper LCD 22 based on the acquired display adjustment parameter. Note that this stereoscopic display is realized by the CPU 311 turning on the parallax barrier so that the right-eye image is visually recognized by the user's right eye and the left-eye image is visually recognized by the user's left eye. This allows the user to actually check how both images are stereoscopically displayed when the display positions of the images captured by the left stereo camera 23a and the right stereo camera 23b are corrected. It can be confirmed whether there is no problem with the correction. Thereafter, the process proceeds to step S14.

ステップS14において、CPU311は、操作データ501を参照してユーザから立体視表示の終了を指示するための所定の入力情報があったか否かを判定する。この判定の結果がYESの場合、処理はステップS15に移り、NOの場合、処理はステップS12に戻る(すなわち、立体視表示の終了を指示する入力情報を受け付けるまでステップS12とS13の処理を繰り返す)。   In step S <b> 14, the CPU 311 refers to the operation data 501 and determines whether there is predetermined input information for instructing the end of stereoscopic display from the user. If the result of this determination is YES, the process proceeds to step S15, and if NO, the process returns to step S12 (that is, steps S12 and S13 are repeated until input information for instructing the end of stereoscopic display is received. ).

ステップS15において、GPU312は、調整画像を再び平面視表示させる。具体的には、GPU312は、ステレオカメラデータ502として保存されている調整画像のデータ及び操作データ501に基づいて、ステップS7でGPU312によって移動された状態の当該調整画像を再び上側LCD22の表示画面上に平面視表示させる(すなわち、立体視表示に切り替えられる直前の表示位置で調整画像が再び平面視表示される)。その後、処理はステップS16に移る。   In step S15, the GPU 312 displays the adjustment image again in plan view. Specifically, the GPU 312 again displays the adjustment image that has been moved by the GPU 312 in step S7 on the display screen of the upper LCD 22 based on the adjustment image data and the operation data 501 stored as the stereo camera data 502. Are displayed in a plan view (that is, the adjustment image is again displayed in a plan view at the display position immediately before switching to the stereoscopic display). Thereafter, the process proceeds to step S16.

ステップS16において、CPU311は、操作データ501を参照して、ユーザから調整画像の調整(移動)の終了を指示するための所定の入力情報があったか否かを判定する。この判定の結果がYESの場合、処理はステップS17に移り、NOの場合、処理はステップS7(図12参照)に戻り、再び、ユーザから調整画像の移動指示を示す入力情報があったか否かを判定する。   In step S <b> 16, the CPU 311 refers to the operation data 501 and determines whether there is predetermined input information for instructing the end of adjustment (movement) of the adjustment image from the user. If the result of this determination is YES, the process proceeds to step S17. If NO, the process returns to step S7 (see FIG. 12), and again whether or not there has been input information indicating an instruction to move the adjustment image from the user. judge.

ステップS17において、CPU311は、操作データ501を参照してユーザから表示調整モードの終了を指示するための所定の入力があったか否かを判定する。この判定の結果がYESの場合、処理はステップS18に移り、NOの場合、処理はステップS20に移る。   In step S <b> 17, the CPU 311 refers to the operation data 501 and determines whether there is a predetermined input for instructing the end of the display adjustment mode from the user. If the result of this determination is YES, the process moves to step S18, and if it is NO, the process moves to step S20.

ステップS18において、CPU311は、上下変位データ503に基づいて、表示調整パラメータを算出する。なお、ステップS11において算出された表示調整パラメータにその後変更が無い場合には、ステップS18において算出される表示調整パラメータの値は、表示調整パラメータデータ506として記憶された表示調整パラメータの値に一致する。その後、処理はステップS19に移る。   In step S <b> 18, the CPU 311 calculates display adjustment parameters based on the vertical displacement data 503. If the display adjustment parameter calculated in step S11 is not changed thereafter, the display adjustment parameter value calculated in step S18 matches the display adjustment parameter value stored as the display adjustment parameter data 506. . Thereafter, the process proceeds to step S19.

ステップS19において、CPU311は、ステップS18で算出した表示調整パラメータを表示パラメータデータ505として更新し(記憶させ)、同時に当該表示調整パラメータをデータ保存用内部メモリ35に記憶させる。このことにより、ユーザがゲーム装置10の電源をOFFにしても次の電源ON時には、データ保存用内部メモリ35に保存された表示調整パラメータが、メインメモリ32の表示パラメータデータ505として格納され、表示調整パラメータは、ステレオカメラ撮像処理の際に常に反映される。そして、CPU311は、ステレオカメラデータ502として保存された調整画像のデータをクリア(リセット)し、上下変位データ503及び表示調整パラメータデータ506をクリア(リセット)して、表示調整処理を終了させる。   In step S19, the CPU 311 updates (stores) the display adjustment parameter calculated in step S18 as display parameter data 505, and simultaneously stores the display adjustment parameter in the data storage internal memory 35. Thus, even if the user turns off the power of the game apparatus 10, the display adjustment parameter saved in the data saving internal memory 35 is stored as the display parameter data 505 in the main memory 32 when the power is turned on next time. The adjustment parameter is always reflected in the stereo camera imaging process. Then, the CPU 311 clears (resets) the adjustment image data stored as the stereo camera data 502, clears (resets) the vertical displacement data 503 and the display adjustment parameter data 506, and ends the display adjustment process.

一方、ステップS20において、CPU311は、ステレオカメラデータ502として保存された調整画像のデータをクリア(リセット)し、上下変位データ503及び表示調整パラメータデータ506をクリア(リセット)する。その後、処理はステップS1に戻る(すなわち、調整画像としてユーザが決定した画像(被写体)がわかりにくかった場合等に、再度別の被写体の撮像画像を調整画像として決定するといった処理が開始される)。   On the other hand, in step S20, the CPU 311 clears (resets) the adjustment image data stored as the stereo camera data 502, and clears (resets) the vertical displacement data 503 and the display adjustment parameter data 506. Thereafter, the process returns to step S1 (that is, when it is difficult to understand an image (subject) determined by the user as an adjustment image, a process of determining a captured image of another subject as an adjustment image again is started). .

説明は図12に戻り、ステップS21において、CPU311は、操作データ501を参照して、ユーザから立体視表示を指示する所定の入力があったか否かを判定する。具体的には、CPU311は、ユーザが下側LCD12に表示された3D表示ボタン72(図9又は図10参照)をタッチペン28等によってタッチしたか否かを判定する。この判定の結果がYESの場合、処理はステップS22に移り、NOの場合、処理はステップS25に移る。   Returning to FIG. 12, in step S <b> 21, the CPU 311 refers to the operation data 501 and determines whether or not there is a predetermined input instructing stereoscopic display from the user. Specifically, the CPU 311 determines whether or not the user has touched the 3D display button 72 (see FIG. 9 or 10) displayed on the lower LCD 12 with the touch pen 28 or the like. If the result of this determination is YES, the process moves to step S22, and if it is NO, the process moves to step S25.

ステップS22において、GPU312は、CPU311の指示に基づいて、ステレオカメラデータ502を参照することによって、1フレーム毎に更新される左ステレオカメラ23aが撮像した左目用画像及び右ステレオカメラ23bが撮像した右目用画像を取得する。その後、処理はステップS23に移る。   In step S <b> 22, the GPU 312 refers to the stereo camera data 502 based on an instruction from the CPU 311, and the left-eye image captured by the left stereo camera 23 a and the right-eye captured by the right stereo camera 23 b are updated every frame. Acquire images. Thereafter, the process proceeds to step S23.

ステップS23において、GPU312は、ステップS22で取得した両画像を、初期パラメータに基づいてその表示位置を初期設定に戻して立体視表示させる。具体的には、GPU312は、初期パラメータデータ504を参照することによって、ステレオ画像の表示位置を初期設定に戻すための初期パラメータを取得する。そして、GPU312は、取得した初期パラメータに基づいて、上側LCD22の表示画面上に両画像を立体視表示させる。なお、この立体視表示は、CPU311が視差バリアをONにし、右目用画像をユーザの右目に視認させ、左目用画像をユーザの左目に視認させることにより実現される。このことにより、ユーザは、左ステレオカメラ23aと右ステレオカメラ23bが撮像する画像の表示位置が初期設定に戻された場合に、両画像がどのように立体視表示されるかを実際に確かめることができ、初期設定に戻しても問題ないかを確認することができる。その後、処理はステップS24に移る。   In step S <b> 23, the GPU 312 displays the two images acquired in step S <b> 22 stereoscopically by returning the display position to the initial setting based on the initial parameters. Specifically, the GPU 312 acquires initial parameters for returning the stereo image display position to the initial setting by referring to the initial parameter data 504. Then, the GPU 312 stereoscopically displays both images on the display screen of the upper LCD 22 based on the acquired initial parameters. Note that this stereoscopic display is realized by the CPU 311 turning on the parallax barrier so that the right-eye image is visually recognized by the user's right eye and the left-eye image is visually recognized by the user's left eye. Thus, the user can actually confirm how both images are stereoscopically displayed when the display positions of the images captured by the left stereo camera 23a and the right stereo camera 23b are returned to the initial settings. You can check whether there is no problem even if you return to the initial settings. Thereafter, the process proceeds to step S24.

ステップS24において、CPU311は、操作データ501を参照してユーザから立体視表示の終了を指示するための所定の入力情報があったか否かを判定する。この判定の結果がYESの場合、処理はステップS25に移り、NOの場合、処理はステップS22に戻る(すなわち、立体視表示の終了を指示する入力情報を受け付けるまでステップS22とS23の処理を繰り返す)。   In step S24, the CPU 311 refers to the operation data 501 and determines whether there is predetermined input information for instructing the end of stereoscopic display from the user. If the result of this determination is YES, the process proceeds to step S25, and if NO, the process returns to step S22 (that is, the processes of steps S22 and S23 are repeated until input information instructing the end of stereoscopic display is received. ).

ステップS25において、CPU311は、操作データ501を参照してユーザから表示調整モードの終了を指示するための所定の入力があったか否かを判定する。この判定の結果がYESの場合、処理はステップS26に移り、NOの場合、処理はステップS1に戻る(すなわち、表示調整処理を再開する)。   In step S <b> 25, the CPU 311 refers to the operation data 501 and determines whether there is a predetermined input for instructing the end of the display adjustment mode from the user. If the result of this determination is YES, the process proceeds to step S26, and if NO, the process returns to step S1 (that is, the display adjustment process is resumed).

ステップS26において、CPU311は、初期パラメータデータ504として保存された初期パラメータを表示パラメータデータ505として更新し(記憶させ)、データ保存用内部メモリ35に表示調整パラメータが記憶されている場合には、記憶された表示調整パラメータをクリア(リセット)して、調整処理を終了させる。このことにより、ユーザがゲーム装置10の電源をOFFにしても次の電源ON時には、データ保存用内部メモリ35には、初期パラメータしか保存されておらず、そのため、初期パラメータが、表示パラメータデータ505として格納され、初期パラメータは、ステレオカメラ撮像処理の際に常に反映される。   In step S <b> 26, the CPU 311 updates (stores) the initial parameter stored as the initial parameter data 504 as the display parameter data 505, and stores the display adjustment parameter when the data storage internal memory 35 stores the display adjustment parameter. The displayed adjustment parameter is cleared (reset), and the adjustment process is terminated. As a result, even when the user turns off the power of the game apparatus 10, when the power is turned on next time, only the initial parameters are stored in the data storage internal memory 35. Therefore, the initial parameters are the display parameter data 505. The initial parameters are always reflected during the stereo camera imaging process.

以上に説明したように、本実施形態によれば、ユーザが調整画像の表示位置を手動で調整するとき(ステップS1:NO)、両ステレオカメラによって任意の撮像対象(被写体)を撮像した両画像(ステレオ画像)が取得され、平面視表示される(ステップS2、S3)ので、ユーザは、平面視表示された画像を視認しながら所望の画像を選択してシャッターボタンを押下する(ステップS4)ことで、調整画像を表示画面上に平面視表示させることができる(ステップS5、S6)。したがって、ユーザは調整用の特定のパターン画像等を別途用意する必要がない。また、この調整画像のうち、右目用調整画像50bは、半透明表示されている(ステップS5)ので、ユーザは右目用調整画像50bと左目用調整画像50aの両画像の位置ずれを容易に視認することができ、右目用調整画像50bを移動させる指示を行う(ステップS7:YES)ことによって、右目用調整画像50bの表示位置を左目用調整画像50aの表示位置に容易に合わせる(調整する)ことができる(ステップS8)。なお、このとき、右目用調整画像50bの移動情報のうち、表示調整パラメータの算出に用いられる上下方向の移動情報(変位量)のみが記憶される(ステップS9)が、ユーザは、右目用調整画像50bを上下左右方向に移動可能である。このため、ユーザは、右目用調整画像50bを移動させて左目用調整画像50aに略重ね合わせることができ、結果として両画像の上下方向の表示位置を合わせやすくなる。また、この上下方向の変位量は、ユーザからの移動指示がある度に更新され、ユーザから立体視表示の指示がある(ステップS10:YES)と、この変位量に基づいて表示調整パラメータが算出され(ステップS11)、算出された表示調整パラメータに基づいてステレオ画像が立体視表示される(ステップS12、13)。このことにより、ユーザは、右目用調整画像50bの表示位置を調整しているとき(すなわち、調整中)に、現在の調整であれば、どのようにステレオ画像が立体視表示されるかを実際に確かめることができ、調整を終了(決定)する前に当該調整で問題ないかを確認することができる。そして、ユーザが、調整を終了したことを指示する(ステップS17:YES)ことによって、これまでに移動させた右目用調整画像50bの上下方向の変位量に基づいて表示調整パラメータが算出され(ステップS18)、この表示調整パラメータが、ステレオ画像の表示位置を決める表示パラメータとして更新される(ステップS19)。このことにより、ユーザは、自身で表示画面を確認しながら、調整画像の表示位置を合わせる(調整する)だけで、表示パラメータに適切なパラメータ(表示調整パラメータ)を設定することができる。また、ユーザがステレオ画像の表示位置を初期設定に戻したい場合(ステップS1:YES)には、表示パラメータに初期パラメータが設定される(ステップS26)ので、ユーザがステレオ画像の表示位置を変更(調整)していた場合であっても、いつでも初期設定の表示位置に戻すことが可能となる。このように、表示調整モード(表示調整処理)によって表示パラメータが更新(設定)され、その後ステレオ撮像モード(ステレオ撮像処理)においてステレオ撮像を行う際には、表示調整処理において更新された表示パラメータが読み込まれ、ユーザが2つのずれた画像として認識してしまう原因となる上下方向のずれが補正された適切なステレオ画像が立体視表示される。   As described above, according to the present embodiment, when the user manually adjusts the display position of the adjustment image (step S1: NO), both images obtained by imaging an arbitrary imaging target (subject) with both stereo cameras. Since the (stereo image) is acquired and displayed in plan view (steps S2 and S3), the user selects a desired image while viewing the image displayed in plan view and presses the shutter button (step S4). Thus, the adjustment image can be displayed in a plan view on the display screen (steps S5 and S6). Therefore, the user does not need to prepare a specific pattern image for adjustment separately. In addition, among the adjustment images, the right-eye adjustment image 50b is displayed semi-transparently (step S5), so that the user can easily visually recognize the positional deviation between the right-eye adjustment image 50b and the left-eye adjustment image 50a. By giving an instruction to move the right eye adjustment image 50b (step S7: YES), the display position of the right eye adjustment image 50b is easily adjusted (adjusted) to the display position of the left eye adjustment image 50a. (Step S8). At this time, of the movement information of the right-eye adjustment image 50b, only the movement information (displacement amount) in the vertical direction used for calculation of the display adjustment parameter is stored (step S9), but the user adjusts the right-eye adjustment. The image 50b can be moved vertically and horizontally. For this reason, the user can move the right-eye adjustment image 50b and substantially overlap the left-eye adjustment image 50a, and as a result, the vertical display positions of both images can be easily aligned. The vertical displacement is updated every time there is a movement instruction from the user, and if there is a stereoscopic display instruction from the user (step S10: YES), the display adjustment parameter is calculated based on this displacement. Then, a stereo image is stereoscopically displayed based on the calculated display adjustment parameter (steps S12 and S13). As a result, when the user adjusts the display position of the right-eye adjustment image 50b (that is, during adjustment), the user can actually see how the stereo image is stereoscopically displayed with the current adjustment. It is possible to confirm whether there is no problem with the adjustment before the adjustment is finished (determined). Then, when the user instructs that the adjustment is finished (step S17: YES), the display adjustment parameter is calculated based on the vertical displacement of the right-eye adjustment image 50b that has been moved so far (step S17). S18) This display adjustment parameter is updated as a display parameter for determining the display position of the stereo image (step S19). Thus, the user can set an appropriate parameter (display adjustment parameter) as the display parameter only by adjusting (adjusting) the display position of the adjustment image while checking the display screen by himself / herself. When the user wants to return the display position of the stereo image to the initial setting (step S1: YES), the initial parameter is set as the display parameter (step S26), so the user changes the display position of the stereo image ( It is possible to return to the default display position at any time even when the adjustment is performed. As described above, when the display parameter is updated (set) in the display adjustment mode (display adjustment process) and then the stereo imaging is performed in the stereo imaging mode (stereo imaging process), the display parameter updated in the display adjustment process is updated. An appropriate stereo image that is read and corrected in the vertical direction that causes the user to recognize it as two shifted images is stereoscopically displayed.

(変形例)
なお、上記実施形態では、調整画像(左目用調整画像50a及び右目用調整画像50b)の上下方向(y軸方向)のずれをなくす調整を行うために、右目用調整画像50bはx軸方向(左右方向)にも移動可能であるとした。しかし、これに代え、或いは、これと同時に右目用調整画像50bは、z軸方向の周りに(xy平面上で)回転可能としてもよい(図14の(2)参照)。具体的には、図14の(1)に示すように、右ステレオカメラ23bがz軸方向の周りにΔcだけ回転ずれを起こした場合には、右目用調整画像50bはディスプレイ面において回転ずれを起こす(図14の(2)参照)。この場合には、ユーザは両画像のy軸方向のずれをなくす調整を行おうとした場合に、両画像における被写体50の表示位置を完全に一致させることはできないので、画像(被写体)によっては、正確にy軸方向のずれをなくす調整を行うことが難しい。そこで、図14の(3)に示すように、ユーザは下側LCD12に表示される回転ボタン73をタッチすることによって、半透明画像である右目用調整画像50bをz軸方向の周りに(xy平面上で)回転させることができる。このように、右目用調整画像50bを回転させることによって、ユーザは、右目用調整画像50bと左目用調整画像50aにおける撮像対象(被写体50)の表示位置を略重ね合わせることができる。この結果として、右目用調整画像50bと左目用調整画像50aのy軸方向のずれがなくなるように正確に調整される。なお、この場合には、図12のステップS9において、この回転の変位を示すデータもデータ記憶領域500に記憶され、図13のステップS11及びS18において、この回転の変位に基づく表示調整パラメータも算出される。すなわち、この算出された表示調整パラメータに基づいて立体視表示されるステレオ画像(両画像)の回転ずれも同時に補正される。
(Modification)
In the above embodiment, the adjustment image 50b for the right eye is adjusted in the x-axis direction (in the x-axis direction (in order to eliminate the shift in the vertical direction (y-axis direction)) of the adjustment images (the left-eye adjustment image 50a and the right-eye adjustment image 50b). It is also possible to move in the left and right direction. However, instead of this, or at the same time, the right-eye adjustment image 50b may be rotatable around the z-axis direction (on the xy plane) (see (2) in FIG. 14). Specifically, as shown in FIG. 14 (1), when the right stereo camera 23b is rotationally displaced by Δc around the z-axis direction, the right-eye adjustment image 50b is rotationally displaced on the display surface. Wake up (see (2) in FIG. 14). In this case, when the user tries to make an adjustment to eliminate the deviation of both images in the y-axis direction, the display position of the subject 50 in both images cannot be completely matched, so depending on the image (subject), It is difficult to make an adjustment that eliminates the deviation in the y-axis direction accurately. Therefore, as shown in (3) of FIG. 14, the user touches the rotation button 73 displayed on the lower LCD 12 so that the right-eye adjustment image 50b, which is a translucent image, is moved around the z-axis direction (xy). Can be rotated). Thus, by rotating the right-eye adjustment image 50b, the user can substantially overlap the display position of the imaging target (subject 50) in the right-eye adjustment image 50b and the left-eye adjustment image 50a. As a result, the right-eye adjustment image 50b and the left-eye adjustment image 50a are accurately adjusted so that there is no shift in the y-axis direction. In this case, in step S9 in FIG. 12, data indicating the rotational displacement is also stored in the data storage area 500. In steps S11 and S18 in FIG. 13, display adjustment parameters based on the rotational displacement are also calculated. Is done. That is, the rotational deviation of the stereoscopic images (both images) displayed stereoscopically is also corrected based on the calculated display adjustment parameter.

また、上記実施形態では、右目用調整画像50bはx軸方向(左右方向)にも移動可能、又は/及びz軸方向の周りに(xy平面上で)回転可能であるとした。しかし、これに代え、或いは、これと同時に右目用調整画像50bは、ズーム調整可能としてもよい(図15の(2)参照)。具体的には、図15の(1)に示すように、右ステレオカメラ23bがz軸方向に対してΔzだけ並進ずれを起こした場合、右目用調整画像50bはディスプレイ面において大きさにずれを起こす(図15の(2)参照)。この場合には、ユーザは両画像のy軸方向のずれをなくす調整を行おうとした場合に、両画像における被写体50の表示位置を完全に一致させることはできないので、画像(被写体)によっては、正確にy軸方向のずれをなくす調整を行うことが難しい。そこで、図15の(3)に示すように、ユーザは下側LCD12に表示されるズームボタン74をタッチすることによって、半透明画像である右目用調整画像50bをズーム(拡大、縮小)させることができる。このように、右目用調整画像50bをズームさせることによって、ユーザは、右目用調整画像50bと左目用調整画像50aにおける撮像対象(被写体50)の表示位置を略重ね合わせることができる。この結果として、右目用調整画像50bと左目用調整画像50aのy軸方向のずれがなくなるように正確に調整される。なお、この場合には、図12のステップS9において、このズームの量を示すデータもデータ記憶領域500に記憶され、図13のステップS11及びS18において、このズームの量に基づく表示調整パラメータも算出される。すなわち、この算出された表示調整パラメータに基づいて立体視表示されるステレオ画像(両画像)の大きさのずれも同時に補正される。   In the above embodiment, the right-eye adjustment image 50b can be moved in the x-axis direction (left and right direction) and / or can be rotated around the z-axis direction (on the xy plane). However, instead of this, or at the same time, the right-eye adjustment image 50b may be zoom adjustable (see (2) in FIG. 15). Specifically, as shown in (1) of FIG. 15, when the right stereo camera 23b causes a translational shift by Δz with respect to the z-axis direction, the right-eye adjustment image 50b shifts in size on the display surface. Wake up (see (2) in FIG. 15). In this case, when the user tries to make an adjustment to eliminate the deviation of both images in the y-axis direction, the display position of the subject 50 in both images cannot be completely matched, so depending on the image (subject), It is difficult to make an adjustment that eliminates the deviation in the y-axis direction accurately. Therefore, as shown in FIG. 15 (3), the user touches the zoom button 74 displayed on the lower LCD 12 to zoom (enlarge or reduce) the right eye adjustment image 50b, which is a translucent image. Can do. Thus, by zooming the right-eye adjustment image 50b, the user can substantially superimpose the display position of the imaging target (subject 50) in the right-eye adjustment image 50b and the left-eye adjustment image 50a. As a result, the right-eye adjustment image 50b and the left-eye adjustment image 50a are accurately adjusted so that there is no shift in the y-axis direction. In this case, data indicating the zoom amount is also stored in the data storage area 500 in step S9 in FIG. 12, and display adjustment parameters based on the zoom amount are also calculated in steps S11 and S18 in FIG. Is done. That is, the deviation of the size of the stereo image (both images) displayed stereoscopically is corrected at the same time based on the calculated display adjustment parameter.

また、上記実施形態ではステレオカメラの画角のずれに起因する補正は言及しなかった。しかしながら、右ステレオカメラ23bの焦点距離がずれることによって画角にずれが生じた場合には、右目用調整画像50bの大きさにずれが生じる。この場合にも、前述のようにユーザによって、右目用調整画像50bをズーム調整可能としてもよい。   Further, in the above embodiment, correction due to the shift of the angle of view of the stereo camera is not mentioned. However, when the angle of view is shifted due to the shift of the focal length of the right stereo camera 23b, the size of the right-eye adjustment image 50b is shifted. Also in this case, the right-eye adjustment image 50b may be zoom-adjustable by the user as described above.

また、上記実施形態では、ユーザから右目用調整画像50bの移動指示がある毎に(図12のステップS7:YES)、右目用調整画像50bの表示位置の上下方向(y軸方向)の移動量(変位量)を上下変位データ503として更新(記憶)するものとした(図12のステップS9)。しかし、これに代え、ステップS9において、CPU311は、ユーザから右目用調整画像50bの移動指示がある毎に、右目用調整画像50bの最新の表示位置をデータ記憶領域500の所定のデータとして更新(記憶)するものとしてもよい。この場合、ユーザから立体視表示の指示があると(図19のステップS10:YES)、ステップS11において、CPU311は、ステップS9で更新した右目用調整画像50bの最新の表示位置と、ステップS6で表示された右目用調整画像50bの表示位置との上下方向の変位量に基づいて、表示調整パラメータを算出する。   Further, in the above embodiment, every time the user gives an instruction to move the right-eye adjustment image 50b (step S7: YES in FIG. 12), the amount of movement in the vertical direction (y-axis direction) of the display position of the right-eye adjustment image 50b. (Displacement amount) is updated (stored) as vertical displacement data 503 (step S9 in FIG. 12). However, instead of this, in step S9, the CPU 311 updates the latest display position of the right-eye adjustment image 50b as predetermined data in the data storage area 500 every time the user gives an instruction to move the right-eye adjustment image 50b ( It may be stored. In this case, when there is a stereoscopic display instruction from the user (step S10: YES in FIG. 19), in step S11, the CPU 311 displays the latest display position of the right-eye adjustment image 50b updated in step S9, and in step S6. Display adjustment parameters are calculated based on the amount of vertical displacement from the display position of the displayed right-eye adjustment image 50b.

また、上記実施形態では、半透明表示された右目用調整画像50bがユーザの指示によって移動可能であるとした。しかし、これに代え、半透明表示されていない左目用調整画像50aが移動可能であるとしてもよい。   In the above-described embodiment, the right-eye adjustment image 50b displayed semi-transparently can be moved by a user instruction. However, instead of this, the adjustment image 50a for the left eye that is not translucently displayed may be movable.

また、上記実施形態では、右目用調整画像50bが半透明表示されるものとしたが、右目用調整画像50bと左目用調整画像50aの視認性が確保される態様であれば、両画像が半透明表示されるものとしてもよいし、両画像が半透明表示されない(通常表示される)ものとしてもよい。   In the above embodiment, the right-eye adjustment image 50b is displayed semi-transparently. However, if the visibility of the right-eye adjustment image 50b and the left-eye adjustment image 50a is ensured, both images are semi-transparent. It may be displayed in a transparent manner, or both images may not be displayed in a semi-transparent manner (normally displayed).

また、上記実施形態では、半透明表示された右目用調整画像50bのみがユーザの指示によって移動可能としたが、右目用調整画像50b及び左目用調整画像50aの両画像がユーザの指示によって移動可能であるとしてもよい。この場合、右目用調整画像50bが左目用調整画像50aに対して相対的に上下方向(y軸方向)に変位した変位量に基づいて上下変位データ503が決定されればよい。   In the above embodiment, only the right-eye adjustment image 50b displayed semi-transparently can be moved by the user's instruction, but both the right-eye adjustment image 50b and the left-eye adjustment image 50a can be moved by the user's instruction. It may be. In this case, the vertical displacement data 503 may be determined based on the displacement amount in which the right-eye adjustment image 50b is displaced in the vertical direction (y-axis direction) relative to the left-eye adjustment image 50a.

また、上記実施形態では、左ステレオカメラ23aに対する右ステレオカメラ23bの光学的位置のずれ(すなわち、左目用調整画像50aに対する右目用調整画像50bの変位量)に基づいて、右目用調整画像50bの表示位置を補正するものとした。しかし、これに代え、両ステレオカメラにそれぞれ所定の基準となる光学的位置を設定し(すなわち、両画像にそれぞれ所定の基準となる表示位置を設定し)、両画像を移動可能として両画像の所定の基準位置からのずれ(変位量)に基づいて、両画像の表示位置を補正するものとしてもよい。   In the above-described embodiment, the right-eye adjustment image 50b is shifted based on the optical position shift of the right stereo camera 23b with respect to the left stereo camera 23a (that is, the amount of displacement of the right-eye adjustment image 50b with respect to the left-eye adjustment image 50a). The display position was corrected. However, instead of this, optical positions serving as predetermined references are set for both stereo cameras (that is, display positions serving as predetermined references are set for both images), and both images can be moved so that both images can be moved. The display positions of both images may be corrected based on a deviation (displacement amount) from a predetermined reference position.

また、上記実施形態では、調整画像を取得するために、左目用画像及び右目用画像のいずれか一方が平面視表示されるものとした(図12のステップS3)。しかし、これに代え、調整画像を取得するために上側LCD22の表示画面上に表示される画像は、立体視画像であってもよい。すなわち、ステップS3において、GPU312は、ステップS2で取得した両画像を表示パラメータに基づいて立体視表示してもよい。この場合、ユーザは、上側LCD22に表示される立体視画像を視認しながら所望の撮像対象を選択してシャッターボタンを押下することによって、当該立体視画像を調整画像として決定する。   Moreover, in the said embodiment, in order to acquire an adjustment image, either one of the image for left eyes and the image for right eyes shall be displayed by planar view (step S3 of FIG. 12). However, instead of this, the image displayed on the display screen of the upper LCD 22 to obtain the adjustment image may be a stereoscopic image. That is, in step S3, the GPU 312 may stereoscopically display both images acquired in step S2 based on the display parameters. In this case, the user determines the stereoscopic image as an adjustment image by selecting a desired imaging target while visually recognizing the stereoscopic image displayed on the upper LCD 22 and pressing the shutter button.

また、上記実施形態では、表示調整処理(図12参照)において、表示パラメータを初期パラメータにする(戻す)場合(ステップS1:YES)にも、立体視表示が可能であるとした(ステップS21〜S24)。しかし、表示パラメータを初期パラメータに戻す場合には、立体視表示はされないものとしてもよい。すなわち、ステップS21〜S24の処理は省略されてもよい。   In the above-described embodiment, stereoscopic display is possible even when the display parameter is set to the initial parameter (returned) (step S1: YES) in the display adjustment process (see FIG. 12) (steps S21 to S21). S24). However, when the display parameter is returned to the initial parameter, the stereoscopic display may not be performed. That is, the processes in steps S21 to S24 may be omitted.

また、上記実施形態において、ステレオカメラ撮像モードから表示調整モードは自由に切り替え可能であり、表示調整モードが終了すると自動的にステレオカメラ撮像モードに戻る(切り替わる)設定としてもよい。   In the above-described embodiment, the display adjustment mode can be freely switched from the stereo camera imaging mode, and the display adjustment mode may be set to automatically return (switch) to the stereo camera imaging mode when the display adjustment mode ends.

また、上記実施形態では、下側LCD12の表示画面に表示されたタッチパネルのボタン等をタッチすることによって、右目用調整画像50bが移動可能とした。しかし、これに代え、各操作ボタン14A〜14Lが用いられることによって右目用調整画像50bが移動可能としてもよい。   In the above-described embodiment, the right-eye adjustment image 50b can be moved by touching a button on the touch panel displayed on the display screen of the lower LCD 12. However, instead of this, the right-eye adjustment image 50b may be movable by using the operation buttons 14A to 14L.

また、上記実施形態では、上側LCD22に表示される立体視画像が、裸眼で立体視できる画像であるものとして説明した。しかし、上側LCD22には、立体視できる画像が表示されればよく、例えば、ユーザが立体視用の眼鏡をかけることによって立体視できる画像(つまり、左目用画像と右目用画像とが時分割で交互に表示される画像)が表示されてもよい。   In the above embodiment, the stereoscopic image displayed on the upper LCD 22 has been described as an image that can be stereoscopically viewed with the naked eye. However, the upper LCD 22 only needs to display an image that can be viewed stereoscopically. For example, an image that can be viewed stereoscopically by the user wearing stereoscopic glasses (that is, an image for the left eye and an image for the right eye are time-divided. Alternately displayed images) may be displayed.

また、上記実施形態では、外側撮像部(左)23aの撮像方向および外側撮像部(右)23bの撮像方向は平行であるとし、平行法によって被写体が撮像されるものとした。しかし、これに限らず、例えば両撮像部の撮像方向は平行ではなく交差しており、交差法によって被写体が撮像されてもよい。   In the above embodiment, the imaging direction of the outer imaging unit (left) 23a and the imaging direction of the outer imaging unit (right) 23b are assumed to be parallel, and the subject is imaged by the parallel method. However, the present invention is not limited to this. For example, the imaging directions of the two imaging units may cross each other instead of being parallel, and the subject may be imaged by the intersection method.

また、上記実施形態では、表示調整パラメータの保存先は、データ保存用内部メモリ35であるとした。しかし、これに代え、表示調整パラメータの保存先は、外部の(取り外し可能な)不揮発性メモリ等であってもよい。また、表示調整処理(図12、図13参照)で参照される各種パラメータデータ等は、メインメモリ32上で参照され、或いは更新されるものとしたが、これに代え、キャッシュメモリ上で参照され、或いは更新されるものとしてもよい。   In the above embodiment, the storage destination of the display adjustment parameter is the data storage internal memory 35. However, instead of this, the display adjustment parameter storage destination may be an external (removable) nonvolatile memory or the like. Further, various parameter data and the like referred to in the display adjustment processing (see FIGS. 12 and 13) are referred to or updated on the main memory 32. Instead, they are referred to on the cache memory. Alternatively, it may be updated.

また、上記実施形態は、本発明をゲーム装置10に適用したものであるが、本発明はゲーム装置10に限定されない。例えば、携帯電話機、簡易型携帯電話機(PHS)、PDA等の携帯情報端末にも本発明の適用は可能である。また、据え置き型ゲーム機やパーソナルコンピュータ等にも本発明の適用は可能である。   Moreover, although the said embodiment applies this invention to the game device 10, this invention is not limited to the game device 10. FIG. For example, the present invention can be applied to a portable information terminal such as a cellular phone, a simple cellular phone (PHS), and a PDA. The present invention can also be applied to stationary game machines, personal computers, and the like.

また、上記実施形態では、1つのゲーム装置10で上述した処理を実行しているが、有線又は無線で通信可能な複数の装置で上記処理を分担してもよい。   Moreover, in the said embodiment, although the process mentioned above is performed with the one game device 10, you may share the said process with the some apparatus which can communicate by wire or radio | wireless.

また、上記実施形態において、ゲーム装置10の形状や、それに設けられている各種操作ボタン14等、タッチパネル13の形状、数、及び設置位置等は、単なる一例に過ぎず他の形状、数、及び設置位置であっても、本発明を実現できることは言うまでもない。また、上述した情報処理で用いられる処理順序、設定値、判定に用いられる値等は、単なる一例に過ぎず、本発明の範囲を逸脱しなければ他の順序や値であっても、本発明を実現できることは言うまでもない。   In the above embodiment, the shape of the game apparatus 10 and the various operation buttons 14 provided thereon, the shape, number, and installation position of the touch panel 13 are merely examples, and other shapes, numbers, and It goes without saying that the present invention can be realized even at the installation position. In addition, the processing order, setting values, values used for determination, and the like used in the information processing described above are merely examples, and other orders and values may be used without departing from the scope of the present invention. It goes without saying that can be realized.

また、上記実施形態のゲーム装置10において実行される各種情報処理プログラムは、外部メモリ44等の記憶媒体を通じてゲーム装置10に供給されるだけでなく、有線又は無線の通信回線を通じてゲーム装置10に供給されてもよい。また、上記プログラムは、ゲーム装置10内部の不揮発性記憶装置(データ保存用内部メモリ35等)に予め記録されていてもよい。なお、上記プログラムを記憶する情報記憶媒体としては、不揮発性メモリの他に、CD−ROM、DVD、或いはそれらに類する光学式ディスク状記憶媒体、フレキシブルディスク、ハードディスク、光磁気ディスク、磁気テープ等であってもよい。また、上記プログラムを記憶する情報記憶媒体としては、上記プログラムを一時的に記憶する揮発性メモリでもよい。   In addition, various information processing programs executed in the game device 10 of the above embodiment are not only supplied to the game device 10 through a storage medium such as the external memory 44 but also supplied to the game device 10 through a wired or wireless communication line. May be. The program may be recorded in advance in a non-volatile storage device (such as the internal data storage memory 35) inside the game apparatus 10. In addition to the nonvolatile memory, the information storage medium for storing the program includes CD-ROM, DVD, or similar optical disk storage medium, flexible disk, hard disk, magneto-optical disk, magnetic tape, etc. There may be. The information storage medium that stores the program may be a volatile memory that temporarily stores the program.

以上、本発明を詳細に説明してきたが、上述の説明はあらゆる点において本発明の例示に過ぎず、その範囲を限定しようとするものではない。本発明の範囲を逸脱することなく種々の改良や変形を行うことができることは言うまでもない。   Although the present invention has been described in detail above, the above description is merely illustrative of the present invention in all respects and is not intended to limit the scope thereof. It goes without saying that various improvements and modifications can be made without departing from the scope of the present invention.

10 ゲーム装置
11 下側ハウジング
12 下側LCD
13 タッチパネル
14 操作ボタン
15 アナログスティック
16 LED
21 上側ハウジング
22 上側LCD
23 外側撮像部
23a 外側撮像部(左)
23b 外側撮像部(右)
24 内側撮像部
25 3D調整スイッチ
26 3Dインジケータ
28 タッチペン
31 情報処理部
32 メインメモリ
50 被写体
50a 左目用調整画像
50b 右目用調整画像
311 CPU
312 GPU
313 VRAM
10 Game device 11 Lower housing 12 Lower LCD
13 Touch Panel 14 Operation Buttons 15 Analog Stick 16 LED
21 Upper housing 22 Upper LCD
23 Outside imaging unit 23a Outside imaging unit (left)
23b Outside imaging unit (right)
24 Inner imaging unit 25 3D adjustment switch 26 3D indicator 28 Touch pen 31 Information processing unit 32 Main memory 50 Subject 50a Adjustment image for left eye 50b Adjustment image for right eye 311 CPU
312 GPU
313 VRAM

Claims (18)

ステレオ撮像部によって被写体を撮像し、立体視可能な撮像画像を取得する、記憶部を備えた撮像装置のコンピュータで実行される情報処理プログラムであって、
前記コンピュータを、
前記ステレオ撮像部によって任意の撮像対象を撮像し、当該ステレオ撮像部のうち第1撮像部による撮像画像を第1仮撮像画像とし、第2撮像部による撮像画像を第2仮撮像画像として、それぞれ取得する仮撮像画像取得手段と、
前記第1仮撮像画像及び前記第2仮撮像画像を、表示部上に表示させる仮撮像画像表示手段と、
ユーザからの入力を受け付ける入力受付手段と、
前記入力受付手段によって受け付けられた所定の入力に基づいて、前記第1仮撮像画像及び前記第2仮撮像画像の少なくとも一方の表示位置を変更させる表示位置変更手段と、
前記表示位置変更手段によって変更された前記第1仮撮像画像及び/又は前記第2仮撮像画像の表示位置の変位に基づいて、前記第1撮像部及び前記第2撮像部で撮像した画像の少なくとも一方の表示部上の表示位置を補正する補正量を算出する補正量算出手段と、
前記補正量算出手段によって算出された補正量を、前記第1仮撮像画像及び第2仮撮像画像と関連付けずに前記記憶部に記憶する記憶制御手段として機能させる、情報処理プログラム。
An information processing program executed by a computer of an imaging apparatus including a storage unit that captures a subject with a stereo imaging unit and obtains a stereoscopically captured image,
The computer,
An arbitrary imaging target is imaged by the stereo imaging unit, an image captured by the first imaging unit among the stereo imaging units is used as a first temporary captured image, and an image captured by the second imaging unit is used as a second temporary captured image. Provisional captured image acquisition means for acquiring;
Temporary captured image display means for displaying the first temporary captured image and the second temporary captured image on a display unit;
Input receiving means for receiving input from the user;
Display position changing means for changing a display position of at least one of the first temporary captured image and the second temporary captured image based on a predetermined input received by the input receiving means;
Based on the displacement of the display position of the first temporary captured image and / or the second temporary captured image changed by the display position changing means, at least of the images captured by the first imaging unit and the second imaging unit Correction amount calculating means for calculating a correction amount for correcting the display position on one display unit;
An information processing program causing a correction amount calculated by the correction amount calculation unit to function as a storage control unit that stores the correction amount in the storage unit without associating the correction amount with the first temporary captured image and the second temporary captured image.
前記コンピュータを、
前記第1仮撮像画像及び前記第2仮撮像画像とは別に前記第1撮像部で撮像した第1画像及び前記第2撮像部で撮像した第2画像の少なくとも一方の表示部上の表示位置を、前記補正量に基づいて補正する補正手段と、
前記第1画像及び前記第2画像を、前記補正手段による補正結果に基づいて、前記表示部上に立体視表示させる立体視表示制御手段として更に機能させる、請求項1に記載の情報処理プログラム。
The computer,
A display position on a display unit of at least one of the first image captured by the first imaging unit and the second image captured by the second imaging unit separately from the first temporary captured image and the second temporary captured image. Correction means for correcting based on the correction amount;
The information processing program according to claim 1, further causing the first image and the second image to further function as a stereoscopic display control unit that stereoscopically displays the first image and the second image on the display unit based on a correction result by the correction unit.
前記補正量算出手段は、前記第1仮撮像画像及び/又は前記第2仮撮像画像の上下方向の表示位置の変位のみに基づいて前記補正量を算出する請求項1又は2に記載の情報処理プログラム。   3. The information processing according to claim 1, wherein the correction amount calculating unit calculates the correction amount based only on a vertical display position displacement of the first temporary captured image and / or the second temporary captured image. program. 前記記憶部には、前記第1画像及び前記第2画像の前記表示部上の表示位置を決定するための表示パラメータが格納され、
前記仮撮像画像表示手段は、前記第1仮撮像画像及び前記第2仮撮像画像を、前記表示パラメータに基づいて表示部上に表示させ、
前記補正手段は、前記補正量に基づいて補正された表示パラメータに基づいて、前記第1画像及び前記第2画像の少なくとも一方の前記表示部上の表示位置を補正する、請求項2又は3に記載の情報処理プログラム。
The storage unit stores display parameters for determining display positions of the first image and the second image on the display unit,
The temporary captured image display means displays the first temporary captured image and the second temporary captured image on a display unit based on the display parameter,
The correction means corrects a display position on the display unit of at least one of the first image and the second image based on a display parameter corrected based on the correction amount. The information processing program described.
前記コンピュータを、
前記入力受付手段によって受け付けられた決定入力に基づいて、前記第1仮撮像画像及び/又は前記第2仮撮像画像の表示位置を決定する表示位置決定手段と、
前記第1画像及び前記第2画像の少なくとも一方の前記表示部上の表示位置を補正するための表示調整パラメータを算出する表示調整パラメータ算出手段として更に機能させ、
前記記憶制御手段は、前記表示調整パラメータを前記表示パラメータとして更新して前記記憶部に記憶させ、
前記表示位置変更手段は、前記入力受付手段によって受け付けられた第1入力に基づいて、前記第1仮撮像画像の表示位置を変更させ、
前記表示位置決定手段は、前記決定入力に基づいて、前記第1仮撮像画像の表示位置を、前記表示位置変更手段による変更後の表示位置に決定し、
前記表示調整パラメータ算出手段は、前記表示位置決定手段によって決定された前記第1仮撮像画像の表示位置と、前記表示位置変更手段による変更前の前記第1仮撮像画像の表示位置との変位である第1変位に基づいて、前記表示調整パラメータを算出し、
前記補正手段は、前記記憶部に更新された前記表示パラメータに基づいて、前記第1画像及び前記第2画像の少なくとも一方の前記表示部上の表示位置を補正する、請求項4に記載の情報処理プログラム。
The computer,
Display position determining means for determining a display position of the first temporary captured image and / or the second temporary captured image based on a determination input received by the input receiving means;
Further functioning as display adjustment parameter calculation means for calculating a display adjustment parameter for correcting a display position on the display unit of at least one of the first image and the second image,
The storage control means updates the display adjustment parameter as the display parameter and stores it in the storage unit,
The display position changing means changes the display position of the first provisional captured image based on the first input received by the input receiving means,
The display position determining means determines the display position of the first provisionally captured image based on the determination input as the display position after being changed by the display position changing means,
The display adjustment parameter calculating means is a displacement between the display position of the first temporary captured image determined by the display position determining means and the display position of the first temporary captured image before being changed by the display position changing means. Based on a certain first displacement, the display adjustment parameter is calculated,
The information according to claim 4, wherein the correction unit corrects a display position on the display unit of at least one of the first image and the second image based on the display parameter updated in the storage unit. Processing program.
前記表示位置変更手段は、更に、前記入力受付手段によって受け付けられた第2入力に基づいて、前記第2仮撮像画像の表示位置を変更させ、
前記表示位置決定手段は、前記決定入力に基づいて、前記第1仮撮像画像及び前記第2仮撮像画像の表示位置を、前記表示位置変更手段による変更後の表示位置に決定し、
前記表示調整パラメータ算出手段は、前記表示位置決定手段によって決定された前記第2仮撮像画像の表示位置と、前記表示位置変更手段による変更前の前記第2仮撮像画像の表示位置との変位である第2変位、及び前記第1変位に基づいて、前記表示調整パラメータを算出する、請求項5に記載の情報処理プログラム。
The display position changing means further changes the display position of the second temporary captured image based on the second input received by the input receiving means,
The display position determining means determines the display positions of the first temporary captured image and the second temporary captured image based on the determination input as the display positions after being changed by the display position changing means,
The display adjustment parameter calculation means is a displacement between the display position of the second temporary captured image determined by the display position determination means and the display position of the second temporary captured image before being changed by the display position changing means. The information processing program according to claim 5, wherein the display adjustment parameter is calculated based on a certain second displacement and the first displacement.
前記表示調整パラメータ算出手段は、前記第2変位に対する前記第1変位の相対的な変位に基づいて、前記表示調整パラメータを算出する請求項6に記載の情報処理プログラム。   The information processing program according to claim 6, wherein the display adjustment parameter calculation unit calculates the display adjustment parameter based on a relative displacement of the first displacement with respect to the second displacement. 前記表示調整パラメータ算出手段は、前記第1変位の上下方向の変位のみに基づいて、前記表示調整パラメータを算出する請求項5に記載の情報処理プログラム。   The information processing program according to claim 5, wherein the display adjustment parameter calculation unit calculates the display adjustment parameter based only on a vertical displacement of the first displacement. 前記表示調整パラメータ算出手段は、前記第1変位及び前記第2変位の上下方向の変位のみに基づいて、前記表示調整パラメータを算出する請求項6又は7に記載の情報処理プログラム。   The information processing program according to claim 6 or 7, wherein the display adjustment parameter calculation unit calculates the display adjustment parameter based only on a vertical displacement of the first displacement and the second displacement. 前記記憶制御手段は、前記入力受付手段が前記第1入力を受け付ける度に、前記表示位置変更手段によって変更された前記第1仮撮像画像の表示位置を前記記憶部に記憶させ、
前記入力受付手段が切替入力を受け付けたときに、
前記表示調整パラメータ算出手段は、前記記憶部に記憶された前記第1仮撮像画像の表示位置と、前記表示位置変更手段による変更前の前記第1仮撮像画像の表示位置との変位である第3変位に基づいて、前記表示調整パラメータを算出し、
前記立体視表示制御手段は、前記第1画像及び前記第2画像を、前記算出された表示調整パラメータに基づいて、前記表示部上に立体視表示させる、請求項5ないし9のいずれかに記載の情報処理プログラム。
The storage control unit causes the storage unit to store the display position of the first temporary captured image changed by the display position changing unit every time the input receiving unit receives the first input,
When the input receiving means receives a switching input,
The display adjustment parameter calculation means is a displacement between the display position of the first temporary captured image stored in the storage unit and the display position of the first temporary captured image before being changed by the display position changing means. Based on the three displacements, the display adjustment parameter is calculated,
10. The stereoscopic display control unit according to claim 5, wherein the stereoscopic display control unit causes the first image and the second image to be stereoscopically displayed on the display unit based on the calculated display adjustment parameter. Information processing program.
前記記憶制御手段は、更に、前記入力受付手段が前記第2入力を受け付ける度に、前記表示位置変更手段によって変更された前記第2仮撮像画像の表示位置を前記記憶部に記憶させ、
前記入力受付手段が切替入力を受け付けたときに、
前記表示調整パラメータ算出手段は、前記記憶部に記憶された前記第2仮撮像画像の表示位置と、前記表示位置変更手段による変更前の前記第2仮撮像画像の表示位置との変位である第4変位、及び前記第3変位に基づいて、前記表示調整パラメータを算出し、
前記立体視表示制御手段は、前記第1画像及び前記第2画像を、前記算出された表示調整パラメータに基づいて、前記表示部上に立体視表示させる、請求項10に記載の情報処理プログラム。
The storage control unit further causes the storage unit to store the display position of the second temporary captured image changed by the display position changing unit every time the input receiving unit receives the second input.
When the input receiving means receives a switching input,
The display adjustment parameter calculation means is a displacement between a display position of the second temporary captured image stored in the storage unit and a display position of the second temporary captured image before being changed by the display position changing means. Calculating the display adjustment parameter based on four displacements and the third displacement;
The information processing program according to claim 10, wherein the stereoscopic display control unit causes the first image and the second image to be stereoscopically displayed on the display unit based on the calculated display adjustment parameter.
前記仮撮像画像表示手段は、前記第1仮撮像画像及び前記第2仮撮像画像の両仮撮像画像のうち少なくとも一方を半透明表示にしたうえで、当該両仮撮像画像を表示部上に表示させる、請求項1ないし11のいずれかに記載の情報処理プログラム。   The temporary captured image display means displays at least one of the first temporary captured image and the second temporary captured image as a semi-transparent display and displays the temporary captured image on the display unit. The information processing program according to any one of claims 1 to 11. 前記仮撮像画像表示手段は、前記第1仮撮像画像及び前記第2仮撮像画像を、表示部上に平面視表示させる、請求項1ないし12のいずれかに記載の情報処理プログラム。   The information processing program according to any one of claims 1 to 12, wherein the temporary captured image display unit displays the first temporary captured image and the second temporary captured image in a plan view on a display unit. 前記記憶部には、前記第1画像及び前記第2画像の前記表示部上の予め設定された初期表示位置を規定する初期パラメータが予め格納され、
前記記憶制御手段は、前記入力受付手段が初期化入力を受け付けたときに、前記初期パラメータを前記表示パラメータとして更新して前記記憶部に記憶させる、請求項5ないし13のいずれかに記載の情報処理プログラム。
The storage unit stores in advance an initial parameter that defines a preset initial display position on the display unit of the first image and the second image,
14. The information according to claim 5, wherein the storage control unit updates the initial parameter as the display parameter and stores it in the storage unit when the input receiving unit receives an initialization input. Processing program.
前記表示位置変更手段は、前記所定の入力に基づいて、前記第1仮撮像画像及び前記第2仮撮像画像の少なくとも一方の表示位置を左右方向及び上下方向に変更させる、請求項1ないし14のいずれかに記載の情報処理プログラム。   15. The display position changing unit according to claim 1, wherein the display position changing unit changes a display position of at least one of the first temporary captured image and the second temporary captured image in a horizontal direction and a vertical direction based on the predetermined input. An information processing program according to any one of the above. ステレオ撮像部によって被写体を撮像し、立体視可能な撮像画像を取得する、記憶部を備えた撮像装置であって、
前記ステレオ撮像部によって任意の撮像対象を撮像し、当該ステレオ撮像部のうち第1撮像部による撮像画像を第1仮撮像画像とし、第2撮像部による撮像画像を第2仮撮像画像として、それぞれ取得する仮撮像画像取得手段と、
前記第1仮撮像画像及び前記第2仮撮像画像を、表示部上に表示させる仮撮像画像表示手段と、
ユーザからの入力を受け付ける入力受付手段と、
前記入力受付手段によって受け付けられた所定の入力に基づいて、前記第1仮撮像画像及び前記第2仮撮像画像の少なくとも一方の表示位置を変更させる表示位置変更手段と、
前記表示位置変更手段によって変更された前記第1仮撮像画像及び/又は前記第2仮撮像画像の表示位置の変位に基づいて、前記第1撮像部及び前記第2撮像部で撮像した画像の少なくとも一方の表示部上の表示位置を補正する補正量を算出する補正量算出手段と、
前記補正量算出手段によって算出された補正量を、前記第1仮撮像画像及び第2仮撮像画像と関連付けずに前記記憶部に記憶する記憶制御手段とを備える、撮像装置。
An imaging device including a storage unit that captures a subject with a stereo imaging unit and obtains a stereoscopically captured image,
An arbitrary imaging target is imaged by the stereo imaging unit, an image captured by the first imaging unit among the stereo imaging units is used as a first temporary captured image, and an image captured by the second imaging unit is used as a second temporary captured image. Provisional captured image acquisition means for acquiring;
Temporary captured image display means for displaying the first temporary captured image and the second temporary captured image on a display unit;
Input receiving means for receiving input from the user;
Display position changing means for changing a display position of at least one of the first temporary captured image and the second temporary captured image based on a predetermined input received by the input receiving means;
Based on the displacement of the display position of the first temporary captured image and / or the second temporary captured image changed by the display position changing means, at least of the images captured by the first imaging unit and the second imaging unit Correction amount calculating means for calculating a correction amount for correcting the display position on one display unit;
An imaging apparatus comprising: a storage control unit that stores the correction amount calculated by the correction amount calculation unit in the storage unit without associating the correction amount with the first temporary captured image and the second temporary captured image.
ステレオ撮像部によって被写体を撮像し、立体視可能な撮像画像を取得する、記憶部を備えた撮像システムであって、
前記ステレオ撮像部によって任意の撮像対象を撮像し、当該ステレオ撮像部のうち第1撮像部による撮像画像を第1仮撮像画像とし、第2撮像部による撮像画像を第2仮撮像画像として、それぞれ取得する仮撮像画像取得手段と、
前記第1仮撮像画像及び前記第2仮撮像画像を、表示部上に表示させる仮撮像画像表示手段と、
ユーザからの入力を受け付ける入力受付手段と、
前記入力受付手段によって受け付けられた所定の入力に基づいて、前記第1仮撮像画像及び前記第2仮撮像画像の少なくとも一方の表示位置を変更させる表示位置変更手段と、
前記表示位置変更手段によって変更された前記第1仮撮像画像及び/又は前記第2仮撮像画像の表示位置の変位に基づいて、前記第1撮像部及び前記第2撮像部で撮像した画像の少なくとも一方の表示部上の表示位置を補正する補正量を算出する補正量算出手段と、
前記補正量算出手段によって算出された補正量を、前記第1仮撮像画像及び第2仮撮像画像と関連付けずに前記記憶部に記憶する記憶制御手段とを備える、撮像システム。
An imaging system including a storage unit that captures a subject with a stereo imaging unit and obtains a stereoscopically captured image,
An arbitrary imaging target is imaged by the stereo imaging unit, an image captured by the first imaging unit among the stereo imaging units is used as a first temporary captured image, and an image captured by the second imaging unit is used as a second temporary captured image. Provisional captured image acquisition means for acquiring;
Temporary captured image display means for displaying the first temporary captured image and the second temporary captured image on a display unit;
Input receiving means for receiving input from the user;
Display position changing means for changing a display position of at least one of the first temporary captured image and the second temporary captured image based on a predetermined input received by the input receiving means;
Based on the displacement of the display position of the first temporary captured image and / or the second temporary captured image changed by the display position changing means, at least of the images captured by the first imaging unit and the second imaging unit Correction amount calculating means for calculating a correction amount for correcting the display position on one display unit;
An imaging system comprising: a storage control unit that stores the correction amount calculated by the correction amount calculating unit in the storage unit without associating the correction amount with the first temporary captured image and the second temporary captured image.
ステレオ撮像部によって被写体を撮像し、立体視可能な撮像画像を取得する撮像方法であって、
前記ステレオ撮像部によって任意の撮像対象を撮像し、当該ステレオ撮像部のうち第1撮像部による撮像画像を第1仮撮像画像とし、第2撮像部による撮像画像を第2仮撮像画像として、それぞれ取得する仮撮像画像取得ステップと、
前記第1仮撮像画像及び前記第2仮撮像画像を、表示部上に表示させる仮撮像画像表示ステップと、
ユーザからの入力を受け付ける入力受付ステップと、
前記入力受付ステップによって受け付けられた所定の入力に基づいて、前記第1仮撮像画像及び前記第2仮撮像画像の少なくとも一方の表示位置を変更させる表示位置変更ステップと、
前記表示位置変更ステップによって変更された前記第1仮撮像画像及び/又は前記第2仮撮像画像の表示位置の変位に基づいて、前記第1撮像部及び前記第2撮像部で撮像した画像の少なくとも一方の表示部上の表示位置を補正する補正量を算出する補正量算出ステップと、
前記補正量算出ステップによって算出された補正量を、前記第1仮撮像画像及び第2仮撮像画像と関連付けずに撮像装置の記憶部に記憶する記憶制御ステップとを備える、撮像方法。
An imaging method for capturing a subject with a stereo imaging unit and acquiring a stereoscopically captured image,
An arbitrary imaging target is imaged by the stereo imaging unit, an image captured by the first imaging unit among the stereo imaging units is used as a first temporary captured image, and an image captured by the second imaging unit is used as a second temporary captured image. A provisional captured image acquisition step to acquire;
A temporary captured image display step of displaying the first temporary captured image and the second temporary captured image on a display unit;
An input receiving step for receiving input from the user;
A display position changing step for changing a display position of at least one of the first temporary captured image and the second temporary captured image based on the predetermined input received by the input receiving step;
Based on the displacement of the display position of the first temporary captured image and / or the second temporary captured image changed by the display position changing step, at least of the images captured by the first imaging unit and the second imaging unit A correction amount calculating step for calculating a correction amount for correcting the display position on one display unit;
An imaging method comprising: a storage control step of storing the correction amount calculated in the correction amount calculation step in a storage unit of the imaging apparatus without associating the correction amount with the first temporary captured image and the second temporary captured image.
JP2011038984A 2011-02-24 2011-02-24 Information processing program, imaging apparatus, imaging method, and imaging system Active JP5785732B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2011038984A JP5785732B2 (en) 2011-02-24 2011-02-24 Information processing program, imaging apparatus, imaging method, and imaging system
US13/404,562 US9167231B2 (en) 2011-02-24 2012-02-24 System and method for calibrating a stereoscopic camera based on manual alignment of test images

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011038984A JP5785732B2 (en) 2011-02-24 2011-02-24 Information processing program, imaging apparatus, imaging method, and imaging system

Publications (2)

Publication Number Publication Date
JP2012175685A true JP2012175685A (en) 2012-09-10
JP5785732B2 JP5785732B2 (en) 2015-09-30

Family

ID=46718740

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011038984A Active JP5785732B2 (en) 2011-02-24 2011-02-24 Information processing program, imaging apparatus, imaging method, and imaging system

Country Status (2)

Country Link
US (1) US9167231B2 (en)
JP (1) JP5785732B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016186031A1 (en) * 2015-05-20 2016-11-24 株式会社ソニー・インタラクティブエンタテインメント Information processing device and information processing method

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105025284B (en) * 2014-04-18 2019-02-05 北京三星通信技术研究有限公司 Demarcate the method and apparatus that integration imaging shows the display error of equipment
US9716876B2 (en) * 2015-04-01 2017-07-25 Sony Corporation Power efficient multiple camera system
WO2017192995A1 (en) * 2016-05-06 2017-11-09 Vid Scale, Inc. Method and system for decoder-side intra mode derivation for block-based video coding
US10412361B1 (en) 2018-07-16 2019-09-10 Nvidia Corporation Generated stereoscopic video using zenith and nadir view perspectives

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0787385A (en) * 1993-09-10 1995-03-31 Canon Inc Image pickup device
JPH08317424A (en) * 1995-05-19 1996-11-29 Olympus Optical Co Ltd Stereoscopic photographing device
JP2000078615A (en) * 1998-09-02 2000-03-14 Sanyo Electric Co Ltd Digital broadcast receiver
JP2005110120A (en) * 2003-10-01 2005-04-21 Sharp Corp Stereoscopic image display apparatus and stereoscopic image display method
JP2005130312A (en) * 2003-10-24 2005-05-19 Sony Corp Stereoscopic vision image processing device, computer program, and parallax correction method
JP2006270265A (en) * 2005-03-22 2006-10-05 Fuji Photo Film Co Ltd Compound-eye photographic instrument and its adjusting method
JP2010237582A (en) * 2009-03-31 2010-10-21 Fujifilm Corp Three-dimensional imaging apparatus and three-dimensional imaging method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3792832B2 (en) 1997-05-07 2006-07-05 富士重工業株式会社 Stereo camera adjustment device
JP4234059B2 (en) 2003-06-06 2009-03-04 三菱電機株式会社 Camera calibration method and camera calibration apparatus
US20090237490A1 (en) * 2008-03-21 2009-09-24 Nelson Jr Douglas V System and method for stereoscopic image creation and transmission

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0787385A (en) * 1993-09-10 1995-03-31 Canon Inc Image pickup device
JPH08317424A (en) * 1995-05-19 1996-11-29 Olympus Optical Co Ltd Stereoscopic photographing device
JP2000078615A (en) * 1998-09-02 2000-03-14 Sanyo Electric Co Ltd Digital broadcast receiver
JP2005110120A (en) * 2003-10-01 2005-04-21 Sharp Corp Stereoscopic image display apparatus and stereoscopic image display method
JP2005130312A (en) * 2003-10-24 2005-05-19 Sony Corp Stereoscopic vision image processing device, computer program, and parallax correction method
JP2006270265A (en) * 2005-03-22 2006-10-05 Fuji Photo Film Co Ltd Compound-eye photographic instrument and its adjusting method
JP2010237582A (en) * 2009-03-31 2010-10-21 Fujifilm Corp Three-dimensional imaging apparatus and three-dimensional imaging method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016186031A1 (en) * 2015-05-20 2016-11-24 株式会社ソニー・インタラクティブエンタテインメント Information processing device and information processing method
JP2016218758A (en) * 2015-05-20 2016-12-22 株式会社ソニー・インタラクティブエンタテインメント Information processing apparatus and information processing method
US10638120B2 (en) 2015-05-20 2020-04-28 Sony Interactive Entertainment Inc. Information processing device and information processing method for stereoscopic image calibration

Also Published As

Publication number Publication date
JP5785732B2 (en) 2015-09-30
US9167231B2 (en) 2015-10-20
US20120218388A1 (en) 2012-08-30

Similar Documents

Publication Publication Date Title
JP5541974B2 (en) Image display program, apparatus, system and method
JP5689707B2 (en) Display control program, display control device, display control system, and display control method
JP4869430B1 (en) Image processing program, image processing apparatus, image processing system, and image processing method
US9693039B2 (en) Hand-held electronic device
JP5702653B2 (en) Information processing program, information processing apparatus, information processing system, and information processing method
WO2011148544A1 (en) Portable electronic device
JP6148714B2 (en) Portable electronic devices
JP5725902B2 (en) Image processing program, image processing apparatus, image processing method, and image processing system
JP5785732B2 (en) Information processing program, imaging apparatus, imaging method, and imaging system
JP5764390B2 (en) Image generation program, image generation method, image generation apparatus, and image generation system
JP5602702B2 (en) Image processing program, image processing apparatus, image processing system, and image processing method
JP2012142804A (en) Display control program, display controller, display control method, and display control system
JP5723149B2 (en) Image processing system, image processing program, image processing method, and image processing apparatus
JP5525924B2 (en) Stereoscopic image display program, stereoscopic image display device, stereoscopic image display system, and stereoscopic image display method
JP5770018B2 (en) Display control program, display control apparatus, display control method, and display control system
JP5739673B2 (en) Image display program, apparatus, system and method
JP5739670B2 (en) Image display program, apparatus, system and method
JP5548038B2 (en) Stereoscopic image display program, stereoscopic image display device, stereoscopic image display system, and stereoscopic image display method
JP2012175358A (en) Display control program, display control device, display control method and display control system
JP5541973B2 (en) Stereoscopic image display program, stereoscopic image display device, stereoscopic image display system, and stereoscopic image display method
JP5759797B2 (en) Image generation program, image generation method, image generation apparatus, and image generation system
JP5546960B2 (en) Stereoscopic image display program, stereoscopic image display device, stereoscopic image display system, and stereoscopic image display method
JP5739672B2 (en) Image display program, apparatus, system and method
JP5620748B2 (en) Portable electronic devices

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140121

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140728

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140804

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141002

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141218

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150213

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150727

R150 Certificate of patent or registration of utility model

Ref document number: 5785732

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

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