Effacer les filtres
Effacer les filtres

is this code give me compression?

1 vue (au cours des 30 derniers jours)
Jitesh Bhanushali
Jitesh Bhanushali le 24 Avr 2014
sir is this m file gives me compression??

Réponses (2)

Walter Roberson
Walter Roberson le 24 Avr 2014
Yes.
  2 commentaires
Jitesh Bhanushali
Jitesh Bhanushali le 25 Avr 2014
thanku sir sir how can i find mse and psnr in this code??
Jitesh Bhanushali
Jitesh Bhanushali le 26 Avr 2014
sir where exactly the compression takes place?? how to find compression ratio

Connectez-vous pour commenter.


Image Analyst
Image Analyst le 25 Avr 2014
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 commentaires
Image Analyst
Image Analyst le 25 Avr 2014
If you don't have that toolbox, I attach my demo.
Jitesh Bhanushali
Jitesh Bhanushali le 26 Avr 2014
sir i got MSE=0 and psnr=inf

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by