A Position and Attitude Measuring Method by Image Processing for VR Interface