Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
HAI, i want to ask you please tell me the code of PSNR and MSE ,,,please help me
조회 수: 1 (최근 30일)
이전 댓글 표시
Please help me to solve this probleam
댓글 수: 0
답변 (2개)
Image Analyst
2015년 6월 10일
psnr() and immse() are in the Image Processing Toolbox. Do you have that?
Please explain the contradiction of "tell me the code" with "i know the code" - do you know and understand the code or not???
You have to know what the reference image is when you call these functions. If the image is identical to the reference image, the PSNR will be infinite and the MSE will be zero. Anything else and they are "differentiated".
댓글 수: 0
Walter Roberson
2015년 6월 10일
PSNR and MSE can only detect that two images are different and can give a measure of how different they are.
Neither PSNR nor MSE can be used to tell you which of the two images is the "original" image.
Images that are compressed (or watermarked) tend to reduce the sharpness of their edges, if they had sharp edges to begin with. You can run an image sharpening routine and compare the results: the image for which sharpening makes least difference might be the original image.
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!