02-09-2009 дата публикации
Номер: CN0101520697A
Принадлежит:
The invention discloses a trajectory smoothing method for an optical indicator device, which comprises the following steps: acquiring a new produced motion vector; judging whether the motion vector is a first motion vector or not; if so, judging whether the motion is along a single axis once more; if so, reserving the preset motion vector, then outputting the preset motion vector and finishing the operation; if the two axis directions have motions, outputting the motion vector, taking a reserved amount as zero and finishing the operation; if the motion vector is not the first motion vector, judging whether the motion is along the single axis; if the motion is not along the single axis, outputting a current motion vector plus the reserved motion vector, taking the reserved amount as zero and finishing the operation, and if so, judging whether the motion vector has the same direction with the last motion vector; if so, outputting the motion vector, keeping the reserved amount unchanged and ...
Подробнее