Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Code Block
DECAPOD STEREO DEWARPING
========================

required
------------------
- numpy
- scipy
- python-matplotlib
- git (to download pyflann from source)
- opencv
- pyflann
- build-essential

git

  • Required for downloading pyflann from source.

...

Code Block

example usage - calibration

...


---------------------------

...


./calibrate.py calibration-images 9 6 calibration-data

...



This uses the chessboard images in directory calibration-images. Each

...


chessboard has 9x6 inner corners. The resulting camera matrices are

...


persisted into directory calibration-data.

...



example usage - dewarping

...


-------------------------

...


./dewarp.py calibration-data left.jpg right.jpg dewarped.png

...



This uses the calibration matrices from directory calibration-data to

...


perform stereo dewarping of the image pair given by left.jpg and right.jpg.

...


The dewarped output is then persisted to dewarped.png

...

code

Calibration notes

  • 6 minutes to run calibration on 2 cores, 2 GB VM.
  • 6 minutes to run calibration on 4 cores, 2 GB VM.