Login  Register

Finding Shortest Distance from each Particle to a Line

Posted by Mary Cole on Jul 22, 2013; 10:48pm
URL: http://imagej.273.s1.nabble.com/Finding-Shortest-Distance-from-each-Particle-to-a-Line-tp5004083.html

Hello,

    I previously posted about finding a way to outline a number of holes in a cross-section of bone. I have found a way to do this, but now I want to see how far away each hole is from the marrow cavity in the center of the bone.

On ROI manager, I have a list of all of the holes in the bone. I have attached an image of these ROI overlayed on the bone image as a yellow outline (I have removed the particle labels to make it easier to see).



I would like to find a way to measure the shortest distance between each yellow outline and the marrow cavity (white space) in the center of the image. I have also used the magic wand to select the marrow cavity and draw a yellow line.

Is there a plugin that will produce a list of the shortest distance between each ROI and the marrow cavity line?

I can easily make the image into a binary image containing only each ROI and the line surrounding the marrow cavity if that is necessary. I just left the ROI overlayed on the bone to make it easier to visualize.

Thank you very much for your help!

                                                 Sincerely,
                                                 Mary Cole