Posted by
jerie on
Aug 28, 2015; 7:59am
URL: http://imagej.273.s1.nabble.com/Automatically-measure-width-tp5014170p5014185.html
Andrew,
sorry I should have added some explanation.
You can just run the macro, it should open your example file which is the
stack you need in line 5. You may have to convert other input RGB images to
stacks. To avoid your colour issues there is the z-projection of the 3
colour channels. The line width helps to deal with the edges introduced by
the ruler and noise, because it averages. Try to run it with width 1, you
will see.
Macro outputs the positions of the maxima along the line to the log window,
this part of the macro is amended from
http://imagej.net/macros/FindMaxima1D.txtGood success,
Jens
Visiting Scientist
Fundação Oswaldo Cruz - Ministério da Saúde, Centro de Desenvolvimento
Tecnológico em Saúde (CDTS), Rio de Janeiro, Brazil.
Am 28.08.2015 01:21 schrieb "Andrew Sanchez" <
[hidden email]>:
> Oh wow! That's really interesting. Seems like this is definitely on the
> right track.
>
> I am going through the script line by line, trying to understand what I can
> get out of this. I am going to need to do a bit of digging before I can
> even begin to comprehend how I can use this for my task, so if anybody
> feels
> the inspiration to jump in and spell it out for me, that would be awesome.
> Otherwise I will post back once I wrap my head around this.
>
> I ran the macro without line 5 because I got the message "Stack needed"
>
> Should I open my image, run Duplicate and then run Images to Stack in order
> to run Z project?
>
> Why did you make the line 20 pixels wide? Couldn't it just be 1 pixel,
> since I'm only interested in measuring the line's width?
>
> Thank you,
> Andrew
>
>
>
> --
> View this message in context:
>
http://imagej.1557.x6.nabble.com/Automatically-measure-width-tp5014170p5014177.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
Jens Rietdorf
Visiting Scientist
Fundação Oswaldo Cruz - Ministério da Saúde, Centro de Desenvolvimento Tecnológico em Saúde (CDTS), Rio de Janeiro, Brasil.