lmb-freiburg / flownet2

FlowNet 2.0: Evolution of Optical Flow Estimation with Deep Networks
https://lmb.informatik.uni-freiburg.de/Publications/2017/IMKDB17/
Other
1k stars 318 forks source link

Processing the ChairsSDHom dataset #7

Closed el3ment closed 7 years ago

el3ment commented 7 years ago

This isn't really an issue, but a note for the future.

After downloading the dataset you'll need to process the PFM files into FLO files, and then create .list files for the database loader. The following GISTs may be handy for you:

Create FLO files for all PFM files in a directory: https://gist.github.com/el3ment/8f22539ad1770423771bf376ddafde58

Create .list files: https://gist.github.com/el3ment/3720bc1002090f851840ac62a82d43ea

Lvhhhh commented 7 years ago

thank u!

nikolausmayer commented 7 years ago

@el3ment it seems that the PFM->FLO script does not correcly implement the PFM standard. The standard specifies that the image rows are stored bottom to top, i.e. for the conversion to be successful, the image must be mirrored vertically before exporting as FLO.

Best, Nikolaus