minor changes in opencv_stitching

This commit is contained in:
Alexey Spizhevoy
2011-05-26 05:42:00 +00:00
parent c0ec0e05c5
commit 24e5ff7ab6
3 changed files with 5 additions and 31 deletions

View File

@@ -316,6 +316,7 @@ int main(int argc, char* argv[])
}
finder(img, features[i]);
features[i].img_idx = i;
LOGLN("Features in image #" << i << ": " << features[i].keypoints.size());
resize(full_img, img, Size(), seam_scale, seam_scale);
@@ -346,8 +347,8 @@ int main(int argc, char* argv[])
img_subset.push_back(images[indices[i]]);
}
img_names = img_names_subset;
images = img_subset;
img_names = img_names_subset;
// Check if we still have enough images
num_images = static_cast<int>(img_names.size());