Giter Club home page Giter Club logo

lbdreconstruction's Introduction

LBDReconstruction

This is the companion code for our work on Local Binary Descriptors (LBD) reconstruction:

  • From Bits to Images: Inversion of Local Binary Descriptors (submitted) [pre-print]
  • Beyond Bits: Reconstructing Images from Local Binary Descriptors, ICPR 2012 [pre-print]

It was used to generate the figures in the above references.

Authors

Installing the code

Supported platforms

The software is written in C++. Installing and using it should be straightforward for any platform where the dependencies are satisfied. Note however that it was developed and tested on MacOS X 10.7 only.

Dependencies

Optionally, the code can take advantage of Grand Central Dispatch on platforms that provide an implementation of libdispatch (MacOS, Linux, FreeBSD...).

Building

You should respect the Cmake approach of out-of-source building for better results. When using Cmake from the command line, the following specific options are available:

  • WITH_DISPATCH (ON/OFF, default: OFF) : use Grand Central Dispatch for parallel execution
  • BUILD_DOC (ON/OFF, default. OFF) : build the documentation with Doxygen (not much to build right now...)

Code summary

The code implements the following reconstruction algorithms:

  • non-binary, Total Variation + L1 error (TV-L1) reconstruction, primal-dual solver used in this paper
  • non-binary, Wavelet sparsity + L1 error (W-L1) reconstruction, primal-dual solver presented in Section 3.1 of this paper
  • binary, wavelet sparsity + binary consistency reconstruction, Binary Iterative Hard Thresholding (BIHT) solver presented in Section 3.2

The Local Binary Descriptors were re-written from scratch in order to provide more flexibility and to fit in the optimization framework. The following LBDs are implemented:

New LBDs can be added by subclassing the abstract class LBDOperator.

Code organization

The layout of the code is as follows:

src
|
|-- LBDReconstruction : small static library implementing LBDs and reconstruction algorithms
|
|-- utils : various command line tools to plot, draw, compute constants...
|
|-- real : command line tools to apply the TV-L1 and W-L1 algorithms above
|
|-- binary : command line tools to apply the BIHT algorithm above

Naming patterns

If the name of a file starts with an I, it declares or implements an abstract class.

  • Example : the file ILinearOperator.hpp declares the abstract class LinearOperator.

All the classes are embedded in an lts2 namespace.

TODO

  • Improve Doxygen documentation
  • Unify files/functions/classes naming patterns
  • More flexible optimization (math) functions using C++11
  • Replace Grand Central Dispatch with OpenCV's new parallel_for()
  • Faster wavelet transform (using a parallel algorithm)

Acknowledgement

The wavelet transform was initially implemented in C by Jérôme Gilles from the classical book of Stéphane Mallat A Wavelet Tour of Signal Processing.

References

From Bits to Images: Inversion of Local Binary Descriptors [pre-print]
E. d'Angelo, L. Jacques, A. Alahi, P. Vandergheynst
Submitted.

Beyond Bits: Reconstructing Images from Local Binary Descriptors [pre-print]
E. d'Angelo, A. Alahi, P. Vandergheynst
21st International Conference on Pattern Recognition (ICPR), 2012.

FREAK: Fast Retina Keypoint [pre-print] [homepage]
A. Alahi, R. Ortiz, P. Vandergheynst
IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2012.

Binary Robust Independent Elementary Features [homepage]
M. Calonder, V. Lepetit, C. Strecha, P. Fua 11th European Conference on Computer Vision (ECCV), 2010.

lbdreconstruction's People

Contributors

sansuiso avatar

Watchers

 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.