Ask Your Question
0

how to remove point noise

asked Aug 17 '14

mohagheghiyan gravatar image

I want to remove noises similiar points and save persian character. my sample is: image description

how to this work is possible? are there any function or algorithm for remove noises in opencv?

Preview: (hide)

1 answer

Sort by » oldest newest most voted
3

answered Aug 18 '14

updated Aug 19 '14

This case is not an easy one. It depends on the application and the effects of the noise. The easiest thing you can do to correct the image is to use the median filter After that you can also erode the image and then dilate it

If you need to go beyond this level, then you need to extract the features and recognize the outlier (and of course, make them off).

This is the result: image description

Preview: (hide)

Comments

also you can use blob or contour to filter noise.

wuling gravatar imagewuling (Aug 19 '14)edit

@wuling: You're right, but this case is not easy. Some of the dots you see in the image are not noisy ones, they are part of the letters! So, contours wouldn't help that much.

hadoofi gravatar imagehadoofi (Aug 19 '14)edit
1

hi , i think contour to calculate area .....

wuling gravatar imagewuling (Aug 19 '14)edit

Question Tools

Stats

Asked: Aug 17 '14

Seen: 2,053 times

Last updated: Aug 18 '14