Skip to content

Fast cost volume post-processing for increased depth prediction in light-field imagery

License

Notifications You must be signed in to change notification settings

cg-tuwien/CostRefinement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cost Volume Refinement for Depth Prediction

teaser

Cost Volume Refinement for Depth Prediction 📄
Joao Liborio Cardoso, Nuno Gonçalves, Michael Wimmer
In 2020 25th International Conference on Pattern Recognition (ICPR)

Light-field cameras are becoming more popular in the consumer market. Their data redundancy allows, in theory, to accurately refocus images after acquisition and to predict the depth of each point visible from the camera. Combined, these two features allow for the generation of full-focus images, which is impossible in traditional cameras. Multiple methods for depth prediction from light fields (or stereo) have been proposed over the years. A large subset of these methods relies on cost-volume estimates – 3D objects where each layer represents a heuristic of whether each point in the image is at a certain distance from the camera. Generally, this volume is used to regress a depth map, which is then refined for better results.

In this paper, we argue that refining the cost volumes is superior to refining the depth maps in order to further increase the accuracy of depth predictions. We propose a set of cost-volume refinement algorithms and show their effectiveness.

Contents

Contains the minimum necessary matlab code to run our proposed artifact removal and local smoothness cost volume refinement methods. Two demo functions are provided:

  • predictDepth.m - refines cost and performs parabolic prediction, as used in our tests
  • refineCost.m - returns a new refined cost volume

Code for our refinement functions can be found under api/priors/. Artifact removal implemented using Jeon et al. 2015 graph cuts as the classifier, with code taken from https://github.com/Vincentqyw/Depth-Estimation-Light-Field, which is included in the repository.

Citation

If you use this code for your research, please cite our paper:

@inproceedings{cardoso2021cost,
  title={Cost Volume Refinement for Depth Prediction},
  author={Cardoso, Jo{\~a}o L and Gon{\c{c}}alves, Nuno and Wimmer, Michael},
  booktitle={2020 25th International Conference on Pattern Recognition (ICPR)},
  pages={354--361},
  year={2021},
  organization={IEEE}
}

About

Fast cost volume post-processing for increased depth prediction in light-field imagery

Topics

Resources

License

Stars

Watchers

Forks

Languages