471,872 Members | 1,337 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,872 software developers and data experts.

Line Removal strategy

Hi I am looking for a simple algorithm for removing straight lines in a
given Image using something like an PIL or simpler.

Aug 23 '05 #1
1 1006
On 23 Aug 2005 14:07:15 -0700, "PyPK" <su*******@gmail.com> wrote:
Hi I am looking for a simple algorithm for removing straight lines in a
given Image using something like an PIL or simpler.

The simplest is if you are in control of drawing in the first place
and don't draw the lines ;-) Otherwise, you need to define your
requirements a little more precisely. E.g., replacing horizontal
and vertical runs of identical pixels of a given color with another
given background color could be one definition. Removing an
arbitrarily diagonal anti-aliased line of some undprcified width
running through a speckled background is a different problem ;-)

Regards,
Bengt Richter
Aug 24 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.