MATLAB image distinction/comparison
显示 更早的评论
I have 1024 images, each of which has the size 150(y) x 270(x) stored in 3D array (150x270x1024)
First 160 images are very similar to each other but not entirely identical; however, after 160th image, images change drastically and look very different from the first 160 images
So, here is what I want to achieve:
I want to find the index of the image at which the image starts to dramatically change
I have tried to compare correlation between image #1 and other 1024 images by:
for ii = 1:1023
R(ii) = corr2(input(:,:,1),input(:,:,ii+1)); % input = 3D array 150x270x1024
end
and see if there is any change in correlation coefficient at around 160th image, but wasn't successful
What method can I use to detect changes in these images and find the index at which my images start to change?
Thank you
回答(1 个)
Harshit Jain
2019-3-4
编辑:Harshit Jain
2019-3-4
0 个投票
类别
在 帮助中心 和 File Exchange 中查找有关 Images 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!