You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @weishiguan Have you written your own program script to read the depth from the bag file please? If you have then a difference between the RealSense Viewer and a program script is that the Viewer applies a range of filters to the depth information by default, but a script applies no filters unless you deliberately put the filters into the script. An absence of filters in a program script could cause the depth values to be different from those provided in the Viewer.
If you are performing depth to color alignment then it is important to use the color intrinsics or aligned intrinsics, and not the depth intrinsics. This is because when depth to color alignment is performed, the origin of depth changes from the center line of the left infrared sensor to the center line of the RGB sensor.
Also, looking at the '3204' distance value that you provided, I wonder if this is the raw pixel depth value. To get the real world distance in meters, you would multiply the raw depth value by the depth scale value of the camera. For most RealSense 400 Series camera models this value will be '0.001'. For example, 3204 (raw pixel depth value) x 0.001 (camera depth scale) = 3.204 (real-world meters)
The RealSense Viewer applies multiple filters including Decimation, Spatial, Disparity and Temporal. Each filter would have to be individually programmed into the script.
There is a Python example of post-processing and alignment code at #11246
通过什么方式可以通过解析.bag包得到更准确的 每帧rgb图上某像素点对应的深度值呢?Intel.RealSense.Viewer是如何做到的,我能否使用同样的方法实现我的目的?
The text was updated successfully, but these errors were encountered: