Using digital image processing in field measurement