GithubHelp home page GithubHelp logo

tiny's Introduction

Dependency

  • cmake
  • eigen3
  • glog
  • gflags
  • tbb
  • boost
  • opencv 3.0
  • mpfr
  • gomp
  • suitesparse
  • ceres-solver
  • qt4
  • glew

Usage

  1. Download data from project website. Assume the data is downloaded to <tiny_dir>/images/.
  2. Detect correspondences with KLT
./tiny_detect_tracks -in_image_dir <tiny_dir>/images/stone6_still/ -in_image_pattern ".*" \
    -num_images 100 -logtostderr=1 -max_corners 2000 -corner_block_size 5  -corner_min_distance 3 \
    -out_model <tiny_dir>/models/stone6_klt -noshow -lk_error_threshold 6
  1. Bundle adjustment to get camera poses and structures
./tiny_bundle_adjust -in_model <tiny_dir>/models/stone6_klt -out_model <tiny_dir>/models/stone6_ba1 \
    -settings settings/ba_settings.txt -set_p_random -set_c_zero --v=1
  1. Create multi-view stereo cost volume
./tiny_sweep_planes -in_model <tiny_dir>/models/stone6_ba1 -scale 2 -patch_radius 1 -num_samples 64 \
    -out_cv <tiny_dir>/volumes/stone6_s2_p3_n_64.cv -logtostderr
  1. Use CRF to get smooth depth estimation
./tiny_solve_depth -in_cv <tiny_dir>/volumes/stone6_s2_p3_n_64.cv -out_dm stone6_drm.dm -logtostderr \
    -out_image <tiny_dir>/output/stone6_crf.png -use_densecrf -settings settings/dense_crf_settings.txt \
    -smooth_settings settings/smooth_settings.txt

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.