automatic angle detection/correction
Posted by Aryeh Weiss on
URL: http://imagej.273.s1.nabble.com/automatic-angle-detection-correction-tp3694732.html
I have an image with a lot of relatively short noisy lines, all of which are
very close to parallel with each other, and at a small angular offset from
horizontal. As part of the processing, I want to align them to be horizontal.
The FFT of these images provides a very nice component that is perpendicular to
these lines, so that alignment of the FFT to vertical provides the required
angle of rotation.
Before I work on the automatic detection of the line and angle, and I wondering
if anyone has already written a plugin/macro to do this.
Thanks in advance.
--aryeh
--
Aryeh Weiss
School of Engineering
Bar Ilan University
Ramat Gan 52900 Israel
Ph: 972-3-5317638
FAX: 972-3-7384050