@@ -49,7 +49,7 @@ class RegistrationImpl
4949 RegistrationImpl (Freenect2Device::IrCameraParams depth_p, Freenect2Device::ColorCameraParams rgb_p);
5050
5151 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 ;
5353 void getPointXYZRGB (const Frame* undistorted, const Frame* registered, int r, int c, float & x, float & y, float & z, float & rgb) const ;
5454 void distort (int mx, int my, float & dx, float & dy) const ;
5555 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
138138 impl_->apply (rgb, depth, undistorted, registered, enable_filter, bigdepth);
139139}
140140
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
142142{
143143 // Check if all frames are valid and have the correct size
144144 if (!rgb || !depth || !undistorted || !registered ||
0 commit comments