- In order to find PCC between 2 images, you first need to flatten the images, convert them into either row vector or column vector.
- The mathematical expression for PCC can be found out here.
- Looking at the expression, you need to find couple of things for each flatten images, which are mean and norm. So simply use the inbuilt MATLAB function for the same.
- Then simply take the dot product between them
Pearson correlation coefficient between 2 images
48 Ansichten (letzte 30 Tage)
Shashank Gupta am 19 Apr. 2021
Simplest way to understand/execute the PCC is to check up the source code of the inbuild function "corrcoef" or if you are struggling with the steps on how to implement it. May be the following things helps you out.
The vector expression will look something like :-
I hope this helps.