@@ -49,7 +49,7 @@ class RegistrationImpl
49
49
RegistrationImpl (Freenect2Device::IrCameraParams depth_p, Freenect2Device::ColorCameraParams rgb_p);
50
50
51
51
void apply (int dx, int dy, float dz, float & cx, float &cy) const ;
52
- void apply (const Frame* rgb, const Frame* depth, Frame* undistorted, Frame* registered, const bool enable_filter, Frame* bigdepth) const ;
52
+ void apply (const Frame* rgb, const Frame* depth, Frame* undistorted, Frame* registered, const bool enable_filter, Frame* bigdepth, int * color_depth_map = 0 ) const ;
53
53
void getPointXYZRGB (const Frame* undistorted, const Frame* registered, int r, int c, float & x, float & y, float & z, float & rgb) const ;
54
54
void distort (int mx, int my, float & dx, float & dy) const ;
55
55
void depth_to_color (float mx, float my, float & rx, float & ry) const ;
@@ -138,7 +138,7 @@ void Registration::apply(const Frame *rgb, const Frame *depth, Frame *undistorte
138
138
impl_->apply (rgb, depth, undistorted, registered, enable_filter, bigdepth);
139
139
}
140
140
141
- void RegistrationImpl::apply (const Frame *rgb, const Frame *depth, Frame *undistorted, Frame *registered, const bool enable_filter, Frame *bigdepth) const
141
+ void RegistrationImpl::apply (const Frame *rgb, const Frame *depth, Frame *undistorted, Frame *registered, const bool enable_filter, Frame *bigdepth, int *color_depth_map ) const
142
142
{
143
143
// Check if all frames are valid and have the correct size
144
144
if (!rgb || !depth || !undistorted || !registered ||
0 commit comments