I just started working with ImageJ and have trouble saving information to a text file.
I’m running a threshold where I set the threshold manually. Then I want to save the lower and upper threshold in an text file.
However it does not give an error, but it is also not saving anything into the textfile.
Hopefully someone can help my to find the mistake in my code.
run("Threshold..."); getThreshold(lower,upper) print("your thresholds are; "+lower, "to "+ upper); file=File.open("E:\\OMIG\\Iris 161017 - kopie\\Masks\\threshold.txt"); print(file, "Minimal threshold"+lower+"\n"); print(file, "Maximal threshold"+upper);