Login  Register

Re: measuring two lines perpendicularly

Posted by Romain Penz on Feb 02, 2016; 2:49pm
URL: http://imagej.273.s1.nabble.com/measuring-two-lines-perpendicularly-tp5015503p5015522.html

I will try that plugin. It could be an effective solution for some spores associated with a rectangular ROI (elliptic spores especially). Thanks a lot.


The curved spores will need the use of two rectangles I guess.


Otherwise a tool live displaying the angle between two lines (the angle a second line I'm drawing has with the precedent drawn) could allow me to do what I want and could be the simplest way to achieve my goal. I will search in parallel on that direction.

 
 Duleep Samuel <[hidden email]> wrote

you can do the same using “Selection Rotator” tool, contributed by Peter Haub, which is included with ImageJ 1.50d. To add this tool to the toolbar, select it from the toolbar’s “>>” menu. (I checked it it is working icely)
http://permalink.gmane.org/gmane.comp.java.imagej/39308, Regards, Samuel (PS btw I am in Division of plant Pathology)

there was something on ROI rotator https://github.com/imagej/imagej1/blob/master/ij/plugin/RoiRotator.java 

On Tue, Feb 2, 2016 at 2:58 PM, Romain Penz <[hidden email]> wrote:

    Hi Samuel,


    not a bad idea if the spore is not curved. The only restriction is to be able to rotate the rectangle to exactly surrounding the spore because the spores are rarely vertically or horizontally oriented (the tool edit > selection > rotate may be a solution but being able to rotate the rectangle manually would allow a finest fitting. Do you know a way to dos this?)


    Thanks



    De : Duleep Samuel <[hidden email]>
    Envoyé : mardi 2 février 2016 05:00
    À : [hidden email]

    Objet : Re: measuring two lines perpendicularly
     
    can you draw a rectangle surrounding the spore, the dimension of the rectangle will be those of the spore, regards, DK Samuel, Virology Lab, Ind Insr of Hort Reserach, Bangalore India

    On Mon, Feb 1, 2016 at 4:00 AM, Romain Penz <[hidden email]> wrote:

        Dear all,


        Is there a way to measure manually two consecutive lines using the straight line tool, the second being perpendicular to the first one (automatically fitting to a 90° angle to the first one when drawn)?


        I've searched for macro or plugin doing this but with no result.


        I need this functionality to measure fungal spores. So i have to measure the length and the width of spores (so two lines per spore) and the two lines used to measure these data have to be perpendicular to each other.


        Thanks,


        Romain

        --
        ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html