NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 1129 - Running Gaussian Blur filter from script editor broken - does not overwrite existing sigma + scaling settings in GUI
Running Gaussian Blur filter from script editor broken - does not overwrite e...
Status: RESOLVED INVALID
Product: Fiji
Classification: Unclassified
Component: Plugins
unspecified
Macintosh Mac OS
: P4 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2015-07-31 04:42 CDT by celinaeg
Modified: 2015-07-31 05:21 CDT
2 users (show)

See Also:

Description celinaeg 2015-07-31 04:42:07 CDT
It looks like when using the script editor to run Gaussian Blur filter, the macro interpreter doesn't capture the sigma parameter. When running GB through the ImageJ GUI, everything works fine, but when I run GB through the editor the sigma that was already in the GUI is the sigma that is used.

Here's the basic code that I'm using: 
IJ.run(imp, "Gaussian Blur...", "sigma = 0.0001 scaled")

Information about your version of Java:

  os.arch => x86_64
  os.name => Mac OS X
  os.version => 10.9.5
  java.version => 1.7.0_21
  java.vendor => Oracle Corporation
  java.runtime.name => Java(TM) SE Runtime Environment
  java.runtime.version => 1.7.0_21-b12
  java.vm.name => Java HotSpot(TM) 64-Bit Server VM
  java.vm.version => 23.21-b01
  java.vm.vendor => Oracle Corporation
  java.vm.info => mixed mode
  java.awt.graphicsenv => sun.awt.CGraphicsEnvironment
  java.specification.name => Java Platform API Specification
  java.specification.version => 1.7
  sun.cpu.endian => little
  sun.desktop => null
  file.separator => /

The up-to-date check says: UP_TO_DATE

Information relevant to JAVA_HOME related problems:

  JAVA_HOME is set to: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/
  imagej.dir => /Applications/Fiji.app

Information about the version of each plugin:

Activated update sites:
ImageJ: http://update.imagej.net/ (last check:20150722045527)
Fiji: http://fiji.sc/update/ (last check:20150724215809)

Files not up-to-date:
  590a0a03 (LOCAL_ONLY) 20150727141828 macros/BatchMacro.ijm
Comment 1 Jan Eglinger 2015-07-31 05:21:56 CDT
If you used the recorder ('Plugins > Macros > Record...') to record your command, you would have got this command:

  IJ.run(imp, "Gaussian Blur...", "sigma=0.0001 scaled");

In order to parse the sigma value correctly, no spaces are allowed around the '=' sign in the parameters.