This code includes MATLAB functions for aligning two images by estimating transformation parameters like translation, rotation, and scale. It supports both grayscale and hyperspectral image alignment and provides a fully automated demo. The registration method relies on minimizing squared differences and applies transformations consistently across all image bands.