arrayfire / arrayfire/arrayfire-python

may be useful: phase unwrapping

Aperta
#76 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
422
Fork
63
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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](http://www.mdpi.com/2313-433X/1/1/31) in the attached zip.
The DCT originates from [here](http://fourier.eng.hmc.edu/e161/lectures/dct/node2.html) and is normalized to reproduce results like [Scipy's DCT II and III](https://docs.scipy.org/doc/scipy/reference/generated/scipy.fftpack.dct.html). 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](https://github.com/arrayfire/arrayfire-python/files/224653/phase_unwrapping.zip)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.