-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Using rs2::gl::align produces half images #11827
Comments
Hi @xsol A RealSense user attempted to implement alignment with rs2::gl a few years ago at the link below and the output was a black screen. |
Are you aware of a working example of rs2::gl::align? |
There are not any other references for rs2::gl::align other than the one that I linked to, unfortunately. |
Hi @xsol Bearing in mind the comment above, do you require further assistance with this case please? Thanks! |
Case closed due to no further comments received. |
| Required Info
|---------------------------------|------------------------------------------- |
| Camera Model | { D455 } |
| Firmware Version | 05.14.00.00|
| Operating System & Version | Ubuntu 20.04LTS |
| Kernel Version (Linux Only) | 5.15.0 | |
| Platform | PC, NVIDIA Jetson AGX XAVIER |
| SDK Version | 2.53.1 |
| Language | C++ |
| Segment | Robot |
Issue Description
Hello, i'm trying to get the rs-align example to work with glsl gpu processing to fix the issue of low framerate/high delays when using the regular rs2::align on the Jetson AGX Xavier as discussed here: IntelRealSense/realsense-ros#2396. I modified the example code (see below), and i'm using a D455.
The Problem is the following: not only is the image after alignment not aligned, the left half is completely blank- and the right half should be shifted to the left. These images taken from the modified rs-align will make it clear:
Aligning to color, displaying the color image:
Aligning to color, displaying the depth image:
As can bee seen, the depth image only shows the door that is on the left side of the color image. But It is shifted too far right and the flower pot is missing from the depth image completely.
modified rs-align example (modifications are marked by comment, only changed main function and additional include):
Since there is little documentation i could find on rs2::gl, i'm not sure if i missed a critical step for the alignment to work. It seems like during alignment, the depth image/ the pointcloud calculated from depth are shifted too far right- thus the blank left side, maybe something with applying the extrinsic matrix? Or maybe some issue while writing into the aligned image? But that's just speculation, any help is appreciated.
The text was updated successfully, but these errors were encountered: