...
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.
...
- URL http://www.vlfeat.org/index.html
- download binary or compile from source
- see http://www.vlfeat.org/install-shell.html for locations of files
- copy "sift" to "/usr/local/bin
- copy "libvl.so" to "/usr/local/lib
- run ldconfig
...
2. Download pyvlfeat: bzr branch lp:pyvlfeat
3. Build pyvlfeat by running sudo python setup.py build
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 |
...