Recent

Author Topic: Line Simplification  (Read 1152 times)

tudi_x

  • Hero Member
  • *****
  • Posts: 532
Line Simplification
« on: May 21, 2019, 01:59:59 pm »
hi,
i need to write some line simplification code (ex. https://en.wikipedia.org/wiki/Ramer%E2%80%93Douglas%E2%80%93Peucker_algorithm ).
i was wondering how line simplification is achieved in TAChart.
i am interested in how from N point to leave only n points with least degradation of the theoretical curve.
thank you
Lazarus 2.0.2 64b on Debian LXDE 10

wp

  • Hero Member
  • *****
  • Posts: 11858
Re: Line Simplification
« Reply #1 on: May 21, 2019, 02:42:46 pm »
This algorithm is not available within TAChart. Of course you can use TAChart to plot the initial and final curves, but the algorithms has to be written by yourself.

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
« Last Edit: May 23, 2019, 09:37:01 pm by avra »
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

 

TinyPortal © 2005-2018