2 of 2 people found this helpful
You can align color and depth in a point cloud using the RealSense Viewer, in a method described in the link below.
If you prefer to do a color and depth alignment with scripting though, the documentation section linked below may be useful.
thank you MartyG
I try the method of RealSense Viewer
But the way of RealSense Viewer just map the color frame with depth directly
It will cause the misalignment
And using the aligned_frames function make the depth frame (1280*720->640*480)
I want the frame pixel can be 1280*720
By using the API pointCloud example
don't have misalignment problem
I want to know the detail of the function " pc.map_to(color) "
how does it map the 640*480 color frame to 1280*720 depth frame
1 of 1 people found this helpful
I researched your request for information on pc.map_to(color) but unfortunately there is no explanatory documentation for it.
My recollection of cases involving misalignment of the streams when generating point clouds is that the camera's intrinsics should be used to obtain the correct alignment. The past case linked to below may help you.