loading
 
Kinect Depth
Agustin Gudino from Spain  [2 posts]
13 year
Hi all,
I am using roborealm to do the following: measuring objects in its cube area for transport issues. (I dont know if you understand, excuse my english)
First of all I am using a simple web cam filter, get blobs, replace with minimal rectangle and get distance of 2 sides of it.
Now I'll use kinect but I dont know exactly how can I measure the distance with the depth color information. Do anyone have an example? I think there must be an algorithm or something to get the distance from the depth color image.
Guenter Wendel from Germany  [13 posts] 13 year
You can transform the DEPTH-RGB values to RAWdepth:

RAWdepth = G*256 + R      B is always 0;


To transform RAWdepth to meter by the following formula from Nicolas Burrus:
http://nicolas.burrus.name/index.php/Research/KinectCalibration

float raw_depth_to_meters(int raw_depth)
{
  if (raw_depth < 2047)
  {
   return 1.0 / (raw_depth * -0.0030711016 + 3.3309495161);
  }
  return 0;
}

Gunter

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index