function [psnr_cur, ssim_cur] = Cal_Y_PSNRSSIM(A,B,row,col) % shave border if needed if nargin > 2 [n,m,~]=size(A); A = A(row+1:n-row,col+1:m-col,:); B = B(row+1:n-row,col+1:m-col,:); end % RGB --> YCbCr...
such as animation, natural scenes, or sports. We found that traditional video quality indicators, such as PSNR and structural similarity (SSIM for short), usually cannot be uniformly and objectively evaluated in different content types.
[CVPR 2022--Oral] Restormer: Efficient Transformer for High-Resolution Image Restoration. SOTA for motion deblurring, image deraining, denoising (Gaussian/real data), and defocus deblurring. - Restormer/Deraining/evaluate_PSNR_SSIM.m at main · swz30/R
[CVPR 2022--Oral] Restormer: Efficient Transformer for High-Resolution Image Restoration. SOTA for motion deblurring, image deraining, denoising (Gaussian/real data), and defocus deblurring. - History for Deraining/evaluate_PSNR_SSIM.m - swz30/Restorme
1 function Evaluate_PSNR_SSIM() 2 3 clear all; close all; clc 4 5 %% set path 6 degradation = 'BI'; % BI, BD 7 methods = {'RCAN', 'RCANplus'}; 8 dataset = {'Set5'}; 9 ext = {'*.jpg', '*.png', '*.bmp'}; ...