采纳的回答

% You can change the thresholds values as per your requirements/More accurate
BW=im2bw(rgb2gray(imread('bin1.png')));% You provided the RGB Image
BW1=bwmorph(BW,'thicken',20);
BW2=bwmorph(BW1,'majority',50);
figure,
imshow(BW2);

3 个评论

Or do the sorts of morphological operations, you will get the result
I am very appreciated for this answer. Thank you a lot.
My Pleasure @Attawut

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Geometric Transformation and Image Registration 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by