may be useful: phase unwrapping

Open
#76 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
hpc

Research direction

Start by reviewing the attached phase_unwrapping.zip and the repository's Python wrapper to determine how, or whether, the proposed method should be exposed. Read the linked publication and DCT references, then establish the integration scope and tests needed before considering the work complete.

Written by the indexing model from the issue text.

Description

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

Dominant language
Python
Stars
422
Forks
63
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from arrayfire/arrayfire-python

All issues in arrayfire/arrayfire-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.