Reputation: 21
What would be a good method to remove this type of noise from an image?
Upvotes: 2
Views: 287
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
Upvotes: 1
Reputation:
Morphological closing (dilation then eorsion) with a structuring element larger than the stroke achieves this:
It won't be possible to completely get rid of the residual irregularities.
Upvotes: 3