This repository contains code for the accepted paper Diffeomorphic Particle Image velocimetry. In this work, a diffeomorphic PIV technique is proposed to reduce the curvature effect of the non-straight particle trajectory. Different from other existing PIV techniques, our diffeomorphic PIV computes the real curved particle trajectory to achieve accurate velocity measurement.
The diffeomorphic PIV uses the curved trajectory (streamline of velocity field) to explain the image displacement between TWO recordings. It is significantly different from the straight-line approximation of existing PIV techniques. More info is referred to the paper.
conda install pytorch==1.7.0 torchvision==0.8.0 torchaudio==0.7.0 cudatoolkit=11.0 -c pytorch
conda install numpy matplotlib opencv seaborn
conda install -c conda-forge openpiv
conda install -c conda-forge cupy
cd UnFlowNet
wget https://github.com/erizmr/UnLiteFlowNet-PIV/raw/master/models/UnsupervisedLiteFlowNet_pretrained.pt
- Exp1.ipynb: Investigate the converge performance w.r.t the iteration number
- Exp2.ipynb: Test on 3 Lamb-Oseen flows and 3 Sin flows;
- Exp3.ipynb: Test on 3 real PIV cases;
@article{lee2021diffeomorphic,
author={Lee, Yong and Mei, Shuang},
journal={IEEE Transactions on Instrumentation and Measurement},
title={Diffeomorphic Particle Image Velocimetry},
year={2021},
volume={},
number={},
pages={1-1},
doi={10.1109/TIM.2021.3132999}}
For any questions regarding this work, please email me at [email protected].
Parts of the code/deep net in this repository have been adapted from the following repos: