Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
% 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'

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by