我尝试按照开发人员http://bigwww.epfl.ch/demo/orientation/
的指示从宏运行orientationJ// Call the Measure plugin from a ImageJ macro
makeRectangle(250, 250, 50, 50);
run("OrientationJ Measure", "sigma=.0.0");
// sigma: standard deviation of the Laplacian of Gaussian prefilter
// The results are displayed on the log window of ImageJ in tab-separated format
但是,我收到以下错误。我该如何解决?
ImageJ 1.48v; Java 1.6.0_20 [64-bit]; Windows 7 6.1; 6666K of 3068MB (<1%)
java.lang.NumberFormatException: multiple points
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1084)
at java.lang.Double.parseDouble(Double.java:510)
at OrientationJ_Measure.run(OrientationJ_Measure.java:62)
at ij.IJ.runUserPlugIn(IJ.java:199)
at ij.IJ.runUserPlugIn(IJ.java:210)
at ij.IJ.runPlugIn(IJ.java:163)
at ij.Executer.runCommand(Executer.java:131)
at ij.Executer.run(Executer.java:64)
at ij.IJ.run(IJ.java:269)
at ij.macro.Functions.doRun(Functions.java:590)
at ij.macro.Functions.doFunction(Functions.java:89)
at ij.macro.Interpreter.doStatement(Interpreter.java:226)
at ij.macro.Interpreter.doStatements(Interpreter.java:214)
at ij.macro.Interpreter.run(Interpreter.java:111)
at ij.macro.Interpreter.run(Interpreter.java:81)
at ij.macro.Interpreter.run(Interpreter.java:92)
at ij.plugin.Macro_Runner.runMacro(Macro_Runner.java:153)
at ij.plugin.Macro_Runner.runMacroFile(Macro_Runner.java:137)
at ij.plugin.Macro_Runner.run(Macro_Runner.java:34)
at ij.IJ.runPlugIn(IJ.java:169)
at ij.Executer.runCommand(Executer.java:131)
at ij.Executer.run(Executer.java:64)
at java.lang.Thread.run(Thread.java:619)
答案 0 :(得分:1)
run("OrientationJ Measure", "sigma=.0.0");
您的sigma值有两个小数点。删除第一个。
java.lang.NumberFormatException:多个点
抱怨这个。可能是示例中的拼写错误。