fixed features2d (ORB) compile errors on Windows

This commit is contained in:
Vadim Pisarevsky
2011-05-23 07:58:35 +00:00
parent 71ebe377fc
commit 145a76faf4
5 changed files with 33 additions and 44 deletions

View File

@@ -444,8 +444,7 @@ void ORB::CommonParams::read(const FileNode& fn)
scale_factor_ = fn["scaleFactor"];
n_levels_ = int(fn["nLevels"]);
first_level_ = int(fn["firsLevel"]);
int patch_size = fn["patchSize"];
patch_size_ = PatchSize(patch_size);
patch_size_ = fn["patchSize"];
}
void ORB::CommonParams::write(FileStorage& fs) const