Voting-Based Computational Framework for Motion Analysis