ImageJ
Need help locating class files for certain macros/plugins
Posts  1 - 1  of  1
diitto
Hi... I am endeavoring to run some ImageJ code utilizing LabVIEW. I have had some success but I'm stuck on finding where the macros can be located for certain functions I want to be able to run under LabVIEW.

I downloaded from the ImageJ website some examples packaged in an archive called MacroRunner.zip. I've been successful at running all the examples contained within that archive. But now I want to step beyond those examples and be able to run some macros that were recorded right off ImageJ but when I attempt to run some of those, I get messages that say certain commands can't be found...

As a specific example, I have a recorded macro that contains a step where the function "Remove Outliers..." is called out. But when I run the overarching macro code in LabVIEW that contains that command (found in the normal ImageJ GUI at Process\Noise\Remove Outliers...), I get a message that says,

"Unrecognized command: Remove Outliers..."

I thought that would likely have been contained inside the ij.jar file but apparently not. I've opened up that java archive and looked inside but I find no similar file...

In the example code that works fine I can successfully execute commands like,

run("Set Measurements...", "area mean circularity decimal=3");
print("analyzing particles");
run("Threshold", "stack");
run("Analyze Particles...", "size=0 show=Nothing display clear stack");
run("Close");

even though I also don't where all those macros (or commands??, functions?? plugins?? whatever they might be called??), even like the simple "Close" are stored.. But those work fine...

However, in other macros I need to run that are outside those examples, the command,

run("Remove Outliers...", "radius=1 threshold=1000 which=Bright");

fails and prints the error message about that being an Unrecognized command...

What am I doing wrong?? What's allowing commands like

run("Set Measurements...", "area mean circularity decimal=3");

to work fine while commands like

run("Remove Outliers...", "radius=1 threshold=1000 which=Bright");

give me this Unrecognized command error????

Any help would be greatly appreciated... thanks... bob..
Save
Cancel
Reply
 
x
OK