Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4729604B2 - Image display system, image processing system, recording medium, and program - Google Patents
[go: Go Back, main page]

JP4729604B2 - Image display system, image processing system, recording medium, and program - Google Patents

Image display system, image processing system, recording medium, and program Download PDF

Info

Publication number
JP4729604B2
JP4729604B2 JP2008181944A JP2008181944A JP4729604B2 JP 4729604 B2 JP4729604 B2 JP 4729604B2 JP 2008181944 A JP2008181944 A JP 2008181944A JP 2008181944 A JP2008181944 A JP 2008181944A JP 4729604 B2 JP4729604 B2 JP 4729604B2
Authority
JP
Japan
Prior art keywords
image
card
identification
image data
cards
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2008181944A
Other languages
Japanese (ja)
Other versions
JP2008272509A (en
Inventor
祐介 渡辺
暁 宮木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Interactive Entertainment Inc
Original Assignee
Sony Interactive Entertainment Inc
Sony Computer Entertainment Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Interactive Entertainment Inc, Sony Computer Entertainment Inc filed Critical Sony Interactive Entertainment Inc
Priority to JP2008181944A priority Critical patent/JP4729604B2/en
Publication of JP2008272509A publication Critical patent/JP2008272509A/en
Application granted granted Critical
Publication of JP4729604B2 publication Critical patent/JP4729604B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

本発明は、机やテーブル等の上に置かれたカードを撮像し、その撮像した映像と共に、カードに貼付された識別画像で特定される識別番号に対応するオブジェクトの三次元画像を表示する画像表示システム、様々に配置されたカードの認識についての画像処理システム並びに記録媒体及びプログラムに関する。 The present invention captures an image of a card placed on a desk or table, and displays an image that displays a 3D image of an object corresponding to the identification number specified by the identification image attached to the card, along with the captured image. display system, an image processing system and recording medium, and a program for recognition of the card disposed in various.

近時、表面又は裏面に識別画像(二次元バーコード等)が貼付されたカードを例えばCCDカメラで撮像し、この撮像画像の画像データから前記カードに貼付された識別画像の画像データを探知し、探知された識別画像の画像データから前記カードの識別情報を検出する方法が特許文献1によって開示されている。   Recently, a card with an identification image (such as a two-dimensional barcode) attached to the front or back surface is imaged by, for example, a CCD camera, and the image data of the identification image attached to the card is detected from the image data of the captured image. Patent Document 1 discloses a method for detecting the identification information of the card from the image data of the detected identification image.

そして、この方法を発展させて、前記CCDカメラからの前記カードの画像を含むを撮像画像をモニタ上に表示すると共に、前記モニタに表示されている前記カードの画像上に、検出された前記識別情報に対応したオブジェクトの三次元画像を重畳して表示するようにした例が特許文献2によって明らかにされている。この方法によれば、実空間と仮想空間を融合した視覚効果を表現することが可能となる。   Then, this method is developed to display a captured image including an image of the card from the CCD camera on a monitor, and the detected identification on the image of the card displayed on the monitor An example in which a three-dimensional image of an object corresponding to information is superimposed and displayed is disclosed in Patent Document 2. According to this method, it is possible to express a visual effect that fuses real space and virtual space.

特開2000−82108号公報JP 2000-82108 A 特開2000−322602号公報JP 2000-322602 A

本発明は、上述した特許文献2の方法をさらに発展させて、様々なビデオゲームに簡単に適用させることができ、ビデオゲームの範疇の拡大化、多様化を図ることができる画像表示システム、画像処理システム、記録媒体及びプログラムを提供することを目的とする。 The present invention is to further develop the method of Patent Document 2 described above, various video can be easily applied to a game, expansion of the category of video games, an image display system capable of diversified, image An object is to provide an image processing system , a recording medium, and a program .

第1の本発明に係る画像表示システムは、コンピュータと、前記コンピュータに接続され、それぞれ識別画像が貼付された複数のカードを撮像する撮像手段と、前記コンピュータに接続された表示装置とを有する画像表示システムにおいて、前記撮像手段からの前記複数のカードの識別画像を含む撮像画像の画像データを前記表示装置に出力して、該表示装置に前記撮像画像を表示させる撮像画像表示制御手段と、前記撮像画像の画像データから前記複数のカードに貼付された各識別画像の画像データを探知する探知手段と、前記探知手段が探知した前記識別画像の画像データから前記カードの識別情報を検出する識別情報検出手段と、前記撮像画像のうち、特定の目的位置を設定する目的位置設定手段と、表示された前記複数のカードの識別画像上に、それぞれカードの識別情報に対応するオブジェクトの画像を重畳して表示するように制御するオブジェクト表示制御手段と、表示された前記オブジェクトの画像が前記特定の目的位置まで移動する表示を行うように制御するオブジェクト移動表示制御手段とを有することを特徴とする。
第2の本発明に係る記録媒体は、コンピュータと、前記コンピュータに接続され、それぞれ識別画像が貼付された複数のカードを撮像する撮像手段と、前記コンピュータに接続された表示装置とを有する画像表示システムを、前記撮像手段からの前記複数のカードの識別画像を含む撮像画像の画像データを前記表示装置に出力して、該表示装置に前記撮像画像を表示させる撮像画像表示制御手段、前記撮像画像の画像データから前記複数のカードに貼付された各識別画像の画像データを探知する探知手段、前記探知手段が探知した前記識別画像の画像データから前記カードの識別情報を検出する識別情報検出手段、前記撮像画像のうち、特定の目的位置を設定する目的位置設定手段、表示された前記複数のカードの識別画像上に、それぞれカードの識別情報に対応するオブジェクトの画像を重畳して表示するように制御するオブジェクト表示制御手段、表示された前記オブジェクトの画像が前記特定の目的位置まで移動する表示を行うように制御するオブジェクト移動表示制御手段として機能させるためのプログラムが記録されたコンピュータ読み取り可能な記録媒体である。
第3の本発明に係るプログラムは、コンピュータと、前記コンピュータに接続され、それぞれ識別画像が貼付された複数のカードを撮像する撮像手段と、前記コンピュータに接続された表示装置とを有する画像表示システムを、前記撮像手段からの前記複数のカードの識別画像を含む撮像画像の画像データを前記表示装置に出力して、該表示装置に前記撮像画像を表示させる撮像画像表示制御手段、前記撮像画像の画像データから前記複数のカードに貼付された各識別画像の画像データを探知する探知手段、前記探知手段が探知した前記識別画像の画像データから前記カードの識別情報を検出する識別情報検出手段、前記撮像画像のうち、特定の目的位置を設定する目的位置設定手段、表示された前記複数のカードの識別画像上に、それぞれカードの識別情報に対応するオブジェクトの画像を重畳して表示するように制御するオブジェクト表示制御手段、表示された前記オブジェクトの画像が前記特定の目的位置まで移動する表示を行うように制御するオブジェクト移動表示制御手段として機能させるためのプログラムである。
第1〜第3の本発明において、前記目的位置まで移動した前記オブジェクトの画像を、対応するカードの識別画像の位置まで移動する表示を行うように制御する第2オブジェクト移動表示制御手段とを有するようにしてもよい。
また、第1〜第3の本発明において、前記目的位置まで移動した前記オブジェクトの画像を消去する表示を行うように制御するオブジェクト消去表示制御手段と、消去した前記オブジェクトに対応するカードの識別情報を無効化する識別情報無効化手段とを有するようにしてもよい。
また、第1〜第3の本発明において、前記目的位置設定手段は、前記撮像画像のうち、予め決められた基準画像の画像データを検出する基準画像検出手段を有し、前記基準画像検出手段が検出した前記基準画像の位置を前記特定の目的位置とするようにしてもよい。
また、第1〜第3の本発明において、前記目的位置設定手段は、前記探知手段が探知した前記複数の識別画像の画像データに基づいて前記複数のカードの配置方向を検出する手段を有し、前記複数のカードの配置方向から前記特定の目的位置を設定するようにしてもよい。
また、第1〜第3の本発明において、前記目的位置設定手段は、前記探知手段が探知した前記複数の識別画像の画像データに基づいて前記複数のカードの配置方向を検出する手段と、表示されている複数のオブジェクトのうち、検出された前記複数のカードの配置方向に基づいて1つのオブジェクトを選択する手段とを有し、選択された前記1つのオブジェクトの位置を前記特定の目的位置とするようにしてもよい。
次に、第4の本発明に係る画像処理システムは、コンピュータと、前記コンピュータに接続され、識別画像が貼付されたカードを撮像する撮像手段とを有する画像処理システムにおいて、前記撮像手段からの撮像画像のうち、予め決められた基準画像の画像データを検出する基準画像検出手段と、前記基準画像検出手段が検出した前記基準画像の画像データの位置から前記撮像画像全体のカメラ座標系を求める座標系変換手段と、前記基準画像の画像データのカメラ座標に基づいて特定の探知領域を設定する探知領域設定手段と、前記撮像画像のうち、前記探知領域に含まれる画像データから前記カードに貼付された識別画像の画像データを探知する探知手段と、前記探知手段が探知した前記識別画像の画像データから前記カードの識別情報を検出する識別情報検出手段とを有することを特徴とする。
第5の本発明に係る記録媒体は、コンピュータと、前記コンピュータに接続され、識別画像が貼付されたカードを撮像する撮像手段とを有する画像処理システムを、前記撮像手段からの撮像画像のうち、予め決められた基準画像の画像データを検出する基準画像検出手段、前記基準画像検出手段が検出した前記基準画像の画像データの位置から前記撮像画像全体のカメラ座標系を求める座標系変換手段、前記基準画像の画像データのカメラ座標に基づいて特定の探知領域を設定する探知領域設定手段、前記撮像画像のうち、前記探知領域に含まれる画像データから前記カードに貼付された識別画像の画像データを探知する探知手段、前記探知手段が探知した前記識別画像の画像データから前記カードの識別情報を検出する識別情報検出手段として機能させるためのプログラムが記録されたコンピュータ読み取り可能な記録媒体である。
第6の本発明に係るプログラムは、コンピュータと、前記コンピュータに接続され、識別画像が貼付されたカードを撮像する撮像手段とを有する画像処理システムを、前記撮像手段からの撮像画像のうち、予め決められた基準画像の画像データを検出する基準画像検出手段、前記基準画像検出手段が検出した前記基準画像の画像データの位置から前記撮像画像全体のカメラ座標系を求める座標系変換手段、前記基準画像の画像データのカメラ座標に基づいて特定の探知領域を設定する探知領域設定手段、前記撮像画像のうち、前記探知領域に含まれる画像データから前記カードに貼付された識別画像の画像データを探知する探知手段、前記探知手段が探知した前記識別画像の画像データから前記カードの識別情報を検出する識別情報検出手段として機能させるためのプログラムである。
第4〜第6の発明において、前記特定の探知領域は、前記基準画像を中心とした矩形の領域であってもよく、前記基準画像を中心とした円形の領域であってもよい。
また、第4〜第6の発明において、前記識別情報検出手段は、前記探知手段が探知した前記カードの識別画像の画像データをアフィン変換して前記カードの識別情報を検出するようにしてもよい。
本発明では、表示されたカードの画像上に、該カードの識別情報に対応するオブジェクトが重畳して表示される。そして、このオブジェクトの画像が前記撮像画像上の所定位置まで移動することとなる。これは、例えばビデオゲームであれば、カードから登場したキャラクタが所定位置に移動して戦闘を行う等の表示が行われ、対戦ゲーム等に好適である。ここで、キャラクタとは、オブジェクトのうち、動きを伴うオブジェクトであって、人間や動物、あるいはテレビ番組やアニメーション映画等で登場する主人公等を模したオブジェクトを指す。
An image display system according to a first aspect of the present invention includes a computer, an imaging unit connected to the computer and imaging a plurality of cards each having an identification image attached thereto, and a display device connected to the computer. In the display system, captured image display control means for outputting image data of a captured image including identification images of the plurality of cards from the imaging means to the display device, and displaying the captured image on the display device; Detection means for detecting the image data of each identification image attached to the plurality of cards from the image data of the captured image, and identification information for detecting the identification information of the card from the image data of the identification image detected by the detection means Detecting means; target position setting means for setting a specific target position in the captured image; and identification of the plurality of cards displayed. Object display control means for controlling to superimpose and display an object image corresponding to the card identification information on the image, and displaying the displayed image of the object moving to the specific target position It has object movement display control means to control in this way.
A recording medium according to a second aspect of the present invention includes a computer, an image display unit connected to the computer and configured to image a plurality of cards each having an identification image attached thereto, and a display device connected to the computer. A captured image display control unit configured to output image data of a captured image including identification images of the plurality of cards from the imaging unit to the display device, and to display the captured image on the display device; Detection means for detecting image data of each identification image affixed to the plurality of cards from the image data, identification information detection means for detecting the identification information of the card from the image data of the identification image detected by the detection means, Of the captured images, target position setting means for setting a specific target position, and each of the displayed identification images of the plurality of cards is displayed on the card. Object display control means for controlling to superimpose and display an object image corresponding to the identification information of the object, object movement for controlling to display the displayed image of the object to the specific target position It is a computer-readable recording medium on which a program for functioning as display control means is recorded.
According to a third aspect of the present invention, there is provided an image display system including a computer, an image pickup unit connected to the computer and picking up a plurality of cards each having an identification image attached thereto, and a display device connected to the computer. Output image data of a captured image including identification images of the plurality of cards from the imaging unit to the display device, and a captured image display control unit that displays the captured image on the display device; Detection means for detecting image data of each identification image affixed to the plurality of cards from image data, identification information detection means for detecting identification information of the card from image data of the identification image detected by the detection means, Among the captured images, target position setting means for setting a specific target position, and on the displayed identification images of the plurality of cards, respectively Object display control means for controlling to superimpose and display an image of an object corresponding to the identification information of the mode, and an object for controlling to display the displayed image of the object moving to the specific target position It is a program for functioning as a movement display control means.
In the first to third aspects of the present invention, there is provided second object movement display control means for controlling the image of the object that has moved to the target position so as to perform a display that moves to the position of the identification image of the corresponding card. You may do it.
In the first to third aspects of the present invention, object erasure display control means for controlling to perform display for erasing the image of the object moved to the target position, and card identification information corresponding to the erased object And an identification information invalidating means for invalidating.
In the first to third aspects of the present invention, the target position setting means includes reference image detection means for detecting image data of a predetermined reference image among the captured images, and the reference image detection means The position of the reference image detected by may be set as the specific target position.
In the first to third aspects of the invention, the target position setting means includes means for detecting an arrangement direction of the plurality of cards based on image data of the plurality of identification images detected by the detection means. The specific target position may be set from the arrangement direction of the plurality of cards.
In the first to third aspects of the invention, the target position setting means includes means for detecting an arrangement direction of the plurality of cards based on image data of the plurality of identification images detected by the detection means, and a display. Means for selecting one object among a plurality of detected objects based on the arrangement direction of the plurality of cards detected, and the position of the selected one object as the specific target position You may make it do.
Next, the image processing system according to a fourth aspect of the present invention, a computer and connected to said computer, in the image processing system having an imaging means for imaging the card identification image is attached, the image pickup from the image pickup means Among the images, reference image detection means for detecting image data of a predetermined reference image, and coordinates for obtaining a camera coordinate system of the entire captured image from the position of the image data of the reference image detected by the reference image detection means System conversion means, detection area setting means for setting a specific detection area based on camera coordinates of the image data of the reference image, and image data included in the detection area of the captured image is pasted on the card. Detection means for detecting the image data of the identified image, and identification information of the card from the image data of the identification image detected by the detection means And having an identification information detecting means for detecting.
Recording medium according to the fifth invention, the computer and is connected to the computer, an image processing system having an imaging means for imaging the card identification image is attached, among the captured images from the imaging means, Reference image detection means for detecting image data of a predetermined reference image, coordinate system conversion means for obtaining a camera coordinate system of the entire captured image from a position of image data of the reference image detected by the reference image detection means, Detection area setting means for setting a specific detection area based on the camera coordinates of the image data of the reference image; among the captured images, the image data of the identification image attached to the card from the image data included in the detection area Detection means for detecting, identification information detection means for detecting the identification information of the card from the image data of the identification image detected by the detection means; A computer-readable recording medium having a program recorded thereon for functioning Te.
Program according to the present invention of the sixth computer and is connected to the computer, an image processing system having an imaging means for imaging the card identification image is attached, among the captured images from the imaging means, advance Reference image detection means for detecting image data of the determined reference image, coordinate system conversion means for obtaining a camera coordinate system of the entire captured image from the position of the image data of the reference image detected by the reference image detection means, the reference Detection area setting means for setting a specific detection area based on camera coordinates of image data of an image, and detecting image data of an identification image attached to the card from image data included in the detection area among the captured images Detection means for detecting the identification information of the card from the image data of the identification image detected by the detection means Is a program to function with.
In the fourth to sixth inventions, the specific detection area may be a rectangular area centered on the reference image or a circular area centered on the reference image.
In the fourth to sixth inventions, the identification information detecting means may detect the card identification information by affine transforming the image data of the card identification image detected by the detection means. .
In the present invention, an object corresponding to the identification information of the card is displayed superimposed on the displayed card image. Then, the image of this object moves to a predetermined position on the captured image. For example, in the case of a video game, a display such as a character appearing from a card moving to a predetermined position and performing a battle is performed, which is suitable for a battle game or the like. Here, the character refers to an object that moves, among objects, imitating a human or animal, or a hero appearing in a television program or an animated movie.

そして、前記所定位置まで移動した前記オブジェクトが前記カードの画像上まで移動する表示を行うようにしてもよい。これは、ビデオゲームに適用した場合に、戦闘で勝ったキャラクタが元のカードに位置に戻ってくる等の表示を行う場合に好適である。   And you may make it perform the display which the said object which moved to the said predetermined position moves on the image of the said card | curd. This is suitable for a case where, when applied to a video game, a display such as a character winning in battle returning to a position on the original card is performed.

また、前記所定位置まで移動した前記オブジェクトが該所定位置にて消失する表示を行うようにしてもよい。これは、戦闘で負けたキャラクタがその場で消失する等の表示を行う場合に好適である。   Further, it may be displayed that the object that has moved to the predetermined position disappears at the predetermined position. This is suitable for a display such as a character losing in battle disappearing on the spot.

また、本発明では、例えばビデオゲームであれば、表示されている複数のオブジェクトが複数のカードの配置方向に基づいて特定された場所に移動して戦闘を行う等の表示が行われ、この場合も対戦ゲーム等に好適である。 Further, in this onset bright, if the video game if example embodiment, is performed displays such as battles navigate to the location in which a plurality of objects displayed is specified based on the arrangement direction of the plurality of cards, This case is also suitable for a battle game or the like.

また、複数のカードからそれぞれ登場したオブジェクトが複数のカードの配置位置で特定された1つの場所に集まるという表示を行うことができる。特に、前記複数のカードを円陣に配列した場合は、円陣の中心位置に複数のオブジェクトが集まるという表示を行わせることができ、3人以上の対戦ゲームに好適である。 Further, it is possible to display that object which appeared respectively from multiple cards gather in one location specified in the arrangement position of the plurality of cards. In particular, when the plurality of cards are arranged in a circle, it is possible to display that a plurality of objects are gathered at the center position of the circle, which is suitable for a game of three or more players.

以上説明したように、本発明に係る画像表示システム、画像処理システム、記録媒体及びプログラムによれば、様々なビデオゲームに簡単に適用させることができ、ビデオゲームの範疇の拡大化、多様化を図ることができる。 As described above, the image display system according to the present invention, images processing system, according to the recording medium, and program, can be easily applied to a variety of video games, expansion of the category of video games, diversification Can be achieved.

以下、本発明に係る画像表示システム、画像処理システム、記録媒体及びプログラムをビデオゲームシステムに適用した実施の形態例を図1〜図44を参照しながら説明する。 Hereinafter, an image display system according to the present invention, images processing system will be described with an embodiment of embodiment applied to a recording medium, and program a video game system with reference to FIGS. 1 to 44.

本実施の形態に係るビデオゲームシステム10は、図1に示すように、ビデオゲーム機12と各種外部機器14とを有する。   As shown in FIG. 1, the video game system 10 according to the present embodiment includes a video game machine 12 and various external devices 14.

ビデオゲーム機12は、各種プログラムを実行するCPU16と、各種プログラムやデータが格納されるメインメモリ18と、画像データが記録(描画)される画像メモリ20と、各種外部機器14とのデータのやりとりを行うための入出力ポート22とを有する。   The video game machine 12 exchanges data with a CPU 16 that executes various programs, a main memory 18 that stores various programs and data, an image memory 20 that records (draws) image data, and various external devices 14. And an input / output port 22 for performing the above.

入出力ポート22に接続される各種外部機器14は、表示用インターフェース(I/F)28を介して接続されるモニタ30と、光ディスク(DVD−ROM、DVD−RW、DVD−RAM、CD−ROM等)32に対して再生/記録を行う光ディスクドライブ34と、メモリカード用インターフェース(I/F)36を介して接続されるメモリカード38と、撮像用インターフェース(I/F)40を介して接続されるCCDカメラ42と、ハードディスク44に対して再生/記録を行うハードディスクドライブ(HDD)46と、音声用インターフェース48を介して接続されるスピーカ50とを有する。もちろん、入出力ポート22から図示しないルータを介してインターネット(図示せず)に接続される場合もある。   Various external devices 14 connected to the input / output port 22 include a monitor 30 connected via a display interface (I / F) 28 and an optical disk (DVD-ROM, DVD-RW, DVD-RAM, CD-ROM). Etc.) An optical disk drive 34 for reproducing / recording to / from 32, a memory card 38 connected via a memory card interface (I / F) 36, and a connection via an imaging interface (I / F) 40 A CCD camera 42, a hard disk drive (HDD) 46 that performs reproduction / recording on the hard disk 44, and a speaker 50 connected via an audio interface 48. Of course, the input / output port 22 may be connected to the Internet (not shown) via a router (not shown).

これら外部機器14に対するデータの入出力並びにビデオゲーム機12内でのデータの加工等はCPU16とメインメモリ18を通じて行われ、特に、撮像データや画像データは画像メモリ20に記録(描画)される。   Data input / output to / from the external device 14 and data processing in the video game machine 12 are performed through the CPU 16 and the main memory 18, and in particular, imaging data and image data are recorded (drawn) in the image memory 20.

次に、この実施の形態に係るビデオゲームシステム10が有する特徴的な機能、即ち、例えば光ディスク32、メモリカード38やハードディスク44のようなランダムアクセス可能な記録媒体、さらにはインターネットやイントラネットのようなネットワークによってビデオゲーム機12に提供されるプログラムによって実現される機能について図2〜図44を参照しながら説明する。   Next, the characteristic functions of the video game system 10 according to the present embodiment, that is, a randomly accessible recording medium such as the optical disk 32, the memory card 38, and the hard disk 44, or the Internet or an intranet, for example. Functions realized by a program provided to the video game machine 12 via the network will be described with reference to FIGS.

まず、このビデオゲームシステム10にて使用されるカード54について説明する。このカード54は、一般にカードゲームで使用されるカードと同じ大きさ厚みを有し、表面には、図2Aに示すように、カード54に対応したキャラクタを示す絵柄が印刷され、裏面には、図2Bに示すように、識別画像56が印刷されている。もちろん、透明性のカードでもかまわない。この場合、識別画像56だけが印刷されることになる。   First, the card 54 used in the video game system 10 will be described. This card 54 generally has the same size and thickness as a card used in a card game. As shown in FIG. 2A, a pattern indicating a character corresponding to the card 54 is printed on the front surface, and on the back surface, As shown in FIG. 2B, an identification image 56 is printed. Of course, you can use a transparent card. In this case, only the identification image 56 is printed.

識別画像56は、図2Bに示すような二次元バーコード(以下、2Dコードと略記する)のパターンにて構成されている。識別画像56は、1ブロックを1単位とし、縦方向が9.5ブロック分の長さで、横方向が7ブロック分の長さの長方形の範囲内に、ロゴ部58とコード部60が1ブロック分離して配置されている。ロゴ部58は、コード部60の基準位置とカード54の方向を知らせるための2Dコードであって、縦方向が1.5ブロック分の長さで、横方向が7ブロック分の長さの大きな長方形の黒色の基準セル62が配置されている。なお、このロゴ部58には、例えば、キャラクタの名称、あるいは宣伝のためのマーク(ロゴ)等が印刷される場合もある。   The identification image 56 is configured by a pattern of a two-dimensional barcode (hereinafter abbreviated as 2D code) as shown in FIG. 2B. In the identification image 56, one block is one unit, the length of the vertical direction is 9.5 blocks, and the length of the horizontal direction is 7 blocks. The blocks are separated. The logo part 58 is a 2D code for notifying the reference position of the code part 60 and the direction of the card 54, and the vertical direction is 1.5 blocks long and the horizontal direction is 7 blocks long. A rectangular black reference cell 62 is arranged. The logo portion 58 may be printed with, for example, a character name or a mark (logo) for advertising.

コード部60は、縦方向と横方向が共に7ブロック分の長さの正方形の範囲のうち、各コーナー部に対応して識別情報認識用の例えば黒色の方形のコーナーセル64が配置され、さらに、4つのコーナーセル64で囲まれた領域に識別情報を認識するための例えば黒色の方形の識別セル66が二次元的にパターン化され配置されている。   The code unit 60 includes, for example, black square corner cells 64 for recognition information recognition corresponding to each corner portion in a square range having a length of 7 blocks in both the vertical direction and the horizontal direction. For example, black rectangular identification cells 66 for recognizing identification information are two-dimensionally patterned and arranged in an area surrounded by four corner cells 64.

撮像画像データから識別画像56の位置を検出する手法、コーナーセル64の画像を検出する手法並びに識別セル66の二次元パターンを検出する手法は、例えば先に述べた特許文献1(特開2000−82108号公報)に詳しく説明してあるため、該特許文献1を参照されたい。   The method for detecting the position of the identification image 56 from the captured image data, the method for detecting the image of the corner cell 64, and the method for detecting the two-dimensional pattern of the identification cell 66 are disclosed in, for example, Patent Document 1 described above (Japanese Patent Laid-Open No. 2000-2000). No. 82108) is described in detail.

また、本実施の形態では、識別セル66の二次元パターンの各種パターンと各パターンに対応する識別番号との対応テーブルが例えばデータベース68(2Dコードのデータベース:図6や図7参照)としてハードディスク44や光ディスク32等に登録されている。従って、検出した識別セル66の二次元パターンをデータベース68内の前記対応テーブルで照合することによって、カード54の識別番号を容易に検出することができる。   In the present embodiment, the correspondence table between the various patterns of the two-dimensional pattern of the identification cell 66 and the identification numbers corresponding to each pattern is a hard disk 44 as a database 68 (2D code database: see FIGS. 6 and 7), for example. Or the optical disc 32 or the like. Therefore, the identification number of the card 54 can be easily detected by comparing the detected two-dimensional pattern of the identification cell 66 with the correspondence table in the database 68.

そして、ビデオゲームシステムで実現される機能は、図3A及び図3Bに示すように、机やテーブル52等に置かれた例えば6つのカード541、542、543、544、545及び546をCCDカメラ42で撮像してモニタ30の画面に表示すると共に、モニタ30の画面に表示されたカード541、542、543、544、545及び546の各画像、例えば各カード541、542、543、544、545及び546に貼付された識別画像561、562、563、564、565及び566の上に、各カード541〜546の識別画像561〜566等に対応するオブジェクト(キャラクタ)の画像701、702、703、704、705及び706を重畳して表示することで、ゲームとビデオゲームとを融合したゲームを実現させるというものである。なお、図3Aの例は、一方のユーザ74Aが机やテーブル52等に3つのカード541〜543を横方向に並べて配置し、他方のユーザ74Bが同じく机やテーブル52等に3つのカード544〜546を横方向に並べて配置した場合を示す。また、キャラクタとは、オブジェクトのうち、人間や動物、あるいはテレビ番組やアニメーション映画等で登場する主人公等を指す。   As shown in FIGS. 3A and 3B, the functions realized by the video game system include, for example, six cards 541, 542, 543, 544, 545, and 546 placed on a desk or table 52, etc. And the images of the cards 541, 542, 543, 544, 545 and 546 displayed on the screen of the monitor 30, for example, the cards 541, 542, 543, 544, 545 and the like. On the identification images 561, 562, 563, 564, 565 and 566 affixed to 546, images (701, 702, 703, 704) of objects (characters) corresponding to the identification images 561-566 of the cards 541-546, etc. , 705 and 706 are displayed in a superimposed manner so that the game and the video game are fused. Is that to realize. In the example of FIG. 3A, one user 74A arranges three cards 541 to 543 in a horizontal direction on a desk or table 52, and the other user 74B similarly places three cards 544 to The case where 546 is arranged in the horizontal direction is shown. A character refers to a hero or the like appearing in a human or animal or a television program or an animated movie among objects.

また、CCDカメラ42は、図3Aに示すように、机やテーブル52上に固定されたスタンド72に取り付けられるが、このとき、例えばユーザ74A及び74Bによって、CCDカメラ42の撮像面がカード541〜546の置かれた部分に向くように調整される。もちろん、図4Aに示すように、ユーザ74が例えば1つのカード542を持っている姿を撮像してモニタ30に映し出すことによって、モニタ30の画面には、図4Bに示すように、ユーザ74の画像とカード542の識別画像562とキャラクタの画像702が表示され、ユーザ74が持っているカード542上にキャラクタが乗っているようなシーンを表示させることもできる。   Further, as shown in FIG. 3A, the CCD camera 42 is attached to a stand 72 fixed on a desk or table 52. At this time, for example, the user 74A and 74B set the imaging surface of the CCD camera 42 to the cards 541 to 541. It is adjusted so as to face the portion where 546 is placed. Of course, as shown in FIG. 4A, when the user 74 captures an image of holding one card 542 and displays it on the monitor 30, the screen of the monitor 30 is displayed on the screen of the user 74 as shown in FIG. 4B. An image, an identification image 562 of the card 542, and a character image 702 are displayed, and a scene where a character is on the card 542 held by the user 74 can also be displayed.

そして、本実施の形態の上述した機能は、例えばハードディスク44にインストールされた各種プログラムのうち、前記機能を実現するためのアプリケーションプログラムがCPU16で実行されることによって達成される。   The above-described functions of the present embodiment are achieved by the CPU 16 executing an application program for realizing the functions among various programs installed in the hard disk 44, for example.

このアプリケーションプログラム80は、図5に示すように、カード認識プログラム82、キャラクタ出現表示プログラム84、キャラクタ動作表示プログラム86、フィールド表示プログラム88、カード位置予測プログラム90、組合せ動作表示プログラム92、第1のキャラクタ移動表示プログラム94、第2のキャラクタ移動表示プログラム96、キャラクタ無効化プログラム98、浮遊画像表示プログラム100、着地表示プログラム102を有する。   As shown in FIG. 5, the application program 80 includes a card recognition program 82, a character appearance display program 84, a character action display program 86, a field display program 88, a card position prediction program 90, a combination action display program 92, and a first action program. A character movement display program 94, a second character movement display program 96, a character invalidation program 98, a floating image display program 100, and a landing display program 102 are provided.

ここで、前記アプリケーションプログラム80の機能について図6〜図44を参照しながら説明する。   Here, the function of the application program 80 will be described with reference to FIGS.

まず、カード認識プログラム82は、机やテーブル52等の上に置かれたカード(例えば図3Aにおけるカード541)の識別画像561を認識して、識別画像561上に表示させるべきキャラクタの画像(例えば図3Bにおける画像701)を特定する処理を行うもので、図6に示すように、撮像画像描画機能103と、基準セル探知機能104と、識別情報検出機能106と、カメラ座標検出機能108と、キャラクタ画像検索機能110とを有する。ここで、「認識」とは、画像メモリ20に描画された撮像画像データから検出されたカード541の識別画像561から当該カード541の識別番号や方向を検出することを示す。   First, the card recognition program 82 recognizes an identification image 561 of a card (for example, the card 541 in FIG. 3A) placed on a desk, table 52, or the like, and displays an image of a character (for example, a character to be displayed on the identification image 561). 3B, the image 701) is specified. As shown in FIG. 6, the captured image rendering function 103, the reference cell detection function 104, the identification information detection function 106, the camera coordinate detection function 108, And a character image search function 110. Here, “recognition” indicates that the identification number or direction of the card 541 is detected from the identification image 561 of the card 541 detected from the captured image data drawn in the image memory 20.

撮像画像描画機能103は、撮像した被写体の映像を画像メモリ20に背景画像として設定し描画する。背景画像として設定する処理の1つとしては、ZバッファリングへのZ値の設定等が挙げられる。   The captured image rendering function 103 sets and renders the captured image of the subject as a background image in the image memory 20. One of the processes to be set as the background image includes setting a Z value for Z buffering.

基準セル探知機能104は、上述したように、画像メモリ20に描画された画像データ(撮像画像データ)からロゴ部58の基準セル62の画像データを探知して、基準セル62の画像データの位置を検出する。基準セル62の画像データの位置は、スクリーン座標として検出される。   As described above, the reference cell detection function 104 detects the image data of the reference cell 62 of the logo portion 58 from the image data (captured image data) drawn in the image memory 20, and the position of the image data of the reference cell 62. Is detected. The position of the image data in the reference cell 62 is detected as screen coordinates.

識別情報検出機能106は、図7に示すように、検出した基準セル62の画像データの位置に基づいてコーナーセル64の画像データを検出し、これら基準セル62及びコーナーセル64によって形成される領域112の画像データをアフィン変換して、カード541の識別画像561を上面から見た画像114と等価な画像データとし、該画像データからコード部60の二次元パターン、すなわち、コーナーセル64と識別セル66の二次元パターンからなるコード116を抽出し、該コード116から識別番号等を検出する。識別番号の検出は、上述したように、抽出したコード116を2Dコードのデータベース68と照合することによって行われる。この照合によって、識別番号がキャラクタではなく、背景画像を決定付けるフィールドに関するものであれば、後述するフィールド表示プログラム88を起動する。また、照合の結果、識別番号が存在してない場合は、後述する浮遊画像表示プログラム100を起動する。   As shown in FIG. 7, the identification information detection function 106 detects the image data of the corner cell 64 based on the detected position of the image data of the reference cell 62, and an area formed by the reference cell 62 and the corner cell 64. The image data of 112 is affine transformed to make the identification image 561 of the card 541 equivalent to the image 114 seen from above, and the two-dimensional pattern of the code part 60, that is, the corner cell 64 and the identification cell are obtained from the image data. A code 116 composed of 66 two-dimensional patterns is extracted, and an identification number or the like is detected from the code 116. As described above, the identification number is detected by collating the extracted code 116 with the 2D code database 68. If the identification number is not a character but relates to a field that determines the background image, the field display program 88 described later is started. If the identification number does not exist as a result of the collation, a floating image display program 100 described later is activated.

カメラ座標検出機能108は、図8に示すように、検出したスクリーン座標並びにCCDカメラ42の焦点距離に基づいてカメラ視点C0を原点とするカメラ座標系(6軸の方向:x、y、z、θx、θy及びθz)を求め、カード541における識別画像561のカメラ座標を求める。このとき、カード541におけるロゴ部58の中心のカメラ座標とコード部60の中心のカメラ座標が求められる。得られたロゴ部58の中心のカメラ座標とコード部60の中心のカメラ座標は、図9に示す現在位置情報テーブル117に登録される。この現在位置情報テーブル117は、カードのロゴ部58の中心のカメラ座標、コード部60の中心のカメラ座標及び後述するキャラクタの画像のカメラ座標を当該カードの識別番号と対応付けて記憶しておくための情報テーブルである。この現在位置情報テーブル117への登録は、このカード認識プログラム82のほか、カード位置予測プログラム90にて行われる。このことについては後述する。   As shown in FIG. 8, the camera coordinate detection function 108 is a camera coordinate system (6 axis directions: x, y, z, and so on) based on the detected screen coordinates and the focal length of the CCD camera 42 as the origin. θx, θy, and θz) are obtained, and the camera coordinates of the identification image 561 in the card 541 are obtained. At this time, the camera coordinates of the center of the logo portion 58 and the camera coordinates of the center of the code portion 60 in the card 541 are obtained. The obtained camera coordinates of the center of the logo portion 58 and the camera coordinates of the center of the code portion 60 are registered in the current position information table 117 shown in FIG. The current position information table 117 stores the camera coordinates of the center of the logo portion 58 of the card, the camera coordinates of the center of the code portion 60, and the camera coordinates of the character image described later in association with the identification number of the card. It is an information table for. Registration in the current position information table 117 is performed by the card position prediction program 90 in addition to the card recognition program 82. This will be described later.

なお、画像メモリ20に描画された画像のスクリーン座標から該画像のカメラ座標を求める手法、並びにある画像のカメラ座標から画像メモリ20上のスクリーン座標を求める手法については、先に述べた特許文献2(特開2000−322602号公報)に詳しく説明してあるため、該特許文献2を参照されたい。   Note that the method of obtaining the camera coordinates of the image from the screen coordinates of the image drawn in the image memory 20 and the method of obtaining the screen coordinates on the image memory 20 from the camera coordinates of a certain image are described in Patent Document 2 described above. Since it is described in detail in Japanese Patent Laid-Open No. 2000-322602, please refer to Patent Document 2.

キャラクタ画像検索機能110は、検出した識別番号に基づくキャラクタの画像(例えば図3Bに示すキャラクタの画像701)をオブジェクト情報テーブル118から検索する。   The character image search function 110 searches the object information table 118 for a character image (eg, a character image 701 shown in FIG. 3B) based on the detected identification number.

オブジェクト情報テーブル118の内訳は、例えば図10に示すように、多数のレコードが配列されて構成され、1つのレコードに、識別番号、キャラクタの画像データの格納先頭アドレス、各種パラメータ(体力、攻撃力、レベル等)、有効/無効ビットが登録されている。   The breakdown of the object information table 118 includes, for example, a large number of records arranged as shown in FIG. 10, and each record includes an identification number, a character image data storage start address, and various parameters (physical strength, attack strength). , Level, etc.), valid / invalid bits are registered.

有効/無効ビットは、そのレコードが有効であるかどうかを判別するためのビットである。「無効」が設定される場合は、例えば現段階ではキャラクタの画像が設定されていない場合や、例えばキャラクタがビデオゲームで設定された戦闘で負け、死亡した場合等である。   The valid / invalid bit is a bit for determining whether or not the record is valid. The case where “invalid” is set is, for example, the case where the image of the character is not set at the current stage, or the case where the character is defeated and died in the battle set in the video game, for example.

そして、このキャラクタ画像検索機能110は、オブジェクト情報テーブル118から当該識別番号に対応するレコードを検索し、検索したレコードが「有効」であれば、該レコードに登録された格納先頭アドレスから画像データ120を読み出す。例えばハードディスク44や光ディスク32等に記録され、かつ、多数の画像データ120が登録されたデータファイル122のうち、前記格納先頭アドレスから当該キャラクタに対応する画像データ120を読み出す。「無効」の場合は、画像データ120を読み出さない。   Then, the character image search function 110 searches the object information table 118 for a record corresponding to the identification number, and if the searched record is “valid”, the image data 120 from the storage head address registered in the record. Is read. For example, the image data 120 corresponding to the character is read from the storage head address in the data file 122 recorded on the hard disk 44, the optical disk 32, etc. and registered with a large number of image data 120. In the case of “invalid”, the image data 120 is not read.

従って、机やテーブル52等に1つのカード541を置いたとき、前記カード認識プログラム82が起動されて、置かれたカード541の識別画像561で特定される識別番号に対応するキャラクタの画像701が特定されることになる。また、キャラクタ画像検索機能110は、キャラクタの画像701を特定した段階で、現在位置情報テーブル117のうち、カード541の識別番号に対応するレコードにおけるキャラクタの画像のカメラ座標として、カード541のコード部60の中心のカメラ座標を登録する。   Accordingly, when one card 541 is placed on the desk, table 52 or the like, the card recognition program 82 is activated, and a character image 701 corresponding to the identification number specified by the identification image 561 of the placed card 541 is displayed. Will be identified. In addition, the character image search function 110, when the character image 701 is specified, the code portion of the card 541 as the camera coordinates of the character image in the record corresponding to the identification number of the card 541 in the current position information table 117. The camera coordinates at the center of 60 are registered.

このカード認識プログラム82により、実空間と仮想空間を融合した視覚効果を表現することが可能となる。そして、このカード認識プログラム82から様々なアプリケーションプログラム(キャラクタ出現表示プログラム84、キャラクタ動作表示プログラム86、フィールド表示プログラム88、カード位置予測プログラム90等)に制御が移されることになる。   With this card recognition program 82, it is possible to express visual effects that fuse real space and virtual space. Then, control is transferred from the card recognition program 82 to various application programs (character appearance display program 84, character action display program 86, field display program 88, card position prediction program 90, etc.).

次に、キャラクタ出現表示プログラム84は、検出したカード(例えばカード541)の識別画像561で特定される識別番号等に対応するキャラクタの画像701をカード541の識別画像561に重畳させて登場させる表示を行うもので、図11に示すように、動作データ列検索機能124、登場姿勢設定機能126、三次元画像設定機能128、画像描画機能130、画像表示機能132及び繰返し機能134とを有する。   Next, the character appearance display program 84 superimposes the character image 701 corresponding to the identification number specified in the identification image 561 of the detected card (for example, the card 541) on the identification image 561 of the card 541 to appear. As shown in FIG. 11, it has an action data string search function 124, an appearance posture setting function 126, a 3D image setting function 128, an image drawing function 130, an image display function 132, and a repetition function 134.

動作データ列検索機能124は、キャラクタが登場するシーンを表示するための動作データ列を識別番号等に基づいて登場動作情報テーブル136から検索する。具体的には、まず、例えばハードディスク44や光ディスク32等に記録され、かつ、各レコードに動作データ列の格納先頭アドレスが登録された登場動作情報テーブル136から識別番号等に対応するレコードを検索する。そして、例えばハードディスク44や光ディスク32等に記録され、かつ、多数の動作データ列138が登録されたデータファイル140のうち、前記検索したレコードに登録された格納先頭アドレスから当該キャラクタの画像701が登場する動作を示す動作データ列138を読み出す。   The action data string search function 124 searches for the action data string for displaying the scene in which the character appears from the appearance action information table 136 based on the identification number or the like. Specifically, first, for example, a record corresponding to an identification number or the like is searched from the appearance action information table 136 recorded on the hard disk 44, the optical disk 32, etc., and the storage head address of the action data string is registered in each record. . Then, for example, the image 701 of the character appears from the storage head address registered in the searched record in the data file 140 recorded on the hard disk 44, the optical disk 32, etc. and registered with a large number of motion data strings 138. The operation data string 138 indicating the operation to be performed is read.

登場姿勢設定機能126は、キャラクタの画像701が登場する過程の1つの姿勢を設定する。例えば読み出された動作データ列138のiフレーム目(i=1,2,3・・・)の動作データに基づいてキャラクタの画像701の頂点データをカメラ座標系で移動して1つの姿勢を設定する。   The appearance posture setting function 126 sets one posture in the process in which the character image 701 appears. For example, based on the motion data of the i-th frame (i = 1, 2, 3,...) Of the read motion data sequence 138, the vertex data of the character image 701 is moved in the camera coordinate system to change one posture. Set.

三次元画像設定機能128は、検出したカード541の識別画像561のカメラ座標に基づいて該カード541の識別画像561の上に前記キャラクタの画像701が登場する過程の1つの姿勢の三次元画像を設定する。   Based on the detected camera coordinates of the identification image 561 of the card 541, the three-dimensional image setting function 128 generates a three-dimensional image of one posture in the process of the appearance of the character image 701 on the identification image 561 of the card 541. Set.

画像描画機能130は、キャラクタの画像701が登場する過程の1つの姿勢の三次元画像をスクリーン座標系の画像に透視変換して画像メモリ20に描画(隠面処理を含む)する。このとき、Zバッファリングのうち、キャラクタの画像701のZ値をフレーム単位に設定し直すことで、カード541の識別画像561の下からキャラクタの画像701が徐々に出現するようなシーンを表現することができる。   The image drawing function 130 perspectively converts a three-dimensional image of one posture in the process of appearance of the character image 701 into an image in the screen coordinate system and draws it in the image memory 20 (including hidden surface processing). At this time, in Z buffering, a scene in which the character image 701 gradually appears from below the identification image 561 of the card 541 is expressed by resetting the Z value of the character image 701 in units of frames. be able to.

画像表示機能132は、画像メモリ20に描画された画像を1フレーム単位に入出力ポート22を介してモニタ30に出力し、モニタ30の画面に前記画像を表示する。   The image display function 132 outputs an image drawn in the image memory 20 to the monitor 30 via the input / output port 22 in units of one frame, and displays the image on the screen of the monitor 30.

繰返し機能134は、登場姿勢設定機能126による処理→三次元画像設定機能128による処理→画像描画機能130による処理→画像表示機能132による処理を順次繰り返す。これによって、カード541の識別画像561の上に、該カード541の識別番号等に対応するキャラクタの画像701が登場するシーンが表示されることになる。   The repeat function 134 sequentially repeats the processing by the appearance posture setting function 126 → the processing by the three-dimensional image setting function 128 → the processing by the image drawing function 130 → the processing by the image display function 132. As a result, a scene in which the character image 701 corresponding to the identification number of the card 541 appears on the identification image 561 of the card 541 is displayed.

次に、キャラクタ動作表示プログラム86は、キャラクタが待機しているシーンや攻撃しているシーン、魔法をかけるシーン、他のキャラクタを庇うシーン等を表示するもので、図12に示すように、上述したキャラクタ出現表示プログラム84とほぼ同様に、動作データ列検索機能142、姿勢設定機能144、三次元画像設定機能146、画像描画機能148、画像表示機能150及び繰返し機能152とを有する。   Next, the character action display program 86 displays a scene where the character is waiting, an attacking scene, a magical scene, a scene scolding other characters, and the like, as shown in FIG. In almost the same manner as the character appearance display program 84, the motion data string search function 142, the posture setting function 144, the 3D image setting function 146, the image drawing function 148, the image display function 150, and the repeat function 152 are provided.

動作データ列検索機能142は、キャラクタが待機するシーン、攻撃するシーン、魔法をかけるシーン、他のキャラクタを庇うシーンを表示するための動作データ列をシーンに応じた各種動作情報テーブル154から検索する。具体的には、まず、例えばハードディスク44や光ディスク32等に記録され、かつ、各レコードに動作データ列の格納先頭アドレスが登録された各種動作情報テーブル154から表示すべき動作に対応する動作情報テーブル154を特定し、さらに、特定された動作情報テーブル154から当該識別番号等に対応するレコードを検索する。そして、例えばハードディスク44や光ディスク32等に記録され、かつ、多数の動作データ列156が登録されたデータファイル158のうち、前記検索したレコードに登録された先頭アドレスから今回表示すべき動作(キャラクタが待機する動作、攻撃する動作、魔法をかける動作、他のキャラクタを庇う動作等)に対応した動作データ列156を読み出す。   The motion data string search function 142 searches a motion data string for displaying a scene where a character waits, an attacking scene, a magical scene, and a scene scolding another character from various motion information tables 154 corresponding to the scene. . Specifically, first, an operation information table corresponding to an operation to be displayed from various operation information tables 154 recorded on, for example, the hard disk 44, the optical disk 32, etc., and the storage head address of the operation data string is registered in each record. 154 is specified, and a record corresponding to the identification number or the like is searched from the specified operation information table 154. For example, among the data file 158 recorded on the hard disk 44, the optical disk 32, etc., and registered with a large number of motion data strings 156, the motion (character is to be displayed) from the head address registered in the retrieved record. A motion data string 156 corresponding to a standby motion, an attacking motion, a magical motion, a motion of scolding other characters, and the like.

姿勢設定機能144は、例えばカード541に関するキャラクタであれば、キャラクタの画像701が待機する過程の1つの姿勢、攻撃する過程の1つの姿勢、魔法をかける過程の1つの姿勢、他のキャラクタを庇う過程の1つの姿勢を設定する。例えば読み出された動作データ列156のiフレーム目(i=1,2,3・・・)の動作データに基づいてキャラクタの画像701の頂点データをカメラ座標系で移動して1つの姿勢を設定する。   For example, if the character is related to the card 541, the posture setting function 144 sings one posture in the process of waiting for the character image 701, one posture in the attacking process, one posture in the process of applying magic, and scolding another character. Set one posture for the process. For example, based on the motion data of the i-th frame (i = 1, 2, 3,...) Of the read motion data sequence 156, the vertex data of the character image 701 is moved in the camera coordinate system to change one posture. Set.

三次元画像設定機能146は、検出したカード541の識別画像561のカメラ座標に基づいて該カード541の識別画像561の上に前記キャラクタの画像701が待機する過程の1つの姿勢、攻撃する過程の1つの姿勢、魔法をかける過程の1つの姿勢、他のキャラクタを庇う過程の1つの姿勢の三次元画像を設定する。   The three-dimensional image setting function 146 is one of the processes in which the character image 701 stands by on the identification image 561 of the card 541 based on the detected camera coordinates of the identification image 561 of the card 541, the process of attacking A three-dimensional image of one posture, one posture in the process of applying magic, and one posture in the process of scolding another character is set.

画像描画機能148は、キャラクタの画像701が待機する過程の1つの姿勢、攻撃する過程の1つの姿勢、魔法をかける過程の1つの姿勢、他のキャラクタを庇う過程の1つの姿勢の三次元画像をスクリーン座標系の画像に透視変換して画像メモリ20に描画(隠面処理を含む)する。   The image drawing function 148 is a three-dimensional image of one posture in the process of waiting for the character image 701, one posture in the attacking process, one posture in the process of applying magic, and one posture in the process of scolding another character. Is perspective-transformed into an image in the screen coordinate system and rendered in the image memory 20 (including hidden surface processing).

画像表示機能150は、画像メモリ20に描画された画像を1フレーム単位に入出力ポート22を介してモニタ30に出力し、モニタ30の画面に前記画像を表示する。   The image display function 150 outputs an image drawn in the image memory 20 to the monitor 30 via the input / output port 22 in units of one frame, and displays the image on the screen of the monitor 30.

繰返し機能152は、姿勢設定機能144による処理→三次元画像設定機能146による処理→画像描画機能148による処理→画像表示機能150による処理を順次繰り返す。これによって、キャラクタの画像701が待機するシーン、攻撃するシーン、魔法をかけるシーン、他のキャラクタを庇うシーンが表示されることになる。   The repeat function 152 sequentially repeats processing by the posture setting function 144 → processing by the three-dimensional image setting function 146 → processing by the image drawing function 148 → processing by the image display function 150. As a result, a scene where the character image 701 waits, an attacking scene, a magical scene, and a scene scolding another character are displayed.

これらカード認識プログラム82、キャラクタ出現表示プログラム84及びキャラクタ動作表示プログラム86によって、カードゲームのキャラクタをビデオゲームのシナリオ中に出現させて様々な動作を行わせることができる。つまり、実空間でしか楽しめなかったカードゲームを仮想空間にまで広げることができ、カードゲームとビデオゲームとが融合した新規なゲームを提供することができる。   By using the card recognition program 82, the character appearance display program 84, and the character action display program 86, a card game character can appear in a video game scenario and various actions can be performed. That is, the card game that can only be enjoyed in the real space can be expanded to the virtual space, and a new game in which the card game and the video game are fused can be provided.

次に、フィールド表示プログラム88について説明する。このプログラム88は、図13Aに示すように、机やテーブル52等に置かれた1枚目のカードがフィールドに関するカード(以下、フィールドカード54Fと記す)の場合に、カード認識プログラム82によって起動されるもので、図13Bに示すように、モニタ30の画面に該フィールドカード54Fの識別画像56Fで特定される識別番号に対応した背景画像160と対戦用のカードを置くべき位置を示す複数の升目の画像601〜606を表示する。   Next, the field display program 88 will be described. As shown in FIG. 13A, this program 88 is activated by the card recognition program 82 when the first card placed on the desk or table 52 or the like is a field card (hereinafter referred to as a field card 54F). Thus, as shown in FIG. 13B, a plurality of cells showing the positions where the background image 160 corresponding to the identification number specified by the identification image 56F of the field card 54F and the card for battle are to be placed on the screen of the monitor 30. The images 601 to 606 are displayed.

このフィールド表示プログラム88は、図14に示すように、背景画像検索機能164、三次元画像設定機能166、背景画像描画機能168、カード配置位置予測機能170、升目領域設定機能172、背景画像表示機能174、繰返し機能176、基準セル探知機能178、識別情報検出機能180、キャラクタ画像検索機能182を有する。   As shown in FIG. 14, the field display program 88 includes a background image search function 164, a three-dimensional image setting function 166, a background image drawing function 168, a card arrangement position prediction function 170, a grid area setting function 172, and a background image display function. 174, a repetition function 176, a reference cell detection function 178, an identification information detection function 180, and a character image search function 182.

背景画像検索機能162は、フィールドカード54Fの識別番号に対応する背景画像160を背景画像情報テーブル184から検索する。背景画像情報テーブル184には、例えば図15に示すように、多数のレコードが配列されて構成され、1つのレコードに、識別番号と背景画像データの格納先頭アドレスとアニメーションデータ列の格納先頭アドレスとが登録されている。   The background image search function 162 searches the background image information table 184 for the background image 160 corresponding to the identification number of the field card 54F. In the background image information table 184, for example, as shown in FIG. 15, a large number of records are arranged, and one record includes an identification number, a storage start address of background image data, and a storage start address of an animation data string. Is registered.

そして、この背景画像検索機能164は、例えばハードディスク44や光ディスク32等に記録された前記背景画像情報テーブル184から識別番号に対応するレコードを検索する。そして、例えばハードディスク44や光ディスク32等に記録され、かつ、多数の背景画像データ186が登録されたデータファイル188のうち、前記検索したレコードに登録された格納先頭アドレスから当該フィールドカード54Fの識別番号に対応する背景画像データ186を読み出す。さらに、多数のアニメーションデータ列190が登録されたデータファイル192のうち、前記検索したレコードに登録された格納先頭アドレスから当該フィールドカード54Fの識別番号に対応するアニメーションデータ列190を読み出す。   The background image search function 164 searches for a record corresponding to the identification number from the background image information table 184 recorded on, for example, the hard disk 44 or the optical disk 32. For example, among the data files 188 recorded on the hard disk 44, the optical disk 32, etc. and registered with a large number of background image data 186, the identification number of the field card 54F is determined from the storage head address registered in the searched record. The background image data 186 corresponding to is read. Further, the animation data string 190 corresponding to the identification number of the field card 54F is read from the storage head address registered in the searched record out of the data file 192 in which many animation data strings 190 are registered.

三次元画像設定機能166は、動きのある背景画像の1つの場面(過程)を設定する。例えば読み出されたアニメーションデータ列190のiフレーム目(i=1,2,3・・・)のアニメーションデータに基づいて背景画像データ186の頂点データをカメラ座標上で移動して1つの場面を設定する。   The three-dimensional image setting function 166 sets one scene (process) of a moving background image. For example, based on the animation data of the i-th frame (i = 1, 2, 3...) Of the read animation data string 190, the vertex data of the background image data 186 is moved on the camera coordinates to display one scene. Set.

背景画像描画機能168は、動きのある背景画像の1つの場面の三次元画像をスクリーン座標系の画像に透視変換して画像メモリ20に描画(隠面処理を含む)する。このとき、Zバッファリングのうち、背景画像160のZ値を撮像画像のZ値よりも低い値(撮像画像よりもカメラ視点に近い値)に設定して、背景画像160を撮像画像よりも優先して表示させるようにする。   The background image drawing function 168 perspective-transforms a three-dimensional image of one scene of a moving background image into an image in the screen coordinate system and draws it in the image memory 20 (including hidden surface processing). At this time, in Z buffering, the Z value of the background image 160 is set to a value lower than the Z value of the captured image (a value closer to the camera viewpoint than the captured image), and the background image 160 has priority over the captured image. To display.

カード配置位置予測機能170は、検出したフィールドカード54Fのカメラ座標に基づいて複数の升目(図13Bでは6つの升目601〜606)のカメラ座標を予測する。このとき、升目情報テーブル194が使用される。この升目情報テーブル194は、図16に示すように、フィールドカード54Fが置かれる位置を基準位置としたときの相対座標がそれぞれ登録されている。具体的には、例えば図17に示すように、フィールドカード54Fが置かれる位置をxz平面上での原点(0,0)としたとき、第1〜第6の升目の相対座標として、(dx,−dz)、(dx,0)、(dx,dz)、(−dx,dz)、(−dx,0)、(−dx,−dz)が登録される。dx及びdzの長さは、実際のカードの大きさから決定され、隣接して配置されるカードが重ならないような値に設定される。   The card arrangement position prediction function 170 predicts the camera coordinates of a plurality of cells (six cells 601 to 606 in FIG. 13B) based on the detected camera coordinates of the field card 54F. At this time, the cell information table 194 is used. In this cell information table 194, as shown in FIG. 16, the relative coordinates when the position where the field card 54F is placed as the reference position are registered. Specifically, for example, as shown in FIG. 17, when the position where the field card 54F is placed is the origin (0, 0) on the xz plane, the relative coordinates of the first to sixth cells are (dx , -Dz), (dx, 0), (dx, dz), (-dx, dz), (-dx, 0), (-dx, -dz). The lengths of dx and dz are determined based on the actual card size, and are set to values that do not overlap adjacent cards.

従って、基準位置(原点)のカメラ座標が決定されれば、升目情報テーブルから6つの升目601〜606の各カメラ座標が容易に求められる。これら6つの升目601〜606のカメラ座標が、フィールドカード54F以外の複数のカード(以下、対戦カード541〜546と記す)が置かれる位置のカメラ座標を示すことになる。   Therefore, if the camera coordinates of the reference position (origin) are determined, the camera coordinates of the six cells 601 to 606 can be easily obtained from the cell information table. The camera coordinates of these six cells 601 to 606 indicate the camera coordinates of positions where a plurality of cards other than the field card 54F (hereinafter referred to as battle cards 541 to 546) are placed.

升目領域設定機能172は、得られた6つのカメラ座標にそれぞれ対戦カード541〜546を置くべき6つの升目601〜606を設定する。具体的には、撮像画像のZ値のうち、例えば対戦カード541〜546の大きさよりも1回り大きい長方形状の升目601〜606をスクリーン座標系に透視変換した領域に対応するZ値を背景画像160のZ値よりも低い値(背景画像160よりもカメラ視点に近い値)に設定して、背景画像160のうち、6つの升目601〜606に対応する部分に撮像画像が表示されるようにする。   The cell area setting function 172 sets six cells 601 to 606 in which the battle cards 541 to 546 are to be placed at the obtained six camera coordinates, respectively. Specifically, among the Z values of the captured image, for example, a Z value corresponding to a region obtained by perspective-transforming rectangular cells 601 to 606 that are one size larger than the size of the battle cards 541 to 546 into the screen coordinate system is used as the background image. The value is set to a value lower than the Z value of 160 (a value closer to the camera viewpoint than the background image 160) so that the captured image is displayed in the portion corresponding to the six cells 601 to 606 in the background image 160. To do.

背景画像表示機能174は、画像メモリ20に描画された画像を1フレーム単位に入出力ポート22を介してモニタ30に出力し、モニタ30の画面に背景画像160を表示すると共に、背景画像160のうち、6つの升目601〜606に対応した部分に撮像画像を表示する。   The background image display function 174 outputs the image drawn in the image memory 20 to the monitor 30 via the input / output port 22 in units of one frame, displays the background image 160 on the screen of the monitor 30, and displays the background image 160. Among these, the captured images are displayed in the portions corresponding to the six cells 601 to 606.

繰返し機能176は、三次元画像設定機能166による処理→背景画像描画機能168による処理→カード配置位置予測機能170による処理→升目領域設定機能172による処理→背景画像表示機能174による処理を順次繰り返す。これによって、図12Bに示すように、モニタ30の画面に動きのある背景画像160が表示されると共に、この背景画像160のうち、6つの升目601〜606に対応した部分に撮像画像が映し出されるという表示が行われる。すなわち、ユーザが机やテーブル52等のうち、6つの升目601〜606に対応した部分に対戦カード541〜546を置くことによって、背景画像160の中から対戦カード541〜546の識別画像561〜566が鮮明に映し出されることから、ユーザは6つの升目601〜606に合わせて対戦カード541〜546を置くことが可能となる。   The repeat function 176 sequentially repeats processing by the three-dimensional image setting function 166 → processing by the background image drawing function 168 → processing by the card arrangement position prediction function 170 → processing by the cell area setting function 172 → processing by the background image display function 174. As a result, as shown in FIG. 12B, a background image 160 with movement is displayed on the screen of the monitor 30, and captured images are displayed on portions of the background image 160 corresponding to the six cells 601 to 606. Is displayed. That is, when the user places the battle cards 541 to 546 in portions corresponding to the six cells 601 to 606 in the desk, the table 52, or the like, the identification images 561 to 566 of the battle cards 541 to 546 are selected from the background image 160. Is clearly displayed, the user can place the battle cards 541 to 546 in accordance with the six cells 601 to 606.

一方、基準セル探知機能178は、動きのある背景画像160が表示されている間において、6つの升目601〜606のカメラ座標から画像メモリ20上での6つの描画範囲を求め、各描画範囲に対戦カード541〜546の識別画像561〜566、特に、ロゴ部58の基準セル62が存在するかどうかを探知する。例えば図18Aに示すように、モニタ30に表示された6つの升目601〜606(図13B参照)に合わせて6つの対戦カード541〜546が机やテーブル52等に置かれた場合、6つの対戦カード541〜546の各基準セル62の位置が検出されることになる。   On the other hand, the reference cell detection function 178 obtains six drawing ranges on the image memory 20 from the camera coordinates of the six cells 601 to 606 while the moving background image 160 is displayed, and sets each drawing range. It is detected whether or not the identification images 561 to 566 of the battle cards 541 to 546, particularly the reference cell 62 of the logo portion 58 exists. For example, as shown in FIG. 18A, when six battle cards 541 to 546 are placed on a desk or table 52 in accordance with the six cells 601 to 606 (see FIG. 13B) displayed on the monitor 30, there are six battles. The position of each reference cell 62 of the cards 541 to 546 is detected.

識別情報検出機能180は、上述したカード認識プログラムにおける識別情報検出機能106と同様の処理を行って、置かれた例えば6つのカード541〜546の各識別画像561〜566から特定される6つのカードの各識別番号を検出する。なお、照合の結果、識別番号が存在していない場合は、後述する浮遊画像表示プログラム100を起動する。   The identification information detection function 180 performs the same processing as the identification information detection function 106 in the card recognition program described above, and six cards specified from the identification images 561 to 566 of the six cards 541 to 546 placed, for example. Each identification number is detected. If the identification number does not exist as a result of the collation, a floating image display program 100 described later is activated.

キャラクタ画像検索機能182は、6つの升目601〜606に対応して置かれた対戦カード541〜546の識別番号に対応するキャラクタの画像データ120をオブジェクト情報テーブル118から検索する。例えば、オブジェクト情報テーブル118からそれぞれ識別番号に対応するレコードを検索し、検索したレコードが「有効」であれば、これらレコードに登録された格納先頭アドレスからそれぞれ画像データ120を読み出す。この時点で、6つの升目601〜606に対応して置かれた対戦カード541〜546のキャラクタの画像701〜706が決定されることになる。   The character image search function 182 searches the object information table 118 for the character image data 120 corresponding to the identification numbers of the battle cards 541 to 546 placed corresponding to the six cells 601 to 606. For example, the record corresponding to the identification number is searched from the object information table 118, and if the searched record is “valid”, the image data 120 is read from the storage head address registered in these records. At this time, the character images 701 to 706 of the battle cards 541 to 546 placed corresponding to the six cells 601 to 606 are determined.

このあと、例えばキャラクタ出現表示プログラム84が起動されることによって、図18Bに示すように、各対戦カード541〜546の識別画像561〜566上にそれぞれ対戦カード541〜546の識別番号に対応するキャラクタの画像701〜706が登場するシーンが表示されることになる。   Thereafter, for example, when the character appearance display program 84 is activated, as shown in FIG. 18B, characters corresponding to the identification numbers of the battle cards 541 to 546 are displayed on the identification images 561 to 566 of the battle cards 541 to 546, respectively. A scene in which the images 701 to 706 appear is displayed.

このフィールド表示プログラム88では、ユーザがどの位置に対戦カード541〜546を置いたかどうかを画像メモリ20全体にわたって探知していくのではなく、対戦カード541〜546を置くべき位置を6つの升目601〜606として指し示し、6つの升目601〜606の位置を中心に探知して対戦カード541〜546を認識することができるため、対戦カードの認識のたびに画像メモリ20全体を探知する必要がなくなり、6つのカード541〜546に対する認識処理の負荷を軽減することができる。これは、処理スピードの高速化につながる。   In this field display program 88, it is not detected over the entire image memory 20 whether the user has placed the battle cards 541 to 546, but the positions where the battle cards 541 to 546 are to be placed are determined by the six cells 601 to 601. Since it is possible to recognize the battle cards 541 to 546 by detecting the positions of the six cells 601 to 606 as the center, it is not necessary to detect the entire image memory 20 every time the battle card is recognized. It is possible to reduce the load of recognition processing on the two cards 541 to 546. This leads to an increase in processing speed.

次に、カード位置予測プログラム90について説明する。このプログラム90は、例えば6人対戦や2人対戦等に好適であり、基準となる画像(基準画像)の位置を検出し、該基準画像の位置に基づいて対戦カードが配置される位置を予測するものである。   Next, the card position prediction program 90 will be described. This program 90 is suitable for, for example, a 6-player battle, a 2-player battle, and the like, detects the position of a reference image (reference image), and predicts the position at which a battle card is placed based on the position of the reference image To do.

基準画像としては、例えば図19Aに示すように、対戦カード541〜546の配置に先立って机やテーブル52等に配置されるフィールドカード54Fの識別画像56Fや、例えば図20Aに示すように、2人対戦であって、対戦用の矩形マット196を机やテーブル52等に敷き、マット196に描かれた6つの升目(1人につき3つの升目が横方向に配置:第1〜第6の升目801〜806)にそれぞれ対戦カード541〜546を置く場合であれば、マット196の例えば中心位置に描かれた「+」の画像198や、図21Aに示すように、例えば6人対戦であって、対戦用の円形マット200を机やテーブル52等に敷き、マット200に描かれた6つの升目(円陣に配置:第1〜第6の升目901〜906)にそれぞれ対戦カード541〜546を置く場合であれば、マット200の例えば中心位置に描かれた画像202である。また、上述したマット196及び200を置かずに、対戦領域の例えば中央やコーナー部にアイテムを置く場合は、該アイテムの画像等が基準画像となる。以下の説明では、基準画像として候補に挙げられるこれらの画像を「基準画像201」と記す。なお、基準画像201としては、方向がはっきりわかるような画像を用いることが好ましい。   As the reference image, for example, as shown in FIG. 19A, the identification image 56F of the field card 54F arranged on the desk, the table 52, etc. prior to the arrangement of the battle cards 541 to 546, or, for example, as shown in FIG. A face-to-face rectangular mat 196 for fighting is laid on a desk or table 52, etc., and six squares drawn on the mat 196 (three squares per person are arranged in the horizontal direction: first to sixth squares) 801 to 806), for example, a “+” image 198 drawn at the center position of the mat 196, for example, as shown in FIG. , A circular mat 200 for battle is laid on a desk, a table 52, etc., and a battle car is placed on each of the six squares (arranged in a circle: first to sixth squares 901 to 906) drawn on the mat 200. In the case of placing a 541 to 546, an image 202 depicted in for example, the center position of the mat 200. In addition, when an item is placed in, for example, the center or corner portion of the battle area without placing the mats 196 and 200 described above, the image of the item or the like becomes the reference image. In the following description, these images that are candidates for the reference image are referred to as “reference image 201”. As the reference image 201, it is preferable to use an image whose direction is clearly known.

そして、このカード位置予測プログラム90は、図22に示すように、基準画像検出機能204と、カメラ座標検出機能206と、探知領域設定機能208と、基準セル探知機能210と、識別情報検出機能212と、キャラクタ画像検索機能214とを有する。   As shown in FIG. 22, the card position prediction program 90 includes a reference image detection function 204, a camera coordinate detection function 206, a detection area setting function 208, a reference cell detection function 210, and an identification information detection function 212. And a character image search function 214.

ここで、カード位置予測プログラム90の処理動作について図22〜図25Bを参照しながら説明する。   Here, the processing operation of the card position prediction program 90 will be described with reference to FIGS. 22 to 25B.

まず、図23のステップS1において、基準画像検出機能204は、画像メモリ20に描画された撮像画像データから基準画像201の位置を検出する。この位置検出においては、予め決められた基準画像201を様々な角度から撮像した複数の画像をそれぞれ参照画像として登録しておき、これら参照画像によるパターンマッチング等の手法によって、撮像画像データから容易に基準画像201を検出することができる。もちろん、他のパターン認識にて基準画像201を検出するようにしてもよい。基準画像201の位置は、スクリーン座標として検出される。   First, in step S <b> 1 of FIG. 23, the reference image detection function 204 detects the position of the reference image 201 from the captured image data drawn in the image memory 20. In this position detection, a plurality of images obtained by imaging a predetermined reference image 201 from various angles are registered as reference images, and easily obtained from captured image data by a method such as pattern matching using these reference images. The reference image 201 can be detected. Of course, the reference image 201 may be detected by other pattern recognition. The position of the reference image 201 is detected as screen coordinates.

その後、ステップS2において、カメラ座標検出機能206は、検出した基準画像201のスクリーン座標並びにCCDカメラ42の焦点距離に基づいてカメラ視点を原点とするカメラ座標系(6軸の方向:x、y、z、θx、θy及びθz)を求め、検出した基準画像201のカメラ座標を求める。このとき、基準画像201の中心のカメラ座標が求められる。この基準画像201のカメラ座標はレジスタ216に登録される。このレジスタ216に登録された基準画像201のカメラ座標は、このカード位置予測プログラム90のほか、第1のキャラクタ移動表示プログラム94においても利用される。このことについては後述する。   After that, in step S2, the camera coordinate detection function 206 performs a camera coordinate system (six axis directions: x, y, x, y) based on the detected screen coordinates of the reference image 201 and the focal length of the CCD camera 42. z, θx, θy, and θz) are obtained, and the camera coordinates of the detected reference image 201 are obtained. At this time, the camera coordinates of the center of the reference image 201 are obtained. The camera coordinates of the reference image 201 are registered in the register 216. The camera coordinates of the reference image 201 registered in the register 216 are used not only in the card position prediction program 90 but also in the first character movement display program 94. This will be described later.

その後、ステップS3において、探知領域設定機能208は、基準画像201のカメラ座標に基づいて、該基準画像201を含み、かつ、基準セル探知機能210にて探知すべき領域のカメラ座標を求める。この探知すべき領域は、例えば図25Aに示すように、2人対戦でそれぞれ複数のカードを横方向に配置する場合であれば、基準画像201を中心とした矩形の領域218であり、例えば図25Aに示すように、3人以上の対戦で複数のカードを円陣に配置するのであれば、基準画像201を中心とした円形の領域220である。以下、矩形の領域218及び円形の領域220を探知領域222と記す。   Thereafter, in step S <b> 3, the detection area setting function 208 obtains the camera coordinates of the area including the reference image 201 and to be detected by the reference cell detection function 210 based on the camera coordinates of the reference image 201. For example, as shown in FIG. 25A, the area to be detected is a rectangular area 218 centered on the reference image 201 if a plurality of cards are arranged in a horizontal direction in a two-player battle. As shown in FIG. 25A, if a plurality of cards are arranged in a circle in a match of three or more people, the area is a circular area 220 centered on the reference image 201. Hereinafter, the rectangular area 218 and the circular area 220 are referred to as a detection area 222.

その後、図23のステップS4において、基準セル探知機能210は、得られた探知領域222のカメラ座標から画像メモリ20上での前記探知領域222の描画範囲224を求める(図24B及び図25B参照)。その後、ステップS5において、探知領域222の描画範囲224に対戦カード541〜546の識別画像561〜566、特に、ロゴ部58の基準セル62が存在するかどうかを探知する。例えば図19Bに示すように、フィールドカード54Fを中心にして6つの対戦カード541〜546が置かれた場合や、図20Aに示すように、マット196の第1〜第6の升目801〜806に合わせて6つの対戦カード541〜546が置かれた場合や、図21Aに示すように、マット200の第1〜第6の升目901〜906に合わせて6つの対戦カード541〜546が置かれた場合等においては、6つの対戦カード541〜546の各基準セル62の位置が検出されることになる。   Thereafter, in step S4 of FIG. 23, the reference cell detection function 210 obtains the drawing range 224 of the detection area 222 on the image memory 20 from the obtained camera coordinates of the detection area 222 (see FIGS. 24B and 25B). . Thereafter, in step S5, it is detected whether or not the identification images 561 to 566 of the battle cards 541 to 546, in particular, the reference cell 62 of the logo portion 58 exists in the drawing range 224 of the detection area 222. For example, as shown in FIG. 19B, when six battle cards 541 to 546 are placed around the field card 54F, or in the first to sixth cells 801 to 806 of the mat 196 as shown in FIG. 20A. When six battle cards 541 to 546 are placed in total, or as shown in FIG. 21A, six battle cards 541 to 546 are placed according to the first to sixth cells 901 to 906 of the mat 200. In some cases, the positions of the reference cells 62 of the six battle cards 541 to 546 are detected.

対戦カード541〜546の識別画像561〜566が存在している場合は、ステップS6に進み、識別情報検出機能212は、前記描画範囲224の画像データをアフィン変換して、描画範囲224の画像データを上面から見た画像と等価な画像データとし、該画像データから6つのカード541〜546の識別画像561〜566、特に、各識別画像561〜566のコード部60の二次元パターン(コード116)から6つのカード541〜546の識別番号を検出する。識別番号の検出は、上述したように、コード116を2Dコードのデータベース68と照合することによって行われる。   If the identification images 561 to 566 of the battle cards 541 to 546 exist, the process proceeds to step S 6, and the identification information detection function 212 performs affine transformation on the image data of the drawing range 224 and the image data of the drawing range 224. Is the image data equivalent to the image seen from above, and the two-dimensional pattern (code 116) of the identification image 561 to 566 of the six cards 541 to 546, in particular, the code portion 60 of each identification image 561 to 566 from the image data. The identification numbers of the six cards 541 to 546 are detected. As described above, the identification number is detected by collating the code 116 with the 2D code database 68.

その後、ステップS7において、識別情報検出機能212は、6つのカード541〜546における識別画像561〜566のカメラ座標を求め、6つのカード541〜546における各ロゴ部58の中心のカメラ座標と各コード部60の中心のカメラ座標を、図9に示す現在位置情報テーブル117に登録する。なお、識別番号が検出できなかった場合は、後述する浮遊画像表示プログラム100が起動される。   Thereafter, in step S7, the identification information detection function 212 obtains the camera coordinates of the identification images 561 to 566 in the six cards 541 to 546, and the camera coordinates and the respective codes of the center of each logo part 58 in the six cards 541 to 546. The camera coordinates of the center of the unit 60 are registered in the current position information table 117 shown in FIG. When the identification number cannot be detected, a floating image display program 100 described later is started.

その後、ステップS8において、キャラクタ画像検索機能214は、対戦カード541〜546の各識別番号に基づくキャラクタの画像701〜706の画像データ120をオブジェクト情報テーブル118から検索する。例えばオブジェクト情報テーブル118からそれぞれ識別番号に対応するレコードを検索し、検索したレコードが「有効」であれば、各レコードに登録された画像データの格納先頭アドレスから各キャラクタの画像データ120を読み出す。   Thereafter, in step S 8, the character image search function 214 searches the object information table 118 for the image data 120 of the character images 701 to 706 based on the identification numbers of the battle cards 541 to 546. For example, the record corresponding to the identification number is searched from the object information table 118. If the searched record is “valid”, the image data 120 of each character is read from the storage start address of the image data registered in each record.

その後、ステップS9において、キャラクタ画像検索機能214は、キャラクタの画像701〜706を特定した段階で、現在位置情報テーブル117のうち、カード541〜546の識別番号に対応する各レコードにおけるキャラクタの画像のカメラ座標として、カード541〜546の各コード部60の中心のカメラ座標を登録する。   After that, in step S9, the character image search function 214 identifies the character image 701 in each record corresponding to the identification number of the cards 541 to 546 in the current position information table 117 when the character images 701 to 706 are specified. The camera coordinates of the center of each code part 60 of the cards 541 to 546 are registered as camera coordinates.

一方、前記ステップS5において、対戦カード541〜546の識別画像561〜566が存在していないと判別された場合は、基準セル探知機能210は、ステップS10に進み、モニタ30の画面に全てのカード541〜546を置くように促すエラーメッセージを出力する。その後、ステップS11において、所定時間(例えば3秒間)だけ待機した後、ステップS5に戻り、処理を繰り返す。   On the other hand, if it is determined in step S5 that the identification images 561 to 566 of the battle cards 541 to 546 do not exist, the reference cell detection function 210 proceeds to step S10, and all the cards are displayed on the screen of the monitor 30. An error message prompting to place 541 to 546 is output. Thereafter, in step S11, after waiting for a predetermined time (for example, 3 seconds), the process returns to step S5 and the process is repeated.

そして、探知領域222に存在する全てのカード541〜546についてキャラクタの画像701〜706を決定した段階で、上述した処理動作が終了する。   Then, when the character images 701 to 706 have been determined for all the cards 541 to 546 existing in the detection area 222, the processing operation described above ends.

この場合も、例えばキャラクタ出現表示プログラム84が起動されることによって、図18C、図19B及び図20Bに示すように、各対戦カード541の識別画像561〜566上にそれぞれカード541〜546の識別番号に対応するキャラクタの画像701〜706が登場するシーンが表示されることになる。   Also in this case, for example, when the character appearance display program 84 is activated, as shown in FIGS. 18C, 19B, and 20B, the identification numbers of the cards 541 to 546 are displayed on the identification images 561 to 566 of the battle cards 541, respectively. A scene in which character images 701 to 706 corresponding to the characters appear is displayed.

このカード位置予測プログラム90では、6つのカード541〜546に対する認識を、基準画像201に基づいて設定された探知領域222に対して行うようにしたので、6つのカード541〜546を認識するために、再度、画像メモリ20全体を探知する必要がなくなり、6つのカード541〜546に対する認識処理の負荷を軽減することができる。   In this card position prediction program 90, the six cards 541 to 546 are recognized with respect to the detection area 222 set based on the reference image 201, so that the six cards 541 to 546 are recognized. Again, it is not necessary to detect the entire image memory 20, and the recognition processing load on the six cards 541 to 546 can be reduced.

次に、組合せ動作表示プログラム92について説明する。このプログラム92は、図3Aに示すように、一方のユーザ74Aが机やテーブル52等に3つのカード541〜543を横方向に並べて配置し、他方のユーザ74Bが同じく机やテーブル52等に3つのカード544〜546を横方向に並べて配置した場合を想定したものである。このプログラム92は、検出された3つのカード(例えばカード541〜543)の配置方向の組み合わせから1つの処理手順を特定するものである。例えば、3つのカード541〜543のうち、左側のカード541の配置方向によって動作を行うキャラクタを特定し、中央のカード542の配置方向によって動作によって影響を与えるべき相手のキャラクタを特定し、右側のカードの配置方向によって動作を特定する。   Next, the combination operation display program 92 will be described. In this program 92, as shown in FIG. 3A, one user 74A arranges three cards 541 to 543 in a horizontal direction on a desk, table 52, etc., and the other user 74B also places 3 cards on the desk, table 52, etc. It is assumed that two cards 544 to 546 are arranged side by side in the horizontal direction. This program 92 specifies one processing procedure from the combination of the arrangement directions of three detected cards (for example, cards 541 to 543). For example, among the three cards 541 to 543, a character that performs an action is specified according to the arrangement direction of the left card 541, an opponent character that should be influenced by the action is specified according to the arrangement direction of the center card 542, and The operation is specified by the card orientation.

そして、この組合せ表示プログラムは、図26に示すように、カード方向検出機能226と、動作対象特定機能228と、相手特定機能230と、動作特定機能232とを有する。   The combination display program includes a card direction detection function 226, an operation target specifying function 228, a partner specifying function 230, and an operation specifying function 232 as shown in FIG.

ここで、全てのカード541〜546の識別画像561〜566のカメラ座標が検出された後の各機能の処理について図3A、図3B、図26及び図27〜図29を参照しながら説明する。   Here, processing of each function after the camera coordinates of the identification images 561 to 566 of all the cards 541 to 546 are detected will be described with reference to FIGS. 3A, 3B, 26, and 27 to 29. FIG.

まず、カード方向検出機能226は、現在位置情報テーブル117に登録されている情報、すなわち、置かれた全てのカード541〜546の識別画像561〜566のカメラ座標(ロゴ部58のカメラ座標及びコード部60のカメラ座標)から、それぞれユーザ74A及び74Bの左側、中央及び右側に位置する各カード541〜546の識別画像561〜566が、それぞれ対応するユーザ74A及び74Bから見てどの方向を向いているかを検出する。また、攻撃又は防御がターン制であれば、これから攻撃を行う側のユーザ74A又は74Bのカード(カード541〜543又はカード544〜546)についてだけカードの方向を検出するようにしてもよい。   First, the card direction detection function 226 is information registered in the current position information table 117, that is, camera coordinates of the identification images 561 to 566 of all the placed cards 541 to 546 (camera coordinates and codes of the logo portion 58). The identification images 561 to 566 of the cards 541 to 546 located on the left side, center, and right side of the users 74A and 74B, respectively, from which direction the user 74A and 74B see the corresponding direction. Detect whether or not If the attack or defense is turn-based, the direction of the card may be detected only for the card (card 541 to 543 or card 544 to 546) of the user 74A or 74B on the attacking side.

以下の説明では、説明を簡単にするために、ユーザ74Aの3つのカード541〜543による処理について説明する。   In the following description, processing by the three cards 541 to 543 of the user 74A will be described in order to simplify the description.

そして、カード方向検出機能226は、図26に示すように、ユーザ74Aによって左側に置かれたカード541の識別画像561の方向の情報を動作対象特定機能228に渡し、中央に置かれたカード542の識別画像562の方向の情報を相手特定機能230に渡し、右側に置かれたカード543の識別画像563の方向の情報を動作特定機能232に渡す。   Then, as shown in FIG. 26, the card direction detection function 226 passes information on the direction of the identification image 561 of the card 541 placed on the left side by the user 74A to the operation target specifying function 228, and the card 542 placed in the center. The direction information of the identification image 562 of the card 543 is passed to the partner identification function 230, and the direction information of the identification image 563 of the card 543 placed on the right side is passed to the action identification function 232.

動作対象特定機能228は、3つのカード541〜543の識別画像561〜563上に重畳して表示されている3つのキャラクタの画像701〜703のうち、前記カード方向検出機能226から供給されたカード541の方向の情報に基づいて、1つのキャラクタ又は全キャラクタを選択する。   The action target specifying function 228 is a card supplied from the card direction detection function 226 among the three character images 701 to 703 displayed superimposed on the identification images 561 to 563 of the three cards 541 to 543. One character or all characters are selected based on the information of the direction of 541.

具体的には、例えば図27に示すように、左側のカード541の方向が左であれば、左側のカード541のキャラクタの画像701(実際には識別画像561で特定される識別番号)が選択され、カード541の方向が上であれば、中央のカード542のキャラクタの画像702(実際には識別画像562で特定される識別番号)が選択され、カード541の方向が右であれば、右側のカード543のキャラクタの画像703(実際には識別画像563で特定される識別番号)が選択され、カード541の方向が下であれば、左、中央及び右の3つのカード541〜543のキャラクタの画像701〜703(実際には識別画像561〜563で特定される識別番号)が選択される。選択された識別番号は、第1のレジスタ234に登録される。   Specifically, for example, as shown in FIG. 27, if the direction of the left card 541 is left, the character image 701 of the left card 541 (the identification number actually specified by the identification image 561) is selected. If the direction of the card 541 is upward, the character image 702 of the central card 542 (actually the identification number specified by the identification image 562) is selected. If the direction of the card 541 is right, the right side If the image 703 of the character of the card 543 (identification number actually specified by the identification image 563) is selected and the card 541 is in the downward direction, the characters of the three cards 541 to 543 on the left, center and right Images 701 to 703 (in fact, identification numbers specified by the identification images 561 to 563) are selected. The selected identification number is registered in the first register 234.

相手特定機能230は、敵対する相手(ユーザ74B)に関するそれぞれ3つのカード544〜546の識別画像564〜566上に重畳して表示されている3つのキャラクタの画像704〜706のうち、前記カード方向検出機能226から供給されたカード542の方向に基づいて、相手となる1つのキャラクタ又は全キャラクタを選択する。   The opponent identifying function 230 is configured to display the card direction among the three character images 704 to 706 displayed superimposed on the identification images 564 to 566 of the three cards 544 to 546 for the opponent opponent (user 74B). Based on the direction of the card 542 supplied from the detection function 226, one character or all characters to be an opponent are selected.

具体的には、例えば図28に示すように、中央のカード542の方向が左であれば、ユーザ74Bから見て左側のカード54dのキャラクタの画像704(実際には識別画像564で特定される識別番号)が選択され、カード542の方向が上であれば、ユーザ74Bから見て中央のカード545のキャラクタの画像705(実際には識別画像565で特定される識別番号)が選択され、カード542の方向が右であれば、ユーザ74Bから見て右側のカード546のキャラクタの画像706(実際には識別画像566で特定される識別番号)が選択され、カード542の方向が下であれば、前記動作対象特定機能228にて選択された識別番号が選択される。選択された識別番号は、第2のレジスタ236に登録される。   Specifically, for example, as shown in FIG. 28, if the direction of the center card 542 is left, the character image 704 of the left card 54d as viewed from the user 74B (actually identified by the identification image 564). If the identification number) is selected and the card 542 is in the upward direction, the character image 705 of the central card 545 as viewed from the user 74B (actually the identification number specified by the identification image 565) is selected, and the card If the direction of 542 is right, the character image 706 of the right card 546 as viewed from the user 74B is selected (actually the identification number specified by the identification image 566), and if the direction of the card 542 is downward. The identification number selected by the operation target specifying function 228 is selected. The selected identification number is registered in the second register 236.

動作特定機能232は、前記動作対象特定機能228にて選択された識別番号(第1のレジスタ234に登録された識別番号)に対応するキャラクタの動作を、前記カード方向検出機能226から供給されたカード543の方向に基づいて選択する。例えば図29に示すように、カード543の方向が左であれば、「攻撃する」が選択され、カード543の方向が上であれば、「魔法をかける」が選択され、カード543の方向が右であれば、「防御する」が選択され、カード543の方向が下であれば、「庇う」が選択される。   The action specifying function 232 is supplied with the action of the character corresponding to the identification number (identification number registered in the first register 234) selected by the action target specifying function 228 from the card direction detecting function 226. The selection is made based on the direction of the card 543. For example, as shown in FIG. 29, if the direction of the card 543 is left, “attack” is selected, and if the direction of the card 543 is up, “apply magic” is selected, and the direction of the card 543 is If it is right, “defend” is selected, and if the direction of the card 543 is down, “climb” is selected.

前記動作特定機能232は、動作が選択された段階で、キャラクタ動作表示プログラム86を起動して選択した動作に応じたシーンを表示させる。   The action specifying function 232 activates the character action display program 86 and displays a scene corresponding to the selected action when the action is selected.

この組合せ動作表示プログラム92によれば、操作装置(キー操作によってコマンド入力を行うための装置)を使用しなくても、3つのカード541〜543の向きの組み合わせによって様々な処理を指示することができる。   According to the combination operation display program 92, various processes can be instructed by combinations of the orientations of the three cards 541 to 543 without using an operation device (device for inputting commands by key operation). it can.

次に、第1のキャラクタ移動表示プログラム94について説明する。このプログラム94は、図30に示すように、例えばカード545の識別画像565上に重畳して表示されたキャラクタの画像705が、撮像画像上の目的位置240まで移動する表示を行う。目的位置240としては、基準画像201の位置、複数のカード541〜546の向きによって決定される位置、あるいは上述した組合せ動作表示プログラム92で選択された相手となるキャラクタの画像の位置等である。   Next, the first character movement display program 94 will be described. As shown in FIG. 30, the program 94 displays a character image 705 displayed superimposed on the identification image 565 of the card 545, for example, so as to move to the target position 240 on the captured image. The target position 240 is the position of the reference image 201, the position determined by the orientation of the plurality of cards 541 to 546, or the position of the image of the opponent character selected by the combination action display program 92 described above.

そして、この第1のキャラクタ移動表示プログラム94は、図31に示すように、第1の目的位置設定機能242、第2の目的位置設定機能244、第3の目的位置設定機能246、動作データ列検索機能248、移動姿勢設定機能250、三次元画像設定機能252、画像描画機能254、画像表示機能256、テーブル書換え機能258、距離演算機能260、繰返し機能262を有する。なお、第1〜第3の目的位置設定機能242、244及び246による処理は、ビデオゲームのシナリオの進行に応じて選択的に行われる。   Then, as shown in FIG. 31, the first character movement display program 94 includes a first target position setting function 242, a second target position setting function 244, a third target position setting function 246, an action data string. A search function 248, a moving posture setting function 250, a three-dimensional image setting function 252, an image drawing function 254, an image display function 256, a table rewriting function 258, a distance calculation function 260, and a repetition function 262 are provided. Note that the processing by the first to third target position setting functions 242, 244, and 246 is selectively performed according to the progress of the video game scenario.

第1の目的位置設定機能242は、基準画像201の位置を目的位置として設定する。具体的には、カード位置予測プログラム90においてレジスタ216(図22参照)に登録された基準画像201のカメラ座標を読み出し、このカメラ座標を目的位置のカメラ座標とする。   The first target position setting function 242 sets the position of the reference image 201 as the target position. Specifically, the camera coordinates of the reference image 201 registered in the register 216 (see FIG. 22) in the card position prediction program 90 are read out, and the camera coordinates are set as the camera coordinates of the target position.

第2の目的位置設定機能244は、机やテーブル52等に置かれた全てのカード541〜546の方向に基づいて決定される位置を目的位置として設定する。例えば図32に示すように、6つのカード541〜546が円陣に配置された場合、各カード541〜546の中心線m1〜m6が交差する複数の点で形成される多角形264の例えば内心位置や重心位置266を目的位置とする。これは、3つ以上のカードが円陣に配置される場合に適用することができる。具体的な処理としては、現在位置情報テーブル117に登録されている情報、すなわち、置かれた全てのカード541〜546の識別画像561〜566のカメラ座標(ロゴ部58のカメラ座標及びコード部60のカメラ座標)から全てのカード541〜546の中心線m1〜m6のベクトルを求め、得られた中心線m1〜m6が交差する複数の点のカメラ座標を抽出し、抽出された複数の点にて構成される多角形264の内心位置あるいは重心位置266のカメラ座標を目的位置のカメラ座標とする。   The second target position setting function 244 sets a position determined based on the directions of all the cards 541 to 546 placed on the desk, the table 52 or the like as the target position. For example, as shown in FIG. 32, when six cards 541 to 546 are arranged in a circle, for example, an inner center position of a polygon 264 formed by a plurality of points intersecting the center lines m1 to m6 of the cards 541 to 546 Or the center of gravity position 266 is set as a target position. This can be applied when more than two cards are placed in a circle. Specifically, the information registered in the current position information table 117, that is, the camera coordinates of the identification images 561 to 566 of all the placed cards 541 to 546 (the camera coordinates and code part 60 of the logo part 58). The camera coordinates of the center lines m1 to m6 of all the cards 541 to 546 are obtained from the camera coordinates), the camera coordinates of a plurality of points where the obtained center lines m1 to m6 intersect are extracted, and the extracted points are The camera coordinates of the center position or the center of gravity position 266 of the polygon 264 configured as described above are set as the camera coordinates of the target position.

第3の目的位置設定機能246は、組合せ動作表示プログラム92で選択された相手となるキャラクタの画像の位置を目的位置として設定する。具体的には、組合せ動作表示プログラム92において第2のレジスタ236(図26参照)に登録された識別番号を読み出し、現在位置情報テーブル117に登録された情報のうち、前記読み出された識別番号に対応するカメラ座標(例えばキャラクタの画像のカメラ座標)を目的位置のカメラ座標とする。   The third target position setting function 246 sets the position of the image of the opponent character selected by the combination action display program 92 as the target position. Specifically, the identification number registered in the second register 236 (see FIG. 26) in the combination operation display program 92 is read, and the read identification number among the information registered in the current position information table 117 is read out. The camera coordinates corresponding to (for example, the camera coordinates of the character image) are set as the camera coordinates of the target position.

動作データ列検索機能248は、例えば図30に示すように、キャラクタの画像705がカード545の識別画像565の上から目的位置240まで移動するシーンを表示するための動作データ列を第1の移動動作情報テーブル268から検索する。具体的には、まず、例えばハードディスク44や光ディスク32等に記録された第1の移動動作情報テーブル268から当該カード545の識別番号に対応するレコードを検索する。そして、例えばハードディスク44や光ディスク32等に記録され、多数の動作データ列270が登録されたデータファイル272のうち、前記検索したレコードに登録された格納先頭アドレスから当該キャラクタの画像705が目的位置240まで移動する動作を示す動作データ列270を読み出す。   For example, as shown in FIG. 30, the motion data string search function 248 first moves the motion data string for displaying a scene in which the character image 705 moves from the identification image 565 of the card 545 to the target position 240. The operation information table 268 is searched. Specifically, first, for example, a record corresponding to the identification number of the card 545 is searched from the first movement operation information table 268 recorded on the hard disk 44, the optical disk 32, or the like. Then, for example, among the data file 272 recorded on the hard disk 44, the optical disk 32, etc. and registered with a large number of motion data strings 270, the image 705 of the character from the storage head address registered in the searched record is the target position 240. The operation data string 270 indicating the operation to move to is read.

移動姿勢設定機能250は、現在位置情報テーブル117のうち、当該識別番号に対応するレコードから当該キャラクタの画像705のカメラ座標を読み出して、該カメラ座標に当該キャラクタの画像705が目的位置240まで移動する過程の1つの姿勢を設定する。例えば読み出された動作データ列270のiフレーム目(i=1,2,3・・・)の動作データに基づいてキャラクタの画像705の頂点データをカメラ座標上で移動して1つの姿勢を設定する。   The movement posture setting function 250 reads the camera coordinates of the character image 705 from the record corresponding to the identification number in the current position information table 117, and the character image 705 moves to the target position 240 at the camera coordinates. One posture of the process is set. For example, based on the motion data of the i-th frame (i = 1, 2, 3...) Of the read motion data sequence 270, the vertex data of the character image 705 is moved on the camera coordinates to change one posture. Set.

三次元画像設定機能252は、例えばカード認識プログラム82等によって検出した撮像画像のカメラ座標系に基づいて該カード545の識別画像565上からキャラクタの画像705が目的位置240まで移動する過程の1つの姿勢の三次元画像を設定する。   The three-dimensional image setting function 252 is one of processes in which the character image 705 moves from the identification image 565 of the card 545 to the target position 240 based on the camera coordinate system of the captured image detected by the card recognition program 82 or the like. Set a 3D image of the posture.

画像描画機能254は、キャラクタの画像705が目的位置240まで移動する過程の1つの姿勢の三次元画像をスクリーン座標系の画像に透視変換して画像メモリ20に描画(隠面処理を含む)する。   The image drawing function 254 perspective-converts a three-dimensional image of one posture in the process of moving the character image 705 to the target position 240 into an image in the screen coordinate system and draws it in the image memory 20 (including hidden surface processing). .

画像表示機能256は、画像メモリ20に描画された画像を1フレーム単位に入出力ポート22を介してモニタ30に出力し、モニタ30の画面に前記画像を表示する。   The image display function 256 outputs the image drawn in the image memory 20 to the monitor 30 via the input / output port 22 in units of one frame, and displays the image on the screen of the monitor 30.

テーブル書換え機能258は、1フレーム間に前記キャラクタの画像705が移動した後の該キャラクタの画像705のカメラ座標を、現在位置情報テーブル117のうち、当該識別番号に対応するレコードのキャラクタの画像705のカメラ座標として書き換える。   The table rewriting function 258 indicates the camera coordinates of the character image 705 after the character image 705 is moved during one frame, and the character image 705 of the record corresponding to the identification number in the current position information table 117. Rewrite as camera coordinates.

距離演算機能260は、1フレーム間にキャラクタの画像705が移動した後の該キャラクタの画像705のカメラ座標と目的位置240のカメラ座標とからキャラクタの画像705の位置と目的位置240との間の最短距離(直線距離)を演算する。   The distance calculation function 260 determines the distance between the position of the character image 705 and the target position 240 from the camera coordinates of the character image 705 and the camera coordinates of the target position 240 after the character image 705 is moved during one frame. The shortest distance (straight line distance) is calculated.

繰返し機能262は、距離演算機能260で演算した距離が所定の範囲(例えば実空間で換算したときの0mm〜10mm)になるまで、移動姿勢設定機能250による処理→三次元画像設定機能252による処理→画像描画機能254による処理→画像表示機能256による処理→テーブル書換え機能258による処理→距離演算機能260による処理を順次繰り返す。これによって、図30に示すように、カード545の識別画像565上から、該カード545の識別番号に対応するキャラクタの画像705が目的位置240まで移動するシーンが表示されることになる。   The repeat function 262 performs processing by the moving posture setting function 250 → processing by the three-dimensional image setting function 252 until the distance calculated by the distance calculation function 260 falls within a predetermined range (for example, 0 mm to 10 mm when converted in real space). -> Processing by image drawing function 254-> Processing by image display function 256-> Processing by table rewriting function 258-> Processing by distance calculation function 260 is sequentially repeated. Thus, as shown in FIG. 30, a scene in which the character image 705 corresponding to the identification number of the card 545 moves from the identification image 565 of the card 545 to the target position 240 is displayed.

この第1のキャラクタ移動表示プログラム94によれば、例えばビデオゲームに適用した場合に、図30に示すように、例えばカード545から登場したキャラクタの画像705が目的位置に移動して戦闘を行う等の表示を行うことができ、対戦ゲーム等に好適である。例えば図33に示す6人対戦であれば、6つのキャラクタの画像701〜706がそれぞれ対応するカード541〜546の識別画像561〜566上から円陣の中心に向かって移動し、該円陣の中心において戦闘を繰り広げるというシーンを表示させることができる。また、例えば図34に示す2人対戦であれば、例えば2つのキャラクタの画像703及び705がそれぞれ対応するカード543及び545の識別画像563及び565上から対戦領域の目的位置(例えば中央の位置)240まで移動して戦闘を行うというシーンや、図35に示すように、攻撃側のキャラクタの画像705が対応するカード545の識別画像565上から攻撃相手であるキャラクタの画像703の位置まで移動して戦闘を行うというシーンを表示させることができる。   According to the first character movement display program 94, when applied to a video game, for example, as shown in FIG. 30, for example, the character image 705 appearing from the card 545 moves to the target position and battles, etc. This is suitable for a battle game or the like. For example, in the case of a six-player match shown in FIG. 33, images 701 to 706 of six characters move from the identification images 561 to 566 of the corresponding cards 541 to 546 toward the center of the circle, respectively. You can display the scene of fighting. For example, in the case of a two-person battle shown in FIG. 34, for example, the target positions (for example, the center position) of the battle area from the identification images 563 and 565 of the cards 543 and 545 corresponding to the images 703 and 705 of the two characters, respectively. As shown in FIG. 35, the attacking character image 705 moves from the corresponding identification image 565 of the card 545 to the position of the attacking character image 703, as shown in FIG. You can display a scene of fighting.

次に、第2のキャラクタ移動表示プログラム96について説明する。このプログラム96は、例えば上述した第1のキャラクタ移動表示プログラム94によって、図36に示すように、例えばカード545の識別画像565上から目的位置240に移動したキャラクタの画像705を元のカード545の識別画像564上に移動させるという表示を行う。キャラクタの画像705がどの位置に移動したかの情報は、上述した現在位置情報テーブル117に登録されている。   Next, the second character movement display program 96 will be described. For example, as shown in FIG. 36, the program 96 uses, for example, the character image 705 moved from the identification image 565 of the card 545 to the target position 240 as shown in FIG. The display of moving on the identification image 564 is performed. Information on which position the character image 705 has moved is registered in the current position information table 117 described above.

この第2のキャラクタ移動表示プログラム96は、図37に示すように、動作データ列検索機能274、移動姿勢設定機能276、三次元画像設定機能278、画像描画機能280、画像表示機能282、テーブル書換え機能284、距離演算機能286、繰返し機能288を有する。   As shown in FIG. 37, the second character movement display program 96 includes an operation data string search function 274, a movement posture setting function 276, a three-dimensional image setting function 278, an image drawing function 280, an image display function 282, a table rewriting function. A function 284, a distance calculation function 286, and a repetition function 288 are provided.

動作データ列検索機能274は、例えば図36に示すキャラクタの画像705が現在の位置(例えば上述した目的位置240)から対応するカード545の画像705上に移動する(戻る)シーンを表示するための動作データ列を第2の移動動作情報テーブル290から検索する。具体的には、まず、例えばハードディスク44や光ディスク32等に記録された第2の移動動作情報テーブル290から当該識別番号に対応するレコードを検索する。そして、例えばハードディスク44や光ディスク32等に記録され、かつ、多数の動作データ列292が登録されたデータファイル294のうち、前記検索したレコードに登録された格納先頭アドレスから当該キャラクタの画像705がカード545の識別画像565上まで移動する動作を示す動作データ列292を読み出す。   The motion data string search function 274 displays a scene in which, for example, the character image 705 shown in FIG. 36 moves (returns) from the current position (for example, the above-described target position 240) onto the corresponding image 705 of the card 545. An operation data string is searched from the second movement operation information table 290. Specifically, first, a record corresponding to the identification number is searched from the second movement operation information table 290 recorded on the hard disk 44 or the optical disk 32, for example. Then, for example, among the data file 294 recorded on the hard disk 44, the optical disk 32, etc. and registered with a large number of motion data strings 292, the image 705 of the character is stored in the card from the storage head address registered in the searched record. The operation data string 292 indicating the operation of moving to the identification image 565 of 545 is read out.

移動姿勢設定機能276は、現在位置情報テーブル117のうち、当該識別番号に対応するレコードから当該キャラクタの画像705のカメラ座標を読み出して、該キャラクタの画像705が対応するカード545の識別画像565上まで移動する過程の1つの姿勢を設定する。例えば読み出された動作データ列292のiフレーム目(i=1,2,3・・・)の動作データに基づいてキャラクタの画像705の頂点データをカメラ座標上で移動して1つの姿勢を設定する。   The movement posture setting function 276 reads the camera coordinates of the character image 705 from the record corresponding to the identification number in the current position information table 117, and displays the character image 705 on the identification image 565 of the card 545 corresponding to the character image 705. One posture of the process of moving to is set. For example, based on the motion data of the i-th frame (i = 1, 2, 3...) Of the read motion data sequence 292, the vertex data of the character image 705 is moved on the camera coordinates to change one posture. Set.

三次元画像設定機能278は、例えばカード認識プログラム82等によって検出した撮像画像のカメラ座標系に基づいてキャラクタの画像705が現在の位置から対応するカード545の識別画像565上まで移動する過程の1つの姿勢の三次元画像を設定する。   The 3D image setting function 278 is a process in which the character image 705 moves from the current position to the identification image 565 of the corresponding card 545 based on the camera coordinate system of the captured image detected by the card recognition program 82 or the like. Set a three-dimensional image of one posture.

画像描画機能280は、キャラクタの画像705が対応するカード545の識別画像565上まで移動する過程の1つの姿勢の三次元画像をスクリーン座標系の画像に透視変換して画像メモリ20に描画(隠面処理を含む)する。   The image drawing function 280 perspectively converts a three-dimensional image of one posture in the process of moving the character image 705 to the identification image 565 of the corresponding card 545 into an image in the screen coordinate system, and draws (hides) the image in the image memory 20. Surface treatment).

画像表示機能282は、画像メモリ20に描画された画像を1フレーム単位に入出力ポート22を介してモニタ30に出力し、モニタ30の画面に前記画像を表示する。   The image display function 282 outputs an image drawn in the image memory 20 to the monitor 30 via the input / output port 22 in units of one frame, and displays the image on the screen of the monitor 30.

テーブル書換え機能284は、1フレーム間に前記キャラクタの画像705が移動した後の該キャラクタの画像705のカメラ座標を、現在位置情報テーブル117のうち、当該識別番号に対応するレコードのキャラクタの画像705のカメラ座標として書き換える。   The table rewriting function 284 indicates the camera coordinates of the character image 705 after the character image 705 is moved during one frame, and the character image 705 of the record corresponding to the identification number in the current position information table 117. Rewrite as camera coordinates.

距離演算機能286は、当該識別番号に対応するカード545の識別画像565のカメラ座標と現在位置情報テーブル117に格納された前記識別番号に対応するキャラクタの現在位置(カメラ座標)との間の距離を演算する。   The distance calculation function 286 is a distance between the camera coordinates of the identification image 565 of the card 545 corresponding to the identification number and the current position (camera coordinates) of the character corresponding to the identification number stored in the current position information table 117. Is calculated.

繰返し機能288は、距離演算機能286で演算した距離が0になるまで、移動姿勢設定機能276による処理→三次元画像設定機能278による処理→画像描画機能280による処理→画像表示機能282による処理→テーブル書換え機能284による処理→距離演算機能286による処理を順次繰り返す。これによって、例えば図36に示すように、キャラクタの画像705が、対応するカード545の識別画像565上に移動するシーンが表示される。   The repeat function 288 performs processing by the moving posture setting function 276 → processing by the three-dimensional image setting function 278 → processing by the image drawing function 280 → processing by the image display function 282 until the distance calculated by the distance calculating function 286 becomes 0 → The processing by the table rewriting function 284 → the processing by the distance calculation function 286 is sequentially repeated. As a result, for example, as shown in FIG. 36, a scene in which the character image 705 moves on the identification image 565 of the corresponding card 545 is displayed.

この第2のキャラクタ移動表示プログラム96によれば、例えばビデオゲームに適用した場合に、カード545から登場したキャラクタの画像705が目的位置240に移動して戦闘を行い、その戦闘で勝った場合に、元のカード545まで戻る等の表示を行うことができ、対戦ゲーム等に好適である。例えば図33に示す6人対戦であれば、6つのキャラクタの画像701〜706が円陣の中心において戦闘を繰り広げた後、図38に示すように、戦闘に勝ったキャラクタの画像701、702及び704がそれぞれ対応するカード541、542及び544の識別画像561、562及び564上まで戻るというシーンを表示させることができる。また、例えば図34に示す2人対戦であれば、図39に示すように、攻撃に向かった2つのキャラクタの画像703及び705のうち、戦闘で勝ったキャラクタの画像703のみが、元のカード543の識別画像563に戻るというシーンを表示させることができる。   According to the second character movement display program 96, for example, when applied to a video game, the image 705 of the character appearing from the card 545 moves to the target position 240 and battles, and when the battle is won. It is possible to display such as returning to the original card 545, which is suitable for a battle game or the like. For example, in the case of a six-player battle shown in FIG. 33, images 701, 702 and 704 of characters winning the battle are shown in FIG. Can be displayed on the identification images 561, 562, and 564 of the corresponding cards 541, 542, and 544, respectively. For example, in the case of a two-player battle shown in FIG. 34, as shown in FIG. 39, only the image 703 of the character that won the battle out of the images 703 and 705 of the two characters headed for the attack is the original card. A scene of returning to the identification image 563 of 543 can be displayed.

次に、キャラクタ無効化プログラム98について説明する。このプログラム98は、キャラクタが戦闘で負けたとき、当該キャラクタがある動作を行いながら徐々に消えていくシーンを表示し、さらに、その後の当該キャラクタの出現を無効にする。   Next, the character invalidation program 98 will be described. When the character loses in battle, the program 98 displays a scene that gradually disappears while performing a certain action, and further invalidates the appearance of the character thereafter.

このキャラクタ無効化プログラム98は、図40に示すように、動作データ列検索機能296、消滅姿勢設定機能298、三次元画像設定機能300、画像描画機能302、画像表示機能304、繰返し機能306、無効ビット設定機能308を有する。   As shown in FIG. 40, the character invalidation program 98 includes a motion data string search function 296, a disappearance posture setting function 298, a three-dimensional image setting function 300, an image drawing function 302, an image display function 304, a repeat function 306, an invalidity. A bit setting function 308 is provided.

動作データ列検索機能296は、キャラクタの画像がある動作を行いながら徐々に消えていくシーンを表示するための動作データ列を消滅表示情報テーブル310から検索する。具体的には、まず、例えばハードディスク44や光ディスク32等に記録された消滅表示情報テーブル310から識別番号に対応するレコードを検索する。そして、例えばハードディスク44や光ディスク32等に記録され、かつ、多数の動作データ列312が登録されたデータファイル314のうち、前記検索したレコードに登録された格納先頭アドレスから当該キャラクタの画像が徐々に消えていく動作を示す動作データ列312を読み出す。   The motion data string search function 296 searches the disappearance display information table 310 for a motion data string for displaying a scene that gradually disappears while performing a certain motion of the character image. Specifically, first, a record corresponding to the identification number is searched from the disappearance display information table 310 recorded on the hard disk 44, the optical disk 32, or the like. Then, for example, among the data file 314 recorded on the hard disk 44, the optical disk 32, etc., and registered with a large number of motion data strings 312, the image of the character gradually starts from the storage head address registered in the searched record. The operation data string 312 indicating the operation that disappears is read.

消滅姿勢設定機能298は、キャラクタの画像が消えていく過程の1つの姿勢を設定を設定する。例えば読み出された動作データ列312のiフレーム目(i=1,2,3・・・)の動作データに基づいて当該キャラクタの画像の頂点データをカメラ座標上で移動して1つの姿勢を設定する。   The disappearance posture setting function 298 sets one posture in the process of disappearing the character image. For example, based on the motion data of the i-th frame (i = 1, 2, 3,...) Of the read motion data sequence 312, the vertex data of the image of the character is moved on the camera coordinates to change one posture. Set.

三次元画像設定機能300は、例えばカード認識プログラム82等によって検出した撮像画像のカメラ座標系に基づいてカードの識別画像上や目的位置240等においてキャラクタの画像が消えていく過程の1つの姿勢の三次元画像を設定する。   The three-dimensional image setting function 300 has one posture in the process in which the character image disappears on the card identification image, the target position 240, or the like based on the camera coordinate system of the captured image detected by the card recognition program 82, for example. Set a 3D image.

画像描画機能302は、当該キャラクタの画像が消えていく過程の1つの姿勢の三次元画像をスクリーン座標系の画像に透視変換して画像メモリ20に描画(隠面処理を含む)する。   The image drawing function 302 perspective-transforms a three-dimensional image of one posture in the process of disappearing the image of the character into an image of the screen coordinate system and draws it in the image memory 20 (including hidden surface processing).

画像表示機能304は、画像メモリ20に描画された画像を1フレーム単位に入出力ポート22を介してモニタ30に出力し、モニタ30の画面に前記画像を表示する。   The image display function 304 outputs an image drawn in the image memory 20 to the monitor 30 via the input / output port 22 in units of one frame, and displays the image on the screen of the monitor 30.

繰返し機能306は、消滅姿勢設定機能298による処理→三次元画像設定機能300による処理→画像描画機能302による処理→画像表示機能304による処理を順次繰り返す。これによって、当該キャラクタに対応するカードの識別画像上や目的位置240等で当該キャラクタの画像がある動作を行いながら徐々に消えていくシーンが表示される。   The repeat function 306 sequentially repeats processing by the disappearance posture setting function 298 → processing by the three-dimensional image setting function 300 → processing by the image drawing function 302 → processing by the image display function 304. As a result, a scene is displayed that gradually disappears while performing an operation of the image of the character on the identification image of the card corresponding to the character, the target position 240, or the like.

無効ビット設定機能308は、オブジェクト情報テーブル118のうち、当該キャラクタに対応するレコード(すなわち、当該識別番号に対応するレコード)の有効/無効(1/0)ビットを「無効」にする。   The invalid bit setting function 308 sets the valid / invalid (1/0) bit of the record corresponding to the character (that is, the record corresponding to the identification number) in the object information table 118 to “invalid”.

このキャラクタ無効化プログラム98によれば、例えばビデオゲームに適用した場合に、カードから登場したキャラクタが所定位置に移動して戦闘を行い、その戦闘で負けて死亡した場合に、徐々に消滅していく等の表示を行うことができ、対戦ゲーム等に好適である。   According to the character invalidation program 98, for example, when applied to a video game, when a character appearing from a card moves to a predetermined position and fights, and loses and dies in the battle, it gradually disappears. It is possible to display such as a game, which is suitable for a battle game or the like.

ところで、ビデオゲームの進行に伴って、机やテーブル52等に置かれたカードがユーザの手で動かされる場合がある。例えば1以上のカードの位置がずれたり、カードの配置の入れ替えや新たなカードとの交換等である。このようにカードに動きがあった場合、動きのあったカードについて再度認識する必要がある。   By the way, as the video game progresses, a card placed on a desk or table 52 may be moved by the user's hand. For example, the position of one or more cards may be shifted, the arrangement of cards may be changed, or a new card may be exchanged. Thus, when a card | curd has moved, it is necessary to recognize again about the card | curd which moved.

これを解決するには、カード認識プログラム82やカード位置予測プログラム90を、数フレーム単位あるいは数10フレーム単位に起動すればよい。もちろん、新たなカードを認識した場合は、キャラクタ出現表示プログラム84を起動して新たなカードの識別画像上に、該新たなカードの識別番号等に応じたキャラクタの画像を登場させればよい。また、カードの位置がずれたり、配置が入れ替わる程度であれば、キャラクタ動作表示プログラム86を起動して、例えば「待機」の動作を表示すればよい。   In order to solve this, the card recognition program 82 and the card position prediction program 90 may be activated in units of several frames or several tens of frames. Of course, when a new card is recognized, the character appearance display program 84 is activated and a character image corresponding to the new card identification number or the like may appear on the new card identification image. Further, if the position of the card is shifted or the arrangement is changed, the character action display program 86 may be activated to display, for example, a “standby” action.

しかし、このカードの再認識が失敗する場合もある。例えば一旦、カードを置いて対応するキャラクタを登場させた後、該カードを引っ込めてそのままにしたり、別の物体(ユーザの手等)でカードの面が隠れたり、CCDカメラ42の撮像面がずれてカードの表面を撮像できなくなったりした場合等においては、カードの再認識ができなくなるおそれがある。このような場合の処理を行うアプリケーションプログラムについて以下に説明する。   However, re-recognition of this card may fail. For example, once the card is placed and the corresponding character appears, the card is retracted and left as it is, the surface of the card is hidden by another object (such as the user's hand), or the imaging surface of the CCD camera 42 is displaced. If the card surface cannot be captured, the card may not be re-recognized. An application program that performs processing in such a case will be described below.

まず、浮遊画像表示プログラム100について説明する。このプログラム100は、カードの再認識が失敗した場合に、例えば図41に示すように、楕円形の中に「1」と「0」の任意の組み合わせからなるデータ列が記述された画像(浮遊画像316)を所定時間にわたって浮遊させる表示を行う。図41では、カード546の認識が失敗した例(分かりやすく「×」で示す)を示す。   First, the floating image display program 100 will be described. When the re-recognition of the card fails, the program 100 displays an image (floating image) in which a data string composed of an arbitrary combination of “1” and “0” is described in an ellipse as shown in FIG. 41, for example. The image 316) is displayed to float for a predetermined time. FIG. 41 shows an example in which recognition of the card 546 fails (indicated by “x” for easy understanding).

この浮遊画像表示プログラム100は、識別情報の検出ができなかった場合に、カード認識プログラム82、あるいはフィールド表示プログラム88、あるいはカード位置予測プログラム90から起動されるもので、図42に示すように、計時機能318と、浮遊画像読出し機能320と、動作データ列読出し機能322、浮遊姿勢設定機能324、三次元画像設定機能326、画像描画機能328、画像表示機能330、繰返し機能332と、浮遊画像消去機能334とを有する。   The floating image display program 100 is started from the card recognition program 82, the field display program 88, or the card position prediction program 90 when the identification information cannot be detected. As shown in FIG. Timekeeping function 318, floating image reading function 320, motion data string reading function 322, floating posture setting function 324, three-dimensional image setting function 326, image drawing function 328, image display function 330, repetition function 332, floating image erasure A function 334.

計時機能318は、このプログラム100が起動された時点で、クロックパルスPcの計数を開始し、所定時間(例えば1分、2分、3分等)が計時された時点でタイムアップ信号Stを出力して、計時データをリセットする。   The time measuring function 318 starts counting the clock pulses Pc when the program 100 is started, and outputs a time-up signal St when a predetermined time (for example, 1 minute, 2 minutes, 3 minutes, etc.) is timed. To reset the timing data.

特定画像読出し機能320は、図41に示す浮遊画像316の画像データ(浮遊画像データ)336を例えばハードディスク44や光ディスク32等から読み出す。   The specific image reading function 320 reads the image data (floating image data) 336 of the floating image 316 shown in FIG. 41 from, for example, the hard disk 44 or the optical disk 32.

動作データ列読出し機能322は、浮遊画像316が浮遊して動くシーンを表示するための動作データ列338を例えばハードディスク44や光ディスク32等から読み出す。   The operation data string reading function 322 reads an operation data string 338 for displaying a scene in which the floating image 316 is floating and moving, for example, from the hard disk 44 or the optical disk 32.

浮遊姿勢設定機能324は、浮遊画像316が浮遊して動く過程の1つの姿勢を設定する。例えば読み出された動作データ列338のiフレーム目(i=1,2,3・・・)の動作データに基づいて浮遊画像データ336の頂点データをカメラ座標上で移動して1つの姿勢を設定する。   The floating posture setting function 324 sets one posture of the process in which the floating image 316 floats and moves. For example, based on the motion data of the i-th frame (i = 1, 2, 3...) Of the read motion data sequence 338, the vertex data of the floating image data 336 is moved on the camera coordinates to change one posture. Set.

三次元画像設定機能326は、例えばカード認識プログラム82等によって検出した撮像画像のカメラ座標系に基づいて浮遊画像316が浮遊して動く過程の1つの姿勢の三次元画像を設定する。   The three-dimensional image setting function 326 sets a three-dimensional image of one posture in the process of floating and moving the floating image 316 based on, for example, the camera coordinate system of the captured image detected by the card recognition program 82 or the like.

画像描画機能328は、浮遊画像316が浮遊して動く過程の1つの姿勢の三次元画像をスクリーン座標系の画像に透視変換して画像メモリ20に描画(隠面処理を含む)する。   The image drawing function 328 perspective-converts a three-dimensional image having one posture in the process of floating the floating image 316 into a screen coordinate system image and draws the image in the image memory 20 (including hidden surface processing).

画像表示機能330は、画像メモリ20に描画された画像を1フレーム単位に入出力ポート22を介してモニタ30に出力し、モニタ30の画面に前記画像を表示する。   The image display function 330 outputs an image drawn in the image memory 20 to the monitor 30 via the input / output port 22 in units of one frame, and displays the image on the screen of the monitor 30.

繰返し機能332は、計時機能318からタイムアップ信号Stが出力されるまで、浮遊姿勢設定機能324による処理→三次元画像設定機能326による処理→画像描画機能328による処理→画像表示機能330による処理を順次繰り返す。これによって、図41に示すように、モニタ30の画面に浮遊画像316が浮遊しながら動くというシーンが表示されることになる。   The repeat function 332 performs processing by the floating posture setting function 324 → processing by the three-dimensional image setting function 326 → processing by the image drawing function 328 → processing by the image display function 330 until the time-up signal St is output from the time measuring function 318. Repeat sequentially. As a result, as shown in FIG. 41, a scene in which the floating image 316 moves while floating on the screen of the monitor 30 is displayed.

この浮遊画像表示プログラム100は、浮遊画像316を表示させることで、ユーザに対して、現在、一部のカード(図41の例ではカード546)あるは全部のカードについて認識ができなくなっていることを示すことができる。   The floating image display program 100 displays the floating image 316 so that the user can no longer recognize some cards (card 546 in the example of FIG. 41) or all the cards. Can be shown.

次に、着地表示プログラム102について説明する。このプログラム102は、図43に示すように、浮遊画像316を浮遊させた表示が行われた後において、カード546の再認識が成功した場合に、該カード546の識別番号に対応するキャラクタの画像706を当該カード546の識別画像566上に着地させる表示を行う。   Next, the landing display program 102 will be described. As shown in FIG. 43, this program 102 displays the image of the character corresponding to the identification number of the card 546 when the re-recognition of the card 546 succeeds after the floating image 316 is floated. A display for landing 706 on the identification image 566 of the card 546 is performed.

この着地表示プログラム102は、浮遊画像316を浮遊させた表示が行われた後において、カードの識別情報が正しく検出された場合に、カード認識プログラム82やフィールド表示プログラム88、あるいはカード位置予測プログラム90から起動されるもので、図44に示すように、動作データ列検索機能340、着地姿勢設定機能342、三次元画像設定機能344、画像描画機能346、画像表示機能348、距離演算機能350、繰返し機能352を有する。上述したカード認識プログラム82、あるいはフィールド表示プログラム88、あるいはカード位置予測プログラム90からは、再認識が成功したカードの識別番号と、対応するカードの識別画像のカメラ座標が供給される。   The landing display program 102 displays the card recognition program 82, the field display program 88, or the card position prediction program 90 when the card identification information is correctly detected after the floating image 316 is displayed. 44. As shown in FIG. 44, the motion data string search function 340, the landing posture setting function 342, the three-dimensional image setting function 344, the image drawing function 346, the image display function 348, the distance calculation function 350, and the repetition A function 352 is included. From the card recognition program 82, the field display program 88, or the card position prediction program 90 described above, the identification number of the card that has been successfully recognized again and the camera coordinates of the identification image of the corresponding card are supplied.

動作データ列検索機能340は、例えば図43に示すように、浮遊画像316の位置からキャラクタの画像706が飛び出て対応するカード546の識別画像566上に着地するシーンを表示するための動作データ列を着地動作情報テーブル354から検索する。具体的には、まず、例えばハードディスク44や光ディスク32等に記録された着地動作情報テーブル354から当該識別番号に対応するレコードを検索する。そして、例えばハードディスク44や光ディスク32等に記録され、多数の動作データ列356が登録されたデータファイル358のうち、前記検索したレコードに登録された格納先頭アドレスから、当該キャラクタの画像706が、対応するカード546の識別画像566上に着地する動作を示す動作データ列356を読み出す。   For example, as shown in FIG. 43, the action data string search function 340 displays an action data string for displaying a scene where the character image 706 pops out from the position of the floating image 316 and lands on the corresponding identification image 566 of the card 546. Is retrieved from the landing motion information table 354. Specifically, first, for example, a record corresponding to the identification number is searched from the landing operation information table 354 recorded on the hard disk 44, the optical disk 32, or the like. Then, for example, from the storage head address registered in the searched record among the data files 358 recorded on the hard disk 44, the optical disk 32, etc. and registered with a large number of motion data strings 356, the image 706 of the character is supported. The operation data string 356 indicating the operation of landing on the identification image 566 of the card 546 to be read is read out.

着地姿勢設定機能342は、キャラクタの画像706が、対応するカード546の識別画像566上に着地する過程の1つの姿勢を設定する。例えば読み出された動作データ列356のiフレーム目(i=1,2,3・・・)の動作データに基づいてキャラクタの画像706の頂点データをカメラ座標上で移動して1つの姿勢を設定する。   The landing posture setting function 342 sets one posture in the process of landing the character image 706 on the identification image 566 of the corresponding card 546. For example, based on the motion data of the i-th frame (i = 1, 2, 3...) Of the read motion data sequence 356, the vertex data of the character image 706 is moved on the camera coordinates to change one posture. Set.

三次元画像設定機能344は、例えばカード認識プログラム82等によって検出した撮像画像のカメラ座標系に基づいて、キャラクタの画像706が、浮遊画像316の位置から対応するカード546の識別画像566上に着地する過程の1つの姿勢の三次元画像を設定する。   For example, the three-dimensional image setting function 344, based on the camera coordinate system of the captured image detected by the card recognition program 82 or the like, lands the character image 706 on the identification image 566 of the corresponding card 546 from the position of the floating image 316. A three-dimensional image of one posture in the process is set.

画像描画機能346は、キャラクタの画像706が対応するカード546の識別画像566上に着地する過程の1つの姿勢の三次元画像をスクリーン座標系の画像に透視変換して画像メモリ20に描画(隠面処理を含む)する。   The image drawing function 346 performs perspective conversion of a three-dimensional image of one posture in the process of landing on the identification image 566 of the card 546 to which the character image 706 corresponds, and draws (hides) the image in the image memory 20. Surface treatment).

画像表示機能348は、画像メモリ20に描画された画像を1フレーム単位に入出力ポート22を介してモニタ30に出力し、モニタ30の画面に前記画像を表示する。   The image display function 348 outputs the image drawn in the image memory 20 to the monitor 30 via the input / output port 22 in units of one frame, and displays the image on the screen of the monitor 30.

距離演算機能350は、1フレーム間に移動したキャラクタの画像706のカメラ座標と当該識別番号に対応するカード546の識別画像566のカメラ座標との間の距離を演算する。   The distance calculation function 350 calculates the distance between the camera coordinates of the image 706 of the character moved during one frame and the camera coordinates of the identification image 566 of the card 546 corresponding to the identification number.

繰返し機能352は、距離演算機能350で演算した距離が0になるまで、着地姿勢設定機能342による処理→三次元画像設定機能344による処理→画像描画機能346による処理→画像表示機能348による処理→距離演算機能350による処理を順次繰り返す。これによって、例えば図43に示すように、キャラクタの画像706が、対応するカード546の識別画像566上に着地するシーンが表示される。   The repeat function 352 performs processing by the landing posture setting function 342 → processing by the three-dimensional image setting function 344 → processing by the image drawing function 346 → processing by the image display function 348 until the distance calculated by the distance calculating function 350 becomes 0 → The processing by the distance calculation function 350 is sequentially repeated. Accordingly, for example, as shown in FIG. 43, a scene in which the character image 706 lands on the identification image 566 of the corresponding card 546 is displayed.

この着地表示プログラム102においては、浮遊画像316から例えばキャラクタの画像706が飛び出て、対応するカード546の識別画像566上に着地する表示を行うことができることから、そのカード546のキャラクタが未知の世界からこのビデオゲームの仮想空間に戻って着地したような雰囲気を持たせることができ、ビデオゲームに面白みを加えることができる。   In this landing display program 102, for example, a character image 706 pops out from the floating image 316 and can be displayed on the identification image 566 of the corresponding card 546, so that the character of the card 546 is unknown. Therefore, it is possible to give the video game a virtual space and make it feel like it has landed.

上述の例では、主に、2人対戦や6人対戦の場合を示したが、その他、3人対戦や4人対戦、5人対戦、並びに7人対戦以上の人数の対戦でも簡単に適用させることができる。   In the above-mentioned example, mainly the case of two-player battle or six-player battle was shown, but other three-player battles, four-player battles, five-player battles, and battles of more than seven players can be easily applied. be able to.

なお、本発明に係る画像表示システム、画像処理システム、記録媒体及びプログラムは、上述の実施の形態に限らず、本発明の要旨を逸脱することなく、種々の構成を採り得ることはもちろんである。
The image display system according to the present invention, images processing system, a recording medium, and program is not limited to the above embodiments without departing from the gist of the present invention, it may take various configurations, of course is there.

本実施の形態に係るビデオゲームシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the video game system which concerns on this Embodiment. 図2Aはカードの表面を示す平面図であり、図2Bはカードの裏面を示す背面図である。FIG. 2A is a plan view showing the front surface of the card, and FIG. 2B is a rear view showing the back surface of the card. 図3A及び図3Bは本実施の形態に係るビデオゲームシステムの使用形態の一例を示す説明図である。3A and 3B are explanatory diagrams showing an example of a usage pattern of the video game system according to the present embodiment. 図4A及び図4Bは本実施の形態に係るビデオゲームシステムの使用形態の他の例を示す説明図である。4A and 4B are explanatory diagrams showing another example of usage of the video game system according to the present embodiment. 本実施の形態に係るビデオゲームシステムで実行されるアプリケーションプログラムを示す構成図である。It is a block diagram which shows the application program performed with the video game system which concerns on this Embodiment. カード認識プログラムの機能を示すブロック図である。It is a block diagram which shows the function of a card recognition program. 撮像されたカードの識別画像からカードの識別番号を検出するまでの過程を示す説明図である。It is explanatory drawing which shows the process until it detects the identification number of a card | curd from the identification image of the imaged card | curd. 取り込まれた撮像画像から撮像画像のカメラ座標を求める過程を示す説明図である。It is explanatory drawing which shows the process of calculating | requiring the camera coordinate of a captured image from the captured captured image. 現在位置情報テーブルの内訳を示す説明図である。It is explanatory drawing which shows the breakdown of a present position information table. オブジェクト情報テーブルの内訳を示す説明図である。It is explanatory drawing which shows the breakdown of an object information table. キャラクタ出現表示プログラムの機能を示すブロック図である。It is a block diagram which shows the function of a character appearance display program. キャラクタ動作表示プログラムの機能を示すブロック図である。It is a block diagram which shows the function of a character action display program. 図13Aは机やテーブル等にフィールドカードを置いた状態を示す説明図であり、図13Bはモニタの画面にフィールドカードに対応する背景画像と対戦カードを置くべき位置を示す升目を表示させた例を示す説明図である。FIG. 13A is an explanatory diagram showing a state in which a field card is placed on a desk, table, etc., and FIG. 13B is an example in which a background image corresponding to the field card and a grid indicating the position where the battle card should be placed are displayed on the monitor screen. It is explanatory drawing which shows. フィールド表示プログラムの機能を示すブロック図である。It is a block diagram which shows the function of a field display program. 背景画像情報テーブルの内訳を示す説明図である。It is explanatory drawing which shows the breakdown of a background image information table. 升目情報テーブルの内訳を示す説明図である。It is explanatory drawing which shows the breakdown of a cell information table. 6つの升目の相対座標を説明するための図である。It is a figure for demonstrating the relative coordinate of six squares. 図18Aは机やテーブル等にフィールドカードと対戦カードを置いた状態を示す説明図であり、図18Bはモニタの画面にフィールドカードに対応する背景画像と、対戦カードを置くべき位置を示す升目と、対戦カードの識別画像で特定されるキャラクタの画像を表示させた例を示す説明図である。FIG. 18A is an explanatory diagram showing a state in which a field card and a battle card are placed on a desk, a table, etc., and FIG. 18B is a background image corresponding to the field card on the monitor screen and a grid indicating the position where the battle card is to be placed. It is explanatory drawing which shows the example which displayed the image of the character specified by the identification image of a battle card. 図19Aは机やテーブル等にフィールドカードを置いた状態を示す説明図であり、図19Bはフィールドカードと対戦カードを置いた状態を示す説明図であり、図19Cはモニタの画面に対戦カードの識別画像で特定されるキャラクタの画像を表示させた例を示す説明図である。FIG. 19A is an explanatory view showing a state where a field card is placed on a desk or table, FIG. 19B is an explanatory view showing a state where a field card and a battle card are placed, and FIG. 19C is a view showing a battle card on the monitor screen. It is explanatory drawing which shows the example which displayed the image of the character specified by an identification image. 図20Aは机やテーブル等に2人対戦用のマットを敷き、該マットの升目に対戦カードを置いた例を示す説明図であり、図20Bはモニタの画面に対戦カードの識別画像で特定されるキャラクタの画像を表示させた例を示す説明図である。FIG. 20A is an explanatory diagram showing an example in which a mat for fighting two people is laid on a desk, a table, etc., and a battle card is placed on the grid of the mat, and FIG. It is explanatory drawing which shows the example which displayed the image of the character to be. 図21Aは机やテーブル等に6人対戦用のマットを敷き、該マットの升目に対戦カードを置いた例を示す説明図であり、図21Bはモニタの画面に対戦カードの識別画像で特定されるキャラクタの画像を表示させた例を示す説明図である。FIG. 21A is an explanatory view showing an example in which a mat for fighting six people is laid on a desk, a table, etc., and a fighting card is placed on the mat, and FIG. It is explanatory drawing which shows the example which displayed the image of the character to be. カード位置予測プログラムの機能を示すブロック図である。It is a block diagram which shows the function of a card position prediction program. カード位置予測プログラムの処理を示すフローチャートである。It is a flowchart which shows the process of a card position prediction program. 図24A及び図24Bは2人対戦でそれぞれ複数のカードを横方向に配置する場合の探知領域を求める過程を示す説明図である。24A and 24B are explanatory diagrams showing a process for obtaining a detection area when a plurality of cards are arranged in the horizontal direction in a two-player battle. 図25A及び図25Bは3人以上の対戦で複数のカードを円陣に配置した場合の探知領域を求める過程を示す説明図である。FIG. 25A and FIG. 25B are explanatory diagrams illustrating a process of obtaining a detection area when a plurality of cards are arranged in a circle in a battle of three or more players. 組合せ動作表示プログラムの機能を示すブロック図である。It is a block diagram which shows the function of a combination operation | movement display program. 3つのカードのうち、左側のカードの配置方向に応じて動作対象を特定する例を示す説明図である。It is explanatory drawing which shows the example which specifies operation | movement object according to the arrangement | positioning direction of the left card | curd among three cards. 3つのカードのうち、中央のカードの配置方向に応じて相手を特定する例を示す説明図である。It is explanatory drawing which shows the example which specifies an other party according to the arrangement | positioning direction of the center card | curd among three cards. 3つのカードのうち、右側のカードの配置方向に応じて動作を特定する例を示す説明図である。It is explanatory drawing which shows the example which specifies operation | movement according to the arrangement | positioning direction of the card | curd on the right side among three cards. カードの識別画像上に表示されているキャラクタの画像が目的位置まで移動するシーンの例を示す説明図である。It is explanatory drawing which shows the example of the scene where the image of the character currently displayed on the identification image of a card | curd moves to a target position. 第1のキャラクタ移動表示プログラムの機能を示すブロック図である。It is a block diagram which shows the function of a 1st character movement display program. 円陣に配置された6つのカードの配置方向に応じて目的位置を決定する例を示す説明図である。It is explanatory drawing which shows the example which determines a target position according to the arrangement | positioning direction of six cards arrange | positioned at a circle. 6つのキャラクタの画像がそれぞれ対応するカードの識別画像上から円陣の中心に向かって移動し、該円陣の中心において戦闘を繰り広げるというシーンの例を示す説明図である。It is explanatory drawing which shows the example of a scene where the image of six characters moves toward the center of a circle from the identification image of a card | curd corresponding, respectively, and unfolds a battle in the center of this circle. 2つのキャラクタの画像がそれぞれ対応するカードの識別画像上から対戦領域の目的位置(例えば中央の位置)まで移動して戦闘を行うというシーンの例を示す説明図である。It is explanatory drawing which shows the example of the scene where the image of two characters moves to the target position (for example, center position) of a battle | competition area from the identification image of a card | curd corresponding, respectively, and performs a battle. 攻撃側のキャラクタの画像が対応するカードの識別画像上から攻撃相手であるキャラクタの画像の位置まで移動して戦闘を行うというシーンの例を示す説明図である。It is explanatory drawing which shows the example of the scene which moves to the position of the character image which is an attack opponent from the identification image of the card | curd with which the image of the attacking character corresponds, and performs a battle. カードの識別画像上から目的位置に移動したキャラクタの画像が元のカードの識別画像上に移動するシーンの例を示す説明図である。It is explanatory drawing which shows the example of the scene where the image of the character which moved to the target position from on the identification image of a card | curd moves on the identification image of the original card | curd. 第2のキャラクタ移動表示プログラムの機能を示すブロック図である。It is a block diagram which shows the function of a 2nd character movement display program. 戦闘に勝ったキャラクタの画像がそれぞれ対応するカードの識別画像上まで戻るというシーンの例を示す説明図である。It is explanatory drawing which shows the example of the scene where the image of the character who won the battle returns to the identification image of each corresponding card | curd. 攻撃に向かった2つのキャラクタの画像のうち、戦闘で勝ったキャラクタの画像のみが、元のカードの識別画像に戻るというシーンの例を示す説明図である。It is explanatory drawing which shows the example of a scene where only the image of the character which won by battle among the images of the two characters which headed for the attack returns to the identification image of the original card | curd. キャラクタ無効化プログラムの機能を示すブロック図である。It is a block diagram which shows the function of a character invalidation program. 浮遊画像を所定時間にわたって浮遊させるシーンの例を示す説明図である。It is explanatory drawing which shows the example of the scene which floats a floating image over predetermined time. 浮遊画像表示プログラムの機能を示すブロック図である。It is a block diagram which shows the function of a floating image display program. 浮遊画像の表示が行われた後において、カードの再認識が成功した場合に、該カードの識別番号に対応するキャラクタの画像を当該カードの識別画像上に着地させるシーンの例を示す説明図である。FIG. 6 is an explanatory diagram showing an example of a scene in which when a card re-recognition succeeds after the floating image is displayed, the character image corresponding to the card identification number is landed on the card identification image. is there. 着地表示プログラムの機能を示すブロック図である。It is a block diagram which shows the function of a landing display program.

符号の説明Explanation of symbols

10…ビデオゲームシステム 12…ビデオゲーム機
16…CPU 18…メインメモリ
20…画像メモリ 30…モニタ
32…光ディスク 38…メモリカード
42…CCDカメラ 44…ハードディスク
54、541〜546…カード 56、561〜566…識別画像
58…ロゴ部 60…コード部
62…基準セル 64…コーナーセル
66…識別セル 82…カード認識プログラム
84…キャラクタ出現表示プログラム 86…キャラクタ動作表示プログラム
88…フィールド表示プログラム 90…カード位置予測プログラム
92…組合せ動作表示プログラム
94…第1のキャラクタ移動表示プログラム
96…第2のキャラクタ移動表示プログラム
98…キャラクタ無効化プログラム 100…浮遊画像表示プログラム
102…着地表示プログラム 701〜706…キャラクタの画像
DESCRIPTION OF SYMBOLS 10 ... Video game system 12 ... Video game machine 16 ... CPU 18 ... Main memory 20 ... Image memory 30 ... Monitor 32 ... Optical disk 38 ... Memory card 42 ... CCD camera 44 ... Hard disk 54, 541-546 ... Card 56, 561-566 ... Identification image 58 ... Logo part 60 ... Code part 62 ... Reference cell 64 ... Corner cell 66 ... Identification cell 82 ... Card recognition program 84 ... Character appearance display program 86 ... Character action display program 88 ... Field display program 90 ... Card position prediction Program 92 ... Combination operation display program 94 ... First character movement display program 96 ... Second character movement display program 98 ... Character invalidation program 100 ... Floating image display program 102 ... Landing display program 701 to 706 ... Character image

Claims (14)

コンピュータと、
前記コンピュータに接続され、それぞれ識別画像が貼付された複数のカードを撮像する撮像手段と、
前記コンピュータに接続された表示装置とを有する画像表示システムにおいて、
前記撮像手段からの前記複数のカードの識別画像を含む撮像画像の画像データを前記表示装置に出力して、該表示装置に前記撮像画像を表示させる撮像画像表示制御手段と、
前記撮像画像の画像データから前記複数のカードに貼付された各識別画像の画像データを探知する探知手段と、
前記探知手段が探知した前記識別画像の画像データから前記カードの識別情報を検出する識別情報検出手段と、
前記撮像画像のうち、特定の目的位置を設定する目的位置設定手段と、
表示された前記複数のカードの識別画像上に、それぞれカードの識別情報に対応するオブジェクトの画像を重畳して表示するように制御するオブジェクト表示制御手段と、
表示された前記オブジェクトの画像が前記特定の目的位置まで移動する表示を行うように制御するオブジェクト移動表示制御手段とを有することを特徴とする画像表示システム。
A computer,
Imaging means connected to the computer and imaging a plurality of cards each having an identification image attached thereto;
In an image display system having a display device connected to the computer,
Captured image display control means for outputting image data of a captured image including identification images of the plurality of cards from the imaging means to the display device, and displaying the captured image on the display device;
Detecting means for detecting image data of each identification image affixed to the plurality of cards from the image data of the captured image;
Identification information detection means for detecting identification information of the card from image data of the identification image detected by the detection means;
Among the captured images, target position setting means for setting a specific target position;
Object display control means for controlling to superimpose and display an image of an object corresponding to the identification information of each card on the displayed identification images of the plurality of cards;
An image display system, comprising: an object movement display control unit configured to perform control so that a displayed image of the object moves to the specific target position.
請求項1記載の画像表示システムにおいて、
前記目的位置まで移動した前記オブジェクトの画像を、対応するカードの識別画像の位置まで移動する表示を行うように制御する第2オブジェクト移動表示制御手段とを有することを特徴とする画像表示システム。
The image display system according to claim 1,
2. An image display system comprising: a second object movement display control unit configured to perform control so that an image of the object moved to the target position is moved to a position of an identification image of a corresponding card.
請求項1記載の画像表示システムにおいて、
前記目的位置まで移動した前記オブジェクトの画像を消去する表示を行うように制御するオブジェクト消去表示制御手段と、
消去した前記オブジェクトに対応するカードの識別情報を無効化する識別情報無効化手段とを有することを特徴とする画像表示システム。
The image display system according to claim 1,
Object erasure display control means for controlling to perform display for erasing the image of the object moved to the target position;
An image display system comprising: identification information invalidating means for invalidating identification information of a card corresponding to the erased object.
請求項1〜3のいずれか1項に記載の画像表示システムにおいて、
前記目的位置設定手段は、
前記撮像画像のうち、予め決められた基準画像の画像データを検出する基準画像検出手段を有し、
前記基準画像検出手段が検出した前記基準画像の位置を前記特定の目的位置とすることを特徴とする画像表示システム。
The image display system according to any one of claims 1 to 3,
The target position setting means includes
Reference image detection means for detecting image data of a predetermined reference image among the captured images,
An image display system characterized in that the position of the reference image detected by the reference image detection means is set as the specific target position.
請求項1〜3のいずれか1項に記載の画像表示システムにおいて、
前記目的位置設定手段は、
前記探知手段が探知した前記複数の識別画像の画像データに基づいて前記複数のカードの配置方向を検出する手段を有し、
前記複数のカードの配置方向から前記特定の目的位置を設定することを特徴とする画像表示システム。
The image display system according to any one of claims 1 to 3,
The target position setting means includes
Means for detecting an arrangement direction of the plurality of cards based on image data of the plurality of identification images detected by the detection means;
The image display system, wherein the specific target position is set from an arrangement direction of the plurality of cards.
請求項1〜3のいずれか1項に記載の画像表示システムにおいて、
前記目的位置設定手段は、
前記探知手段が探知した前記複数の識別画像の画像データに基づいて前記複数のカードの配置方向を検出する手段と、
表示されている複数のオブジェクトのうち、検出された前記複数のカードの配置方向に基づいて1つのオブジェクトを選択する手段とを有し、
選択された前記1つのオブジェクトの位置を前記特定の目的位置とすることを特徴とする画像表示システム。
The image display system according to any one of claims 1 to 3,
The target position setting means includes
Means for detecting an arrangement direction of the plurality of cards based on image data of the plurality of identification images detected by the detection means;
Means for selecting one object based on the arrangement direction of the detected plurality of cards among the plurality of displayed objects;
An image display system characterized in that the position of the selected one object is set as the specific target position.
コンピュータと、
前記コンピュータに接続され、識別画像が貼付されたカードを撮像する撮像手段とを有する画像処理システムにおいて、
前記撮像手段からの撮像画像のうち、予め決められた基準画像の画像データを検出する基準画像検出手段と、
前記基準画像検出手段が検出した前記基準画像の画像データの位置から前記撮像画像全体のカメラ座標系を求める座標系変換手段と、
前記基準画像の画像データのカメラ座標に基づいて特定の探知領域を設定する探知領域設定手段と、
前記撮像画像のうち、前記探知領域に含まれる画像データから前記カードに貼付された識別画像の画像データを探知する探知手段と、
前記探知手段が探知した前記識別画像の画像データから前記カードの識別情報を検出する識別情報検出手段とを有することを特徴とする画像処理システム。
A computer,
In an image processing system having an imaging unit connected to the computer and imaging a card to which an identification image is attached,
Reference image detection means for detecting image data of a predetermined reference image among the captured images from the imaging means;
Coordinate system conversion means for obtaining a camera coordinate system of the entire captured image from the position of the image data of the reference image detected by the reference image detection means;
Detection area setting means for setting a specific detection area based on camera coordinates of image data of the reference image;
Detection means for detecting image data of an identification image attached to the card from image data included in the detection area among the captured images;
An image processing system comprising: identification information detection means for detecting identification information of the card from image data of the identification image detected by the detection means.
請求項7記載の画像処理システムにおいて、
前記特定の探知領域は、前記基準画像を中心とした矩形の領域であることを特徴とする画像処理システム。
The image processing system according to claim 7.
The image processing system, wherein the specific detection area is a rectangular area centered on the reference image.
請求項7記載の画像処理システムにおいて、
前記特定の探知領域は、前記基準画像を中心とした円形の領域であることを特徴とする画像処理システム。
The image processing system according to claim 7.
The image processing system, wherein the specific detection area is a circular area centered on the reference image.
請求項7〜9のいずれか1項に記載の画像処理システムにおいて、
前記識別情報検出手段は、
前記探知手段が探知した前記カードの識別画像の画像データをアフィン変換して前記カードの識別情報を検出することを特徴とする画像処理システム。
The image processing system according to any one of claims 7 to 9,
The identification information detecting means includes
An image processing system for detecting identification information of the card by performing affine transformation on image data of the identification image of the card detected by the detection means.
コンピュータと、
前記コンピュータに接続され、それぞれ識別画像が貼付された複数のカードを撮像する撮像手段と、
前記コンピュータに接続された表示装置とを有する画像表示システムを、
前記撮像手段からの前記複数のカードの識別画像を含む撮像画像の画像データを前記表示装置に出力して、該表示装置に前記撮像画像を表示させる撮像画像表示制御手段、
前記撮像画像の画像データから前記複数のカードに貼付された各識別画像の画像データを探知する探知手段、
前記探知手段が探知した前記識別画像の画像データから前記カードの識別情報を検出する識別情報検出手段、
前記撮像画像のうち、特定の目的位置を設定する目的位置設定手段、
表示された前記複数のカードの識別画像上に、それぞれカードの識別情報に対応するオブジェクトの画像を重畳して表示するように制御するオブジェクト表示制御手段、
表示された前記オブジェクトの画像が前記特定の目的位置まで移動する表示を行うように制御するオブジェクト移動表示制御手段、
として機能させるためのプログラムが記録されたコンピュータ読み取り可能な記録媒体。
A computer,
Imaging means connected to the computer and imaging a plurality of cards each having an identification image attached thereto;
An image display system having a display device connected to the computer,
A captured image display control unit that outputs image data of a captured image including identification images of the plurality of cards from the imaging unit to the display device, and causes the display device to display the captured image;
Detecting means for detecting image data of each identification image affixed to the plurality of cards from image data of the captured image;
Identification information detection means for detecting identification information of the card from image data of the identification image detected by the detection means;
Among the captured images, target position setting means for setting a specific target position,
Object display control means for controlling so as to superimpose and display an image of an object corresponding to the identification information of each card on the displayed identification images of the plurality of cards;
Object movement display control means for controlling the displayed image of the object to move to the specific target position;
A computer-readable recording medium on which a program for functioning as a computer is recorded.
コンピュータと、
前記コンピュータに接続され、識別画像が貼付されたカードを撮像する撮像手段とを有する画像処理システムを、
前記撮像手段からの撮像画像のうち、予め決められた基準画像の画像データを検出する基準画像検出手段、
前記基準画像検出手段が検出した前記基準画像の画像データの位置から前記撮像画像全体のカメラ座標系を求める座標系変換手段、
前記基準画像の画像データのカメラ座標に基づいて特定の探知領域を設定する探知領域設定手段、
前記撮像画像のうち、前記探知領域に含まれる画像データから前記カードに貼付された識別画像の画像データを探知する探知手段、
前記探知手段が探知した前記識別画像の画像データから前記カードの識別情報を検出する識別情報検出手段、
として機能させるためのプログラムが記録されたコンピュータ読み取り可能な記録媒体。
A computer,
An image processing system connected to the computer and having imaging means for imaging a card to which an identification image is attached;
Reference image detection means for detecting image data of a predetermined reference image among the captured images from the imaging means,
Coordinate system conversion means for obtaining a camera coordinate system of the entire captured image from the position of the image data of the reference image detected by the reference image detection means;
Detection area setting means for setting a specific detection area based on camera coordinates of image data of the reference image;
Detection means for detecting image data of an identification image affixed to the card from image data included in the detection area among the captured images;
Identification information detection means for detecting identification information of the card from image data of the identification image detected by the detection means;
A computer-readable recording medium on which a program for functioning as a computer is recorded.
コンピュータと、
前記コンピュータに接続され、それぞれ識別画像が貼付された複数のカードを撮像する撮像手段と、
前記コンピュータに接続された表示装置とを有する画像表示システムを、
前記撮像手段からの前記複数のカードの識別画像を含む撮像画像の画像データを前記表示装置に出力して、該表示装置に前記撮像画像を表示させる撮像画像表示制御手段、
前記撮像画像の画像データから前記複数のカードに貼付された各識別画像の画像データを探知する探知手段、
前記探知手段が探知した前記識別画像の画像データから前記カードの識別情報を検出する識別情報検出手段、
前記撮像画像のうち、特定の目的位置を設定する目的位置設定手段、
表示された前記複数のカードの識別画像上に、それぞれカードの識別情報に対応するオブジェクトの画像を重畳して表示するように制御するオブジェクト表示制御手段、
表示された前記オブジェクトの画像が前記特定の目的位置まで移動する表示を行うように制御するオブジェクト移動表示制御手段、
として機能させるためのプログラム。
A computer,
Imaging means connected to the computer and imaging a plurality of cards each having an identification image attached thereto;
An image display system having a display device connected to the computer,
A captured image display control unit that outputs image data of a captured image including identification images of the plurality of cards from the imaging unit to the display device, and causes the display device to display the captured image;
Detecting means for detecting image data of each identification image affixed to the plurality of cards from image data of the captured image;
Identification information detection means for detecting identification information of the card from image data of the identification image detected by the detection means;
Among the captured images, target position setting means for setting a specific target position,
Object display control means for controlling so as to superimpose and display an image of an object corresponding to the identification information of each card on the displayed identification images of the plurality of cards;
Object movement display control means for controlling the displayed image of the object to move to the specific target position;
Program to function as.
コンピュータと、
前記コンピュータに接続され、識別画像が貼付されたカードを撮像する撮像手段とを有する画像処理システムを、
前記撮像手段からの撮像画像のうち、予め決められた基準画像の画像データを検出する基準画像検出手段、
前記基準画像検出手段が検出した前記基準画像の画像データの位置から前記撮像画像全体のカメラ座標系を求める座標系変換手段、
前記基準画像の画像データのカメラ座標に基づいて特定の探知領域を設定する探知領域設定手段、
前記撮像画像のうち、前記探知領域に含まれる画像データから前記カードに貼付された識別画像の画像データを探知する探知手段、
前記探知手段が探知した前記識別画像の画像データから前記カードの識別情報を検出する識別情報検出手段、
として機能させるためのプログラム。
A computer,
An image processing system connected to the computer and having imaging means for imaging a card to which an identification image is attached;
Reference image detection means for detecting image data of a predetermined reference image among the captured images from the imaging means,
Coordinate system conversion means for obtaining a camera coordinate system of the entire captured image from the position of the image data of the reference image detected by the reference image detection means;
Detection area setting means for setting a specific detection area based on camera coordinates of image data of the reference image;
Detection means for detecting image data of an identification image affixed to the card from image data included in the detection area among the captured images;
Identification information detection means for detecting identification information of the card from image data of the identification image detected by the detection means;
Program to function as.
JP2008181944A 2008-07-11 2008-07-11 Image display system, image processing system, recording medium, and program Expired - Lifetime JP4729604B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008181944A JP4729604B2 (en) 2008-07-11 2008-07-11 Image display system, image processing system, recording medium, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008181944A JP4729604B2 (en) 2008-07-11 2008-07-11 Image display system, image processing system, recording medium, and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2006113459A Division JP4422695B2 (en) 2006-04-17 2006-04-17 Image display system, recording medium, and program

Publications (2)

Publication Number Publication Date
JP2008272509A JP2008272509A (en) 2008-11-13
JP4729604B2 true JP4729604B2 (en) 2011-07-20

Family

ID=40051187

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008181944A Expired - Lifetime JP4729604B2 (en) 2008-07-11 2008-07-11 Image display system, image processing system, recording medium, and program

Country Status (1)

Country Link
JP (1) JP4729604B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114529892B (en) * 2020-11-19 2024-12-20 顺丰科技有限公司 Card information detection method, device, computer equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3794463B2 (en) * 1998-06-30 2006-07-05 ソニー株式会社 Multidimensional code recognition processing method, multidimensional code recognition processing apparatus, and multidimensional code recognition processing program
JP2000047967A (en) * 1998-07-31 2000-02-18 Sony Corp Information processing apparatus and method, information processing system, and providing medium
JP2000322602A (en) * 1999-05-12 2000-11-24 Sony Corp Image processing apparatus and method, and medium

Also Published As

Publication number Publication date
JP2008272509A (en) 2008-11-13

Similar Documents

Publication Publication Date Title
JP3904562B2 (en) Image display system, recording medium, and program
JP3851907B2 (en) Image display system and video game system
JP5738569B2 (en) Image processing program, apparatus, system and method
JP5827007B2 (en) Game program, image processing apparatus, image processing system, and image processing method
JP3841806B2 (en) Image processing apparatus and image processing method
JP3584230B2 (en) Video experience system, information processing method and program
EP2969078B1 (en) User-generated recordings of skeletal animations
JP4808802B2 (en) GAME PROGRAM, GAME DEVICE, GAME CONTROL METHOD
JP5723047B1 (en) GAME DEVICE AND PROGRAM
JP4729604B2 (en) Image display system, image processing system, recording medium, and program
JP5592555B1 (en) GAME DEVICE AND PROGRAM
JP4422695B2 (en) Image display system, recording medium, and program
JP7765076B2 (en) Game systems and toy sets
JP2006260602A (en) Image processing apparatus
JP6546574B2 (en) Game device, game control device and program for game
JP4746074B2 (en) Image processing system
JP4436345B2 (en) Image display system, image processing system, and video game system
KR20250055666A (en) Augmented reality card game control system capable of interacting with a plurality of virtual objects, control apparatus and control method thereof
JP6336938B2 (en) GAME DEVICE, PROGRAM, AND GAME SYSTEM
JP2005319193A (en) Image processing system, program, information storage medium, and image processing method
JP2015119947A (en) GAME DEVICE AND PROGRAM

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080808

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080808

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20101125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110106

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110307

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20110307

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4729604

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140422

Year of fee payment: 3

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

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

EXPY Cancellation because of completion of term