I have created a GUI for medical image processing which produces some histogramms that informs the doctor about the progress of the patient. Firstly, I would like to know if there is a way that i can save these histogramms in a certain folder, in a way that can be viewable by the doctor in the folder /as images (like photos perhaps ).I have put in my code each histogramm in a handles. and I save them using imwrite into the folder i want , but it doesnt work i can not see the histogramms! Secondly, can any chosen histograms/images saved in the folder be combined /plotted in the same figure afterwards?Can i use uigetfile and have the doctor choose which histogramms wants to plot in the same figure in order to see the progress of the patient? thanks in advance
No products are associated with this question.
If you have plotted your histograms and have their handles, then you can use the built-in function SAVEAS to save them in various image formats. For example:
h = plot(tplot); ylim([0 1]); title(num2str(if_sort(currow+1, 1)));
savename = 'Histo_plot.jpg'; saveas(h, savename, 'jpg');