Skip to content

Commit

Permalink
Update border in ccd tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
SamFlt committed Oct 4, 2024
1 parent 2b4106b commit 8d0a4f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ void vpRBSilhouetteCCDTracker::extractFeatures(const vpRBFeatureTrackerInput &fr
// std::cout << sp.j << ", " << sp.i << std::endl;
int ii = sp.i, jj = sp.j;

if (ii < 4 || jj < 4 || static_cast<unsigned int>(ii) > frame.I.getHeight() - 4 || static_cast<unsigned int>(jj) > frame.I.getWidth() - 4) {
if (ii <= 4 || jj <= 4 || static_cast<unsigned int>(ii) >= frame.I.getHeight() - 4 || static_cast<unsigned int>(jj) >= frame.I.getWidth() - 4) {
continue;
}
vpRBSilhouetteControlPoint pccd;
Expand Down

0 comments on commit 8d0a4f2

Please sign in to comment.