I am trying to use the Data Analysis “JND Difference Calculator Macro” Function. I keep getting this Exception message. Does anyone know how I can get it to recognize the label? I am importing my results in a CSV file into Image J, copy and pasted directly from my Image Analysis output.
Here is the error message:
ImageJ 1.52k; Java 1.8.0_172 [64-bit]; Mac OS X 10.14.6; 80MB of 3000MB (2%)
java.lang.IllegalArgumentException: “Label” column not found
at ij.measure.ResultsTable.getStringValue(ResultsTable.java:418)
at ij.macro.Functions.getResultLabel(Functions.java:1196)
at ij.macro.Functions.getStringFunction(Functions.java:273)
at ij.macro.Interpreter.getStringTerm(Interpreter.java:1400)
at ij.macro.Interpreter.getString(Interpreter.java:1378)
at ij.macro.Interpreter.doArrayElementAssignment(Interpreter.java:920)
at ij.macro.Interpreter.doAssignment(Interpreter.java:780)
at ij.macro.Interpreter.doStatement(Interpreter.java:288)
at ij.macro.Interpreter.doStatements(Interpreter.java:256)
at ij.macro.Interpreter.run(Interpreter.java:152)
at ij.macro.Interpreter.run(Interpreter.java:91)
at ij.macro.Interpreter.run(Interpreter.java:102)
at ij.plugin.Macro_Runner.runMacro(Macro_Runner.java:161)
at ij.plugin.Macro_Runner.runMacroFile(Macro_Runner.java:145)
at ij.plugin.Macro_Runner.run(Macro_Runner.java:60)
at ij.IJ.runPlugIn(IJ.java:199)
at ij.Executer.runCommand(Executer.java:137)
at ij.Executer.run(Executer.java:66)
at java.lang.Thread.run(Thread.java:748)
Hey! thanks for the response 🙂
I have done that-
Here is a sample data set that I am testing this on. This is how it is set up (CSV file), inputted into Image J via Import…Results function