Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lookup table BGR or RGB? #2

Open
jjpark opened this issue Mar 30, 2017 · 1 comment
Open

Lookup table BGR or RGB? #2

jjpark opened this issue Mar 30, 2017 · 1 comment

Comments

@jjpark
Copy link

jjpark commented Mar 30, 2017

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!

@taketwo
Copy link
Owner

taketwo commented Mar 31, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants