hbldh / pyefd

Python implementation of "Elliptic Fourier Features of a Closed Contour"

Home Page:http://pyefd.readthedocs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyefd for 3D points

dalbenzioG opened this issue · comments

Hi!

I wondered if I could use pyefd for generating the contour from 3D data points, where x, y, and z are the coordinates of a generic point. Do you have any suggestions?

I really appreciate any help you can provide!

No, PyEFD is based on a strictly 2D algorithm. For 3D, you are touching on CAD or surface scanning and much more complicated matters.

One could possibly do one of following solutions:

  • some kind of flood fill-similar solution
  • starting with a bounding box and gradually shrinking it
  • starting at the center of the object and gradually expanding

I do not know if they work and they are most likely very inefficient and slow algorithms.

But it is not PyEFD you are looking for, sorry.