1. A method for obtaining distance and image information of an object, the method comprising: defining, in the image, an area to be scanned; obtaining a plurality of measurement pixels of the object within the area to be scanned; providing a default distance between the plurality of positions and the optical instrument; and converting the plurality of measurement pixels into an approximation of coordinates of a plurality of positions to be measured based on the default distance between the plurality of positions and the optical instrument, and for each position of the plurality of positions: adjusting the optical axis of the lens arrangement onto said each position to be measured; measuring the distance to said each position; and determining updated coordinates based on the measured distances.