JP2013059586A - Image processing apparatus, processing method and program - Google Patents
Image processing apparatus, processing method and program Download PDFInfo
- Publication number
- JP2013059586A JP2013059586A JP2011201393A JP2011201393A JP2013059586A JP 2013059586 A JP2013059586 A JP 2013059586A JP 2011201393 A JP2011201393 A JP 2011201393A JP 2011201393 A JP2011201393 A JP 2011201393A JP 2013059586 A JP2013059586 A JP 2013059586A
- Authority
- JP
- Japan
- Prior art keywords
- unit
- screen
- image
- line
- updates
- 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
Links
- 238000003672 processing method Methods 0.000 title claims description 8
- 230000008859 change Effects 0.000 claims abstract description 21
- 238000001514 detection method Methods 0.000 claims description 27
- 238000013459 approach Methods 0.000 claims description 17
- 230000010365 information processing Effects 0.000 description 30
- 238000003384 imaging method Methods 0.000 description 23
- 238000004891 communication Methods 0.000 description 15
- 238000000034 method Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 11
- 230000008569 process Effects 0.000 description 11
- 238000003825 pressing Methods 0.000 description 7
- 230000008901 benefit Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000004886 process control Methods 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000004888 barrier function Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
- A63F13/525—Changing parameters of virtual cameras
- A63F13/5252—Changing parameters of virtual cameras using two or more virtual cameras concurrently or sequentially, e.g. automatically switching between fixed virtual cameras when a character changes room or displaying a rear-mirror view in a car-driving game
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/20—Input arrangements for video game devices
- A63F13/21—Input arrangements for video game devices characterised by their sensors, purposes or types
- A63F13/211—Input arrangements for video game devices characterised by their sensors, purposes or types using inertial sensors, e.g. accelerometers or gyroscopes
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
- A63F13/525—Changing parameters of virtual cameras
- A63F13/5255—Changing parameters of virtual cameras according to dedicated instructions from a player, e.g. using a secondary joystick to rotate the camera around a player's character
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/80—Special adaptations for executing a specific game genre or game mode
- A63F13/837—Shooting of targets
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04815—Interaction with a metaphor-based environment or interaction object displayed as three-dimensional, e.g. changing the user viewpoint with respect to the environment or object
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/20—Input arrangements for video game devices
- A63F13/21—Input arrangements for video game devices characterised by their sensors, purposes or types
- A63F13/214—Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
- A63F13/2145—Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/20—Input arrangements for video game devices
- A63F13/21—Input arrangements for video game devices characterised by their sensors, purposes or types
- A63F13/218—Input arrangements for video game devices characterised by their sensors, purposes or types using pressure sensors, e.g. generating a signal proportional to the pressure applied by the player
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/10—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
- A63F2300/105—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals using inertial sensors, e.g. accelerometers, gyroscopes
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/20—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterised by details of the game platform
- A63F2300/204—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterised by details of the game platform the platform being a handheld device
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/60—Methods for processing data by generating or executing the game program
- A63F2300/66—Methods for processing data by generating or executing the game program for rendering three dimensional images
- A63F2300/6661—Methods for processing data by generating or executing the game program for rendering three dimensional images for changing the position of the virtual camera
- A63F2300/6676—Methods for processing data by generating or executing the game program for rendering three dimensional images for changing the position of the virtual camera by dedicated player input
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2354/00—Aspects of interface with display user
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Processing Or Creating Images (AREA)
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
本発明は、ユーザに、画面に対して正しい向きで操作させるのに好適な画像処理装置、処理方法、ならびに、プログラムに関する。 The present invention relates to an image processing apparatus, a processing method, and a program suitable for causing a user to operate in a correct orientation with respect to a screen.
従来から、携帯型ゲーム装置や携帯電話等、手元で画面の向きを変更できる携帯型情報処理装置が知られている。近年では、これらの携帯型情報処理装置において、立体視を行うことが可能である。例えば、特許文献1には、携帯型ゲーム装置の画面に表示する立体画像を生成する技術が開示されている。
2. Description of the Related Art Conventionally, portable information processing devices that can change the orientation of a screen at hand, such as portable game devices and mobile phones, are known. In recent years, these portable information processing devices can perform stereoscopic viewing. For example,
しかしながら、携帯型情報処理装置は、手元で容易に画面の向きを変更することができるので、ユーザは画面に対して正対せずに操作をおこなうことがある。携帯型情報処理装置においては、画面に正対せず、向きを変えてしまうと、表示されている画像が見難い、あるいは、立体視が正確に行えないという問題があった。 However, since the portable information processing apparatus can easily change the orientation of the screen at hand, the user may perform an operation without facing the screen. In the portable information processing apparatus, if the orientation is changed without facing the screen, there is a problem that it is difficult to see the displayed image or that the stereoscopic view cannot be accurately performed.
本発明は、上記のような課題を解決するもので、ユーザに、画面に対して正しい向きで操作させるのに好適な画像処理装置、処理方法、ならびに、プログラムを提供することを目的とする。 SUMMARY An advantage of some aspects of the invention is that it provides an image processing apparatus, a processing method, and a program suitable for causing a user to operate in a correct orientation with respect to a screen.
本発明の第1の観点に係る画像処理装置は、記憶部と、表示部と、受付部と、検知部と、更新部と、を備え、以下のように構成する。なお、以下では、カメラの撮影位置をユーザが任意に指定することができ、撮影された画像が表示される画面の向きを、手元で変更できる画像処理装置を例に説明する。 An image processing apparatus according to a first aspect of the present invention includes a storage unit, a display unit, a reception unit, a detection unit, and an update unit, and is configured as follows. In the following, an image processing apparatus will be described as an example in which the user can arbitrarily specify the shooting position of the camera and can change the orientation of the screen on which the shot image is displayed.
記憶部には、視点位置及び視線方向が記憶される。 The storage unit stores the viewpoint position and the line-of-sight direction.
視点位置とは、例えば、現実空間を撮影するカメラの撮影位置である。また、視線方向とは、例えば、現実空間を撮影するカメラの撮影方向である。例えば、記憶部には、カメラの撮影位置及び撮影方向の情報が記憶される。 The viewpoint position is, for example, a photographing position of a camera that photographs a real space. The line-of-sight direction is, for example, the shooting direction of a camera that shoots a real space. For example, information on the shooting position and shooting direction of the camera is stored in the storage unit.
表示部は、視点位置及び視線方向から撮影された画像を画面に表示する。 The display unit displays an image photographed from the viewpoint position and the line-of-sight direction on the screen.
例えば、表示部は、カメラの撮影位置から撮影方向に向かって撮影された現実空間の画像を画面に表示する。 For example, the display unit displays an image of the real space photographed from the photographing position of the camera toward the photographing direction on the screen.
受付部は、指示操作を受け付ける。 The reception unit receives an instruction operation.
指示操作とは、例えば、カメラの撮影位置を指示する操作である。例えば、受付部は、ユーザより、カメラの撮影位置を指定する操作を受け付ける。 The instruction operation is an operation for instructing a shooting position of the camera, for example. For example, the reception unit receives an operation for designating the shooting position of the camera from the user.
検知部は、画面の向きの変化を検知する。 The detection unit detects a change in the orientation of the screen.
例えば、検知部は、ユーザにより画面の向きが変更されると、画面の向きの変化を検知する。 For example, when the orientation of the screen is changed by the user, the detection unit detects a change in the orientation of the screen.
更新部は、指示操作に基づいて、視点位置を更新し、画面の向きの変化に基づいて、視線方向を更新する。 The update unit updates the viewpoint position based on the instruction operation, and updates the line-of-sight direction based on a change in the screen orientation.
例えば、更新部は、カメラの撮影位置を、ユーザにより指定された位置に更新し、ユーザにより変更された画面の向きに基づいて、カメラの撮影方向を更新する。 For example, the update unit updates the shooting position of the camera to a position specified by the user, and updates the shooting direction of the camera based on the orientation of the screen changed by the user.
そして、更新部は、指示操作が受け付けられると、視線方向を初期方向に近づくように更新する。 Then, when the instruction operation is received, the update unit updates the line-of-sight direction so as to approach the initial direction.
初期方向とは、例えば、カメラの撮影方向であって、画面とユーザとが正対している状態で画面と直角をなす方向であるとする。更新部は、ユーザと画面とが正対しない場合、すなわち、撮影方向と初期方向とが異なる場合にカメラの撮影位置を指定する操作を受け付けると、撮影方向を初期方向に近づくように更新する。 The initial direction is, for example, a shooting direction of the camera, and is a direction perpendicular to the screen when the screen and the user are facing each other. The update unit updates the shooting direction so as to approach the initial direction when an operation for specifying the shooting position of the camera is received when the user and the screen do not face each other, that is, when the shooting direction and the initial direction are different.
本発明によれば、ユーザが画面に正対していない状態で、視点位置を移動させると、画面の向きにかかわらず視線方向が初期方向に更新されるので、ユーザが意図していない方向に視線方向が変更される。これにより、ユーザが画面に正対していないとユーザが意図したように画面に画像が表示されないので、ユーザに画面に正対して操作を行うように促すことができる。 According to the present invention, if the viewpoint position is moved while the user is not facing the screen, the line-of-sight direction is updated to the initial direction regardless of the direction of the screen. The direction is changed. As a result, an image is not displayed on the screen as intended by the user if the user is not facing the screen, and the user can be prompted to perform the operation facing the screen.
また、撮影された画像は、立体視用の画像であってもよい。 Further, the captured image may be a stereoscopic image.
例えば、カメラが撮影した画像は立体視用の画像であり、ユーザは、画面に正対している場合に、画像を立体視することができる。 For example, the image captured by the camera is a stereoscopic image, and the user can stereoscopically view the image when facing the screen.
本発明によれば、ユーザが画面に正対していないと画像を立体視することができない場合に、ユーザに画面に正対して操作を行うように促すことができる。 ADVANTAGE OF THE INVENTION According to this invention, when a user cannot be stereoscopically viewed if it is not facing the screen, the user can be prompted to perform the operation facing the screen.
また、撮影された画像は、仮想空間の様子を表す画像であってもよい。 Further, the captured image may be an image representing the state of the virtual space.
例えば、視点位置とは仮想空間内に配置される仮想カメラの撮影位置であり、視線方向とは仮想カメラの撮影方向である。表示部は、仮想カメラが撮影した仮想空間の様子を表す画像を画面に表示する。 For example, the viewpoint position is the shooting position of the virtual camera arranged in the virtual space, and the line-of-sight direction is the shooting direction of the virtual camera. The display unit displays an image representing a state of the virtual space captured by the virtual camera on the screen.
本発明によれば、仮想空間の画像を表示する画面に対して、ユーザを正対するように促すことができる。 According to the present invention, it is possible to prompt the user to face the screen that displays the image of the virtual space.
また、更新部は、1回の指示操作に対して所定の角度だけ初期方向に近づくように、視線方向を更新するようにしてもよい。 The updating unit may update the line-of-sight direction so as to approach the initial direction by a predetermined angle with respect to one instruction operation.
例えば、指示操作が所定のボタンの押圧であるとし、所定の角度を10度とする。例えば、視線方向が初期方向とは異なる場合に、ユーザが当該所定のボタンを1回押圧すると、更新部は、視線方向を現在の方向から10度だけ初期方向に近づくように更新する。 For example, it is assumed that the instruction operation is pressing a predetermined button, and the predetermined angle is 10 degrees. For example, when the line-of-sight direction is different from the initial direction, when the user presses the predetermined button once, the update unit updates the line-of-sight direction so as to approach the initial direction by 10 degrees from the current direction.
本発明によれば、視線方向を徐々に初期方向に近づけることができる。 According to the present invention, the line-of-sight direction can be gradually brought closer to the initial direction.
あるいは、所定の角度は、視線方向と初期方向とがなす角度に応じて定められるようにしてもよい。 Alternatively, the predetermined angle may be determined according to an angle formed by the line-of-sight direction and the initial direction.
例えば、所定の角度は、現在の視線方向と初期方向とのなす角度が大きいほど大きく定められる。例えば、更新部は、現在の視線方向と初期方向のなす角度が60度である場合は、1回の操作で10度だけ初期方向に近づき、現在の視線方向と初期方向の成す角度が30度の場合は、1回の操作で5度だけ初期方向に近づくように更新する。 For example, the predetermined angle is set to be larger as the angle formed by the current line-of-sight direction and the initial direction is larger. For example, when the angle formed by the current gaze direction and the initial direction is 60 degrees, the update unit approaches the initial direction by 10 degrees in one operation, and the angle formed by the current gaze direction and the initial direction is 30 degrees. In the case of, it is updated so as to approach the initial direction by 5 degrees in one operation.
本発明によれば、視線方向を滑らかに初期方向に近づけることができる。 According to the present invention, the line-of-sight direction can be smoothly brought close to the initial direction.
本発明の第2の観点に係る画像処理装置は、視点位置及び視線方向が記憶される記憶部と、表示部と、受付部と、検知部と、更新部と、を備える画像処理装置が実行する処理方法であって、表示工程と、受付工程と、検知工程と、更新工程と、を備え以下のように構成する。 An image processing apparatus according to a second aspect of the present invention is executed by an image processing apparatus including a storage unit that stores a viewpoint position and a line-of-sight direction, a display unit, a reception unit, a detection unit, and an update unit. This processing method includes a display process, a reception process, a detection process, and an update process, and is configured as follows.
表示工程において、表示部が、視点位置及び視線方向から撮影された画像を画面に表示する。
受付工程において、受付部が、指示操作を受け付ける。
検知工程において、検知部が、画面の向きの変化を検知する。
更新工程において、更新部が、指示操作に基づいて、視点位置を更新し、画面の向きの変化に基づいて、視線方向を更新する。
また、更新工程において、更新部は、指示操作が受け付けられると、視線方向を初期方向に近づくように更新する。
In the display step, the display unit displays an image taken from the viewpoint position and the line-of-sight direction on the screen.
In the reception process, the reception unit receives an instruction operation.
In the detection step, the detection unit detects a change in the orientation of the screen.
In the update step, the update unit updates the viewpoint position based on the instruction operation, and updates the line-of-sight direction based on the change in the screen orientation.
In the updating process, when the instruction operation is accepted, the updating unit updates the line-of-sight direction so as to approach the initial direction.
本発明のその他の観点に係るプログラムは、コンピュータを上記画像処理装置として機能させ、コンピュータに上記処理方法を実行させるように構成する。 A program according to another aspect of the present invention is configured to cause a computer to function as the image processing apparatus and to cause the computer to execute the processing method.
また、本発明のプログラムは、コンパクトディスク、フレキシブルディスク、ハードディスク、光磁気ディスク、ディジタルビデオディスク、磁気テープ、半導体メモリ等のコンピュータ読取可能な情報記録媒体に記録することができる。 The program of the present invention can be recorded on a computer-readable information recording medium such as a compact disk, flexible disk, hard disk, magneto-optical disk, digital video disk, magnetic tape, and semiconductor memory.
上記プログラムは、プログラムが実行されるコンピュータとは独立して、コンピュータ通信網を介して配布・販売することができる。また、上記情報記録媒体は、コンピュータとは独立して配布・販売することができる。 The above program can be distributed and sold via a computer communication network independently of the computer on which the program is executed. The information recording medium can be distributed and sold independently of the computer.
本発明によれば、ユーザに、画面に対し正しい向きで操作させるのに好適な画像処理装置、処理方法、ならびに、プログラムを提供することができる。 According to the present invention, it is possible to provide an image processing apparatus, a processing method, and a program suitable for causing a user to operate in a correct orientation with respect to a screen.
(携帯型情報処理装置の概要構成)
実施形態に係る画像処理装置が実現される典型的な携帯型情報処理装置について説明する。なお、以下では、理解を容易にするため、ゲーム用の携帯型情報処理装置を利用して本発明が実現される実施形態を説明するが、以下に説明する実施形態は説明のためのものであり、本願発明の範囲を制限するものではない。したがって、当業者であればこれらの各要素もしくは全要素をこれと均等なものに置換した実施形態を採用することが可能であるが、これらの実施形態も本発明の範囲に含まれる。
(Outline configuration of portable information processing device)
A typical portable information processing apparatus in which the image processing apparatus according to the embodiment is realized will be described. In the following, in order to facilitate understanding, an embodiment in which the present invention is realized using a portable information processing device for games will be described. However, the embodiment described below is for explanation. There is no limitation on the scope of the present invention. Therefore, those skilled in the art can employ embodiments in which each or all of these elements are replaced with equivalent ones, and these embodiments are also included in the scope of the present invention.
図1は、本発明の実施形態に係る画像処理装置100が実現される典型的な携帯型情報処理装置1の概要構成を示す図である。また、図2に携帯型情報処理装置1の外観図を示す。以下、これらの図を参照して説明する。
FIG. 1 is a diagram showing a schematic configuration of a typical portable
携帯型情報処理装置1は、図1に示すように、処理制御部10と、コネクタ11と、カートリッジ12と、無線通信部13と、通信コントローラ14と、サウンドアンプ15と、スピーカ16と、マイク17と、操作キー18と、第1の表示部19と、第2の表示部20と、タッチパネル21と、カメラ22と、角速度センサ23と、を備える。また、携帯型情報処理装置1は、図2に示すように、上側筐体31と下側筐体32とから構成され、上側筐体31と下側筐体32とは開閉可能に接続されている。
As shown in FIG. 1, the portable
処理制御部10は、CPU(Central Processing Unit)コア10aと、画像処理部10bと、VRAM(Video Random Access Memory)10cと、WRAM(Work RAM)10dと、LCD(Liquid Crystal Display)コントローラ10eと、タッチパネルコントローラ10fと、を備える。
The
CPUコア10aは、携帯型情報処理装置1全体の動作を制御し、各構成要素と接続され制御信号やデータをやりとりする。具体的には、カートリッジ12がコネクタ11に装着された状態で、カートリッジ12内のROM(Read Only Memory)12aに記憶されたプログラムやデータを読み出して、所定の処理を実行する。
The
画像処理部10bは、カートリッジ12内のROM 12aから読み出されたデータ、カメラ22により撮影された画像のデータ、または、CPUコア10aにて処理されたデータを加工処理した後、これをVRAM 10cに格納する。
The image processing unit 10b processes the data read from the
VRAM 10cは、表示用の情報を記憶するフレームメモリであり、画像処理部10b等により加工された画像情報を記憶する。
The
WRAM 10dは、CPUコア10aがプログラムに従った各種処理を実行する際に必要となるワークデータ等を記憶する。
The
LCDコントローラ10eは、第1の表示部19及び第2の表示部20を制御し、所定の表示用画像を表示させる。例えば、LCDコントローラ10eは、VRAM 10cに記憶された画像情報を、所定の同期タイミングで表示信号に変換し、第1の表示部19に出力する。また、LCDコントローラ10eは、第2の表示部20に所定の指示アイコン等を表示する。
The
タッチパネルコントローラ10fは、タッチペンやユーザの指によるタッチパネル21への接触(タッチ)を検出する。例えば、第2の表示部20に所定の指示アイコン等が表示されている状態で、タッチパネル21上の接触、及びその位置等を検出する。
The touch panel controller 10f detects a touch (touch) on the
コネクタ11は、カートリッジ12と脱着自在に接続可能な端子であり、カートリッジ12が接続された際に、カートリッジ12との間で所定のデータを送受信する。
The connector 11 is a terminal that can be detachably connected to the
カートリッジ12は、ROM 12aと、RAM(Random Access Memory)12bと、を備える。
ROM 12aには、ゲームを実現するためのプログラムとゲームに付随する画像データや音声データ等が記憶される。
RAM 12bには、ゲームの進行状況等を示す種々のデータが記憶される。
The
The
The RAM 12b stores various data indicating the progress of the game.
無線通信部13は、他の携帯型情報処理装置1の無線通信部13との間で、無線通信を行うユニットであり、図示せぬアンテナ(内蔵アンテナ等)を介して所定のデータを送受信する。
なお、無線通信部13は、所定のアクセスポイントとの間で、無線LAN通信を行うこともできる。また、無線通信部13には、固有のMAC(Media Access Control)アドレスが採番されている。
The
The
通信コントローラ14は、無線通信部13を制御し、所定のプロトコルに沿って、処理制御部10と他の携帯型情報処理装置1の処理制御部10との間で行われる通信の仲立ちをする。
The
サウンドアンプ15は、処理制御部10にて生成された音声信号を増幅し、スピーカ16に供給する。
The
スピーカ16は、例えば、ステレオスピーカ等からなり、サウンドアンプ15にて増幅された音声信号に従って、所定の楽曲音や効果音等を出力する。
The
マイク17は、ユーザの声等のアナログ信号を受け付け、受け付けた信号は処理制御部10でミキシング等の処理がされる。
The
操作キー18は、携帯型情報処理装置1に適宜配置された方向キー18aやボタン18b等から構成され、ユーザの操作に従って、所定の指示入力を受け付ける。操作キー18には、音量を調節するためのボタンや、つまみ等も含まれる。
The
第1の表示部19及び第2の表示部20は、LCD等からなり、LCDコントローラ10eに制御され、ゲーム画像等を適宜表示する。第1の表示部19は上側筐体31に備えられ、第2の表示部20は下側筐体32に備えられる。第1の表示部19は、プレイヤに立体視をさせることが可能な立体画像(以下、「立体視用画像」という)を表示する。立体視用画像は、例えば、パララックスバリア方式による裸眼立体視が可能な画像、あるいは、所定のメガネを装着して画面を見ることにより立体視が可能な画像である。一方、第2の表示部20は、立体視用画像ではなく通常の画像を表示する。
The
タッチパネル21は、第2の表示部20の前面に重畳して配置され、タッチペンやユーザの指の接触による入力を受け付ける。タッチパネル21は、例えば、感圧式のタッチセンサパネル等からなり、ユーザの指等の圧力を検出し、接触状態、及び、接触状態から非接触状態への移行等を検出する。なお、タッチパネル21は、他に静電容量の変化等から、ユーザの指等の接触を検出してもよい。
The
カメラ22は、ユーザの指示に従い周辺の空間等を撮影し、撮影した映像を電気信号に変換する。カメラ22は、例えば、CMOS(Complimentary MOS)センサ等から構成される。カメラ22は、上側筐体31の裏側に配置される(図2(b))。
The
角速度センサ23は、携帯型情報処理装置1の3軸周り(図2(a)、xyz軸)に生じる角速度をそれぞれ検知し、処理制御部10に検知した角速度のデータを出力する。処理制御部10は、角速度データに基づいて、携帯型情報処理装置1の姿勢や動きを求める。
The
なお、各実施形態に係る画像処理装置100は、上述した典型的な携帯型情報処理装置1上に実現されるが、一般的なコンピュータやゲーム装置上に実現することもでき、これらの実施形態も本発明の範囲に含まれる。一般的なコンピュータやゲーム装置は、上記携帯型情報処理装置1と同様に、CPUコアや、VRAM、WRAM、を備える。また、通信部として、例えば、LAN(Local Area Network)を構成する際に用いられる10BASE−T/100BASE−Tなどの規格に準拠するNIC(Network Interface Controller)、記憶装置としてハードディスクを有する他、DVD−ROMや、光磁気ディスク等が利用できるようになっている。また、タッチパネルの代わりに、キーボードやマウスなどを利用する。そして、プログラムをインストールした後に、そのプログラムを実行させると、情報処理装置として機能させることができる。
The
以下、上記携帯型情報処理装置1により実現される画像処理装置100の機能について、図1乃至図15を参照して説明する。ゲーム用のプログラム及びデータを記憶したカートリッジ12をコネクタ11に装着して、携帯型情報処理装置1の電源を投入することにより、当該プログラムが実行され、実施形態に係る画像処理装置100が実現される。
Hereinafter, functions of the
(ゲームの概要)
まず、実施形態に係る画像処理装置100が実行するゲームの例について説明する。図3にゲームの仮想空間の例を示す。
(Outline of the game)
First, an example of a game executed by the
本ゲームの仮想空間は横長のフィールド300であり、フィールドの両端には、プレイヤの基地であるプレイヤベース201と、敵の基地である敵ベース202と、が配置される。本ゲームにおいて、プレイヤは、プレイヤベース201を守りつつ、敵ベース202を陥落させることが求められる。
The virtual space of this game is a horizontally
プレイヤは、プレイヤが操作するキャラクタ(プレイヤキャラクタ203)を敵ベース202に向かわせて攻撃をしかけたり、プレイヤ砲弾205を敵ベース202に向けて射出したりすることにより、敵ベース202を陥落させる。また、プレイヤは、敵キャラクタ204及び敵砲弾206による攻撃からプレイヤベース201を守る。
The player causes the
仮想空間のフィールド300は広いため、すべてが画面に収まらず、画面に表示される画像はフィールド300の一部である。画面には、仮想空間に配置される仮想カメラ400により撮影された画像が表示される。仮想カメラ400は、直線401の上を平行移動し、後述するマニュアルモード又はオートモードで移動させることができる。例えば、図3は、直線401上の仮想カメラ400から撮影方向403に見た画像301が画面に表示されることを示している。
Since the
仮想カメラ400を移動させる手法には、プレイヤが任意に動かすことができるマニュアルモードと、プログラムに従って、随時最も重要と思われる撮影位置を自動的に選択されるオートモードがある。マニュアルモードでは、プレイヤが、例えば、方向キー18aの右方向または左方向を押圧することにより、仮想カメラ400を直線401上で動かすことができる。オートモードでは、例えば、ゲームプレイ中に起こるイベントについて優先度が設定されており、仮想カメラ400は、当該優先度に基づいて、当該イベントが画面に表示されるように自動的に移動する。
As a method of moving the
イベントとは、例えば、プレイヤベース201の陥落(優先度:1)、敵ベース202の陥落(優先度:2)、プレイヤキャラクタ203の撃墜(優先度:3)、敵キャラクタ204の撃墜(優先度:4)、プレイヤベースから射出されたプレイヤ砲弾205の先端(優先度:5)、敵ベースから射出された敵砲弾206の先端(優先度:6)、プレイヤキャラクタ203の出撃(優先度:7)、敵キャラクタ204の出撃(優先度:8)、プレイヤキャラクタ203の最前線(優先度:9)、敵キャラクタ204の最前線(優先度:10)、プレイヤベース201でのその他のイベント(優先度:11)、敵ベース202でのその他のイベント(優先度:12)、である。各イベントには予め優先度が設定される。そして、これらのイベントのいずれかが同時に発生した場合、優先度の高いイベントの画像が画面に表示されるように仮想カメラ400の位置が設定される。
The event includes, for example, a fall of the player base 201 (priority: 1), a fall of the enemy base 202 (priority: 2), a down shot of the player character 203 (priority: 3), and a down shot of the enemy character 204 (priority). : 4), the tip of the
例えば、図4に示すように、プレイヤベース201に敵砲弾206が命中し、プレイヤベース201が陥落されたとする。また、これと同時にプレイヤキャラクタ203と敵キャラクタ204とが対峙したとする。この場合、プレイヤベース201の陥落は優先度が1であり、プレイヤキャラクタ203の最前線は優先度が9であるので、プレイヤベース201の陥落が画面に表示されるように仮想カメラ400の位置が移動し、画像302が画面に表示される。
For example, as shown in FIG. 4, it is assumed that an
仮想カメラ400の移動をマニュアルモードで行うか、あるいはオートモードで行うかは、プレイヤが適宜設定することができる。例えば、ゲームは、プレイヤの攻撃と敵の攻撃とが交互に行われて進行し、プレイヤ又は敵の攻撃の初めには、オートモードに設定されるものとする。この場合、オートモードのときに、方向キー18aの押圧が検知されると、マニュアルモードに移行するようにしてもよい。
The player can appropriately set whether to move the
以下、マニュアルモードの場合における、画像処理装置100の機能について説明する。
Hereinafter, functions of the
(実施形態)
実施形態の画像処理装置100は、図5に示すように、記憶部101と、表示部102と、受付部103と、検知部104と、更新部105と、を備える。
(Embodiment)
As illustrated in FIG. 5, the
記憶部101は、視点位置及び視線方向が記憶される。
The
例えば、視点位置とは、仮想カメラ400の直線401上の位置(以下、「撮影位置」という)であり、視線方向とは、仮想カメラ400の撮影方向である。これらの値は、例えば、図6の撮影情報テーブル101aに登録される。
For example, the viewpoint position is a position on the
撮影情報テーブル101aには、仮想カメラ400の初期位置101a1と、初期方向101a2と、現在の撮影位置101a3と、撮影方向101a4と、が対応づけて登録されている。直線401の中央の位置(図3の仮想カメラ400の位置)を0[dot]とし、この位置を初期位置とする。撮影位置は、画面に向かって、フィールド300の右方向に移動した場合には正の値、フィールド300の左方向に移動した場合には負の値で表されるものとする。また、フィールド300に向かって直線401と直角をなす方向402を0[deg]とし、この方向を初期方向とする。撮影方向は、画面に向かって、フィールド300の右方向に向いた場合には正の値、フィールドの左方向に向いた場合には負の値で表されるものとする。
In the shooting information table 101a, the initial position 101a1, the initial direction 101a2, the current shooting position 101a3, and the shooting direction 101a4 of the
例えば、仮想カメラ400が、図3に示す撮影位置に配置され、撮影方向403を向いている場合、図6(a)の撮影情報テーブル101aが記憶部101に記憶される。
For example, when the
本実施形態において、WRAM 10dが記憶部101として機能する。
In the present embodiment, the
表示部102は、視点位置及び視線方向から撮影された画像を画面に表示する。
The
本実施形態において、撮影された画像は、仮想空間の画像であり、第1の表示部19に表示される立体視用の画像であるとする。
In the present embodiment, it is assumed that the captured image is a virtual space image and is a stereoscopic image displayed on the
例えば、記憶部101に、図6(a)の撮影情報テーブル101aが格納されている場合、表示部102は、当該撮影情報テーブル101aを参照して、初期位置の撮影位置から撮影方向303に撮影した画像301(図3)を画面に表示する。
For example, when the imaging information table 101a of FIG. 6A is stored in the
本実施形態において、処理制御部10及び第1の表示部19が協働して、表示部102として機能する。
In the present embodiment, the
受付部103は、指示操作を受け付ける。
The accepting
例えば、指示操作とは、仮想カメラ400の撮影位置を動かすための操作であり、方向キー18aの左方向又は右方向の押圧である。例えば、プレイヤが方向キー18aの左方向を押圧した場合、受付部103は、左方向に仮想カメラ400を動かす指示として当該押圧を受け付ける。あるいは、タッチパネル21により左方向又は右方向を指定する操作を受け付けるようにしてもよい。例えば、プレイヤがタッチパネル21に指で触れて、右方向に所定の距離だけ動かした場合、受付部103は、右方向に仮想カメラ400を動かす指示として、当該操作を受け付ける。
For example, the instruction operation is an operation for moving the shooting position of the
本実施形態において、処理制御部10及び操作キー18(あるいは、タッチパネル21)が協働して、受付部103として機能する。
In the present embodiment, the
検知部104は、画面の向きの変化を検知する。
The
ここで、画面の向きとは、立体視用画像を表示する第1の表示部19を有する上側筐体31の向きであるとする。図7に、携帯型情報処理装置1を把持してゲームプレイをするプレイヤ500と、携帯型情報処理装置1の上側筐体31(第1の表示部19)との位置関係を示す。図7(a)及び図7(b)は、プレイヤ500の真上から見た図である。画面の方向は、ユーザ500と平行な方向501に対して、直角をなす方向502を0[deg]とする。
Here, the orientation of the screen is assumed to be the orientation of the
図7(a)は、上側筐体31が有する第1の表示部19に対してプレイヤ500が正対するように、プレイヤ500が携帯型情報処理装置1を把持している様子を示している。ここで、「正対」とは、プレイヤの上体が画面に対して真正面に相対することをいい、立体視用画像が画面に表示される場合は、最も効果的に立体視を行うことができる配置である。この場合、検知部104は、画面の方向503を検知する。すなわち、画面方向503は0[deg]であり、検知部104は、画面の向きとして0[deg]を検知する。
FIG. 7A shows a state where the
図7(b)は、プレイヤ500が方向502から左側に30[deg]だけ、上側筐体31を傾けるように携帯型情報処理装置1を把持している様子を示している。この場合、検知部104は、画面の方向504を検知する。すなわち、検知部104は、画面の向きとして−30[deg]を検知する。
FIG. 7B shows a state in which the
本実施形態において、処理制御部10及び角速度センサ23が協働して、検知部104として機能する。
In the present embodiment, the
更新部105は、指示操作に基づいて、視点位置を更新し、画面の向きの変化に基づいて、視線方向を更新する。
The
ここで、図8乃至図12、14に、画面に表示される画像(図8(a)乃至図12(a)、図14(a))と、仮想カメラ400の撮影位置及び撮影方向(図8(b)乃至図12(b)、図14(b))と、画面の向き(図8(c)乃至図12(c)、図14(c))と、の関係を示す。以下、更新部105の機能について、これらの図を参照して説明する。
8 to 12 and 14, images displayed on the screen (FIG. 8A to FIG. 12A and FIG. 14A), the shooting position and shooting direction of the virtual camera 400 (see FIG. 8). 8 (b) to FIG. 12 (b) and FIG. 14 (b)) and the screen orientation (FIG. 8 (c) to FIG. 12 (c) and FIG. 14 (c)) are shown. Hereinafter, the function of the
例えば、図8(c)に示すように、プレイヤ500が上側筐体31と正対している状態で、プレイヤによる指示操作が未だ受け付けられていない場合、仮想カメラ400は、図8(b)に示すように、初期位置に配置され、初期方向(撮影方向403)を向く。撮影位置及び撮影方向は初期位置及び初期方向から変更されていないので、更新部105は、撮影位置及び撮影方向の更新を行わない。表示部102は、初期位置から初期方向に撮影した画像303(図8(a))を画面に表示する。画像303には、プレイヤキャラクタ203及びオブジェクト207が含まれる。
For example, as shown in FIG. 8C, when the
図9(c)に示すように、プレイヤ500が上側筐体31と正対している状態で、プレイヤ500が方向キー18aの左方向を押圧したとすると、受付部103は当該押圧を受け付け、更新部105は受け付けられた押圧に基づいて撮影位置を更新する。例えば、受付部103が左方向に150[dot]だけ移動させる押圧を受け付けたとすると、更新部105は、図6(b)に示すように、撮影情報テーブル101aの撮影位置101a3を“−150”[dot]に更新する。そして、表示部102は、更新された撮影情報テーブル101a(図6(b))を参照して撮影位置及び撮影方向を求め、初期位置から左に150[dot]だけ移動した撮影位置(図9(b))及び撮影方向403から撮影された画像304(図9(a))を、画面に表示する。
As shown in FIG. 9C, if the
また、図8に示した状態から、図10(c)に示すように、プレイヤ500が、第1の表示部19の向きが方向502から左に30[deg]だけ傾くように、携帯型情報処理装置1を傾けたとすると、検知部104は傾いた画面の方向504を検知し、更新部105は検知された方向504に基づいて撮影方向を更新する。例えば、検知部104が左方向に30[deg]の傾きを検知したとすると、更新部105は、図6(c)に示すように、撮影情報テーブル101aの撮影方向101a4を“−30”[deg]に更新する。そして、表示部102は、更新された撮影情報テーブル101a(図6(c))を参照して撮影位置及び撮影方向を求め、撮影位置(初期位置)及び撮影方向404(図10(b))から撮影された画像305(図10(a))を、画面に表示する。
Also, from the state shown in FIG. 8, as shown in FIG. 10C, the portable information is such that the
また、更新部105は、指示操作が受け付けられると、視線方向を初期方向に近づくように更新する。
In addition, when the instruction operation is accepted, the
図11(c)のように、プレイヤ500が、上側筐体31を左に傾けた状態で、方向キー18aの左方向を押圧したとすると、受付部103は当該押圧を受け付け、検知部104は上側筐体31の方向を検知する。更新部105は、受け付けられた押圧に基づいて撮影位置を更新し、検知された方向に基づいて撮影方向を更新する。ここで、プレイヤ500が、図10(b)の状態から方向キー18aで撮影位置を移動させようとした場合(例えば、左方向に移動させようとした場合)、図11(b)に示すように、撮影方向は方向404のままで、撮影位置だけが指定された位置に移動すると想定して、指示操作を行うのが一般的である。そして、上記のような指示操作を行ったプレイヤ500は、当該撮影位置から方向404に向けて撮影された画像306が表示部102により画面に表示されることを想定していると考えられる。これに対して本実施形態では、更新部105は、図12(b)に示すように、指定された撮影位置に仮想カメラ400が移動する間に、撮影方向を、方向404から初期方向の方向403へ、徐々に近づけるように、撮影方向を更新する。
As shown in FIG. 11C, if the
ここで、更新部105は、例えば、1回の指示操作に対して所定の角度だけ初期方向に近づくように視線方向を更新する。1回の指示操作とは、例えば、方向キー18aの左方向又は右方向の1回の押圧である。本実施形態では、1回の方向キー18aの押圧で50[dot]だけ、撮影位置が移動するものとする。
Here, for example, the updating
図13(a)に、現在の視線方向(撮影方向)と初期方向とのなす角度(以下、「現在の角度」という)と、所定の角度との関係の一例を示す。更新部105はこのグラフに従い撮影方向を更新する。例えば、図12(b)に示すように仮想カメラ400が初期位置に配置され、左方向に30[deg]傾いた状態で、方向キー18aの左方向を1回押圧すると、更新部105は、仮想カメラ400を直線401上の左方向に50[dot]だけ移動した位置に撮影位置を更新し、同時に、撮影方向を10[deg]だけ初期方向に近づくように更新する。すなわち、更新部105は、図6(c)の撮影情報テーブル101aから、図6(d)に示すように、撮影位置101a3を“−50”[dot]、撮影方向101a4を“−20”[deg](方向405)に更新する。そして、表示部102は、方向キー18aの押圧毎に更新される撮影情報テーブル101aを参照して撮影位置及び撮影方向を求め、当該撮影位置及び撮影方向から撮影された画像を表示する。方向キー18aが左方向に3回押圧され、撮影方向403に更新されると、表示部102は、初期位置から左に150[dot]だけ移動した撮影位置及び撮影方向403から撮影された画像307(図12(a))を、画面に表示する。
FIG. 13A shows an example of the relationship between an angle formed by the current line-of-sight direction (imaging direction) and the initial direction (hereinafter referred to as “current angle”) and a predetermined angle. The updating
なお、所定の角度は、一定の値ではなく、視線方向と初期方向とがなす角度(現在の角度)に応じて定められるようにしてもよい。例えば、図13(b)に示すように、現在の角度が大きいほど、所定の角度を大きく設定するようにしてもよい。 The predetermined angle may be determined according to an angle (current angle) formed by the line-of-sight direction and the initial direction, instead of a fixed value. For example, as shown in FIG. 13B, the predetermined angle may be set larger as the current angle is larger.
上側筐体31の向きがプレイヤに正対する方向(方向502)から傾けられた状態で、撮影位置を変更する操作が受け付けられると、更新部105は、上側筐体31(第1の表示部19)の向きにかかわらず撮影方向を更新するので、プレイヤ500の意図しない方向の画像307(図12(a))が表示される。すなわち、画面の向きは傾いているにも関わらず、画面には、仮想空間のフィールドに正対した場合に表示される画像307(図12(a))が表示される。このように、撮影方向を更新することにより、図14(c)に示すように、プレイヤ500に上側筐体31(第1の表示部19)に対して正対させるように促すことができる。
When an operation for changing the shooting position is received in a state where the orientation of the
本実施形態において、処理制御部10が更新部105として機能する。
In the present embodiment, the
(実施形態に係る画像処理装置の動作)
以下、本実施形態の画像処理装置100の各部が行う動作について説明する。画像処理装置100に電源が投入されると、CPUコア10aは、図15のフローチャートに示す画像処理を開始する。
(Operation of Image Processing Device According to Embodiment)
Hereinafter, operations performed by each unit of the
表示部102は、記憶部101に記憶された視点位置及び視線方向に基づいて、当該視点位置及び視線方向から撮影された画像を生成する(ステップS101)。例えば、表示部102は、撮影情報テーブル101aを参照して、撮影位置及び撮影方向から撮影した仮想空間の様子を表す画像を生成する。
Based on the viewpoint position and the line-of-sight direction stored in the
表示部102が生成した画像は、VRAM 10cに記憶される。表示部102は、垂直同期割り込みが生じるまでキューのクリアや、別のプロセスの処理などを行って待機する(ステップS102)。そして、垂直同期割り込みが生じると、表示部102は、VRAM 10cに記憶された画像情報を表示信号に変換し、第1の表示部19に表示する(ステップS103)。例えば、図8の画像303が第1の表示部19に表示される。
The image generated by the
受付部103は、指示操作を受け付けたか否かを判断する(ステップS104)。受付部103が、指示操作を受け付けたと判断すると(ステップS104;Yes)、次に、検知部104は、画面の向きを検知する(ステップS105)。一方、受付部103が指示操作を受け付けないと判断した場合も(ステップS104;No)、検知部104は、画面の向きを検知する(ステップS109)。
The accepting
例えば、受付部103は、方向キー18aの左方向又は右方向のいずれかが押圧されたか否かを判断する。受付部103が当該押圧を受け付けたか否か判断すると、検知部104は、現在の上側筐体31(第1の表示部19)の向きを検知する。なお、受付部103による指示操作を受け付けたか否かの判断と検知部104の画面の向きの検知とは、順序は逆でも、あるいは、同時に行われてもよい。
For example, the
ステップS105において、検知部104により画面の向きが検知されると、次に、更新部105は、当該画面の向きが初期方向であるか否かを判断する(ステップS106)。更新部105は、画面の向きが初期方向であると判断すると(ステップS106;Yes)、受付部103が受け付けた指示操作に基づいて記憶部101に記憶された視点位置を更新する(ステップS107)。一方、更新部105は、画面の向きが初期方向でないと判断すると(ステップS106;No)、受付部103が受け付けた指示操作に基づいて、記憶部101に記憶された視点位置を更新し、記憶部101に記憶された視線方向を、初期方向に近づくように更新する(ステップS108)。その後、ステップS101に戻る。
If the screen orientation is detected by the
例えば、方向キー18aの左方向を押圧され、上側筐体31が初期方向に向いている場合(図9)、更新部105は、方向キー18aの押圧に基づいて、撮影情報テーブル101aの撮影位置101a3を更新する。一方、方向キー18aの左方向を押圧され、上側筐体31の向きが初期方向から傾けられている場合(図12)、更新部105は、当該押圧に基づいて撮影情報テーブル101aの撮影位置101a3を更新し、上側筐体31の向きに関わらず撮影方向101a4を初期方向へ徐々に近づけるように更新する。そして、更新部105により撮影位置又は撮影方向が更新されると、表示部102は、更新後の撮影情報テーブル101aの撮影位置及び撮影方向から撮影された画像を第1の表示部19に表示する。
For example, when the left direction of the direction key 18a is pressed and the
ステップS109において、検知部104により画面の向きが検知されると、次に、更新部105は、当該画面の向きが初期方向であるか否かを判断する(ステップS110)。更新部105は、画面の向きが初期方向であると判断すると(ステップS110;Yes)、視点位置及び視線方向の更新は行わず、ステップS101に戻る。一方、更新部105は、画面の向きが初期方向でないと判断すると(ステップS110;No)、当該画面の向きに基づいて記憶部101に記憶された視線方向を更新する(ステップS111)。その後、ステップS101に戻る。
When the screen orientation is detected by the
例えば、プレイヤ500により方向キー18aの押圧がされず、上側筐体31の向きが初期方向から傾けられている場合(図10)、更新部105は、上側筐体31の向きに基づいて、撮影情報テーブル101aの撮影方向101a4を更新する。一方、プレイヤ500により方向キー18aの押圧がされず、上側筐体31の向きが初期方向である場合(図8)、更新部105は、撮影位置101a3及び撮影方向101a4の更新を行わない。そして、表示部102は、撮影情報テーブル101aの撮影位置及び撮影方向から撮影された画像を第1の表示部19に表示する。
For example, when the
通常のゲームでは、図14(c)に示したように、プレイヤは画面に対して正対した状態で操作されるのが望ましいが、手元で向きを変えることができる携帯型情報処理装置1の場合、図10(c)に示したように、プレイヤが画面に対して正対していない状態で操作してしまうことがある。特に、立体視用画像が表示されている場合は、画面に正対した状態でないと、画像の立体視が行えない場合もある。本発明によれば、プレイヤが画面に正対していない状態で仮想カメラを移動させようとすると、更新部105が撮影方向を仮想空間のフィールドに正対するように向きを更新して、正対した場合に表示される画像を画面に表示することにより、プレイヤに画面に対して正対させるように促すことができる。
In a normal game, as shown in FIG. 14C, it is desirable that the player is operated in a state of facing the screen. However, the portable
なお、実施形態では、仮想カメラの撮影位置及び撮影方向を例にとり画像処理装置100の動作を説明したが、これに限らない。例えば、現実空間を撮影するカメラの撮影位置及び撮影方向であってもよい。また、現実空間を撮影するカメラの場合、カメラは画面と同一の筐体に備わっていなくてもよい。例えば、カメラの撮影位置は遠隔でユーザが指定できるが、撮影方向はユーザが手元に持つ画面の向きに基づいて定められる装置の場合にも本発明を適用することができる。
In the embodiment, the operation of the
また、実施形態では、画面の向きを角速度センサにより検知することとしたが、これに限らない。例えば、カメラで撮影した撮影画像の変化から、画面の向きを求めるようにしてもよい。 In the embodiment, the screen orientation is detected by the angular velocity sensor. However, the present invention is not limited to this. For example, the orientation of the screen may be obtained from a change in a captured image captured by the camera.
本発明によれば、ユーザに、画面に対し正しい向きで操作させるのに好適な画像処理装置、処理方法、ならびに、プログラムを提供することができる。 According to the present invention, it is possible to provide an image processing apparatus, a processing method, and a program suitable for causing a user to operate in a correct orientation with respect to a screen.
1 携帯型情報処理装置
10 処理制御部
10a CPUコア
10b 画像処理部
10c VRAM
10d WRAM
10e LCDコントローラ
10f タッチパネルコントローラ
11 コネクタ
12 カートリッジ
12a ROM
12b RAM
13 無線通信部
14 通信コントローラ
15 サウンドアンプ
16 スピーカ
17 マイク
18 操作キー
18a 方向キー
18b ボタン
19 第1の表示部
20 第2の表示部
21 タッチパネル
22 カメラ
23 角速度センサ
31 上側筐体
32 下側筐体
100 画像処理装置
101 記憶部
102 表示部
103 受付部
104 検知部
105 更新部
201 プレイヤベース
202 敵ベース
203 プレイヤキャラクタ
204 敵キャラクタ
205 プレイヤ砲弾
206 敵砲弾
207 オブジェクト
300 フィールド
301、302、303、304、305、306、307 画像
400 仮想カメラ
401 直線
402 方向
403、404、405 撮影方向
500 プレイヤ
501、502 方向
503、504 画面の方向
DESCRIPTION OF
10d WRAM
10e LCD controller 10f Touch panel controller 11
12b RAM
13
Claims (7)
前記視点位置及び前記視線方向から撮影された画像を画面に表示する表示部と、
指示操作を受け付ける受付部と、
前記画面の向きの変化を検知する検知部と、
前記指示操作に基づいて、前記視点位置を更新し、前記画面の向きの変化に基づいて、前記視線方向を更新する更新部と、
を備え、
前記更新部は、前記指示操作が受け付けられると、前記視線方向を初期方向に近づくように更新する
ことを特徴とする画像処理装置。 A storage unit for storing a viewpoint position and a line-of-sight direction;
A display unit that displays an image captured from the viewpoint position and the line-of-sight direction on a screen;
A reception unit for receiving an instruction operation;
A detection unit for detecting a change in the orientation of the screen;
An update unit that updates the viewpoint position based on the instruction operation and updates the line-of-sight direction based on a change in the orientation of the screen;
With
The update unit updates the line-of-sight direction so as to approach the initial direction when the instruction operation is received.
前記撮影された画像は、立体視用の画像である
ことを特徴とする画像処理装置。 The image processing apparatus according to claim 1,
The captured image is an image for stereoscopic viewing.
前記撮影された画像は、仮想空間の様子を表す画像である
ことを特徴とする画像処理装置。 The image processing apparatus according to claim 1, wherein:
The captured image is an image representing a state of a virtual space.
前記更新部は、1回の前記指示操作に対して所定の角度だけ前記初期方向に近づくように、前記視線方向を更新する
ことを特徴とする画像処理装置。 The image processing apparatus according to any one of claims 1 to 3,
The update unit updates the line-of-sight direction so as to approach the initial direction by a predetermined angle with respect to one instruction operation.
前記所定の角度は、前記視線方向と前記初期方向とがなす角度に応じて定められる
ことを特徴とする画像処理装置。 The image processing apparatus according to claim 4,
The predetermined angle is determined in accordance with an angle formed by the line-of-sight direction and the initial direction.
前記表示部が、前記視点位置及び前記視線方向から撮影された画像を画面に表示する表示工程と、
前記受付部が、指示操作を受け付ける受付工程と、
前記検知部が、前記画面の向きの変化を検知する検知工程と、
前記更新部が、前記指示操作に基づいて、前記視点位置を更新し、前記画面の向きの変化に基づいて、前記視線方向を更新する更新工程と、
を備え、
前記更新工程において、前記更新部は、前記指示操作が受け付けられると、前記視線方向を初期方向に近づくように更新する
ことを特徴とする処理方法。 A processing method executed by an image processing apparatus including a storage unit that stores a viewpoint position and a line-of-sight direction, a display unit, a reception unit, a detection unit, and an update unit,
A display step in which the display unit displays an image captured from the viewpoint position and the line-of-sight direction on a screen;
A receiving step in which the receiving unit receives an instruction operation;
A detection step in which the detection unit detects a change in the orientation of the screen;
The update unit updates the viewpoint position based on the instruction operation, and updates the line-of-sight direction based on a change in the orientation of the screen;
With
In the updating step, when the instruction operation is received, the updating unit updates the line-of-sight direction so as to approach the initial direction.
視点位置及び視線方向が記憶される記憶部、
前記視点位置及び前記視線方向から撮影された画像を画面に表示する表示部、
指示操作を受け付ける受付部、
前記画面の向きの変化を検知する検知部、
前記指示操作に基づいて、前記視点位置を更新し、前記画面の向きの変化に基づいて、前記視線方向を更新する更新部、
として機能させ、
前記更新部が、前記指示操作が受け付けられると、前記視線方向を初期方向に近づくように更新する
ように機能させることを特徴とするプログラム。 Computer
A storage unit for storing a viewpoint position and a line-of-sight direction;
A display unit for displaying an image photographed from the viewpoint position and the line-of-sight direction on a screen;
A reception unit for receiving an instruction operation;
A detection unit for detecting a change in the orientation of the screen;
An update unit that updates the viewpoint position based on the instruction operation and updates the line-of-sight direction based on a change in the orientation of the screen,
Function as
When the instruction operation is accepted, the update unit causes the line-of-sight direction to update so as to approach the initial direction.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011201393A JP5113933B1 (en) | 2011-09-15 | 2011-09-15 | Image processing apparatus, processing method, and program |
PCT/JP2012/068813 WO2013038814A1 (en) | 2011-09-15 | 2012-07-25 | Image processing apparatus, processing method, program, and non-temporary recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011201393A JP5113933B1 (en) | 2011-09-15 | 2011-09-15 | Image processing apparatus, processing method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP5113933B1 JP5113933B1 (en) | 2013-01-09 |
JP2013059586A true JP2013059586A (en) | 2013-04-04 |
Family
ID=47676453
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011201393A Active JP5113933B1 (en) | 2011-09-15 | 2011-09-15 | Image processing apparatus, processing method, and program |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP5113933B1 (en) |
WO (1) | WO2013038814A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108970114A (en) * | 2018-08-21 | 2018-12-11 | 苏州蜗牛数字科技股份有限公司 | A method of visual field adjustment is realized by customized mapping keys |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6219037B2 (en) * | 2013-02-06 | 2017-10-25 | 任天堂株式会社 | Information processing program, information processing apparatus, information processing system, and information processing method |
JP6734236B2 (en) * | 2017-08-14 | 2020-08-05 | 株式会社 ディー・エヌ・エー | Program, system, and method for providing game |
JP2022051972A (en) * | 2019-02-06 | 2022-04-04 | ソニーグループ株式会社 | Information processing device and method, and program |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002298160A (en) * | 2001-03-29 | 2002-10-11 | Namco Ltd | Portable image generating device and program, and information storage medium |
JP2004166995A (en) * | 2002-11-20 | 2004-06-17 | Nintendo Co Ltd | Game device and information processor |
JP2011108256A (en) * | 2011-01-07 | 2011-06-02 | Nintendo Co Ltd | Information processing program, information processing method, information processing apparatus, and information processing system |
-
2011
- 2011-09-15 JP JP2011201393A patent/JP5113933B1/en active Active
-
2012
- 2012-07-25 WO PCT/JP2012/068813 patent/WO2013038814A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002298160A (en) * | 2001-03-29 | 2002-10-11 | Namco Ltd | Portable image generating device and program, and information storage medium |
JP2004166995A (en) * | 2002-11-20 | 2004-06-17 | Nintendo Co Ltd | Game device and information processor |
JP2011108256A (en) * | 2011-01-07 | 2011-06-02 | Nintendo Co Ltd | Information processing program, information processing method, information processing apparatus, and information processing system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108970114A (en) * | 2018-08-21 | 2018-12-11 | 苏州蜗牛数字科技股份有限公司 | A method of visual field adjustment is realized by customized mapping keys |
Also Published As
Publication number | Publication date |
---|---|
WO2013038814A1 (en) | 2013-03-21 |
JP5113933B1 (en) | 2013-01-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9098130B2 (en) | Computer-readable storage medium having stored thereon input processing program, input processing apparatus, input processing method, and input processing system | |
JP5541974B2 (en) | Image display program, apparatus, system and method | |
JP4869430B1 (en) | Image processing program, image processing apparatus, image processing system, and image processing method | |
US9602809B2 (en) | Storage medium storing display control program for providing stereoscopic display desired by user with simpler operation, display control device, display control method, and display control system | |
US9693039B2 (en) | Hand-held electronic device | |
WO2011148544A1 (en) | Portable electronic device | |
JP6148714B2 (en) | Portable electronic devices | |
JP2007017596A (en) | Portable terminal device | |
US20160059128A1 (en) | Information processing terminal, non-transitory storage medium encoded with computer readable information processing program, information processing terminal system, and information processing method | |
JP5602702B2 (en) | Image processing program, image processing apparatus, image processing system, and image processing method | |
JP5113933B1 (en) | Image processing apparatus, processing method, and program | |
JP5764390B2 (en) | Image generation program, image generation method, image generation apparatus, and image generation system | |
CN113509720A (en) | Playback method, device, terminal, server and storage medium for virtual battle | |
JP2015043355A (en) | Information processing apparatus and information processing system | |
JP5941620B2 (en) | Information processing program, information processing apparatus, information processing method, and information processing system | |
JP5785732B2 (en) | Information processing program, imaging apparatus, imaging method, and imaging system | |
JP4995935B2 (en) | Image generating apparatus, image processing method, and program | |
JP5926773B2 (en) | Peripheral device, information processing system, and connection method of peripheral device | |
JP5770018B2 (en) | Display control program, display control apparatus, display control method, and display control system | |
JP5777332B2 (en) | GAME DEVICE, GAME PROGRAM, GAME SYSTEM, AND GAME METHOD | |
JP5374461B2 (en) | Image processing system, image processing apparatus, image processing method, and program | |
JP2012175358A (en) | Display control program, display control device, display control method and display control system | |
JP5759797B2 (en) | Image generation program, image generation method, image generation apparatus, and image generation system | |
JP7210153B2 (en) | ELECTRONIC DEVICE, ELECTRONIC DEVICE CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM | |
JP6615944B2 (en) | Peripheral device, information processing system, and connection method of peripheral device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20121012 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151019 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5113933 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 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 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
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 |