Join dots in binary image.

5 次查看(过去 30 天)
khushboo chhikara
I want to remove that one dot and join the curve points. tried medfilt2() but not getting the desired ouput.

回答(1 个)

Alfonso
Alfonso 2018-5-3
  11 个评论
Guillaume
Guillaume 2018-5-3
编辑:Guillaume 2018-5-3
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
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 --

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by