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

green result from gen2-color-isp-raw #476

Open
re-this opened this issue May 9, 2023 · 6 comments
Open

green result from gen2-color-isp-raw #476

re-this opened this issue May 9, 2023 · 6 comments

Comments

@re-this
Copy link

re-this commented May 9, 2023

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?

@Erol444
Copy link
Member

Erol444 commented May 9, 2023

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

@re-this
Copy link
Author

re-this commented May 10, 2023

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?

@Erol444
Copy link
Member

Erol444 commented May 10, 2023

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

@re-this
Copy link
Author

re-this commented Jun 8, 2023

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

@Erol444
Copy link
Member

Erol444 commented Jun 8, 2023

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

@jakaskerl
Copy link
Contributor

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.

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

No branches or pull requests

3 participants