How to get the name of the image as the title of the window when using imshow in matlab.
Eg: I use the following code as to show the original image and the skeletonized image.
figure
subplot(1,2,1)
imshow(BW_Original)
subplot(1,2,2)
imshow(BW_Thinned)
I want to show the image name as the title of the window that pop ups. Can someone help me with this. Thank you.