Skip to content

Commit

Permalink
Merge pull request uzh-rpg#106 from tanmengwen/master
Browse files Browse the repository at this point in the history
fixed a bug in the DepthFilter::updateSeeds function
  • Loading branch information
cfo committed Jul 8, 2015
2 parents bd9b533 + 56ae188 commit 6de35f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svo/src/depth_filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<int>())) {
if(!frame->cam_->isInFrame(frame->f2c(xyz_f).cast<int>())) {
++it; // point does not project in image
continue;
}
Expand Down

0 comments on commit 6de35f5

Please sign in to comment.