MATLAB image distinction/comparison
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!