Vision based measuring device for fast and accurate determination of teat morphology on dairy farms.