Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconstruct surface from Zernike moments #65

Open
fredericoschardong opened this issue Oct 17, 2015 · 4 comments
Open

Reconstruct surface from Zernike moments #65

fredericoschardong opened this issue Oct 17, 2015 · 4 comments

Comments

@fredericoschardong
Copy link

It would be neat to have a function that reconstructs a surface based on the Zernike moments generated by mahotas.features.zernike_moments. In some cases one might want to compute the Euclidean distance between the original and the reconstructed image, thus justifying why this is useful.

Apparently someone has implemented such a thing (I have not tested):
https://github.com/tvwerkhoven/PyCourse/blob/master/python102/examples/py102-example2-zernike.py

@luispedro
Copy link
Owner

I agree it'd be very nice. ATM, I don't have the cycles to do it myself and it's not something I would need on any other project; so it's very unlikely I will do it.

The code you linked to unfortunately has the wrong license. Perhaps the author could be persuaded to relicense and adapt for mahotas, but, right now, it cannot be used :(

@fredericoschardong
Copy link
Author

Too bad for me, I need this. To make things worse I am neither a python developer nor have any experience with Zernike polynomials.

Is GPL 2 compatible? If yes then this might useful: https://github.com/rjonnal/zernike/blob/master/tests.py#L164

@luispedro
Copy link
Owner

GPL2 is not compatible as mahotas is currently MIT-licensed, which does not have the copyleft restriction.

@fredericoschardong
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants