Measure image quality NC

조회 수: 4 (최근 30일)
muath shaikh
muath shaikh 2015년 1월 8일
댓글: Image Analyst 2021년 1월 12일
Hello, I have two images (i and iw) and i want to measure the similarity and dissimailarity between them there is function it is called Normalized Cross Correlation (NCC) Could any body support me in the matlab code for it

채택된 답변

Image Analyst
Image Analyst 2015년 1월 8일
Normalized cross correlation is performed by normxcorr2(). I'm attaching a demo. As far as I know this is not commonly used to asses image quality. PSNR and SSIM are more commonly used. I'm attaching a PSNR demo. There are functions for them in recent versions of the Image Processing Toolbox.
  댓글 수: 1
Image Analyst
Image Analyst 2021년 1월 12일
You'll notice that my naromxcorr2 demo works with a colored image.
There is now a built in psnr() function. Use that. Use imsplit() if you need to separate the image into individual color channels.

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

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by