I just got my camera converted to full spectrum and I felt like trying to generate a cone mapping model (Nikon D7000 Nikkor 105mm 300-700; D65 300-700; Ferret 300-700; D65 300-700; Natural spectra 300-700; Interaction levels = 2; Polynomial level = 1). No matter what I try, I keep getting the following error message and I don’t know how to fix the problem. Any thoughts?
ImageJ 1.52a; Java 1.8.0_112 [64-bit]; Windows 10 10.0; 134MB of 5728MB (2%)
warning: [options] bootstrap class path not set in conjunction with -source 1.6
C:\Users\ericg\DOCUME~1\IJ152-~1\ImageJ\plugins\Cone Models\Nikon_D7000_Nikkor_105mm_D65_to_Ferret_D65.java:26: error: not a statement
C:\Users\ericg\DOCUME~1\IJ152-~1\ImageJ\plugins\Cone Models\Nikon_D7000_Nikkor_105mm_D65_to_Ferret_D65.java:47: error: ‘;’ expected
5.124E-5[i] = (float) (1110[i][i][i][i][i]1.75627880[i][i][i][i][i]2965 +(0[i][i][i][i][i]*0[i][i][i][i][i].6776781755191185)+(0[i][i][i][i][i]*0[i][i][i][i][i]*4.190[i][i][i][i][i]20[i][i][i][i][i]81276270[i][i][i][i][i]0[i][i][i][i][i]9E-6));
It looks like the names of the receptors aren’t being read correctly (they should be lw and sw for ferret). Are these all the unmodified files that come with the toolbox? If so, what system are you using? On my linux and windows machines this combination works fine and creates the right output.
Yes, these are the original files. I am using Windows. I also tried to generate models with other species, but I keep getting the same error message.
I’ve tried replicating with the exact same settings (Win10, same ImageJ version, same mapping model) and it works fine for me I’m afraid, so it’s difficult to debut. I guess you could try re-downloading and installing from scratch?