GithubHelp home page GithubHelp logo

lishy66 / conv_nlos Goto Github PK

View Code? Open in Web Editor NEW

This project forked from byeongjooahn/conv_nlos

0.0 0.0 0.0 25.26 MB

Convolutional Approximations to the General Non-Line-of-Sight Imaging Operator

Home Page: http://imaging.cs.cmu.edu/conv_nlos/

MATLAB 69.03% C++ 30.97%

conv_nlos's Introduction

conv_nlos

This repsitory is an implementation of the method described in the following paper:

"Convolutional Approximations to the General Non-Line-of-Sight Imaging Operator"
Byeongjoo Ahn, Akshat Dave, Ashok Veeraraghavan, Ioannis Gkioulekas, and Aswin C. Sankaranarayanan
IEEE/CVF International Conference on Computer Vision (ICCV), 2019 (Oral Presentation)

Run Code

  1. Run lib/lib_convnlos/mex/complie_mex.m to complie mex codes.
  2. Run demo.m script. It includes Light Cone Transform (LCT), filtered backprojection, our method without priors, and our method with priors for comparison.
  3. Results are stored in results/[obj_name]/. It includes runtime for each algorithm, and reconstructed NLOS albedo and its 2D maximum intensity projection in three different colormaps.

Inputs

Inputs are stored in data/[obj_name]_transient.mat . It includes NLOSDATA structure consisting of the following parameters.

Parameter Description
obj_name Object name.
transient Light transient [n_l * n_s * n_t]. Transients need to be rectified such that the direct component starts at t = 0.
l Illumination points [n_l * 3].
s Sensing points [n_s *3].
times Time bins [1* n_t].
is_confocal Scanning pattern (1 for confocal, 0 for 5D).
target_dist Distance from LOS wall to object center (m). Object is located at origin, and LOS wall is at z = target_dist.
delta ToF resolution (m).
n_voxel Voxel resolution for NLOS albedo [n_x * n_y * n_z].
x / y / z Voxel position for NLOS albedo [1 * n_x] / [1 * n_y] / [1 * n_z].
n_voxel_kernel Voxel resolution for kernel.
x_kernel / y_kernel / z_kernel Voxel position for kernel.
n_sample_per_dim Kernel sampling resolution. We use n_sample_per_dim = 3, which means the kernels are sampled from 3 * 3 * 3 = 27 points to make a kernel basis.
x_sample / y_sample / z_sample Kernel sampling location.

conv_nlos's People

Contributors

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