I am trying to use the redirect measurement command in a macro. I have an imaged named AVG and one named SNR.
I have read that this would only work with a special command using a different class (ij.plugin.filter.Analyzer).
- How can I use this within a macro?
selectWindow("AVG"); run("8-bit"); run("Auto Threshold", "method=Otsu white stack"); //auto threshold requires 8 or 16 bit. //use the AVG projection to create a mask run("Set Measurements...", "mean limit redirect=None decimal=1"); //clears any redirect ij.plugin.filter.Analyzer.setRedirectImage(SNR); //sets the redirect to SNR