Documentation Status

Cannot load information on name: pixel_2_3d, distro: electric, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
hrl-sensor-utils: hrl_clickable_display | hrl_ft | pixel_2_3d

Package Summary

Documented

Simple utility used to convert pixels on an image to 3d points using point cloud data.

Cannot load information on name: pixel_2_3d, distro: groovy, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
Cannot load information on name: pixel_2_3d, distro: hydro, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
Cannot load information on name: pixel_2_3d, distro: indigo, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
Cannot load information on name: pixel_2_3d, distro: jade, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
Cannot load information on name: pixel_2_3d, distro: kinetic, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
Cannot load information on name: pixel_2_3d, distro: lunar, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.
Cannot load information on name: pixel_2_3d, distro: melodic, which means that it is not yet in our index. Please see this page for information on how to submit your repository to our index.

pixel_2_3d_clickable.jpg pixel_2_3d.jpg

Usage

The current algorithm takes advantage of the RGB-D ordering of the point cloud to find the relevant point quickly and reliably. This ordering is found natively on the point clouds produced by the openni_kinect stack. The hrl_clickable_display package provides an easy interface for using this code.

These launch files, properly modified, will publish a pose to the /pixel3d topic with every mouse click on the image.

roslaunch pixel_2_3d pixel_2_3d_run.launch # modify the remaps in this file
roslaunch hrl_clickable_display kinect_clickable_UI.launch

Nodes

pixel_2_3d

Converts pixel on image to a pose in 3D by projecting the point cloud onto the image and finding the closest projected point in the image space to the given pixel. The orientation is found by computing the surface normal and making the z-axis point along the normal in the direction of the camera.

Subscribed Topics

/l_mouse_click (geomertry_msgs/PointStamped)
  • Along with /pixel3d performs the same functionality as /pixel_2_3d. References the x and y values of the point for the u and v pixel values. Designed for use with hrl_clickable_display.
/image (sensor_msgs/Image)
  • Image to reference for pixel values.
/point_cloud (sensor_msgs/PointCloud2)
  • Point cloud for 3D data.

Published Topics

/pixel3d (geometry_msgs/PoseStamped)
  • Output 3D pose published with both the service call and subscription call.

Services

/pixel_2_3d (pixel_2_3d/Pixel23d)
  • Input: pixel in /image frame. Output: pose in /base_footprint frame. Also contains an error flag indicating the result of the call. A non-zero value suggests failure.

Parameters

~normal_radius (double, default: 0.03)
  • The search radius used to find the normal. Higher values are more time consuming and less sensitive. Lower values are sensitive to noise but return quickly.

Wiki: pixel_2_3d (last edited 2011-09-08 17:12:08 by KelseyHawkins)