I would like to save the output of imcontrast using saveas like:
but "saveas" doesn't wait until imcontrast is finished, so it saves the original version of image gg. Okay, when imcontast is finished I can use saveas "by hand", but I would like to prefer to do this in this code. Is there any possibilty to do this without using for example
? And how can I save the parameters used in imcontrast?
Thanks a lot