Correlation Pattern Recognition