Skip to content

helonayala/PIV-DCNN

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the source code of PIV-DCNN

We submit it to Experiments in Fluids. Some useful information is also provided here.

  1. Directory structure
  2. Installation guidance
  3. More experimental results
  4. Some tips about our method
  5. Links to data generaton,experiment arrangement

1. Directory structure

├── PIV-DCNN20170710
│   ├── readme.md
│   ├── install.m
│   ├── data
│   │   ├── ImagesForDataset
│   │   │   ├── readme.md
│   │   │   └── A1-10.bmp
│   │   ├── NetF1~F4-3
│   │   │   ├── imdb.mat
│   │   │   ├── net-epoch-1.mat
│   │   │   └── net-train.pdf
│   │   └── TestImages
│   │       ├── readme.md
│   │       └── *.tif, *bmp, *jpg
│   ├── PIV_DNN
│   │   ├── readme.md
│   │   ├── ChangesForMatConvNet
│   │   │   └── some files 
│   │   ├── cnn_pivdnn_init.m 
│   │   ├── cnn_pivdnn.m
│   │   ├── genPIVImgDB_F4.m
│   │   ├── genPIVImgDB.m
│   │   ├── ImgData.mat
│   │   ├── Nets.mat
│   │   ├── pivdnn.m
│   │   └── train.m
│   ├── experiments
│   │   ├── readme.md
│   │   └── exp0-7.m
│   ├── matconvnet
│   │   └── MatConvNet files
│   ├── OpticalFlow
│   │   └── OpticalFlow files
│   ├── PIVCC
│   │   ├── dctn.m
│   │   ├── idctn.m
│   │   ├── PIV_analysis.m
│   │   └── smoothn.m
│   └── pivlab
│   │   └──PIVlab files

2. Installation

  • Install GPU driver, CUDA and CuDNN.
  • Run install.m in the main folder. It will download the MatConvNet, compile files, and copy some customized files to the MatConvNet automatically.
  • Cautions: You need to specify the configure terms (enable GPU, CUDA root, ...) in install.m if the default values do not work. (Note, the slow CPU version without GPU support is also ok)
  • Enjoy it. cd '../PIV_DNN'; run('PIVdnn.m'); or cd '../experiments';run('exp1.m').

Information about the packages

3. More experimental results

3.1. Vortex Pair flow

  • Raw Images

    particle model
  • Vector field (color contour reprensents corresponding magnitude)

    particle model particle model
  • Vector component histogram

    particle model

3.2. Turbulent Jet

  • Raw Images

    particle model
  • Vector field (color contour reprensents corresponding magnitude)

    particle model
  • Smoothed vector field

    particle model
  • Vector component histogram

    particle model

3.3 Jet flow

  • Raw Images

    particle model
  • Vector field (color contour reprensents corresponding magnitude)

    particle model
  • Vector component histogram

    particle model

4. Tips:

  • System requirement(8G RAM, Hard disk space > 50G, GPU with computation ability >3.0 is promotional)
  • CuDNN is highly recommended
  • Training 6 DCNN nets(optional, about 2 days with GPU accelaration):cd '../PIV_DNN';run('train.m')
  • The figures in our manuscript (about 2 day to run massive Monte - Carlo simulation):cd '../experiments'; run('exp0.m')

Yong Lee (Email: [email protected]) @2017-07-10

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MATLAB 90.2%
  • C 5.5%
  • M 2.4%
  • C 1.9%