D435 Gamma Correction
Hi,
for some real sense cameras, developers can set the gamma correction value of the realsense cameras, e.g., for the D435 between 100 and 500 according to the data sheet. I need to extract linear RGB data without gamma correction.
My question is, what does the gamma value range mean? Does 100 represent a gamma correction of 1.0, i.e., no gamma correction?
Best regards
-
Hi Accounts Mmt I do not have any information on whether the minimum of 100 = no gamma correction at all, unfortunately. So I would not be confident in saying that it does.
If you are seeking RGB data that is as raw as possible, it may be worth considering accessing raw bayered RGB images from the camera and using OpenCV to convert them to a usable format. The discussion in the link below looks at this process and may provide you with sone useful insights.
-
I had the same issue with you, and I did a simple calibration by capturing density-varying random dot sheet with various gamma settings with D435i.
I omit the details, but my conclusion is camera gamma may be 2.5 - k / 300 where k is the gamma setting (100-500). Samples of the gamma values are 2.2(k=100), 2.0(k=150), 1.5(k=300), 1.0(k=450).
To obtain the calibrated intensity value, apply the inverse gamma like I^(1/camera_gamma) where I is the captured intensity value normalized in 0-1.
-
Thanks very much Masuda for sharing your knowledge!
Please sign in to leave a comment.
Comments
4 comments