I have this piece of code
image=("D:\ProjectI\image.tif");
for ite=1:areasize
row= r(ite,:);
xmin=xCent(1,row) - size_of_cropped_img/2;
ymin=yCent(1,row) - size_of_cropped_img/2;
crop= imcrop(image,[xmin ymin size_of_cropped_img size_of_cropped_img]);
nextrow=ite+1;
end
there are 15 rows which needs to be iterated one by one to get the cropped outputs.Until now only the first output has been extracted.
I would be greatly thankful if someone can assist.