Measure image quality NC

2 次查看(过去 30 天)
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