Join dots in binary image.

4 views (last 30 days)
khushboo chhikara
khushboo chhikara on 3 May 2018
I want to remove that one dot and join the curve points. tried medfilt2() but not getting the desired ouput.

Answers (1)

Alfonso
Alfonso on 3 May 2018
  11 Comments
Guillaume
Guillaume on 3 May 2018
Edited: Guillaume on 3 May 2018
getting this error!
And the error message explains clearly what the problem is:
Expected input number 2 to match one of these values:
'holes'
The input, 'holes ' did not match any of the valid values
Error in removeBlob
I = bwlabel(imfill(I>0, 'holes '));
The option is 'holes' not 'holes '. Get rid of that extra space and learn to read the error message.
khushboo chhikara
khushboo chhikara on 3 May 2018
Can we do it without clicking on the blob ? Isn't there is any other way to do it without making a function. And yes kindly help me with this --

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!