Hello everybody!
I wanted to know what is the best way, if there is one, to attempt to remove "splotches" of color from an image.
I have a series of images that have various "spots" of uniform purple color on them. What I want to accomplish is "clean up" theese spots as best as can be done with an aoutomated tool like ImageMagick of course
But I really don't know where to start for such a task, if it's even possible. Can anyone help?
Spot Healing (aka: removing "splotches")
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Spot Healing (aka: removing "splotches")
post an example image
Re: Spot Healing (aka: removing "splotches")
HEre's a sample image
http://img693.imageshack.us/img693/1456/ciswbso.jpg
PS: yeah, it's a so called "captcha" image... I know they're MEANT to be hard to read, but that's the point: I'm researching into the "strength" of these methods against ocr softwares, and this one is pretty tough, because if the blotch is over a letter it distorts it, whereas if it's out of it it gets wrongly recognized as a letter itself. What I'm trying to accomplish is something similar to photoshop's "Spot healing tool" that "rebuilds" an area of an image depending on what surrounds it. What I want is to make the purple parts red if they're near a red area, so they blend in with the letters, and yellow if they're sorrounded by yellow, ie: they're part of the background.
http://img693.imageshack.us/img693/1456/ciswbso.jpg
PS: yeah, it's a so called "captcha" image... I know they're MEANT to be hard to read, but that's the point: I'm researching into the "strength" of these methods against ocr softwares, and this one is pretty tough, because if the blotch is over a letter it distorts it, whereas if it's out of it it gets wrongly recognized as a letter itself. What I'm trying to accomplish is something similar to photoshop's "Spot healing tool" that "rebuilds" an area of an image depending on what surrounds it. What I want is to make the purple parts red if they're near a red area, so they blend in with the letters, and yellow if they're sorrounded by yellow, ie: they're part of the background.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Spot Healing (aka: removing "splotches")
still working on this, but so far not much luck
Re: Spot Healing (aka: removing "splotches")
Well, thx for the effort anyway... I guessed it wouldn't be easy.fmw42 wrote:still working on this, but so far not much luck