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
If you’re using a saved .CSV file can you make sure that the “label” column is there (e.g. when opened in excel).
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
Hi Karin, Hi Jolyon,
I have been getting this message as well. The first few times that I run the JND Calculator works fine. Then, suddenly I start getting this message. I have to close Image J and start everything again, and works great again.
Thanks for the info. What a weird intermittent issue. I’ll have a look at reproducing the error next week. In the meantime could you email me the .csv files you’re struggling to get working?
Could you also please try rolling back ImageJ to version 1.49 (help>update> and choose v1.49, you can later update back to the latest version if this doesn’t work). This will help me debug the issue because the way results tables work changed with later versions.
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?