The present application is based on Japanese patent application No. 2004-060311, the entire contents of which are incorporated herein by reference.
1. Field of the Invention
The present invention relates to a dice eye number determination method, a dice eye number determination apparatus, a game apparatus using the same, and a dice eye number determination game system, and in particular to a dice eye number determination method, a dice eye number determination apparatus, and a game apparatus using the same, and a dice eye number determination game system, which can automatically determine in image recognition eye numbers on a plurality of dice even when a plurality of players roll the plurality of the dice in the same location at a time.
2. Background Information
For example, a sugoroku game requires a dice as a tool to play the game. And some of hone video game machines, board games or the like require a dice. Conventionally determination of an eye number on a cast dice is performed by visual observation of game participants.
However, in games such as electronic game personal machines or electronic personal computers, almost all of game contents, game progresses, win-loss records and the like are displayed on an image display and these games are performed by operating a controller or a keyboard. In case a player who is familiar with games such as the game personal machines or the personal computers play a conventional sugoroku game, the player is not familiar with an old-fashioned game method in which a player rolls a dice with the player's hand and the eye number on the dice is visually determined by the player. On the other hand, the elderly are difficult to become familiar with a purely electronic game in which a game is performed by an operation of a controller.
And there is a case where a dice is used in anything other than a game. For example, in an arithmetic lesson in school, a math problem is set using a dice as a teaching tool. Since the dice is small, it is thought that students can not visualize a state of the dice, such as an eye number and an eye color clearly, which causes weakening recognition of participation in lessons and reducing the interest in lessons by half.
Therefore, Japanese Unexamined Patent Publication No. 08-215423 has disclosed a dice eye recognition apparatus that can electronically determine the number of eyes on a dice. In the apparatus, a magnetic piece is housed in each face of the numbers 1-6, a magnet generated in the magnetic piece is detected by a magnetic sensor, and a detection signal by scanning is processed in a process control circuit, thereby to determine the number of eyes on the dice.
However, according to the conventional apparatus of determining the number of eyes on the dice, since a special dice that houses a magnetic piece therein is necessary to use, a dice commercially sold in a toy store or the like is not useful for the conventional apparatus and can not be used therein. And since the dice eye number determination in the conventional apparatus is made on the assumption that the number of a player is one, the dice eye number determination can not be made efficiently in a case a plurality of players roll a plurality of dice together.
When in a game in which one player uses a plurality of dice, the plurality of the deice stop close to each other, a combination of eye numbers of the plurality of the dice forms an apparent eye number as one dice, which possibly causes an erroneous eye number determination.
Further, in a case a plurality of players throw a plurality of dice at a time, the plurality of the dice resultantly exist at the same location at a time. In this case, on top of determining the eye number of each dice, whose players the dice belong respectively to needs to be determined. And that determination is difficult to be automatically made.
In view of the above, there exists a need for a dice eye number determination method, a dice eye number determination apparatus, a game apparatus using the same, and a dice eye number determination game system which overcome the above-mentioned problems in the related art. The present invention addresses this need in the related art and also other needs, which will become apparent to those skilled in the art from this disclosure.
It is an object of the present invention to provide a dice eye number determination method, a dice eye number determination apparatus, a game apparatus using the same, and a dice eye number determination game system, which can identify a player for each dice and determine an eye number for each dice even when a plurality of players respectively throw a plurality of dice at a time.
According to a first aspect of the present invention, a dice eye number determination method, comprises the steps of providing plural kinds of dice, each dice having at least six faces, describing from one eye to at least six eyes on each of at least the six faces, and having a feature to identify a player;
According to the above method, the kind of the dice within the shot face is determined based upon the image signal and a player for each dice is identified from the kind of the dice, and an eye number of the dice is determined based upon at least one of the feature of eyes, the number of the eyes, and a location state of the eyes on the shot face. Thereby even when a plurality of players throw a plurality of dice at a time, a dice eye number can be automatically determined and further a player for each dice can be identified.
According to a second aspect of the present invention, a dice eye number determination apparatus, comprises plural kinds of dice, each dice having at least six faces and describing from one eye to at least six eyes on each of at least the six faces, and having a feature to identify a player; a shooting section to shoot at least one of an upper face or a lower face of at least the six faces of each dice of the plural kinds of the dice to generate an image signal; an input section to input the feature of the dice for each player for identifying the player; a recording section to record the inputted feature; a vessel wherein a space for rolling the plurality of the dice is defined and the shooting section is located in a lower part or an upper part thereof; a determination section to identify the player for each kind of the dice out of the plural kinds of the dice within the shot face based upon the recorded feature and the image signal and determine an eye number of each dice of the plural kinds of the dice within the shot face based upon the image signal; and an output section to display or output in a voice a determination result of the eye number for each player by the determination section as a numerical value, or output the determination result as dice information of an electronic game.
According to the above method, the eyes described on the dice rolled in the vessel are shot by the shooting section, the kind of the dice within the shot face is determined based upon the image signal by the shooting section, and a player for each dice is identified from the kind of the dice, and further, an eye number of the each dice for each kind is determined based upon a determination condition of at least one of the feature of the eyes, the number of the eyes, and a location state of the eyes within a predetermined area on the shot face, and the determination result is displayed and voiced and outputted as dice information. Thereby even when a plurality of players throw, a plurality of dice at a time, a dice eye number can be automatically determined and further a player can be identified.
According to a third aspect of the present invention, a game apparatus, comprises plural kinds of dice, each dice having at least six faces and describing from one eye to at least six eyes on each of at least the six faces, and having a feature to identify a player; a dice eye number determination section to identify the player for each kind of the dice out of the plural kinds of the dice within the shot face, as well as to determine an eye number of each dice of the plural kinds of the dice within the shot face based upon an image information provided by shooting at least one of an upper face or a lower face of at least the six faces of each dice of the plural kinds of the dice; a control section programmed to perform a game by a memory medium storing a game software or a game provided by a connection to an internet, display the image during performing the game on an internal or external display, as well as display on the display, output in a voice, or incorporate into the game as necessary a determination result with regard to the eye determination for each player obtained by determination of the dice eye number determination section.
According to the above apparatus, by the dice eye number determination section the kind of the dice within the shot face is determined and a player for each dice is identified based upon the image information with regard to the shot eyes for each dice, and an eye number of the each dice for each kind is determined/outputted based upon at least one of the feature of eyes, the number of the eyes, and a location state of the eyes within a predetermined area on the shot face. As a result, the eye number for each player is reflected in a game at the same time or is electrically displayed on an eye number display.
According to a fourth aspect of the present invention, a dice eye number determination game system, comprises a dice eye number determination apparatus comprising plural kinds of dice, each dice having at least six faces and describing from one eye to at least six eyes on each of at least the six faces, and having a feature to identify a player and a dice eye number determination section to identify a player for each kind of the dice out of the plural kinds of the dice within the shot face, as well as to determine an eye number of each dice of the plural kinds of the dice within the shot face based upon an image information provided by shooting at least one of an upper face or a lower face of at least the six faces of each dice of the plural kinds of the dice; and a game performing apparatus comprising a control section to perform a game by a memory medium storing a game software or a game provided by a connection to an internet, display the image during performing the game on an internal or external display, as well as display on the display, output in a voice, or incorporate into the game as necessary a determination result with regard to the eye determination for each player obtained by the dice eye number determination apparatus.
According to the above system, by the dice eye number determination apparatus the kind of the dice within the shot face is determined and a player for each dice is identified based upon the image information with regard to the shot eyes for each dice, and an eye number of the each dice for each kind is determined/outputted based upon at least one of the feature of eyes, the number of the eyes, and a location state of the eyes within a predetermined area on the shot face. As a result, the eye number for each player is reflected in a game at the same time or is electrically displayed on an eye number display.
According to the dice eye number determination method in the first aspect of the present invention and the dice eye number determination apparatus in the second aspect of the present invention, since the kind of the dice within the shot face is determined based upon the image signal, a player is identified by this kind, and further, a determination of the eye number for each dice is automatically made, even when a plurality of players throw a plurality of dice in one play at a time, the eye number for each dice can be automatically determined. Thereby the player does not have to wait for another player to play a game, which leads to large reduction in a game time. And since the eye numbers of a plurality of dice of different kinds can be determined for each different kind, the dice of the different kind a player has can be used effectively.
According to the game apparatus in the third aspect of the present invention and the dice eye number determination game system in the fourth aspect of the present invention, since the kind with regard to the dice can be determined based upon the shooting result of the eyes of the dice obtained by the dice eye number determination section, even when a plurality of players throw a plurality of dice in one play at a time, a player for each dice can be identified, and further, since the eye number can be determined by analyzing the feature of the eyes described on the shot face, the eye number of the dice is not only automatically determined but also the progress of the game can be automated. And the game apparatus and the system can be applied to various games using a dice. Thereby a player does not have to wait for another player to play a game, which leads to large reduction in a game time.
These and other objects, features, aspects and advantages of the present invention will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the annexed drawings, discloses preferred embodiments of the present invention.
Referring now to the attached drawings which form a part of this original disclosure:
It is noted that in fact the connection between the CPU 3 and other circuit sections is made through an interface (I/F), which is omitted herein. And a determination section is composed of the image processing section 2, the CPU 3, the ROM 4, and the RAM 5, and an output section is composed of each of the display control section 6 and the display section 7, and each of the audio processing section 8 and the speaker 9.
Dice 14, 15 are available in the market and a player basically prepares them by himself or herself, and the dice 14, 15 may be attached to the dice eye number determination apparatus 10 for selling. In
The image shooting section 1 is formed of an image sensor that can read by color or white and black, such as a CCD (charge coupled device) or a MOS (metal oxide semiconductor transistor), and the shooting principle of the image sensor is the same as a digital camera. As described later, since the eye as the eye number “1” of the dice usually has red color, use of an image sensor to enable the color shooting is appropriate. However, since even in the image sensor in use for white and black, the red color is lighter reflected than the black color, or a point of the eye number “1” is usually different in size from the other eyes. This difference allows distinction between the eye as the eye number “1” and the eye as the other eye numbers. Therefore, the image sensor for white and black may be used.
It is noted that in case a player is a student in the lower grades in an elementary school or a preschooler, it is thought that the player tends to bring his or her face close to the box 11 or looks in the box 11. On this occasion, it is predicted that the image-shooting section 1 shoots both eyes of the player and recognizes the two eyes for the eye number “2” in error. Therefore, the image-shooting section 1 is equipped with a lens with a bright release F value to reduce depth of field, which allows only the dice to be clearly image-shot. Or an infrared sensor or the like may be disposed in the box 11 to detect that a player's face is coming close to the box 11 for emitting a warning.
In the image processing section 2, a digital processing of an image signal is carried out by the image-shooting section 1. The CPU 3 controls the entire apparatus, as well as processing shown in each flow chart as described later is carried out. The ROM 4 is a memory that stores programs for actuating the CPU 3 and can use a nonvolatile memory or a flash memory. The RAM 5 is a memory that temporarily stores setting values or processing results.
The display control section 6 performs control for displaying a determination result of the CPU 3. The display section 7 comprises a colored or a monochrome liquid crystal display, a cathode ray tube, and the like and displays the determination result with regard to the eye number made by the CPU 3. The audio processing section 8 performs voice synthesis of the determination result for outputting. The speaker 9 performs an electric-sound conversion with regard to an audio signal provided by the audio processing section 8 for outputting a voice.
The box 11 has an opening in an upper side thereof and has a transparent board 12 (transparent glass or transparent plastic) therein to divide the box 11 into two parts for forming an upper side and a lower side. A space above the transparent board 12 in the box 11 is a space for rolling dice. The image-shooting section 1 is installed on the bottom section. The image-shooting section 1 takes pictures of the lower faces of the dice 14, 15 as an object of shooting. Accordingly, when it is dark in the box 11, a clear picture can not be taken. Therefore, the box 11 is formed of a transparent plastic or glass, or a lamp for illumination is disposed in the vicinity of the image-shooting section 1 inside the box 11. Or an electronic flash (strobe) that momentarily emits light only in shooting an image may be used as a light source.
Further, a reset switch 13 and a determination switch 17 hang at a position within a player's easy reach on an outer wall of the box 11. Since the CPU 3 can not recognize whether or not all the dice have been thrown after the dice are thrown, an actuation of the determination switch 17 allows the CPU 3 to be notified and recognize that all the dice have been thrown inside the box 11. Or a sensor or the like to detect the dice may be provided to automate the notification. The reset switch 13 is operated for clearing the previous determination result in a case the dice 14, 15 (or one of them) are thrown after the dice has been rolled and the determination of the eye number for the dice has been made.
The determination result is displayed in numbers on a screen of the display section 7 through the display control section 6. Further, the determination result is outputted in a voice with voice synthesis by the audio processing section 8 and the speaker 9. In this case the audio output is performed only one time for one determination result, and the display on the display section 7 continues to be made until the next shooting timing.
It is noted that a chain may be used as an alternative of the belts 25a, 25b where a chain gear is used in place of the pulleys 26a, 26b. And a CCD image sensor may be used as an alternative of the CIS 24. In the case of using the CCD image sensor, an optical system as another example is adopted where a reflected image from a reading face is introduced through one or a plurality of mirrors and further through an imaging lens to the CDD image sensor.
In
The image-shooting section 1 in
It is noted that the eye number is outputted such that the box 11 is stationary on a desk or a tatami mat and the dice is rolled on it, but the box 11 may be moved with the dice still put inside the box 11. In this case if the opening of the box 11 is wide, the dice tend to jump out of the box 11. Accordingly, it is preferable that a size of the opening of the box 11 is so small as to take in/out the dice and further, an entire weight of the box 11 is reduced.
And as in
A support section 43 is formed in one corner of the box 41 and a stand 44 is rotatably mounted and movable upward and downward to the support section 43. The stand 44 comprises a round rod shaped pole 44a, and a holder 44b that is mounted horizontally and rotatably at an upper end of the pole 44a. The holder 44b can be rotated horizontally with a hand and a tip of the holder 44b is moved from one section of the box 41 to a center of the box 41. The tip of the holder 44b is positioned to be above the center of the box 41 when the camera section 42 shoots the dice 14 or the like.
The camera section 42 is mounted to a tip of the holder 44b. The camera section 42 is formed of a camera, such as a combination of an optical lens and an image-shooting element of CCD or MOS and a lens, or a combination of the image-shooting element and the lens, further including an image processing section, and can take a picture of an entire bottom face of the box 11 within vision's field. Pushing an upper portion of the pole 44a causes the height thereof to be lowered, and lifting up the pole 44a causes the position of the holder 44b to be raised. And a reset switch 45 having the same effect with the reset switch 13 in
As a result four dice are thrown into the box 11 and thereafter, the eye number determination is adapted to be made. Note that “S” shown in the flow charts in the following figures including
The dice eye number determination apparatus 10 starts to operate by switching on the power source and then is initialized. Herein when a player “A” throw a plurality of dice into the box 11 at a time, the dice roll and move on the transparent board 12 in
The CPU 3 receives the completion of the dice throwing and then reads on the image from the shooting section 1 through the image processing section 2, analyzes the image within the screen, and determines the kind of the dice from the feature of each dice (S103). There is a case where after one player throws a plurality of dice, the player pushes the determination switch 17, and then the next player throws dice. In this case, a player is identified by assuming that one player throws one or more dice with the same specification (S104). When it is determined that plural kinds of the dice exist in the box 11, the dice are classified in groups for each kind (S105).
Identification of a player may be made in such a way that the kinds of dice to be used differ between players and a combination between the kind of the dice and a player is in advance registered. Other than input of the input section 16, data may be made by shooting dice placed on the transparent board 12 to be registered. A method of making the kinds of dice be different from each other between players comprises, for example making a color of an outer face of a dice for one player be different from that of a dice for the other player (in case an image processing of a color recognition is possible), making a color of eyes of a dice for one player (for example, a black and a color other than the black) be different from that of a dice for the other player, making a size and a font of eyes of a dice for one player be different from that of a dice for the other player, making a surface reflectance of a dice for one player be different from that of a dice for the other player, making a material (ivory, plastic, lumber, metal or the like) of a dice for one player be different from that of a dice for the other player, and making a contrast of a dice for one player when shot by the shooting section 1 be different from that of a dice for the other player. It is noted that in a case a boundary of a dice can be detected, the dice can be identified by image-recognizing the size (boundary) of the dice, which therefore, is a useful method. However, in fact it is difficult to clearly recognize the boundary of the dice without a camera having a high performance. Accordingly this method is difficult to adopt in the case of using a cheap camera. Or each dice can be recognized by providing recognition functions, such as coating a dice with fluorescent paint having different light-emitting color, providing a battery less type of oscillating circuit inside the dice and supplying power thereto by radio induction to generate an electric wave with a specified wavelength, mutually making light reflectance of dice surfaces of a dice be different from that of another dice, and making eyes be different for each dice, such as the eyes displayed by points, numerals, Roman numerals, picture characters, or the like.
When a player is identified at S104, the image shot at the shooting section 1 is analyzed to determine which eye number of “1”-“6” is the eye number of the dice, and the determination process to be explained in
In case the eye number determination is confirmed at S107, the processing goes back to S106 for confirming dice eye number determination processing and determinations with respect to all the dice. In case the impossibility of the dice eye number determination occurs even in one out of a plurality of dice, throwing a dice again is demanded. Or again throwing only dice which can not be determined may be demanded.
On the other hand, in case plural kinds of dice are determined to exist in the box 11, each dice is selected for each kind thereof based upon feature information in advance registered with respect to each dice (S105), and a player is identified for, each kind of the dice (S109). The processing S105 and the processing S109 may be performed at a time. Identification of a player is performed in such a way that a difference in color (color of an entire dice, color of eyes or the like), a size, a display content (font) of a surface, a shape (round, angular or the like), or a material (ivory, plastic, lumber, metal or the like) between dice is determined based upon the image contents, and the resultant determination of the dice is compared with the corresponding features of the dice for each player registered beforehand. In case a player is not identified because of no prior registration, the processing goes to S105, wherein a message of “the processing can not proceed” and a message of “recommend a registration of a player” are displayed (not shown).
Herein a player “A” and a player “B” are assumed to be identified. First an eye number determination of one out of a plurality of dice with respect to the player “A” is made (S110). It is confirmed whether or not this eye number determination is achieved properly (S111). In case the eye number determination is achieved properly, an eye number determination for the next dice is made (S112). Namely the processing goes back to S110, and then the processing of S110-S112 is performed repeatedly.
When the eye number determinations with respect to all dice for the player “A” are finished, next an eye number determination of one out of a plurality of dice with respect to the player “B” is made (S113). It is confirmed whether or not this eye number determination is achieved properly (S114). If the eye number determination is achieved properly, the eye number determinations for all the other dice will be performed until the last one is finished (S115). In case the eye number determination is not confirmed at S114, an error is determined (S119), whereby a message or a voice of “recommend a player to throw dice again” (S120) is outputted, as well as is displayed on the display section 7.
When the eye number determinations with respect to all the dice the player “A” and the player “B” have thrown are finished, and when the processing at S108 is finished, the processing goes to S116, wherein the eye number of each dice for each player or a sum of the numbers of the eyes of the plurality of the dice is displayed on the display section 7. And the above finish is also announced in voice synthesis. Further, the eye number for each player is reflected in a game (S116). After this processing, it is determined whether or not the power has switched off (S117) and when the power continues to be on, it is determined whether or not the reset switch 13 is operated (S118). When the reset switch 13 is operated, the processing goes back to S101, and then the subsequent processing is performed repeatedly.
When a failure of the eye number determination is confirmed at S111 (and S107), an error is determined (S119), whereby a message of “recommend a player to throw a dice again” is outputted/displayed on the display section 7 (or a guide by voice synthesis may be made). When a player who has looked at this display or has heard of the audio guide pushes the reset button 13 (S118), the processing is returned back to S101, and then the subsequent processing will be performed repeatedly. It is noted that in the case of throwing a dice again, an operation of the reset switch button 13 is the condition for the throwing, but the reset may be automatically performed by image-recognizing a player's hand inside the box 11.
As described above, according to the first preferred embodiment of the present invention, not only in case a plurality of players play a game by throwing a plurality of dice in order, but also in case a plurality of players throw a plurality of dice at a time, each dice is automatically identified and further, the eye number can be automatically determined by associating each player with the dice used. Accordingly in case the first preferred embodiment is applied to a sugoroku game, a horse race game, or a game in which a piece is advanced in accordance with a dice eye number, since each player is not required to judge the dice eye number on his or her own, each player can focus on a game.
It is noted that in
When the dice are selected for each kind thereof at S105, thereby a player is identified for each kind of the dice (S109). Accordingly the eye numbers of from one dice to N dice out of N numbers of dice are determined in order (S121). For example, the dice eye number determinations are made in the order in which the dice exist from a starting point of a sub-scanning direction of the image shot obtained by the shooting section 1 to a finish point thereof.
With respect to the order of the dice in this case, the dice for different players are lined irregularly. However, since it is all right only to recognize two aspects, that is, who the dice belong to, and what is the eye number of each dice, determining the eye number at a time results in no problem.
First, after the eye number determination for the first one dice is made, it is confirmed whether or not the eye number determination is finished properly (S122). The purpose of performing this determination is the same as at S107. Namely, this determination is made since in case the face of the dice is dirty, the sufficient illumination is not obtained, or the paint of the eye separates, the recognition of the eye is not made possibly.
In case the eye number determination is not made, an error is determined (S119). On the other hand, in case it is confirmed that the eye number determination is made, it is determined whether or not another dice waiting for an eye number determination exists (S123).
When the next dice exists, the eye number determination is performed (S124). It is confirmed whether or not the eye number determination for this next dice is finished properly (S125). When the eye number determination is not made, an error is determined (S119), and on the other hand, when it is confirmed that the eye number determination is made, the processing goes back to S123, wherein further, it is checked whether or not the next dice waiting for the eye number determination exists. In case the dice waiting for the determination exists, the eye number determination for the dice is made. This routine will continue to be performed to the last dice. When it is determined that there is no dice to determine an eye number at S123, the processing goes to S116, wherein the eye number of each dice for each player or a sum of the numbers of the eyes of the plurality of the dice for each player is displayed on the display section 7. And the above finish is also announced in voice synthesis. Further, the eye number for each player is reflected in a game. After this processing, it is determined whether or not the power has switched off (S117) and when the power continues to be on, it is determined whether or not the reset switch 13 is operated (S118). When the reset switch 13 is operated, the processing goes back to S101, and then the subsequent processing is performed repeatedly.
It is noted that in
And in
The processing of the eye number determinations comprises mainly two steps as described below. The first step is to extract eyes (referred to as points in FIGS) of the dice from an image. The second step is to determine an eye number of the dice from a location relation or the like of the extracted points. Namely the eye number is determined based upon detection information such as a location relation, diameters or colors of the points. A dice is usually expected to have a clear contrast in a density (color) between the face and the point (eye) of the dice and therefore, the eye can be extracted based upon distribution and inclination of density values. Such processing enables the eye number determination even when the boundary between the dice closely placed is not distinct due to low resolution caused by low contrast in brightness or color between the face of the dice and the background thereof.
The dice eye number determination of
It is required that the eye number “1” is determined first and then is excluded before determination of other eye numbers is made. Excluding the point as the eye number “1” first prevents the point showing the eye number “1” from being recognized as a part of a pattern of the other eye number in error. A dice available in the market has the feature that the point as the eye number “1” is larger in size than the points as the eyes of the other eye numbers, and is colored in red. Accordingly when the red color is included in the image-shooting information by the image-shooting section 1, it is determined immediately that the eye number of the dice is “1” (S151).
Since a dice does not have a unified standard in the industry organization, there is a slight difference in an outer size of the dice or an eye size of the dice between manufacturers. And there is a case the eye “1” is colored in black. Therefore, the eye number “1” is designed to be determined based upon anything other than colors. For example, in case the eye “1” is colored in black and a size of the dice is limited to a certain degree, the eye number “1” is determined not based upon the color of the eye but based upon a diameter of the eye, or the eye number is determined as “1” if the distance of the eye to the nearest eye is longer than one section out of the four sections of the dice.
In a case the eye number “1” is determined, the processing of S116 in
And in a case the two dice 85, 86 are contacted in a line, each showing the eye number “6” as shown in
With regard to the condition in order that a set of three points is determined to be “6” as the eye number, as shown in
Next a determination processing of the eye number “6” will be explained with reference to
First, it is determined whether or not three points exist (S301) and next it is determined whether or not two sets of the three points are located in two rows (S302), and then it is determined whether or not a distance between each of the three points is longer than a length of one set formed with the three points (S303). Further, it is determined whether or not the two rows are in parallel and also in the square state (S304).
In a detail, as shown in
According to the determination processing described above, the eye number “6” can be recognized. If the determination of the eye, number “6” is made prior to determination of the other eye numbers, loads in the subsequent determination processing are reduced, which enables earlier finish of an entire determination processing.
In a case the above three conditions are cleared, the eye number “6” is determined (S305), the processing goes to S116 in
First, it is determined whether or not the number of black points is three points (S401). This processing is because of recognition for the center of the cross. In a case three black points exist, it is determined whether or not four black points are located in the same distance away from the center of the three points (S402). Next, in a case four black points exist in the same distance away from the center, it is determined whether or not the black points are located in the shape of the cross (at right angles) as a whole (S403).
Namely the eye number “5” is determined based upon whether or not five points shown in
|“a”−“b”|≈|“a”−“c”|≈|“a”−“d”|≈|“a”−“e”| (equal clearance)
(“b”−“e”·“c”−“d”)/(|“b”−“e”|·|“c”−“d”|)≈0 (vertical crossing)
In a case the above condition is cleared, it is determined the eye number is “5” (S404), the processing goes to S116 in
Since an eye number pattern of “5” in this case is larger in size than an actual dice, it is determined that the eye number is not “5”, and this pattern can be excluded from the determination results. It is noted that there is a method of determining that the eye number is not “5” based upon the condition except for the size of the dice. Namely it is determined based upon whether or not a point “f” forming a part of an eye number pattern of “4” exists in the vicinity of the dice 112 having the points “a”, “c”, and “e” of the eye number “5”.
If the point “f” is found, it is assumed that the eye number shown in a dotted line by the five points “a”, “b”, “c”, “d”, and “e” is not “5”. The reason is that if the points “a”, “b”, “c”, “d”, and “e” are the points of the eye number “5” of the dice, the point “f” does not come close to the dotted line showing the border. The inventors have confirmed that this respect is correct by checking various kinds of dice available in the market.
It will be confirmed by the above similar method whether or not another point (for example, the point “X”) having the feature similar to the point “f” exists in the other three eye number patterns of the points “a”, “b”, and “c”, the points “a”, “b”, and “d”, and the points “a”, “b”, and “e”. For example, whether or not the point “X” is paired to the points “a”, “c”, and “e” to form the eye number pattern of “4” can be determined based upon whether or not a set of the points “a”-“x” is substantially as long as a set of the points “c”-“e”, and also each set is crossed in the vicinity of respective centers.
The eye number “5” can be recognized by the determination processing described above. An earlier determination of the eye number “5” causes easier processing of subsequent other eye number determinations to shorten finish time of an entire processing. And the eye number determination of “5” can be incorporated in a method of “the processing starts with an end point” described later. In this case, with no possibility of erroneous recognition of the eye number “4” of the dice, the determination processing of the eye number “5” becomes simple.
First, it is determined whether or not the number of the eyes of the dice is two points (S501). Next, it is determined whether or not there are two rows of two points (S502). The four points to show the eye number “4” are recognized based upon this determination. Next, it is determined whether or not two rows of the two points are parallel (S503), and further, it is determined whether or not each of four points is mutually in an equal distance from two points adjacent thereto (S504). When each condition described above is cleared, it is determined that the eye number is “4” (S505), the processing goes to S116 in
Therefore, based upon a point in the outmost end in an image, an eye number of a dice including the point of the outmost end is processed by a method explained below.
This processing will be repeated by setting the point existing in the outmost end in the image as a base in order until any unprocessed point does not exist. This allows the eye numbers “4”-“2” to be determined. It is noted that in the process of performing this processing, the determination of the eye numbers “1”, “5”, and “6” is possible to make. This processing will be explained in detail later.
This processing determines, in order based upon the point (unprocessed end point) existing in the outmost end in an image, that the eye number is “1”, “6”, “5”, “4”, “3”, or “2”. For example, a distance between the points is used for identifying the point in the outmost end in the image (first unprocessed end point). Since two points having the longest distance therebetween in the image are the points positioned in the outmost end in the image, it is all right only if the respective two points or either one of the two are processed. When the eye number with regard to points including a point (first unprocessed end point) existing in the outmost end in the image is determined and its processing is finished, the near unprocessed point is set as an unprocessed end point (second unprocessed end point) and will be processed in order.
First, if the end point unprocessed in the image has the feature of the point as the eye number “1” described above, the eye number is determined/confirmed as “1”.
If recognition of the eye number “1” is finished, it is not necessary to determine a determination of the eye number “1” newly.
Next, it will be determined whether or not the eye number is “6”. If the end eye unprocessed in the image is a part of the eye number “6”, that part is the end point in the three points closely placed in series in the eye number pattern of “6”, and a point closest to the end point is a central point of the three points. If the above eye number pattern of “6” corresponds to this state the eye number is determined to be “6”. It is noted that herein the false eye number pattern “6” as shown in
Next, following the determination of whether or not the eye number is “6”, it will be determined whether or not the eye number is “5”. If the end point unprocessed in the image is a part of the eye number “5”, the end point is any one of four points other than the central point out of the pattern of “5”, and the point closest to the end point is the central point of the pattern “5”. If the pattern of “5” corresponds to this condition, the eye number “5” can be determined. In this case, consideration of the false eye number pattern “5” as shown in
Next, it is performed to determine whether or not the eye number is “4”. If the end point “a” unprocessed, as well as the points “b”, “c”, and “d” forming the eye number pattern “4” exist in the image, the point “a” is a part of the eyes of the eye number “4” or “5”. However, it is the condition that any point does not have the feature of the point as the eye of the eye number “1”. It is noted that if the determination of “1” is determined in advance, this determination is not necessary.
Condition 1: |“a”−“d”|≈|“b”−“c”|
Condition 2: (“a”−“d”·“b”−“c”)/(|“a”−“d”||“b”−“c”|)≈0 (vertical crossing)
Condition 3: A line component “ad” and a line component “bc” are crossed respectively in the vicinity of the center of each line.
Further, it is predicted that a plurality of dice are collected to form the eye number “4”.
If the points “a”, “b”, “c”, and “d” meet the above conditions 1-3, the points “a”, “b”, “c” and “d” can be assumed to be a part of the eye number “4” or “5” Accordingly in a case it will be determined whether or not the eye number is “4” after it is determined whether or not the end point “a” is a part of the eye number “5”, since at this timing the eye number is never “S”, it can be determined immediately that the points “a”, “b”, “c” and “d” is the part of the eye number “4”. Or it may be checked whether or not another point exists inside the points “a”, “b”, “c” and “d”.
When the end point “a” unprocessed in the image does not correspond to anyone of the determination conditions of the above-mentioned eye numbers “6”, “5”, and “4”, the eye number may be assumed to be the eye number “3” or “2”. Namely if a point forming the eye number pattern “3” together with the end point “a” and the point “b” closest to the end point “a” exists, the points “a”, “b”, and “c” are a part of the eye number “3”.
Condition 1: |“a”−“b”|≈|“b”−“c”| (equal clearance)
Condition 2: (“a”−“b”·“b”−“c”)/(|“a”−“b”||“b”−“c”|)≈1 (series)
The determination processing of the eye number “3” will be explained with reference to
In a case the above conditions are cleared, it is determined the eye number is “3” (S604), the processing goes to S116 in
In a case the point to meet the two determination conditions of the eye number “3” does not exist, two points “a”, “b” are determined as the points of the eye number “2”. However, for determinations of the eye numbers “3” and “2”, it is the condition that any one of the points does not have the feature of the point as the eye number “1”. It is noted that when it is already determined that the eye number is “1”, this determination is not necessary.
First, it is determined whether or not the number of the eyes of the dice is two points (S701). Next, the eye number is determined as “2” (S704) based upon a state where two points are not formed by two rows of one point and two rows of two points are not parallel unlike the eye number “4” (S702, S703), and then the processing goes to S116 in
The game apparatus 50 comprises a dice eye number determination section 60 having substantially the same components with the dice eye number determination apparatus 10, a main body section 61 to which a cassette ROM 71 or a CD/DVD drive 72 is mounted, a controller 62 for games operated by a player, a display controller 63 for display control, a display 65 connected to the display controller 63, an audio amplifier 64 connected to the main body section 61 to amplify voices, and a speaker 66 connected to the audio amplifier 64 to output voices.
The dice eye number determination section 60 is formed of the dice eye number determination apparatus 10 excluding the display control section 6, the display section 7, the audio processing section 8, and the speaker 9 in
The main body section 61 is a computer comprising a CPU, a ROM, a RAM, a bus interface, an input/output interface, and power source section and is operated by programs stored in the ROM. The controller 62 for the game is operated by a player in playing a game, and is equipped with a function key, a cross key, and other keys and is connected to the main body section 61 through a cable. The display 65 may be formed of a CRT, a crystal display or the like.
Herein the display 65 is a display exclusively for games, but if the display 65 is connected to the main body section 61 through a converter converting a picture signal, a receiver for TV broadcasting may be used as a display. And the main body section 61, the display 65, and the dice eye number determination section 60 are formed separately. However, these components and further the display controller 63, the audio amplifier 64, the display 65, the speaker 66, and the CD/DVD drive 72 housed in the display 65 may be integrally formed. In reverse, the display 65 and the other components may be housed in the main body section 61 for integration.
In the case of using the game apparatus 50, the use aspect may be provided such that game software using a dice is actuated to be incorporated in the game or may be simply used as a dice eye number determination/a display apparatus. When a player starts to play a game by mounting the cassette ROM 71 or by setting the CD/DVD for games to the CD/DVD drive 72, the progress of the game is displayed from point to point. The game advances by operating the game controller 62 for the game. And Voices in the game are outputted through the audio amplifier 64 from the speaker 66.
In a case a game requires a dice, a message is displayed on the display 65 in requiring the dice (or voices are outputted). Accordingly when a player throws dice into the box 11 and rolls them, the eye number is read by the dice eye number determination apparatus 10. The read contents are processed by the dice eye number determination section 60 as described above, and the determination information is sent to the main body section 61. The main body section 61 displays the eye number on the display 65 through display controller 63. The main body section 61 advances the game using the eye number. It is noted that the eye number of the dice can be automatically reflected in a game or can be manually inputted based upon a player's judgment.
On the other hand, in the case of using only functions of the dice eye number determination section 60, the eye number determination result is processed independently of the game. Namely the main body section 61 executes only the processing to display the eye number determination result by the dice eye number determination section 60.
As explained above, incorporation of the dice eye number determination section 60 into the game apparatus serving mainly functions as the game machine allows the eye number result of the dice to be reflected during game-playing, thereby to shorten a waiting time for a game.
The game apparatus 50 may be equipped with a function connected to an internet (not shown in
In the above-mentioned preferred embodiments, the eye number determination is performed in order of “1”, “6”, “5”, “4”, “3”, and “2”. However, in a case only one dice is used by one player, the determination of the eye number “1” is not necessarily performed first. And the reason why the determination is performed in order from the large number to the small number (“6” . . . “2”) is that the processing for the small number of eyes is easier by determining the larger eye numbers first, thereby to shorten the entire processing time. However, random order may be performed.
And in the preferred embodiments, the dice is formed in a general square shape, but may be in a polygonal shape. In a case the dice is formed in a polygonal shape, the number of the eyes, in addition of “1”-“6”, may include “7” or more. In this case, corresponding sections in the processing shown above may be adopted and the processing program may be timely changed in accordance with the number of the eyes.
Further, the present invention can be applied to a dice with an eye in the shape of not only a point but also a diamond, a quadrangle or the like, or also to a dice on which a number is described, such as “1”, “2”, . . . , or to a dice on which a picture letter, a code or the like is displayed. In this case since the numbers are only recognized directly in place of image recognition of the points, the determination processing is simpler than the above-mentioned methods. The color of the eye (point) is generally black in addition of red, but points in other colors may be used.
The box 11 is formed in a square, but may be in another shape, for example, a cylindrical shape, or an oval shape. Further, a shape of the component corresponding to the box is not limited to a box shape and in particular, in
If the present invention is applied to a commercial product for schoolers, an appearance of the box may be imitated by a doll, an animal, a vehicle, a building or the like to establish a space at a part of the box for rolling a dice.
In
And in a case the eye of the eye number “1” is not red and is not the one black point of a large size, it is difficult to determine the eye number “1”. Accordingly, if a stick seal of a red point corresponding to the eye as the eye number “1” or a stick seal where a large black point is printed is enclosed/sold in selling a dice eye number determination apparatus 10, the above problem is solved.
Further, it is explained that in the preferred embodiments it is difficult to individually identify a plurality of dice based upon a boundary of each dice. However, a band-like line in black or silver is in advance attached to a ridge portion of a dice, thereby to clearly define the boundary of the dice when shot by the shooting section 1. As a result, the boundary allows a size of the dice to be image-recognized, which can be used as the kind determination.
Although the invention has been described with respect to the specific embodiments for complete and clear disclosure, the appended claims are not to be thus limited but are to be construed as embodying all modifications and alternative constructions that may occur to one skilled in the art which fairly fall within the basic teaching herein set forth.
Number | Date | Country | Kind |
---|---|---|---|
2004-060311 | Apr 2004 | JP | national |