I'm doing image processing on images, and a lot of figures are plotted. I am reading in one image at a time in, perform some functions and then have outputs. I want the result figure to show a title that will show what image I was working on, before looping to a next image.
Leernaam has .png images for instance diaretdb1_image002.png
Thus: imageIN = imread(LeerNaam);
image processing …. result=bw.*I;
figure, imshow(result), … title ' I want it to display diaretdb1_image002 automatically, because imageIN used it and all processing was done on imageIN'
Best Answer