http://imagej.273.s1.nabble.com/shortest-distance-to-line-or-perpendicular-to-line-tp5012919p5012922.html
Vision is the art of seeing what is invisible to others.
> On May 22, 2015, at 17:08 , Cammer, Michael <
[hidden email]> wrote:
>
> Hi.
>
> We have a large object with a bunch of puncta inside it. We want to calculate the shortest distance from each dot to the major axis. Getting the major axis is simple and drawing it on the image is easy thanks to Wayne's macro.
>
> Question: Given this line and each x, y, location of a dot, there must be a simple formula to calculate the shortest distance to the line (a perpendicular).
>
> Any help greatly appreciated.
>
> Thank you!!
>
> =========================================================================
> Michael Cammer, Microscopy Core & Skirball Institute, NYU Langone Medical Center
> Cell: 914-309-3270 ** MY OFFICE HAS MOVED TO SKIRBALL 2nd FLOOR, Back right **
>
http://ocs.med.nyu.edu/microscopy &
http://microscopynotes.com/>
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html