Chapter 8: Problem 1
Correlation Implement and compare the performance of the following correlation algorithms: \- sum of squared differences (8.1) \- sum of robust differences (8.2) \- sum of absolute differences (8.3) \- bias-gain compensated squared differences (8.9) \- normalized cross-correlation (8.11) \- windowed versions of the above (8.22-8.23) \- Fourier-based implementations of the above measures (8.18-8.20) \- phase correlation (8.24) \- gradient cross-correlation (Argyriou and Vlachos 2003). Compare a few of your algorithms on different motion sequences with different amounts of noise, exposure variation, occlusion, and frequency variations (e.g., high-frequency textures, such as sand or cloth, and low-frequency images, such as clouds or motion-blurred video). Some datasets with illumination variation and ground truth correspondences (horizontal motion) can be found at http://vision.middlebury.edu/stereo/data/ (the 2005 and 2006 datasets). Some additional ideas, variants, and questions: 1\. When do you think that phase correlation will outperform regular correlation or SSD? Can you show this experimentally or justify it analytically? 2\. For the Fourier-based masked or windowed correlation and sum of squared differences, the results should be the same as the direct implementations. Note that you will have to expand (8.5) into a sum of pairwise correlations, just as in (8.22). (This is part of the exercise.)