Page 1 of 1

Spot Healing (aka: removing "splotches")

Posted: 2010-01-12T06:21:19-07:00
by Master_T
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?

Re: Spot Healing (aka: removing "splotches")

Posted: 2010-01-12T10:24:11-07:00
by fmw42
post an example image

Re: Spot Healing (aka: removing "splotches")

Posted: 2010-01-13T12:12:27-07:00
by Master_T
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.

Re: Spot Healing (aka: removing "splotches")

Posted: 2010-01-15T13:29:09-07:00
by fmw42
still working on this, but so far not much luck

Re: Spot Healing (aka: removing "splotches")

Posted: 2010-01-17T04:50:36-07:00
by Master_T
fmw42 wrote:still working on this, but so far not much luck
Well, thx for the effort anyway... I guessed it wouldn't be easy.