is this code give me compression?
2 次查看(过去 30 天)
显示 更早的评论
sir is this m file gives me compression??
0 个评论
回答(2 个)
Image Analyst
2014-4-25
From the help of the Image Processing Toolbox:
psnr
Peak Signal-to-Noise Ratio (PSNR) expand all in page
Syntax
peaksnr = psnr(A,ref)example
peaksnr = psnr(A,ref,peakval)
[peaksnr,snr] = psnr(___)
Description
example
peaksnr = psnr(A,ref) calculates the peak signal-to-noise ratio for the image A, with the image ref as the reference. A and ref must be of the same size and class.
peaksnr = psnr(A,ref,peakval) uses peakval as the peak signal value for calculating the peak signal-to-noise ratio for image A.
[peaksnr,snr] = psnr(___) returns the simple signal-to-noise ratio, snr, in addition to the peak signal-to-noise ratio.
2 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!