Type problem with psnr

조회 수: 3 (최근 30일)
Brian
Brian 2015년 1월 5일
댓글: Geoff Hayes 2015년 1월 6일
I'm using the command psnr on a reference image and a changed image, but I'm getting a class error. When I run the code, I get the error message that input type "double" isn't an input argument. So I tried im2uint8, but that's also an undefined argument. I have the image processing toolbox, so I'm not sure what the problem is.
  댓글 수: 1
Geoff Hayes
Geoff Hayes 2015년 1월 6일
Brian - in the Command Window type
which -all psnr
to see which directory the psnr function can be found in. What do you see when you run this command?

댓글을 달려면 로그인하십시오.

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by