Merge pull request #106 from tanmengwen/master

fixed a bug in the DepthFilter::updateSeeds function
This commit is contained in:
Christian Forster
2015-07-08 15:22:37 +02:00
+1 -1
View File
@@ -225,7 +225,7 @@ void DepthFilter::updateSeeds(FramePtr frame)
++it; // behind the camera ++it; // behind the camera
continue; continue;
} }
if(!it->ftr->frame->cam_->isInFrame(it->ftr->frame->f2c(xyz_f).cast<int>())) { if(!frame->cam_->isInFrame(frame->f2c(xyz_f).cast<int>())) {
++it; // point does not project in image ++it; // point does not project in image
continue; continue;
} }