Skip to content

Files

Latest commit

b01375b · Nov 30, 2022

History

History
65 lines (49 loc) · 3 KB

README.md

File metadata and controls

65 lines (49 loc) · 3 KB

Combined-frequency Phase Extraction (CFPE)

preprint License: MIT

This repository contains code for the paper A fast combined-frequency phase extraction for phase shifting profilometry. In this work, we formulate the phase extraction problem with high-order harmonic as a maximum likelihood estimation (MLE), and our CFPE is an efficient optimization method by introducing a latent phase map and incorporating the expectation-maximization (EM) framework. Compared to the only high-order baseline (LLS), our CFPE method only needs ** about 5% execution time ** to achieve high-order accuracy.

Motivation

movie

As a special curve fitting problem, our CFPE utilizes more data points (cross-frequency images) to solve a high-order harmonic model. That says, θ = arg min Σ i Σ j ( I i , j h i , j ) 2 .

Our CFPE reports an efficient iterative solution to this problem ϕ 1 n e w = u p d a t e ( ϕ 1 o l d ) , and each iteration is computed with closed-form solution. More info is referred to the paper.

Install dependencies

conda install numpy matplotlib opencv seaborn
conda install -c anaconda pathlib

The experiments

  • Exp1.ipynb: Test on several synthetic PSP images;
  • Exp2.ipynb: Test on 4 real PSP cases;
  • Exp3.ipynb: Compare the two interesting cases, with the same gamma distortion ( γ =1.3),
    1. Our CFPE method with 3-frequency 3-step images (periods T1=33, T2=36, T3=39);
    2. Standard PE method with 1-frequency 9-step images (T=1920);

More results about the real cases

  • Plate The results of plate
  • Altman cloak The results of Altman cloak
  • David The results of David
  • Pigeon bottle The results of Pigeon bottle

BibTeX

@article{lee2022cfpe,
  author={Lee, Yong and Mao, Ya and Chen, Zuobing},  
  journal={Optics Express},  
  title={Fast combined-frequency phase extraction for phase shifting profilometry},  
  year={2022},
  volume={30},
  number={25},
  pages={45288--45300},
  doi={https://doi.org/10.1364/OE.473513}}

Questions?

For any questions regarding this work, please email me at [email protected], [email protected].

Acknowledgements

These works are contributed to our CFPE project,