• Re: Simplifying wiggly paths

    From Y V A@yyyyyyyyyyyywwwww@zohomail.eu to comp.programming on Thu Apr 20 04:31:34 2023
    From Newsgroup: comp.programming

    Hello.....
    Girls, boys, come see: ⠀⠀⠀⠀⠀⠀⠀⠀kohtumispaik2.freehostpro.com/a.php ⠀⠀⠀⠀⠀⠀⠀⠀kohtumispaik3.66ghz.com/a.php ⠀⠀⠀⠀⠀⠀⠀⠀kohtumispaik4.medianewsonline.com/a.php ⠀⠀⠀⠀⠀⠀⠀⠀aaaaaaaaaaaaaaaar.medianewsonline.com/firstpage.php ⠀⠀⠀⠀⠀⠀⠀⠀themostconfortabletalkplace.medianewsonline.com/a.php
    I will wait You there patiently, but I may not be all the time there.
    On Tuesday, December 6, 2022 at 12:52:35 PM UTC+2, Malcolm McLean wrote:
    I'm working on a problem where a user enters a degraded, wiggly curve (it's actually created by tracing software from what might have been once a rectangle, for example, but has been physically printed, then scanned, and so on, so that there are plenty of stray pixels picked up by the tracing software).

    So basically what I want to do is sample the curve at a fairly low resolution, then re-fit it, to get rid of the noise. However I want to retain the genuine sharp corners. So in the rectangle case, the desired output wouldn't be a mathematical rectangle, but it would be four clean almost straight curves, connected by four corners of almost ninety degreees.

    The curve tends to go back on itself. It's like a coastline. It's easy to pick out the real curve from the noise by eye, but harder to do it automatically.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Y V A@yyyyyyyyyyyywwwww@zohomail.eu to comp.programming on Thu Apr 20 04:31:50 2023
    From Newsgroup: comp.programming

    Hello.....
    Girls, boys, come see: ⠀⠀⠀⠀⠀⠀⠀⠀kohtumispaik2.freehostpro.com/a.php ⠀⠀⠀⠀⠀⠀⠀⠀kohtumispaik3.66ghz.com/a.php ⠀⠀⠀⠀⠀⠀⠀⠀kohtumispaik4.medianewsonline.com/a.php ⠀⠀⠀⠀⠀⠀⠀⠀aaaaaaaaaaaaaaaar.medianewsonline.com/firstpage.php ⠀⠀⠀⠀⠀⠀⠀⠀themostconfortabletalkplace.medianewsonline.com/a.php
    I will wait You there patiently, but I may not be all the time there.
    On Monday, December 12, 2022 at 8:21:18 PM UTC+2, Julio Di Egidio wrote:
    On Monday, 12 December 2022 at 13:34:30 UTC+1, Malcolm McLean wrote:

    Whilst it works on the test set, the snag is that I had to fiddle with
    in an ad hoc way to achieve this.
    Next step is Machine Learning (learning the parameters)...

    Julio
    --- Synchronet 3.20a-Linux NewsLink 1.114