Giter Site home page Giter Site logo

liuguoyou / maskmvs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aaltovision/maskmvs

0.0 2.0 0.0 576 KB

Unstructured multi-view depth estimation using mask-based multiplane representation

Home Page: https://arxiv.org/abs/1902.02166

License: GNU General Public License v3.0

Python 3.49% Jupyter Notebook 96.51%

maskmvs's Introduction

MaskMVS

Yuxin Hou · Arno Solin · Juho Kannala

Codes for the paper:

  • Yuxin Hou, Arno Solin, and Juho Kannala (2019). Unstructured multi-view depth estimation using mask-based multiplane representation. Scandinavian Conference on Image Analysis (SCIA). [preprint on arXiv]

Summary

MaskMVS is a method for depth estimation for unstructured multi-view image-pose pairs. In the plane-sweep procedure, the depth planes are sampled by histogram matching that ensures covering the depth range of interest. Unlike other plane-sweep methods, we do not rely on a cost metric to explicitly build the cost volume, but instead infer a multiplane mask representation which regularizes the learning. Compared to many previous approaches, we show that our method is lightweight and generalizes well without requiring excessive training. See the paper for further details.

Requirements

Tested with:

  • Python3
  • Numpy
  • Pytorch 0.3.0
  • CUDA 9 (You can also run without CUDA, but then you need to remove all .cuda() in codes)
  • opencv
  • imageio (with freeimage plugin)

To install imageio, run conda install -c conda-forge imageio or pip install imageio. To install the freeimage plugin, run the following Python script once:

import imageio
imageio.plugins.freeimage.download()

Download pretrained models

We provide our pretrained models of our MaskNet and DispNet to run the example code. Please download the models via the link

Run the example

  1. Put both the model masknet_model_best.pth.tar and the model dispnet_model_best.pth.tar under the project folder.
  2. Then just run the jupyter notebook file example.ipynb

License

This software is distributed under the GNU General Public License (version 3 or later); please refer to the file LICENSE, included with the software, for details.

maskmvs's People

Contributors

asolin avatar horizon0408 avatar

Watchers

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