Fully automatic image measuring instrument