I tried it but I'm not getting what I expected... https://i.imgur.com/388RZfo.png
I ran convert input.png -define connected-components:area-threshold=40 -connected-components 4 -auto-level output.png
There is no documentation on the area-threshold parameter. I assumed it was the number of pixels ...
Search found 3 matches
- 2017-12-27T03:23:47-07:00
- Forum: Users
- Topic: Remove spots in a black/white text image
- Replies: 5
- Views: 6228
- 2017-12-26T15:10:01-07:00
- Forum: Users
- Topic: Remove spots in a black/white text image
- Replies: 5
- Views: 6228
Re: Remove spots in a black/white text image
Version: ImageMagick 6.9.9-11 Q16 x86_64 2017-09-30 http://www.imagemagick.org
on cygwin / windows 10.
How does -connect-components works?
on cygwin / windows 10.
How does -connect-components works?
- 2017-12-26T09:07:59-07:00
- Forum: Users
- Topic: Remove spots in a black/white text image
- Replies: 5
- Views: 6228
Remove spots in a black/white text image
Hi.
I have seen similar threads but I didn't manage to get what I wanted out of them.
Here is an example: https://i.imgur.com/REXnLuQ.png
I'd like to remove the spots such that only the text remains, and be able to choose a number of pixels threshold. Here the biggest spot has around 30 pixels ...
I have seen similar threads but I didn't manage to get what I wanted out of them.
Here is an example: https://i.imgur.com/REXnLuQ.png
I'd like to remove the spots such that only the text remains, and be able to choose a number of pixels threshold. Here the biggest spot has around 30 pixels ...