简体   繁体   English

如何在点云中的 3D 边界框的 RGBD 帧序列上具有 2D 边界框?

[英]How can i have 2D bounding box on a sequence of RGBD frames from a 3D bounding box in point clouds?

i have a 3d point clouds of my object by using Open3d reconstruction system ( makes point clouds by a sequence of RGBD frames) also I created a 3d bounding box on the object in point clouds my question is how can I have 2d bounding box on all of the RGB frames at the same coordinates of 3d bounding box? i have a 3d point clouds of my object by using Open3d reconstruction system ( makes point clouds by a sequence of RGBD frames) also I created a 3d bounding box on the object in point clouds my question is how can I have 2d bounding box on all在 3d 边界框的相同坐标的 RGB 帧? my idea Is to project 3d bb to 2d bb but as it is clear, the position of the object is different in each frame, so I do not know how can i use this approach?我的想法是将 3d bb 投影到 2d bb 但很明显,object 的 position 在每个帧中都不同,所以我不知道如何使用这种方法i appreciate any help or solution, thanks我感谢任何帮助或解决方案,谢谢

  • calculate points for the eight corners of your box计算盒子八个角的分数
  • transform those points from the world frame into your chosen camera frame这些点从世界框架转换为您选择的相机框架
  • project the points, apply lens distortion if needed.投影点,如果需要,应用镜头畸变。

OpenCV has functions for some of these operations and supports you with matrix math for the rest. OpenCV 具有用于其中一些操作的函数,并支持您使用 rest 的矩阵数学运算。

I would guess that Open3d gives you pose matrices for all the cameras.我猜 Open3d 会为您提供所有相机的姿势矩阵。 you use those to transform from the world coordinate frame to any camera's frame.您可以使用它们从世界坐标系转换到任何相机的框架。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在二维中绘制object的3D边界框(加工中) - Draw 3D bounding box of object in 2D (Processing) 在 MatplotLib 3D 散点图中绘制边界框 - Drawing Bounding Box in MatplotLib 3D Scatterplot 如何在 numpy 数组中获取不在内部边界框内但在外部边界框之间的所有 3d 点? - How do I get all 3d points in a numpy array that are not within a inner bounding box, but between the outer bounding box? 如何使用序列的已知边界框数据估计丢失的边界框输出? - How can I estimate missing bounding box outputs using known bounding box data of a sequence? numpy:在2d数组中查找边界框 - Numpy: Finding the bounding box within a 2d array 如何将 2D 边界框像素坐标 (x, y, w, h) 转换为相对坐标(Yolo 格式)? - How to convert 2D bounding box pixel coordinates (x, y, w, h) into relative coordinates (Yolo format)? 如何围绕二维numpy数组中的特定值创建非矩形边界框? - how to create non-rectangular bounding box around specific values in 2d numpy array? 从两个2D立体图像生成3D(x,y,z)点云 - Generating 3D (x,y,z) Point Clouds from Two 2D Stereo Images 使用 numpy logical_and 或在哪里定位 3D 边界框内的点索引? - Locating indices of points within 3D bounding box using numpy logical_and or where? 如何从外部边界框中找到重叠和内部边界框? - how to find overlapping and inner bounding boxes from a outer bounding box?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM