ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Angle between camera and point of pointcloud

asked 2020-11-28 04:37:21 -0500

elemecrobots gravatar image

updated 2020-11-28 04:38:08 -0500

Hi. I am using intel realsense camera through which I am getting pointcloud. My task is to detect a parallel wall to in front of the camera. The logic i want to implement is that if I am able to somehow find out the angle of points corresponding to wall with respect to camera, I can easily find out if the camera is parallel to the wall or not. Is there any way I can find out the angle of points with respect to camera?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-11-28 12:39:05 -0500

How about converting the pointcloud from cartesian to polar co-ordinates? you can then use a threshold on the angle to detect a planar surface. This article does a good job of explaining transforms to and from polar co-ordinates.

edit flag offensive delete link more

Comments

So you are saying that, convert all pointcloud points to polar coordinates and then use a threshold to detect a planar surface?

elemecrobots gravatar image elemecrobots  ( 2020-11-28 13:56:43 -0500 )edit

Yeah, that might work.

Akhil Kurup gravatar image Akhil Kurup  ( 2020-11-30 14:30:04 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-11-28 04:37:21 -0500

Seen: 281 times

Last updated: Nov 28 '20