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

ros_beginner's profile - activity

2013-03-18 18:05:42 -0500 received badge  Famous Question (source)
2013-03-18 18:05:42 -0500 received badge  Popular Question (source)
2013-03-18 18:05:42 -0500 received badge  Notable Question (source)
2012-08-26 12:46:23 -0500 received badge  Notable Question (source)
2012-08-26 12:46:23 -0500 received badge  Famous Question (source)
2012-05-15 07:57:28 -0500 received badge  Popular Question (source)
2011-09-02 12:26:14 -0500 marked best answer pointcloud2 data

One possible solution is to add a new field to the pcl::PointCloud datatype (that is, create a custom point type in PCL). There is a tutorial on how to do this on the PCL website: http://pointclouds.org/documentation/tutorials/adding_custom_ptype.php

Then, you would simply publish this new pointcloud with an additional custom label field.

2011-09-01 04:34:47 -0500 marked best answer sensor_msg_image.h

This is a very openCV kinda question, I suggest you look at the very well written documentation given in the wiki http://opencv.willowgarage.com/documentation/cpp/index.html. Pay special attention to the Mat data structure.

2011-08-12 05:14:32 -0500 received badge  Student (source)
2011-08-12 05:09:11 -0500 asked a question pointcloud2 data

Hello,

I'm currently using kinect to receive image message and pointcloud2 message and make a depth and image with message information.

Then,I want to do some classification and label each pointcloud data and send back as ros message.

when I send back this pointcloud data that has label for each point as message.

How should I have this label information??

Thank you

Min

2011-07-21 09:24:04 -0500 asked a question question about opencv mat data structure

Hello,

I have question about open cv's mat class's format.

What I want to do is if there's RGB image, then, technically there are three matrixes.

Then, I want to get this RGB data array.

I found that mat has a pointer to data.

Then, how should I make an array of this RGB data from data pointer?

is it just make a new pointer

double* array; memcpy(array, dataPoint, sizeofimage*double);??

If not, any advices?

Thank you

2011-07-21 08:31:32 -0500 commented answer sensor_msg_image.h
Okay, so what I am thinking is. convert imageMessage into Iplimage format. Then, I want to convert this Iplimage into Mat format. Then, I want to copy this Mat data using memcpy so that I can construct image. Then, I know width and height, but I don't know what is the type of the data Mat data. How should I know the type of Mat data. is it just uint8_t?
2011-07-21 07:44:13 -0500 asked a question sensor_msg_image.h

Hello,

I'm trying to get image information from Image message and make a image data.

I found that there is some guideline to do this by using open cv.

However, I want to create image class defined by myself, which takes image data like matrix format.

I found that message has uint8_t data. how should I convert to image data to double??

Am I understanding image.h header file correctly?

If not, can you give me some comments?

Thanks

2011-07-11 04:58:42 -0500 asked a question Ros_camera installation

Hello, I am a beginner to ros.

What I want to do first with ros is getting picture and its depth information from kinect and store it to my computer to do some image processing.

I just install diamond base ros and follow the instruction for installing openni_kinect stack.

Then, if I do rosmake openni_camera and

roslaunch openni_camera openni_node.launch

it says

I don't know how to solve this problem.

Can you help this?

Thank you