how to remove bifurcation points which were pixels with more than two eight-way neighbours in an retinal black and white image?

2 views (last 30 days)
i have an black and white image which is skeletonaized. For that image i have to find out the pixel which has more than two eight way connective components(all neighbours which are ones and not zeros). i have used bwareaopen(image,p,conn),where conn is 8 connectivity and removes the points which have less than p pixels.it is helpful when we need only one eight neighbour hood but i wanted two eight way neighbourhood.
thank you.

Answers (1)

Image Analyst
Image Analyst on 23 Apr 2017
To remove bifurcation pixels, use bwmorph(binaryImage, 'branchpoints') and then set those pixels to false. Untested code:
endPointsImage = bwmorph(binaryImage, 'branchpoints');
binaryImage(endPointsImage) = false;
You can dilate the endPointsImage with imdilate() if you want to enlarge the area around the branchpoints being erased.

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!