PSNR bsed comparisson of images
Show older comments
Sir, I have 4 images A,B,C,D and I have to compare image A using psnr, with respect to A,B,C and D. please suggest the code
Answers (1)
Image Analyst
on 4 Feb 2015
0 votes
There is a function psnr() in the Image Processing Toolbox. If you don't have that, you can do it manually yourself. See my attached program.
3 Comments
Mangesh
on 4 Feb 2015
Image Analyst
on 4 Feb 2015
Why would there be an if/else block??? What would you be testing/checking/comparing in the if statement? Anyway I'm sure (or at least I'd like to think) that you know how to use an if/else statement
if someExpression
% Do something such as call psnr
elseif someOtherExpression
% Do something else
else
% When all else fails, do this
end
Mangesh
on 5 Feb 2015
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!