Skip to main content

Pandora is a stereo matching framework that helps emulate state of the art algorithms

Project description

Pandora Stereo Framework

A stereo matching framework that will help you design your stereo matching pipeline with state of the art performances.

Documentation Status

OverviewInstallFirst StepCustomizeCreditsRelatedReferences

Overview

From stereo rectified images to disparity map Pandora is working with cost volumes

Pandora aims at shortening the path between a stereo-matching prototype and its industrialized version.
By providing a modular pipeline inspired from the (Scharstein et al., 2002) taxonomy, it allows one to emulate, analyse and hopefully improve state of the art stereo algorithms with a few lines of code.

We (CNES) have actually been using Pandora to create the stereo matching pipeline for the CNES & Airbus off board processing chain.
Leaning on Pandora's versatility and a fast-paced constantly evolving field we are still calling this framework a work in progress !

Install

Pandora is available on Pypi and can be installed by:

pip install pandora

For stereo reconstruction we invite you to install pandora and the required plugins using instead the following shortcut:

pip install pandora[sgm, mccnn]

First step

Pandora requires a config.json to declare the pipeline and the stereo pair of images to process. Download our data sample to start right away !

# install pandora latest release
pip install pandora

# download data samples
wget https://raw.githubusercontent.com/CNES/Pandora/master/data_samples/images/cones.zip  # input stereo pair
wget https://raw.githubusercontent.com/CNES/Pandora/master/data_samples/json_conf_files/a_local_block_matching.json # configuration file

# uncompress data
unzip cones.zip

# run pandora
pandora a_local_block_matching.json output_dir

#Left (respectively right) disparity map is saved in output_dir/left_disparity.tif (respectively output_dir/right_disparity.tif)

To go further

To create you own stereo matching pipeline and choose among the variety of algorithms we provide, please consult our online documentation.

You will learn:

Credits

Our data test sample is based on the 2003 Middleburry dataset (D. Scharstein & R. Szeliski, 2003).

(D. Scharstein & R. Szeliski, 2002). Scharstein, D., & Szeliski, R. (2002). A taxonomy and evaluation of dense two-frame stereo correspondence algorithms. International journal of computer vision, 47(1-3), 7-42.
(D. Scharstein & R. Szeliski, 2003). Scharstein, D., & Szeliski, R. (2003, June). High-accuracy stereo depth maps using structured light. In 2003 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, 2003. Proceedings. (Vol. 1, pp. I-I). IEEE.

Related

Plugin_LibSGM - Stereo Matching Algorithm plugin for Pandora
Plugin_MC-CNN - MC-CNN Neural Network plugin for Pandora
CARS - CNES 3D reconstruction software

References

Please cite the following paper when using Pandora:
Cournet, M., Sarrazin, E., Dumas, L., Michel, J., Guinet, J., Youssefi, D., Defonte, V., Fardet, Q., 2020. Ground-truth generation and disparity estimation for optical satellite imagery. ISPRS - International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pandora-1.2.0.tar.gz (37.1 MB view details)

Uploaded Source

File details

Details for the file pandora-1.2.0.tar.gz.

File metadata

  • Download URL: pandora-1.2.0.tar.gz
  • Upload date:
  • Size: 37.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for pandora-1.2.0.tar.gz
Algorithm Hash digest
SHA256 76fff0d9ed405b73a582c4edd1e828d28fa8d4bf32452def39de4bf4cc8e5321
MD5 72bbec9ca330f07318dfc411dcce8aa5
BLAKE2b-256 777dad47e6f874ac5c2d8c734f6bdf707793433b15a64d2ef9dd0b03d00f247f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page