%Upsample.Thisisforregularupsamplingcomparison.img_upsampled=imresize(img_small,2,'bilinear');[psnr_upsampled,~]=psnr(img_upsampled,img);%DWTofthesmallimage.[LL_small,LH_small,HL_small,HH_small]=dwt2(img_small,filter);dwt_upsampling_mode='bilinear';LL_upsampledd=imresize(LL_sm