Patent ID: 7409107

Claim:
An input device which generates control information by moving an object to be detected, comprising: an image capture section which includes a detection surface and captures an image of the object to be detected which is in contact with the detection surface; a center-of-gravity calculation section which calculates a center of gravity of the image captured by the image capture section; a feature point extraction section which extracts a feature point of the captured image; a center-of-gravity movement detection section which calculates a first difference between a center of gravity of an image of the object to be detected in a frame at least one frame before the current frame and the center of gravity calculated by the center-of-gravity calculation section; a feature point position movement detection section which calculates a second difference between a position of a feature point of an image of the object to be detected in a frame at least one frame before the current frame and a position of the feature point extracted by the feature point extraction section; and a rotation angle detection section which detects a rotation angle around one of a first axis and a second axis which are perpendicular to each other on the detection surface based on the first difference and the second difference, wherein the rotation angle detection section calculates the rotation angle around the second axis by subtracting a first axis direction component of the second difference from a first axis direction component of the first difference, calculates the rotation angle around the first axis by subtracting a second axis direction component of the second difference from a second axis direction component of the first difference, and outputs the control information corresponding to the rotation angle around the first axis or the second axis.