Project
BG

About

This project aims to detect variations between two astronomical images taken from different telescopes and visualize these discrepancies in a clear and informative manner. We use the MIPS assembly language to implement the image comparison algorithm, specifically the "Sum of Absolute Differences" (SAD) method to achieve this. The images are stored as text files, with each pixel represented by an RGB value.

Algorithm: Sum of Absolute Differences (SAD)

The SAD algorithm is a widely-used technique for comparing images. It works by calculating the absolute differences between corresponding pixels in the two images and then summing these differences to get an overall dissimilarity score. Lower SAD values indicate a higher degree of similarity between the images.

Color Legend for the Difference Map

In this example, the red areas indicate substantial variations between the Hubble and James Webb Telescope images, while the green, blue, and white areas signify moderate differences, small differences, and no differences, respectively. It is rendered by 32x32 pixels per chunk.

Check the Repo!

MIPS ASSEMBLY CODE

IMAGE IN .TXT