diff --git a/svo/src/depth_filter.cpp b/svo/src/depth_filter.cpp index 3e9fdfd..8ce79da 100644 --- a/svo/src/depth_filter.cpp +++ b/svo/src/depth_filter.cpp @@ -127,7 +127,6 @@ void DepthFilter::initializeSeeds(FramePtr frame) }); SVO_DEBUG_STREAM("DepthFilter: Initialized "<ftr->frame->T_f_w_ * frame->T_f_w_.inverse(); - // check if point is visible in the current image + SE3 T_ref_cur = it->ftr->frame->T_f_w_ * frame->T_f_w_.inverse(); const Vector3d xyz_f(T_ref_cur.inverse()*(1.0/it->mu * it->ftr->f) ); if(xyz_f.z() < 0.0) { ++it; // behind the camera