radical
radical copied to clipboard
Lookup table BGR or RGB?
Hi, I'm trying to use the software only for calibration (both radiometric and vignetting) and export the result to somewhere else without using this software's io system. For this purpose, I saved the 'coefficients_' variable as a csv file. Here, I'm a bit confused whether the values of the variable is ordered RGB or BGR. For example, if I have camera response function lookup table that starts with
0, 0, 0, 0.044090159, 0.040110908, 0.040918224 ...
How is this ordered? And does the same thing hold for non-parametric vignetting lookup table?
Thank you in advance!
The order of color channels in the calibration files (both CRF and vignetting) is exactly the same as in input images coming from the cameras. The OpenNI2 and RealSense grabbers implemented in this repository output BGR images, so this is the order you have.