I have a binary image and I want to detect and remove all pixels with >2 pixels connected to them (e.g. Y and T joints). The image is produced by thinning of the image and all lines have a thickness of 1 pixel. Below is a sample image. My first guess was to check connectivity for all pixels but since I have hundreds of these objects in each image, this approach would be too expensive. Thanks,
MATLAB: Detect and remove T/Y joints in a binary image
binarybinary imagebwconncompbwmorphimage processingskeletonizationthinnig
Related Question
- Remove unwanted regions in binary image
- With the grayscale image 150*100 how should I find out the number of text pixels(black) and background pixel (white)count I have used histogram but I can’t accurately predict the pixel count
- Problem in thresholding an image
- How to make the black portion white in this bordered area
- How to change the bw to wb
Best Answer