On Monday 24 Nov 2014 19:23:29 Thejasvi wrote:
> I'm analysing network images using analyzeskeleton, and keep finding that
> the number of reported junctions tends to be more than those that you can
> 'see'.
[...]
You are using the wrong approach to the question you want to answer.
The skeleton analysis program works fine, but in your image the "lines", when
skeletonised do not generate straight lines. That is the reason you get extra
joints in the skeleton intersections.
One possible way round is to try to extract straight lines with something like
the Hough Transform and once you find the lines, compute their parametric
description (ie. y=ax+b) and then find the intersections with other lines via
computational geometry:
http://www.mathopenref.com/coordintersection.htmlYou then cycle through all lines and find the intersection with all other
lines. You will need to check if the intersections fall within the image frame
too.
I am not aware of code that does all this, but at least you get the idea about
how to proceed.
Regards
Gabriel
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html