简体   繁体   English

查找立体声图像中斑点的实际位置和大小

[英]Find real position and size of blob in stereo image

Does anyone have any ideas of how I can find the size of a blob or object in a stereo image? 有谁对我如何在立体声图像中找到斑点或对象的大小有任何想法? I know that the stereo image outputs the depth information, but I want to know how large or high an detected object is. 我知道立体图像会输出深度信息,但是我想知道检测到的物体有多大或多高。 Say I find a bounding rectangle around a detected object that is positioned further into the room. 假设我在检测到的物体周围找到了一个边界矩形,该矩形位于房间的更远处。 How can I find the height of that bounding rectangle in a metric like for example centimeters? 如何找到以厘米为单位的边界矩形的高度?

  1. for a stereo pair you need to find the essential matrix/fundamental matrix of the stereo pair 对于立体声对,您需要找到立体声对的基本矩阵/基本矩阵
  2. detect the object or points on the object and find their correspondence/match in both images. 检测物体或物体上的点,并在两个图像中找到它们的对应/匹配。 For both point 1 and 2 refer to stereo tutorials. 对于第1点和第2点,请参考立体声教程。
  3. depth can be obtained from the stereo pair information..however for height at which the object is you have to make the computer understand which is your reference as height = 0 (like the floor) . 深度可以从立体声对信息中获取。但是,对于对象所在的高度,必须让计算机理解作为高度= 0(例如地板)的参考。 So if you can make the computer understand the location of the floor then just the difference of the y coordinate between the floor and the object is your height. 因此,如果您可以使计算机了解地板的位置,则地板和对象之间的y坐标之差就是您的高度。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM