asadmujtaba
asadmujtaba

Reputation: 21

Noise Removing from Image with circular objects

What would be a good method to remove this type of noise from an image?

image

Upvotes: 2

Views: 287

Answers (2)

Mark Setchell
Mark Setchell

Reputation: 207560

Please do not accept this answer, and if you vote for it, please also vote for Yves's answer since I am merely illustrating how to implement his method and the credit is due to him.

So, you can just use ImageMagick at the command-line to do as Yves suggested like this:

convert ~/Desktop/utRjy.jpg  -morphology close octagon:13 result.png

enter image description here

Upvotes: 1

user1196549
user1196549

Reputation:

Morphological closing (dilation then eorsion) with a structuring element larger than the stroke achieves this:

enter image description here

It won't be possible to completely get rid of the residual irregularities.

Upvotes: 3

Related Questions