arrayfire-python icon indicating copy to clipboard operation
arrayfire-python copied to clipboard

may be useful: phase unwrapping

Open ZacDiggum opened this issue 8 years ago • 0 comments

Hi, I implemented a fast and noise-robust phase unwrapping method based on DCTs for AF's python wrapper. You can find the code and info about the corresponding publication in the attached zip. The DCT originates from here and is normalized to reproduce results like Scipy's DCT II and III. It interleaves the input array instead of mirror reflecting it in order to keep the FFTs the same size. The algorithm is viable for not-too-noisy C2 smooth phase maps and can be used stand alone or as first guess for the preconditioned conjugate gradient method. When sparse support comes to AF I'll implement PCG phase unwrapping. Use this as you see fit.

phase_unwrapping.zip

ZacDiggum avatar Apr 18 '16 20:04 ZacDiggum