Detecting the straightness of digital curves in O(N) steps. - Walter G. Kropatsch; H. Tockner (Comput. Vis. Graph. Image Process., 1989)