Merge pull request #106 from tanmengwen/master
fixed a bug in the DepthFilter::updateSeeds function
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user