depthai-experiments icon indicating copy to clipboard operation
depthai-experiments copied to clipboard

green result from gen2-color-isp-raw

Open re-this opened this issue 2 years ago • 6 comments

I ran the code from gen2-color-isp-raw and found that the color image in "raw" window looks very green. Is it right? Is the raw image originally green and does the isp convert it to normal?

re-this avatar May 09 '23 08:05 re-this

Hi @re-this , could you share the image of this?

Erol444 avatar May 09 '23 10:05 Erol444

Hi @Erol444.

Because of my computer issue, I can't upload the images... By the way, it has real green color while isp shows white image. Do I have to use another unpack function?

Actually, I want to get an image with linear gamma curve from oakd camera. And that's the reason why I need raw images. Is there a way I can get an image with linear gamma curve? More specifically, the image that was processed by isp but corrected to have linear gamma curve.

If it is not possible, can I get a gamma value which is used for gamma correction in isp?

re-this avatar May 10 '23 02:05 re-this

@alex-luxonis would you know the gamma value used for gamma correction in isp?

Erol444 avatar May 10 '23 08:05 Erol444

@Erol444 @alex-luxonis Can I get an answer, please?

re-this avatar Jun 08 '23 10:06 re-this

(I have no idea on the answer, but that image from your side would still be useful for debugging)

Erol444 avatar Jun 08 '23 10:06 Erol444

Having the same issue. Here is an image. image

Unpacking was done using https://github.com/luxonis/depthai-experiments/blob/3f1b2b2/gen2-color-isp-raw/main.py#L13-L32 Debayering using cv2.COLOR_BayerBG2BGR.

jakaskerl avatar Jun 12 '24 14:06 jakaskerl