SkillAgentSearch skills...

HiPhase

Absolute phase unwrapping via deep learning for fringe projection profilometry

Install / Use

/learn @WanzhongSong/HiPhase
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

HiPhase

Phase unwrapping for fringe projection profilometry (FPP) using deep learning.
This code implements the approach as described in the following research paper:

  • Deep absolute phase recovery from single-frequency phase map for handheld 3D measurement
  • Songlin Bai, Xiaolong Luo, Kun Xiao, Chunqian Tan and Wanzhong Song*
  • Optics Communications, 2022(512) [PDF]

Highlights

  • Absolute fringe-order is retrieved from one FPP phase map by the DCNN
  • The DCNN is lightweight and operates in real-time for a phase-map of 1024×1024 pixels on a GTX 1660Ti.
  • A large-scale and challenging phase unwrapping dataset is built from real objects and publicly available.

Preamble

This code was developed and tested with python 3.6, Pytorch 1.8.0, and CUDA 10.2 on Ubuntu 18.04. It is based on Eduardo Romera's ERFNet implementation (PyTorch Version).

Prerequisite

install manually the following packages :

torch
PIL
numpy
argparse

Datasets

Our raw data SCU-Phase-RawData will be available.

Our ready dataset is SCU-Phase-ReadyData.

Training

Training the HiPhase model from scratch on SCU-Phase-ReadyData by running

python train/main.py

Evaluation

Evaluating the trained model by running

python eval/eval_gray.py

Evaluating the mIoU by running

python eval/eval_iou.py

Pretrained Model

Our pretrained HiPhase model is HiPhase-experi

Citation

@article{Bai2022,
  author = {Bai, Songlin and Luo, Xiaolong and Xiao, Kun and Tan, Chunqian and Song, Wanzhong},  
  title = {Deep absolute phase recovery from single-frequency phase map for handheld 3D measurement},
  journal = {Optics Communications},
  publisher = {Elsevier Ltd.},
  volume = {512},
  year = {2022}
}

License

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License, which allows for personal and research use only. For a commercial license please contact the authors. You can view a license summary here: http://creativecommons.org/licenses/by-nc/4.0/

View on GitHub
GitHub Stars57
CategoryEducation
Updated6d ago
Forks3

Languages

Python

Security Score

95/100

Audited on Mar 26, 2026

No findings