Made changes in the stitching log macros: now the function stitchingLogLevel() may be used to make the stitching classes more/less verbose.

This commit is contained in:
Leonid Beynenson
2012-01-24 11:56:32 +00:00
parent 6f99447fbf
commit 2395654cbf
4 changed files with 38 additions and 10 deletions

View File

@@ -165,5 +165,11 @@ void selectRandomSubset(int count, int size, vector<int> &subset)
}
}
int& stitchingLogLevel()
{
static int _log_level=1;
return _log_level;
}
} // namespace detail
} // namespace cv