Hi,
in a huge analysis pipeline, I finally found the specific problem which for
me is of utmost irritation.
So in short, when running a macro in headless mode from the command line,
the sigma parameter of
the standard Gaussian Filter seems not to be captured by the macro
interpreter.
Here is a dummy example:
open('path-to-image');
name = getTitle()
run("Duplicate...", "title=Dup");
run("Gaussian Blur...", "sigma=5");
save('gaussian1.tif');
selectImage(name)
run("Gaussian Blur...", "sigma=1");
save('gaussian2.tif');
When calling this macro from the ImageJ in Gui (so normal) mode, everything
works as expected.
But when calling this macro from the commandline like 'ImageJ-macosx
--headless -macro dummy.ijm'
the two produced images will be the same, meaning that sigma most likely was
set to a default value.
I was somehow lucky to even find this, what I suppose is a, bug.
I am running Fiji with ImageJ version 149m on Mac OS 10.10.
It is really annoying that I am stuck now with the automatization because of
this silly detail, any help appreciated !
Greets,
Greg
--
View this message in context: http://imagej.1557.x6.nabble.com/Gaussian-Blur-Filter-in-headless-mode-broken-tp5011489.html
Sent from the ImageJ mailing list archive at Nabble.com.
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
|