Git Product home page Git Product logo

depth_normal_fusion's Introduction

Depth_Normal_Fusion

This Project was a part of 3D Vision course at ETH Zurich

Compiling

  • tested under ubuntu 16.04
  • requires cmake, boost and OpenCV
  • you can use an IDE such as QtCreator to make your life easier

Run the following commands:

cd vision-normal-fusion mkdir build cd build cmake .. make -j4

Using the code

Example for the cube dataset "datasets/cube"

  • "depthMaps" contains the depth maps and normals (raw and visualization)
  • use --help to get some information about the arugments

To integrate the depth maps run the following commands (from "datasets/cube"):

ls depthMaps/depth*.dat > depthMaps.txt ../../build/tvHistDepthIntegrator --configFile conf.txt --depthMapListFile depthMaps.txt --outputGridFile intCSDFGrid.dat



To run the TV-Hist algorithm run the following command:

../../build/tvHistFusion --configFile conf.txt --intDepthGridFile intCSDFGrid.dat --vrmlOutputFile tvHistModel.wrl

open the tvHistModel.wrl file using MeshLab to see the result.


To integrate the normals run the following commands:

ls depthMaps/normals*.dat > normals.txt ../../build/tvHistNormalIntegrator --configFile conf.txt --depthMapListFile depthMaps.txt --normalMapListFile normals.txt --outputFolder integratedNormals


To integrate the normals run the following commands:

ls integratedNormals/normals*.dat > normalsFiles.txt ../../build/tvHistNormalClustering --configFile conf.txt --normalsListFile normalsFiles.txt --outputFile clusteredNormals.dat


To run a TV-Hist algorithm that takes the normals into account run the command:

../../build/tvHistNormalFusion --configFile conf.txt --intDepthGridFile intCSDFGrid.dat --clusteredNormalsFile clusteredNormals.dat --vrmlOutputFile tvHistNormalClusteringModel.wrl



depth_normal_fusion's People

Contributors

kunal71091 avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar

Forkers

roger-chuh

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.