Enhancement | Exposure Correction
Background Similarity measurement(PSNR and SSIM) PSNR Peak signal-to-noise ratio (PSNR) is to check the similarity of differences. The definition starts from the mean squared error. $$ MSE = \frac{1}{c\cdot h\cdot w}\sum(I_1-I_2)^2 $$ where $I_1$ and $I_2$ are two images, $h$ and $w$ are the height and width of images, $c$ is the numbers of channels. Then PSNR is expressed as $$ PSNR = 10\cdot \log_{10} \left(\frac{MAX_I^2}{MSE}\right) $$ where the $MAX_I$...