MATLAB: Branching points in a VORONOI DIAGRAM

image processingImage Processing Toolboxrobotics

I want to make a branching points(red dots) in the given binary image which will be determined as image pixels which are connected to atleast three segment of the given voronoi .
diagram. I want to make a shortest path from the branching points(red dots ) to the start and stop points (white dots).

Best Answer

There is a shortestpath() function.
Also see Steve's blog if you want to work on the image itself