A novel gradient-based matching via voting technique for vision-based structural displacement measurement