My first time on this forum. Such a good resource. I hope to contribute in the future…
I am trying to write a new macro and all of a sudden when I try to threshold with the “Li” algo, it gives me an error “image is not an Image5D”
the code is part of a bigger macro and other threshold methods seem to work.
I tried updating fiji to no effect…
selectWindow(redfilename); run("Duplicate"); run("8-bit"); //run("Threshold"); setAutoThreshold("Li"); run("Convert to Mask");