Remove image noise
Posted: 2012-04-08T05:32:58-07:00
Hello everyone.
We have a lot of images in a folder tha contain useless information.
For instance, images may or may not have a white border.
On these white border, there may or may not have noise (random noise, hand writed notes, etc.).
I'd like to get ridd of this noise, so I can make some valuable statistics (overhall image size, contrast, etc.).
How can I achieve that?
I thought that maybe I can cut after the 1st blank line I enounter (I can assume that any line that contain only pixels as (220,220,220) or lighter is a white line). But I don't know how to do that. I even don't know where to start.
Any ideas?
Thanks a lot.
We have a lot of images in a folder tha contain useless information.
For instance, images may or may not have a white border.
On these white border, there may or may not have noise (random noise, hand writed notes, etc.).
I'd like to get ridd of this noise, so I can make some valuable statistics (overhall image size, contrast, etc.).
How can I achieve that?
I thought that maybe I can cut after the 1st blank line I enounter (I can assume that any line that contain only pixels as (220,220,220) or lighter is a white line). But I don't know how to do that. I even don't know where to start.
Any ideas?
Thanks a lot.