MATLAB image distinction/comparison

1 view (last 30 days)
JoonHee Joh
JoonHee Joh on 27 Feb 2019
Edited: Harshit Jain on 4 Mar 2019
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

Answers (1)

Harshit Jain
Harshit Jain on 4 Mar 2019
Edited: Harshit Jain on 4 Mar 2019
You can refer to this answer.

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!