Merge pull request #23732 from vekkuli:vekkuli-patch-create-featherblender

Fix missuse of try_gpu in stitching/FeatherBlender
pull/23758/head
Alexander Smorkalov 2 years ago committed by GitHub
commit af03e000c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules/stitching/src/blenders.cpp

@ -70,7 +70,7 @@ Ptr<Blender> Blender::createDefault(int type, bool try_gpu)
if (type == NO)
return makePtr<Blender>();
if (type == FEATHER)
return makePtr<FeatherBlender>(try_gpu);
return makePtr<FeatherBlender>();
if (type == MULTI_BAND)
return makePtr<MultiBandBlender>(try_gpu);
CV_Error(Error::StsBadArg, "unsupported blending method");

Loading…
Cancel
Save