Implementation of BP for Early Vision
Pedro F. Felzenszwalb and Daniel P. Huttenlocher
February 13, 2005
This document briefly describes an implementation of the algorithms from
our paper Efficient Belief Propagation for Early Vision which appeared
in CVPR 2004.
Please email comments and bug reports to: pff@cs.uchicago.edu.
1 Usage
• Compile the programs by running “make”.
• Example usage of the restoration program:
– run “./noise penguin.pgm noisy.pgm 20” to create a noisy image.
– the noisy image is saved in “noisy.pgm”.
– run “./restore noisy.pgm result.pgm” to restore the noisy image.
– the restored image is saved in “result.pgm”.
• Example usage of the stereo program:
– run “./stereo tsukuba1.pgm tsukuba2.pgm result.pgm”.
– the disparity map is saved in “result.pgm”.
1