Recently, I’m studying the algorithm for FFP in Article Full-field Fourier ptychography (FFP): Spatially varying pup...

I try to master the FFP method and reproduce the result through MATLAB simulation. However, the results are bad and my MATLAB code cannot even give me a correct result. I have checked my code and, to my knowledge, it is consistent with that given in Fig. 6 in that paper. Hence, I’m writing this to seek for some help on my MATLAB code.

I’m not sure if I have a correct understanding to that paper. Actually, in my simulation, I assume that the aberration is spatially in-varying for simplicity, and the ground truth of pupil function is calculated using Eq. (13). For example, the pupil function is

Pupil = circ(NA · k) · exp{i[w1·(kx2+ky2) + w2·kx2 + w3·ky2]}, and I wish to recover parameters w1, w2 and w3.

According to sub-section C, my simulation is just a special case where segments number M=1. However, these three parameters cannot be recovered using my own MATLAB code. There must be something wrong with my code or comprehension. But I’m unable to figure it out.

Simulation codes are attached, the EPRY algorithm is also included. Any help is deeply appreciated.

More Shuhe Zhang's questions See All
Similar questions and discussions