Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
How to save the image in axes2 with the filename as topgal_seg in tif format. The original filename is topgal. How can I save automatically with the original file name and with extension of the new name?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I can use imsave(handles.axes2); to save the image. At that time i need to give a new file name, but what do i need to do to save it along with it's original file name plus seg to it. I have many images to do like that. It should come like originalfilename_seg for all the saved images.
Thanks in advance.
0 Kommentare
Antworten (1)
Image Analyst
am 25 Apr. 2014
Use sprintf() and fullfile() to build up your file names, like in the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F
1 Kommentar
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!