Can anyone please help me to fix this error in the coding of fractal image compression ? Your help is greatly appreciated. Thank you.
Show older comments
%Create psnr object
_
hpsnr = vision.PSNR;
psnr = step(hpsnr, I,outim);%calculate psnr
fprintf('PSNR= %f\n',psnr);%display psnr
Undefined variable "vision"
Error in main (line 74)
hpsnr = vision.PSNR;
*Below is the completed source code.
Accepted Answer
More Answers (0)
Categories
Find more on Fractals in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!