Git Product home page Git Product logo

hiphase's Introduction

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/

hiphase's People

Contributors

wanzhongsong avatar cqg0223 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.