Motion Detection by Correlation and Voting