Gerchberg–Saxton algorithm: Difference between revisions

Content deleted Content added
m Pseudo-code algorithm: Remove unwanted break between declarations and algorithm
Pseudo-code algorithm: clean up, typos fixed: eg. → e.g. (2) using AWB
Line 20:
A, B, C & D be complex planes with the same dimension as Target and Source
Amplitude - Amplitde extracting function:
ege.g. for complex z = x + iy, Amplitude(z) = sqrt(x*x + y*y)
for real x, Amplitude(x) = |x|
Phase - Phase extracting function:
ege.g. Phase(z) = arctan(y/x)
'''end Let'''