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)
I’m experiencing some of these same issues described in this thread. I have been trying to calculate JNDs from an ROI on two different Cone Catch Images (same animal at different time points to quantify color difference between the images). When I use the “M” command to measure values in each selection, I find that the results table lacks labels and then when I run the “Colour JND Difference Calculator” under the “Data Analysis” section, I get a similar error message. When I have the ROIs in both images and use the “R” command to measure values in both simultaneously, the results table has labels. In this case, however, when I run the “Colour JND Difference Calculator” for the two regions between the images, the Comparison Results window that comes up gives an “NaN” value under “JND_diff”. I can’t seem to figure out why this is happening though or to get the “Colour JND Difference Calculator” to work. Any insights?
Thanks!
Chris