Git Product home page Git Product logo

realtimedepthdiffusion's Introduction

Live User-Guided Depth Map Estimation for Single Images

by Márcio C. F. Macedo and Antônio L. Apolinário Jr.

Introduction

This is a C++ application for user-guided, real-time depth map estimation in single images. Technical details are provided in our paper accepted in the Journal on Real-Time Image Processing.

The provided source code was tested using the following libraries:

  • Eigen 3.3.9;
  • OpenCV 4.5.1;
  • CUDA 11.2;

The application receives as input the following console arguments:

  • -i image.extension: to provide an input image for the application;
  • -a image.extension: to provide an initial annotation for the input image;
  • --live: to enable live depth annotation;

Once the application is started, one can interact with the depth map estimation using the following keys:

  • Press '0' to annotate the "Edited Image" with depth 0;
  • Press '1' to annotate the "Edited Image" with depth 64;
  • Press '2' to annotate the "Edited Image" with depth 128;
  • Press '3' to annotate the "Edited Image" with depth 192;
  • Press '4' to annotate the "Edited Image" with depth 255;
  • Press '+' to increase the scribble radius;
  • Press '-' to decrease the scribble radius;
  • Press 't' or 'T' to print the processing time demanded by one frame into the console;
  • Press 's' or 'S' to save the estimated depth map, the annotated image and the artistic depth-based effect;
  • Press 'd' or 'D' to start the depth map estimation process (this process is automatic if --live is enabled);
  • Press 'g' or 'G' to visualize the desaturation effect (the output image is automatically updated if --live is enabled);
  • Press 'h' or 'H' to visualize the haze effect (the output image is automatically updated if --live is enabled);
  • Press 'b' or 'B' to visualize the refocus effect (the output image is automatically updated if --live is enabled);

Citation

The provided source codes are in public domain and can be downloaded for free. If this work is useful for your research, please consider citing:

@article{Macedo2021,
author={Macedo, M{\'a}rcio C. F. and Apolin{\'a}rio, Ant{\^o}nio L.},
title={Live User-Guided Depth Map Estimation for Single Images},
journal={Journal of Real-Time Image Processing},
year={2021},
month={Jan},
day={13},
issn={1861-8219},
doi={10.1007/s11554-020-01055-x},
}

realtimedepthdiffusion's People

Contributors

alopesajr avatar marciocerqueira 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.