Login  Register

Re: error with the 3d Hybrid median plugin in -batch mode

Posted by Wayne Rasband on Oct 26, 2007; 9:05pm
URL: http://imagej.273.s1.nabble.com/error-with-the-3d-Hybrid-median-plugin-in-batch-mode-tp3698128p3698129.html

There is a updated version of the 3D Hybrid Median Filter at

     http://rsb.info.nih.gov/ij/plugins/hybrid3dmedian.html

that fixes this bug.

-wayne

On Oct 26, 2007, at 3:27 PM, Gabriel Lapointe wrote:

> Hi,
> I'm having trouble with the 3d Hybrid Median Filter
> (http://rsb.info.nih.gov/ij/plugins/hybrid3dmedian.html). In batch
> mode, i.e. without a graphical interface, I always get the following
> error message:
>
> java.lang.NullPointerException
>         at
> Hybrid_3D_Median_Filter.setup(Hybrid_3D_Median_Filter.java:71)
>         at
> ij.plugin.filter.PlugInFilterRunner.<init>(PlugInFilterRunner.java:46)
>         at ij.IJ.runUserPlugIn(IJ.java:160)
>         at ij.IJ.runUserPlugIn(IJ.java:169)
>         at ij.IJ.runPlugIn(IJ.java:124)
>         at ij.Executer.runCommand(Executer.java:95)
>         at ij.Executer.run(Executer.java:49)
>         at ij.IJ.run(IJ.java:234)
>         at ij.macro.Functions.doRun(Functions.java:529)
>         at ij.macro.Functions.doFunction(Functions.java:68)
>         at ij.macro.Interpreter.doStatement(Interpreter.java:206)
>         at ij.macro.Interpreter.doStatements(Interpreter.java:196)
>         at ij.macro.Interpreter.run(Interpreter.java:99)
>         at ij.macro.Interpreter.run(Interpreter.java:65)
>         at ij.macro.Interpreter.run(Interpreter.java:75)
>         at ij.plugin.Macro_Runner.runMacro(Macro_Runner.java:127)
>         at ij.plugin.Macro_Runner.runMacroFile(Macro_Runner.java:112)
>         at ij.IJ.runMacroFile(IJ.java:103)
>         at ij.ImageJ.main(ImageJ.java:505)
>
> Does anyone have an idea on how to fix this. I would like to create
> macro using this plugin to a linux server via the command line.
>
> Thank you
>
> Gabriel Lapointe
>