From: Ish Khan on
Hi, I have a image (http://drop.io/ish790790/blog/m) and i want to remove the pink, gray and cyan lines from it so what I would have is a image without any lines across it. I am finding it immensely tricky to come with the code to execute this, any help will be very much appreciated!

Regards
From: ImageAnalyst on
Use a simple RGB color detector to find the lines, such as this one:
http://www.mathworks.com/matlabcentral/fileexchange/26420-simplecolordetection
Then use a median filter on the image. Then to preserve colors that
aren't the color you're intending to replace, mask the median by the
lines mask and replace only those pixels in the original (several ways
to do that).
Not really so hard to code up once you understand the steps (which I
just listed).
From: Ish Khan on
ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <82bdaac2-7982-478d-9ded-6c6c6eb57acc(a)24g2000yqy.googlegroups.com>...
> Use a simple RGB color detector to find the lines, such as this one:
> http://www.mathworks.com/matlabcentral/fileexchange/26420-simplecolordetection
> Then use a median filter on the image. Then to preserve colors that
> aren't the color you're intending to replace, mask the median by the
> lines mask and replace only those pixels in the original (several ways
> to do that).
> Not really so hard to code up once you understand the steps (which I
> just listed).

Thank you very much for your help! my image is now unwanted lines free!