Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #2

Merged
merged 22 commits into from
Apr 29, 2014
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
commenting
  • Loading branch information
cfo committed Apr 27, 2014
commit 3ad948a0f12e4b35c0071453d5d1c030dadbad81
3 changes: 2 additions & 1 deletion svo/src/matcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ void warpAffine(
return;
}

// Perform the Warp on a larger patch
// Perform the warp on a larger patch.
uint8_t* ref_patch_ptr = ref_patch.patch_with_border;
const Vector2f px_ref_pyr = px_ref.cast<float>() / (1<<level_ref);
for (int y=0; y<patch_size; ++y)
Expand All @@ -118,6 +118,7 @@ void warpAffine(
}
}

// Remove border from large patch.
ref_patch_ptr = ref_patch.patch;
for(int y=1; y<g_patch_size+1; ++y, ref_patch_ptr += g_patch_size)
{
Expand Down