Fourier image compressor has a function that allows users to measure the structural similarity index (SSIM) between two images. The SSIM is a method for predicting the perceived quality of digital images and videos by taking texture into account. The SSIM function compares two images pixel by pixel and calculates a score between 0 and 1, where 1 means identical and 0 means completely different.
FIC’s function is based on a well-known Python library that implements the SSIM algorithm. The app allows users to adjust various parameters of the function, such as window size, gradient, data range, channel axis, multichannel and gaussian weights. This function is designed to provide users with a reliable and flexible way to compare image quality and similarity.