Re: color pixel for Strahler order
Posted by
Gabriel Landini on
Apr 01, 2014; 12:54pm
URL: http://imagej.273.s1.nabble.com/color-pixel-for-Strahler-order-tp5007132p5007164.html
On Sunday 30 Mar 2014 01:59:26 catherine wrote:
> I use Strahler order pluging to count order in branching object
>
http://fiji.sc/Strahler_Analysis <
http://fiji.sc/Strahler_Analysis>
>
> The image is a skeleton image
> <
http://imagej.1557.x6.nabble.com/file/n5007132/86117_Th1.bmp>
> I am searching how I could color pixels of the skeleton after he analysis,
> for each order (order 1 in yellow, 2 in red, 3 in green for example).
> Isearch and founded pixel colro counter, but I really don't know how to
> colorpixel with a macro.
I am not sure that script is working correctly.
The number of branches of order 1 should be the same as the number of end
points at the start of the skeleton, or am I missing something obvious?
With a test image here I get:
order endp branches junctions
1 67 128 62
2 22 41 20
3 4 5 2
4 2 1 0
How is it possible to have 128 branches of order 1 with only 67 end points?
Cheers
Gabriel
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html