Line Removal strategy

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • PyPK

    #1

    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.

  • Bengt Richter

    #2
    Re: Line Removal strategy

    On 23 Aug 2005 14:07:15 -0700, "PyPK" <superprad@gmai l.com> wrote:
    [color=blue]
    >Hi I am looking for a simple algorithm for removing straight lines in a
    >given Image using something like an PIL or simpler.
    >[/color]
    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

    Comment

    Working...