Patent ID: 8531506

Claim:
A method for calculating a three-dimensional coordinate, the method being suitable for calculating three-dimensional coordinates of a first interactive device and a second interactive device relative to a stereo display panel, the first interactive device comprising a first light source radiating a first light, the second interactive device comprising a second light source radiating a second light, the stereo display panel comprising a color filter and an optical sensor array, the method comprising: irradiating the stereo display panel with the first light radiated by the first light source and the second light radiated by the second light source; obtaining a first image by capturing the first light filtered by the color filter and obtaining a second image by capturing the second light filtered by the color filter, wherein the first light and the second light filtered by the color filter are captured by the optical sensor array; detecting at least one circle object in the first image and at least one circle object in the second image to obtain a center coordinate and a radius of each of the circle objects in the first image and in the second image, respectively; determining whether overlapping circle objects among the circle object in the first image and the circle objects in the second image exist according to relative positions of the center coordinates; detecting a light intensity value at a center of each of the circle objects; determining the overlapping circle objects among the circle objects in the first image and the circle objects in the second image formed by the first light source or by the second light source according to the light intensity value at the center of each of the circle objects; and calculating the three-dimensional coordinates of the first interactive device and the second interactive device relative to the stereo display panel according to the center coordinate and the radius of each of the circle objects respectively corresponding to the first light source and the second light source.