in image processingm how can we find the location of the correlation coefficient maximum for two consecutive frames?
2 views (last 30 days)
Show older comments
Dear Friends,
I hope this message finds you well.
I am currently working on a project that involves conducting correlation analysis between every pair of consecutive frames in a dataset. To achieve this, I'm utilizing the corr2 function to compute the correlation coefficients.
However, I am in need of assistance with locating the maximum correlation coefficient within each pair. Could anyone kindly provide guidance on how to accomplish this task? Any help or advice you could offer would be greatly appreciated.
0 Comments
Accepted Answer
Image Analyst
on 8 Feb 2024
See my attached demos for going through frames of a video. You just need to have a loop that starts at the second frame and compute the coefficient between the current frame and the prior one and store the result into an array. Then when the loop is done and all correlation coefficients have been computed, you can use max to find the frame and value that has the highest correlation coefficient. Let me know if you can't figure it out (adapt it).
2 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!