Hi there, I have a simple question that I couldn't find an answer to.
I wrote a simple function for cropping, where I am cropping multiple images at the same size and dimensions as such:
function [I4] = icrop (Image) I4 = imcrop(Image,[2000 1185 776 760]);imshow(I4)end
I want to be able to automatically saved the cropped image with a suffix after the variable name. So, if I put in A.jpg, I want the cropped file to be A1.jpg
Any suggestions? Thanks
Best Answer