Multi-Scale Harris Corners with Adaptive Non-Maximal Suppression + RANSAC
We can use image rectification to stitch together mosaics. Correspondances are used to define the projective transform that warps one image to the same plane as another image; the overlapping region can then be blended together.
As described in class and specified by the paper 'Multi-Image Matching using Multi-Scale Oriented Patches'.
An automatic panoroma stitching function, that detects Harris corner features, uses Adaptive Non-Maximal Suppression
algorithm to pare down corners and space them evenly across the image, and random sample consensus (RANSAC).
BELLS AND WHISTLES: We use multi-scale Harris corner features, by implementing a Gaussian pyramid.
As described in the paper, we
subsample by a factor of 2 and use \(\sigma = 1.0\) for the Gaussian kernel.
Side note: Instead of a hard threshold, the implementation here opts for a pre-filtering mechanism before ANMS of "z-score pruning";
for most of the images, we use \(z=2\), and filter out pixels whose Harris values are less than \( \mu_h + z \sigma_h \).