Quick Zernike polynomial creation and decomposition
These functions may be used to quickly generate Zernike polynomials of any radial and azimuthal degree over a circular aperture of any resolution. Additionally, they may be used to perform a quick least-squares fit of any image within a circular aperture using Zernike polynomials, returning the relative coefficients (or "moments", as described by the literature) of each polynomial used in the fit. Many thanks to Chong et. al for proposing a recursive algorithm to calculate the radial portion of the polynomials; it is this algorithm that makes the code as efficient as it is.
Function zernike is used to generate Zernike polynomials.
Functions zernike_moments and zernike_recreation are used to perform a least-squares fit and recreation of an image using Zernike polynomials.
Please read function descriptions for full instructions on their use.
引用格式
Evan Czako (2024). Quick Zernike polynomial creation and decomposition (https://github.com/EvanCzako/Zernike-Polynomials-MATLAB), GitHub. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!