-
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
All the official alignment code(rs-align/align-depth2color) didn't work well #5282
Comments
@Tom127 hi, |
@ev-mp Thanks for you reply! The second image is not quadrilateral, did it mean a image distortion? |
@Tom127 hello,
|
@ev-mp Thanks for your reply! Best regards |
To be more specific - the black strap in the second image in the initial post is not misalignment. On the contrary - this is a filtered region for which there was no valid depth data due to occlusion.
There are two types of alignment: depth to 2D (rgb/ir) and 2D to depth. So the phrase is almost* accurate when applied to the latter case. In the first scenario, when aligning depth to color, the resulted depth frame most probably will have less than 100% valid pixels, and consequently a subset of valid RGB pixels will have no corresponding depth data in the aligned image. |
@Tom127, do you need further assistance? |
@ev-mp ,sorry for the late response! I've been busy training models recently. |
Hi @Tom127, You can get the corresponding point in 3D using rs2_deproject_pixel_to_point function. For camera calibration please use Intel.Realsense.DynamicCalibrator from CalibrationTool package: Please pay attention that Intel.Realsense.DynamicCalibrator is optimizing extrinsic parameters only. Thank you! |
align-depth2color.py:
rs-align.cpp:
realsense_viewer:
I tried all the possible alignment code(depth to color), but they didn't work well. Thanks for your help! Attaching my realsense device information:
rs-enumerate-devices-output.txt
The text was updated successfully, but these errors were encountered: