jacopoantonello / zernike

Python code for Zernike polynomials
Apache License 2.0
131 stars 35 forks source link

Zernike polynomial fitting from 3-D coordinates? #6

Closed sidgairo18 closed 3 years ago

sidgairo18 commented 3 years ago

Hi, supposing as input we have a set of 3-D points (x,y,z) that lie on a 3 dimensional surface. How would the zernike fitting function work in this case? From the examples it is not apparent what the input should be exactly. Would be grateful for your help. Thank you.

jacopoantonello commented 3 years ago

Hi! Perhaps you should look at orthopy instead. This toolbox only support regular Zernike polynomials on a unit disk.

sidgairo18 commented 3 years ago

Thank you for your response @jacopoantonello . Wouldn't scaling the 3-D points (x,y,z) to a unit vector make the points to lie on a unit disk? Then can it be used with your fitting function?