I have 60 images in a folder ,i want to take average of those images and subtract the averaged image with other images please help
clc;clear allclose all;pathname ='F:\images dirlist = dir( [pathname '*.jpg'] ); pickind='jpg';for m2 = 1:length(dirlist) R = imread([pathname, dirlist(m2).name]); ; ; ; ;end
please tell how to process after reading that image
Best Answer