Rank: 750 based on 96 downloads (last 30 days) and 5 files submitted
photo

Paul Fricker

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Paul View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
07 Nov 2011 Screenshot Pseudo-Zernike Functions Computes the pseudo-Zernike functions (an orthogonal basis on the unit disk). Author: Paul Fricker image processing, mathematics, physics, optics 19 0
24 Oct 2011 Screenshot Zernike polynomials Zernike polynomials and functions (orthogonal basis on the unit circle). Author: Paul Fricker orthogonal basis, optics, zernike, physics, chemistry, circular domain 62 16
  • 4.66667
4.7 | 15 ratings
24 Oct 2011 Screenshot Gavrielides functions. Computes the Gavrielides functions of order N and frequency M on the unit circle. Author: Paul Fricker mathematics, medical, physics 5 0
12 Oct 2006 Screenshot showregions.m Display selected regions of a label matrix. Author: Paul Fricker gui, display, annotation, bwlabel, watershed, label matrix 6 1
  • 4.5
4.5 | 2 ratings
06 Jan 2003 quadcc Numerical integration using Clenshaw-Curtis quadrature. Author: Paul Fricker integration, intergration, quadrature, clenshawcurtis, mathematics 4 1
  • 5.0
5.0 | 1 rating
Comments and Ratings on Paul's Files View all
Updated File Comment by Comments Rating
14 Nov 2011 Zernike polynomials Zernike polynomials and functions (orthogonal basis on the unit circle). Author: Paul Fricker Shahab

Hi,

Does anybody know about the discrete Zernike Transform (DZT)?
I am so eager to implement that.

thank you in advance

14 Nov 2011 Zernike polynomials Zernike polynomials and functions (orthogonal basis on the unit circle). Author: Paul Fricker Vic

Thanks for the code! I have a question about the unit of the zernike polynomials generated by this code, is it in [number of waves] or [micrometer]?

Thanks again!

10 Mar 2011 Zernike polynomials Zernike polynomials and functions (orthogonal basis on the unit circle). Author: Paul Fricker Graetzel, Chauncey

I was running into problems when using my fitted terms in another program: the same coefficients did not give the same surface.
I found the cause: the cosine and sine terms are inverted in zernfun. M>0 should be a cosine, while M<0 should be a sine.

I've corrected this, starting at line 193

if any(idx_pos)
    z(:,idx_pos) = y(:,idx_pos).*cos(theta*m(idx_pos)');
end
if any(idx_neg)
    z(:,idx_neg) = y(:,idx_neg).*sin(theta*-m(idx_neg)');
end

% note the required sign change "-m" in the sine term

30 Aug 2010 Zernike polynomials Zernike polynomials and functions (orthogonal basis on the unit circle). Author: Paul Fricker Bob

Very great functions! But the normalization with the 'norm' - option seems to be wrong. I've changed in:

zernfun.m

% For the normalized polynomials the line 177:
y(:,j) = y(:,j)*sqrt((1+(m(j)~=0))*(n(j)+1)/pi);

% I have to replaced by:
if m(j)==0
        y(:,j) = y(:,j)*sqrt((n(j)+1));
else
        y(:,j) = y(:,j)*sqrt(2*(n(j)+1));
end

30 Mar 2010 Zernike polynomials Zernike polynomials and functions (orthogonal basis on the unit circle). Author: Paul Fricker Elia

I am still becoming accustomed to MATLAB. When I run the zernfun.m by itself without any modifications, I get this error

??? Input argument "n" is undefined.
Error in ==> zernfun at 88
if ( ~any(size(n)==1) ) || ( ~any(size(m)==1) ).

However, when I initialized n, m, r, & theta, I get this error

??? Maximum recursion limit of 500 reached. Use set(0,'RecursionLimit',N)
to change the limit. Be aware that exceeding your available stack space can
crash MATLAB and/or your computer.

Error in ==> meshgrid

Does anybody have any thoughts about making zernfun.m to work? Any help would be greatly appreciated.

Top Tags Applied by Paul
mathematics, physics, optics, annotation, bwlabel
Files Tagged by Paul View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
07 Nov 2011 Screenshot Pseudo-Zernike Functions Computes the pseudo-Zernike functions (an orthogonal basis on the unit disk). Author: Paul Fricker image processing, mathematics, physics, optics 19 0
24 Oct 2011 Screenshot Zernike polynomials Zernike polynomials and functions (orthogonal basis on the unit circle). Author: Paul Fricker orthogonal basis, optics, zernike, physics, chemistry, circular domain 62 16
  • 4.66667
4.7 | 15 ratings
24 Oct 2011 Screenshot Gavrielides functions. Computes the Gavrielides functions of order N and frequency M on the unit circle. Author: Paul Fricker mathematics, medical, physics 5 0
12 Oct 2006 Screenshot showregions.m Display selected regions of a label matrix. Author: Paul Fricker gui, display, annotation, bwlabel, watershed, label matrix 6 1
  • 4.5
4.5 | 2 ratings
06 Jan 2003 quadcc Numerical integration using Clenshaw-Curtis quadrature. Author: Paul Fricker integration, intergration, quadrature, clenshawcurtis, mathematics 4 1
  • 5.0
5.0 | 1 rating

Contact us at files@mathworks.com