Depthimage_to_laserscan - choose which part of the image is scanned [closed]
Hi everyone!
I am using the package depthimage_to_laserscan. In this package is possible to change the parameter scan height to 480 (the height of the kinect depth image).
What I wanted to do is the following: I want the to obtain three 2D planes, instead of just one. For this to happen I need to divide the kinect depth image in 3, and scan each 1/3 of the image separately. So, I want one 2D scan for the bottom 1/3 of the kinect depth image, one for the top 1/3 and one for the center 1/3.
The problem is that when setting the scan height, even if I give it the value of 480/3, it will scan 480/3 rows, starting from the center of the image, meaning I can't get the top 1/3 scan and neither the bottom 1/3 scan!
How can I do this?
I hope my explanation wasn't very confusing! I would be grateful if you could help me on this issue!
I have the same issue and I don't know what to do