How can I made a correlation between two images of the same size?
42 ビュー (過去 30 日間)
古いコメントを表示
Hello, I have a small problem I wanted to build a table with the correlation of 10 images values all with the same size.
0 件のコメント
回答 (3 件)
Muhammad Usman Saleem
2016 年 6 月 28 日
it is very simple to find correlation between two images of same size.
a=imread('firstimage.tif');
b=imread('secondimage.tif');
if you mean correlation coefficient, you can program manually the function or use corr2 :
corr2(a,b); % returns a scalar
try to read these links also helpful for you
https://www.mathworks.com/matlabcentral/answers/63796-correlation-between-the-two-images
1 件のコメント
Anand Karnam
2020 年 4 月 4 日
I got scalar as output too. But if-loop is giving an error. The output should be between 1 and 2.
Biza Ferreira
2016 年 6 月 29 日
編集済み: Biza Ferreira
2016 年 6 月 29 日
1 件のコメント
Muhammad Usman Saleem
2016 年 6 月 29 日
I think it is formula for cross correlation? If yes matlab has created build in function cross2(x,y) for correlation. Read my answer above please
Ranjit Shrestha
2022 年 1 月 31 日
what if we have more than two images? I mean a sequence of images.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!