Study of Visual Device Measuring 2-D Motion and Rotation of Floor Image