问题
What is the meaning of a junction point in image skeleton ? I am using opencv and c++ to develop a code source to detect the main local junction point in the image .Many thanks in advace .
回答1:
A junction point is usually the intersection of two lines. See this image:
https://docs.google.com/file/d/0ByS6Z5WRz-h2U3NBWWZ6V3FqeUk/edit?pli=1
Skeleton refers (usually) to the skeletonization of an image. this article is useful:
http://en.wikipedia.org/wiki/Topological_skeleton.
So I think what they are asking you do is, to take the image find its skeleton then figure out which pixel contain the intersection of the lines of the skeleton.
Skeletonization in opencv
回答2:
isn't it as simple as:
a junction has 2 or more neighbour pixels of the same color
?
来源:https://stackoverflow.com/questions/16447975/junction-point-in-image-skeleton