mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
feat(stitching): Add Sift support for the FeaturesFinder
This commit is contained in:
@@ -82,7 +82,7 @@ static void printUsage()
|
||||
"\nMotion Estimation Flags:\n"
|
||||
" --work_megapix <float>\n"
|
||||
" Resolution for image registration step. The default is 0.6 Mpx.\n"
|
||||
" --features (surf|orb)\n"
|
||||
" --features (surf|orb|sift)\n"
|
||||
" Type of features used for images matching. The default is surf.\n"
|
||||
" --matcher (homography|affine)\n"
|
||||
" Matcher used for pairwise image matching.\n"
|
||||
@@ -430,6 +430,9 @@ int main(int argc, char* argv[])
|
||||
{
|
||||
finder = makePtr<OrbFeaturesFinder>();
|
||||
}
|
||||
else if (features_type == "sift") {
|
||||
finder = makePtr<SiftFeaturesFinder>();
|
||||
}
|
||||
else
|
||||
{
|
||||
cout << "Unknown 2D features type: '" << features_type << "'.\n";
|
||||
|
||||
Reference in New Issue
Block a user