How can I remove horizontal lines, 1 px, one specific colour/grayscale?
In other words, how can I replace the colour of all pixels of one specific colour that have one white pixel above and one below with white?
Remove horizontal line, 1 px, one specific colour
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Remove horizontal line, 1 px, one specific colour
With HMT morphology. See http://www.imagemagick.org/Usage/morphology/#hmt
snibgo's IM pages: im.snibgo.com