Hi Jolyon & Cedric!
I’m able to get pretty high R^2 values for UV+VIS camera calibration (R^2 >0.98) using a pastel “chart”, but I must be scaling my spectra incorrectly, because the output cone catch images are always incredibly grey/washed-out. Cedric helped me realize earlier that my processing in pavo (I was averaging multiple spectra for each pastel together) was doing a negative value correction (“addmin”) that was causing my values to exceed 100, but now that I\’ve fixed that and have 0-100 range for my spectra files, I still have the same problem. I’ve tried every combination of negative value correction and scaling I could come up with (0-100 scaling for % reflectance, 0-1 scaling for normalized reflectance per the XRite spectra that come with micaToolbox, and all the different negative value correction options for processing in pavo including leaving them in), but still run into the same issue.
I was wondering if you have an example of the pastel spectra & mspec image that were used to make one of the UV camera calibrations that come with the package, so I could see where I’m going wrong? Alternatively, if anything from my above description sounds like we’re approaching this problem wildly wrong, that would also be great to know…so close to finally getting this calibration to work!
I think Jolyon would be able to help you better than me, but:
“the output cone catch images are always incredibly grey/washed-out”
This, to me does indeed sound like there’s a discrepancy between what your camera is doing and what you are telling the toolbox the camera is supposed to do / what it is looking at (via your camera sensitivities / reflectance values / etc.). I don’t work with chart calibrations at all, and as such can’t really pinpoint to the source of your error, apologies.
Have you tried processing your reflectance measurements outside of pavo to exclude that as a potential source of error?
Sorry I can’t be of more help at this stage.
Hmm tricky (sorry for slow reply – hectic time of year!=!)
If the R^2 values are good then I really don’t know. When you run the pastel code through the image of the actual pastels does it look washed out? Linear cone-catch image do look weird, so just measure the values of the actual pastels in the cone-catch output and see whether they look ok. If you manually change the brightness/contrast (CTRL+SHIFT+C) can you make the image look good? It could just be a viewing contrast range issue.
Also, there are various issues with the latest version of ImageJ that I need to try to fix, in the meantime try going help>update> and select version 1.52. See if this fixes anything.