diff --git a/svo/src/depth_filter.cpp b/svo/src/depth_filter.cpp index 1f70be8..bf3a686 100644 --- a/svo/src/depth_filter.cpp +++ b/svo/src/depth_filter.cpp @@ -225,7 +225,7 @@ void DepthFilter::updateSeeds(FramePtr frame) ++it; // behind the camera continue; } - if(!it->ftr->frame->cam_->isInFrame(it->ftr->frame->f2c(xyz_f).cast())) { + if(!frame->cam_->isInFrame(frame->f2c(xyz_f).cast())) { ++it; // point does not project in image continue; }