Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
GUDIVADA ROKESH  KUMAR
GUDIVADA ROKESH KUMAR le 25 Mar 2019
Clôturé : MATLAB Answer Bot le 20 Août 2021
% 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'

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by