Login  Register

Re: Measuring distance between points for tree ring widths

Posted by Glen MacDonald-2 on Oct 16, 2015; 4:09pm
URL: http://imagej.273.s1.nabble.com/Measuring-distance-between-points-for-tree-ring-widths-tp5014639p5014666.html

Dear Erik,
Manually enter points into the ROIManager by selecting the Single Point tool and press ’t’ after you click on each each point in the image.
2 options for opening your files.  Save the default results as filename.xls (set the default extension with Edit>Options>Input/Output). Open in Excel by File>Import and choose ‘Space’ as the delimiter (or similar operation in statistics software).  
If you really want to create csv formatted files, insert a comma between values in the print statement by replacing the last line of Volko’s macro with this version:
    print(i,”,”,d,”,”,scaled,”,”,unit);

regards,
Glen MacDonald
        Core for Communication Research
Virginia Merrill Bloedel Hearing Research Center
        Cellular Morphology Core
Center on Human Development and Disability
Box 357923
University of Washington
Seattle, WA 98195-7923  USA
(206) 616-4156
[hidden email]







On Oct 16, 2015, at 7:09 AM, lindbeem <[hidden email]> wrote:

> Hi Christopher,
>
> Thank you so much for showing me an example of this!  So I ran the macro
> with your demo data, and also with my data, and the only problem is that it
> is somehow computing an average (or I think it's an average), and populates
> that number for each value when it prints, and also when the calculations
> show up in the results.
>
> Also, I had another quick question.  In the example dataset that you gave,
> you called the manage function after every point.  I was wondering how I
> would do that if I am manually selecting my points.
>
> Lastly, how would I be able to print the output in order to be compatible
> with a .csv format.  I want to be able to export the distance for each core,
> and then combine them into another .csv that I am using to look at other
> variables.
>
> -Erik
>
>
>
> --
> View this message in context: http://imagej.1557.x6.nabble.com/Measuring-distance-between-points-for-tree-ring-widths-tp5014639p5014663.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

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