Question
I want to find the fork points of a skeleton of an image. I have obtained the skeleton of the image using the bwmorph(binaryImage, 'skel', Inf) function.
Expert Answer
John Michell
PhD Expert
Answered Aug 24, 2026
"A skeleton point having more than two adjacent points is called a fork point": bwmorph calls this a branch point.
"Every point which is not an endpoint or fork point": these are just a normal segment point. It does not have a particular name, and I don't see why you'd call them branch point. If you want to obtain these, it's just the skeleton point minus the end and branch points:
skelimage = bwmorph(binaryImage, 'skel', Inf); branchimage = bwmorph(skelimage, 'branchpoints'); %branch (fork) points endimage = bwmorph(skelimage, 'endpoints'); %end points otherimage = skelimage - branchimage - endimage; %points other than branch and end
100% Run Guarantee
3-Hour Fast-Track Delivery
Need a Custom Version or Complete Simulation for This Problem?
Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.
Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here
Related skeletonization Questions & Solutions
Browse All →
Explore similar technical troubleshooting questions and verified MATLAB solutions:
Ready-to-Run MATLAB & Simulink Projects
Browse All Projects →