Resolve "Sample to merge two RGBD Cameras"
What does this MR do?
Add a new PoC to merge pointclouds from 2 RGBD Cameras (Orbbec astras).
Move opDepthMap & depthMapOp from internal repository to opensource.
Closes #173 (closed)
How to test it?
Prerequisites
- You will need two astras and their internal calibration ( from depth sensor to color sensor). You can use this one
- You will also need the transformation between color sensor of each cameras (the extrinsic matrix from stereo calibration).
Use ARCalibration and export the Extrinsic matrix in .trf format (see !66 (merged) ).
PoCMergePointclouds overview
from Left to Right
- Load Astra n°1 calibration (depth to color)
- Play Astra n°1
- Stop Astra n°1
- Pause Astra n°1
- Load Astra n°2 calibration (depth to color)
- Play Astra n°2
- Stop Astra n°2
- Pause Astra n°2
- Load Extrinsic Transform (from color1 n°1 to color n°2)
- Show/Hide poincloud from astra n°1
- Show/Hide pointcloud from astra n°2
Let's play
In the video TAB
- Load the first astra calibration ( button 1)
- Load the second astra calibration (button 5)
- Load extrinsic matrix ( .trf) (button 9)
- Play both astras ( 2 & 6)
You should visualize RGB & Depth coming from both astra.
RGB 1 | Depth 1 |
---|---|
RGB2 | Depth 2 |
In the Pointcloud Tab
You should be abble to visualize two pointclouds (one green and one blue)
Use button 10 & 11 to show/hide each.
Please keep in mind that this is a proof of concept.
Data
Unfortunately I cannot provide data to test the POC, it's very complicated to record 2 RGB & 2 Depth streams synchronously on the same computer
Some results
Video Tab
Pointcloud Tab
Dependencies
-
!66 (merged) for extrinsic matrix export. -
!49 (merged) to identify RGDB cameras.
Edited by Marc SCHWEITZER