is this code give me compression?

3 ビュー (過去 30 日間)
Jitesh Bhanushali
Jitesh Bhanushali 2014 年 4 月 24 日
コメント済み: Jitesh Bhanushali 2014 年 4 月 26 日
sir is this m file gives me compression??

回答 (2 件)

Walter Roberson
Walter Roberson 2014 年 4 月 24 日
Yes.
  2 件のコメント
Jitesh Bhanushali
Jitesh Bhanushali 2014 年 4 月 25 日
thanku sir sir how can i find mse and psnr in this code??
Jitesh Bhanushali
Jitesh Bhanushali 2014 年 4 月 26 日
sir where exactly the compression takes place?? how to find compression ratio

サインインしてコメントする。


Image Analyst
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 件のコメント
Image Analyst
Image Analyst 2014 年 4 月 25 日
If you don't have that toolbox, I attach my demo.
Jitesh Bhanushali
Jitesh Bhanushali 2014 年 4 月 26 日
sir i got MSE=0 and psnr=inf

サインインしてコメントする。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by