Info

This question is closed. Reopen it to edit or answer.

I wan to get 'normxcorr2' of all the images, whicih are in a folder located in my computer?

1 view (last 30 days)
% This Code is for two images but i need it for entire folder having 23 images(like i1, i2,...i23.jpg)
im1 = rgb2gray(imread('i2.jpg'));
im2 = rgb2gray(imread('i3.jpg'));
imshowpair(im2,im1,'montage');
c = normxcorr2(im1,im2);
figure, surf(c), shading flat;
% Folder address is 'C:\Users\Rokesh\Desktop\Nntest\Bacteria'

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!