Hi guys, I would be grateful if someone kindly could help me with this.
I have a serie of frames of the same image (.tif). I would like to load all the images (they become matrixes 2000*2000) from the folder and crop all of them with the same pattern (I dont know the coordinates of cropping so I would like to be allowed to choose a rectangular square in one of them and apply it to all). Then I would like to save them in a new folder in the same path.
% cd('C:\Users\...\OT pics')
dirName = uigetdir('./', 'Select data folder');
fullFileName = fullfile('C:\Users\..\OT pics\new', [J,rect]);
This is the script i have been using but it gives back this error. Anyone helping? Thanks a lot
Error using horzcat
Dimensions of arrays being concatenated are not consistent.
Error in Untitled2 (line 43)