Robust Real Time Pattern Matching using Bayesian Sequential Hypothesis Testing (C++ code)

The code implements the pattern matching approach described in the papers:

Robust Real Time Pattern Matching using Bayesian Sequential
Hypothesis Testing

Ofir Pele, Michael Werman

PAMI 2008

Accelerating Pattern Matching or How Much Can You Slide?

Ofir Pele, Michael Werman

ACCV 2007

Pattern matching is also known as template matching. That is, searching an image in a larger image. In our approach the small image does not have to be rectangular or even contiguous.

A cleaner code with Matlab wrapper of the "Prior-Based Sequential Probability Ratio Test Rejection Line" part (
Alg. 5 in section 4.4 of the paper) is available here To get started run example.csh