Patent ID: 8237656

Claim:
A system for motion-based controlling of an electronic device, the system comprising: a user-manipulated device; an image sensor; a reference element array including a first reference element, a second reference element and a third reference element each having a different size from one another and defining vertices of a reference triangle, the reference triangle defining a plane substantially nonparallel to a front surface of a display, one of the image sensor or the reference element array being attached to the user-manipulated device, the reference element array forming an array image on the image sensor through a nonparallel projection of the reference triangle onto the image sensor, the array image having a pattern changing shape as a relative position between the image sensor and the reference element array changes, at least one of the first reference element, the second reference element, or the third reference element elevated off a plane with respect to non-elevated reference elements to facilitate discrimination of the at least one elevated reference element from the non-elevated reference elements, to increase visibility of the elevated reference element, and to increase a degree of shape differentiation of the array image; and a position determination module configured to: receive image information from the image sensor, the image information including a reference element image of each reference element, each reference element image comprising multiple pixels; identify a pattern of reference elements from the image information by clustering the multiple pixels of each reference element image to a separate group and calculating a weighted barycenter of each group based on brightness as a weight; and generate position information based on the pattern of the reference elements identified in the image information, the position information expressing the relative position between the image sensor and the reference element array.