Estimating the orientation of a dot pattern.