Content deleted Content added
m Bot: link syntax |
|||
Line 1:
[[File:GS-diagram.png|thumb|360px|The
[[File:CGH XmasTree.jpg|thumb|The replay field of a computer generated hologram generated by the
The '''Gerchberg–Saxton (GS) algorithm''' is an iterative [[algorithm]] for retrieving the phase of a pair of light distributions (or any other mathematically valid distribution) related via a propagating function, such as the [[Fourier transform]], if their intensities at their respective optical planes are known.
Line 7:
The paper by R. W. Gerchberg and W. O. Saxton on this algorithm is entitled “A practical algorithm for the determination of the phase from image and diffraction plane pictures,” and was published in ''Optik'' (35, 237–246 1972).
The [[
==
'''Let:'''
Line 22:
for real ''x'', amplitude(''x'') = |''x''|
Phase – Phase extracting function:
e.g. Phase(z) = arctan(y / x)
'''end Let'''
'''
A = IFT(Target)
'''while''' error criterion is not satisfied
B = Amplitude(Source)
C = FT(B)
D = Amplitude(Target)
A = IFT(D)
'''end while'''
Retrieved_Phase = Phase(A)
This is just one of the many ways to implement the GS algorithm. Aside from optimizations, others may start by performing a forward Fourier Transform to the source distribution.
|