BRIEF DESCRIPTION OF THE DRAWINGS
Embodiments will now be described, by way of example only, with reference to the accompanying drawings which are meant to be exemplary, not limiting, and wherein like elements are numbered alike in several Figures, in which:
FIG. 1 is a diagram showing use environment of a game system according to an embodiment of the present invention;
FIG. 2 is a diagram showing the external configuration of a controller;
FIG. 3 is a diagram showing the external configuration of the controller from the rear side;
FIG. 4 is a diagram showing the internal configuration of the controller;
FIG. 5 is a diagram showing the configuration of a game apparatus;
FIG. 6 is a diagram showing the configuration of an image processing unit;
FIG. 7A is a diagram showing a current frame image, and
FIG. 7B is a diagram showing a differential image between the current frame image and a previous frame image;
FIG. 8A is a diagram showing a binary image of the current frame image, and FIG. 8B is a diagram showing an AND image;
FIG. 9 is a flowchart showing the procedure for processing of detecting LED image candidates;
FIG. 10 is a flowchart showing the procedure for LED extraction processing;
FIG. 11 is a flowchart showing the procedure for second LED detection processing shown in S122 of FIG. 10;
FIG. 12 is a flowchart showing the procedure for third LED detection processing shown in S124 of FIG. 10;
FIG. 13 is a flowchart showing the procedure for fourth LED detection processing shown in S126 of FIG. 10; and
FIGS. 14A and 14B are diagrams for explaining an algorithm by which a virtual object corresponding to the controller makes a smooth follow-up operation within a game screen.