OodmetryF2M: Added getter to last frame

This commit is contained in:
matlabbe
2016-02-23 11:46:07 -05:00
parent 9e446aab7a
commit 061211b1b6
3 changed files with 27 additions and 26 deletions
+1 -1
View File
@@ -540,7 +540,7 @@ Transform RegistrationVis::computeTransformationImpl(
{
// If guess is set, limit the search of matches using optical flow window size
bool guessSet = !guess.isIdentity() && !guess.isNull();
if(guessSet)
if(guessSet && _guessWinSize > 0)
{
UDEBUG("");
UASSERT((int)kptsTo.size() == descriptorsTo.rows);