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

depth grid #5095

Closed
cassie101 opened this issue Oct 21, 2019 · 8 comments
Closed

depth grid #5095

cassie101 opened this issue Oct 21, 2019 · 8 comments
Labels

Comments

@cassie101
Copy link

cassie101 commented Oct 21, 2019

while using pyrealsense2, there's a grid pattern coming from depth frame. Is there any way to turn off?

Screenshot from 2019-10-21 12-49-46

Edit: this only happens when depth frame is aligned to ir. Aligning depth to color does not produce the grid pattern.

#grid pattern occurs
align_to = rs.stream.infrared
align = rs.align(align_to)

Is this intentional? how do we turn the grid off in case we wish to align depth stream to ir?

@dorodnic
Copy link
Contributor

Hi @cassie101
What is the SDK version? Camera type?
For the D400 there is really no reason to align depth to IR (they are already aligned)

@cassie101
Copy link
Author

Hi @dorodnic, thanks for your reply
It was SR300. if I understand correctly, the depth and IR are also aligned in this model, am I right?
I was just curious as to why there were grid in the depth display.
I don’t have my pc with me now, but it was the latest pyrealsense2 that I have via pip

@dorodnic
Copy link
Contributor

Let me try with the SR300, this may be an artefact of SR300 IR distortion model.

@cassie101
Copy link
Author

Hi @dorodnic, sorry I should be more precise, it’s a SR305 camera

@dorodnic
Copy link
Contributor

Hi @cassie101
I see this issue when aligning from depth to IR with the SR300. However, as far as I know, this step can be omitted entirely, since (like with the D400) depth stream is generated from IR stream and they are already aligned.

@dorodnic dorodnic added the SR300 label Oct 23, 2019
@cassie101
Copy link
Author

Hi @dorodnic, thank you so much for experiment and quick update. I can understand the situation. Could you please kindly take a look at #5093 (comment) and provide some insight?
My goal was to align all streams at the best possibility.
Since depth and IR are aligned by design, could we align (1)depth to rgb and (2) ir to rgb both at the same time? Since when depth-to-rgb alignment is done, rgb image doesn’t have the “artefacts” as shown in #5093 (comment)

@dorodnic
Copy link
Contributor

dorodnic commented Oct 23, 2019

I see. Yes, this looks like a limitation of the SDK at this point - basically we support alignment of anything to depth and of depth to any stream, but (non-depth)stream to other (non-depth)stream is not supported. Without context, this problem is not solvable (you need depth for pixel level alignment), but at the same time passing all three should work.
Not sure if to label this a bug or an enhancement request, but I'm struggling to think how this can be currently accomplished, unfortunately.
Aligning everything to depth should work, but in case of SR305 this would involve significant reduction of RGB resolution.

@RealSenseCustomerSupport
Copy link
Collaborator


Hi @cassie101

Is there anything more needed on this ticket? As outlined by dorodnic there is a limitation here. We can close this as expected at this point.

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

No branches or pull requests

3 participants