@@ -103,9 +103,6 @@ void RegistrationImpl::depth_to_color(float mx, float my, float& rx, float& ry)
103
103
ry = (wy / color_q) + color.cy ;
104
104
}
105
105
106
- /* *
107
- * Undistort/register a single depth data point
108
- */
109
106
void Registration::apply ( int dx, int dy, float dz, float & cx, float &cy) const
110
107
{
111
108
impl_->apply (dx, dy, dz, cx, cy);
@@ -121,18 +118,6 @@ void RegistrationImpl::apply( int dx, int dy, float dz, float& cx, float &cy) co
121
118
cx = rx * color.fx + color.cx ;
122
119
}
123
120
124
- /* *
125
- * Map color pixels onto depth data, giving an \a registered output image.
126
- * Optionally, the inverse map can also be obtained through \a bigdepth.
127
- * @param rgb RGB color image (1920x1080).
128
- * @param depth Depth image (512x424)
129
- * @param [out] undistorted Undistorted depth image.
130
- * @param [out] registered Image color image for the depth data (512x424).
131
- * @param enable_filter Use a depth buffer to remove pixels which are not visible to both cameras.
132
- * @param [out] bigdepth If not \c NULL, mapping of depth onto colors (1920x1082 'float' frame).
133
- * @param [out] color_depth_map If not \c NULL, map (512x424) for storing the color offset for each depth pixel.
134
- * @note The \a bigdepth frame has a blank top and bottom row.
135
- */
136
121
void Registration::apply (const Frame *rgb, const Frame *depth, Frame *undistorted, Frame *registered, const bool enable_filter, Frame *bigdepth, int *color_depth_map) const
137
122
{
138
123
impl_->apply (rgb, depth, undistorted, registered, enable_filter, bigdepth, color_depth_map);
@@ -286,18 +271,6 @@ void RegistrationImpl::apply(const Frame *rgb, const Frame *depth, Frame *undist
286
271
if (!color_depth_map) delete[] depth_to_c_off;
287
272
}
288
273
289
- /* *
290
- * Computes Euclidean coordinates of a pixel and its color from already registered
291
- * depth and color frames. I.e. constructs a point to fill a point cloud.
292
- * @param undistorted Undistorted depth frame from Registration::apply.
293
- * @param registered Registered color frame from Registration::apply.
294
- * @param r row index of depth frame this point belong to.
295
- * @param c column index of depth frame this point belong to.
296
- * @param[out] x x coordinate of point.
297
- * @param[out] y y coordinate of point.
298
- * @param[out] z z coordinate of point.
299
- * @param[out] RGB associated rgb color of point.
300
- */
301
274
void Registration::getPointXYZRGB (const Frame* undistorted, const Frame* registered, int r, int c, float & x, float & y, float & z, float & rgb) const
302
275
{
303
276
impl_->getPointXYZRGB (undistorted, registered, r, c, x, y, z, rgb);
0 commit comments