how to mesure PSNR in binary image???
이전 댓글 표시
hi everybody. I have an original binary image (A) and an binary image with Watermark (A+W). Please help me how to calculate PSNR of these binary images. thanks a lot. Best regards.
답변 (1개)
Paras khandelwal
2019년 4월 16일
0 개 추천
PSNR is calculated according to the formula given in MathWorks - PSNR. The formula given on that page and also in the wikipedia is same Peak signa-to-noise ratio. It says that the formula is for monochrome/binary image. So the actual formula you have seen everywhere and in above links need not to be changed for binary/monochrome images. But to do calculation for color image, in MSE add the square of difference of each pixel in for every color space (e.g., difference of value of Red, Green and Blue), and then divide the MSE by three and the total number of pixels.
카테고리
도움말 센터 및 File Exchange에서 Watermarking에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!