@@ -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, int * color_depth_map = 0 ) const ;
52+ void apply (const Frame* rgb, const Frame* depth, Frame* undistorted, Frame* registered, const bool enable_filter, Frame* bigdepth, int * color_depth_map) 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 ;
@@ -135,7 +135,7 @@ void RegistrationImpl::apply( int dx, int dy, float dz, float& cx, float &cy) co
135135 */
136136void Registration::apply (const Frame *rgb, const Frame *depth, Frame *undistorted, Frame *registered, const bool enable_filter, Frame *bigdepth, int *color_depth_map) const
137137{
138- impl_->apply (rgb, depth, undistorted, registered, enable_filter, bigdepth);
138+ impl_->apply (rgb, depth, undistorted, registered, enable_filter, bigdepth, color_depth_map );
139139}
140140
141141void RegistrationImpl::apply (const Frame *rgb, const Frame *depth, Frame *undistorted, Frame *registered, const bool enable_filter, Frame *bigdepth, int *color_depth_map) const
0 commit comments