I have written this macro script for automating setting new contrast to our microscopy images. The problem is it sets the new contrast, but it saves the old image instead of the new one with new contrast.
Can someone take a look at my script and tell me what is wrong with it, please? I have uploaded my script. It is really getting annoying.
Here is the link for some DAPI image samples (min contrast = 500, max contrast 1200):
setContrast.ijm (1.2 KB)