Ask Your Question
0

how to remove point noise

asked 2014-08-17 01:56:44 -0600

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?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
3

answered 2014-08-18 13:21:29 -0600

updated 2014-08-18 19:31:39 -0600

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

edit flag offensive delete link more

Comments

also you can use blob or contour to filter noise.

wuling gravatar imagewuling ( 2014-08-18 18:45:10 -0600 )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 ( 2014-08-18 19:28:41 -0600 )edit
1

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

wuling gravatar imagewuling ( 2014-08-18 19:46:24 -0600 )edit

Question Tools

Stats

Asked: 2014-08-17 01:56:44 -0600

Seen: 2,032 times

Last updated: Aug 18 '14