Update blenders.cpp

Removed passing try_gpu parameter to FeatherBlender constructor because it only has sharpness parameter.
pull/23732/head
Jaakko Rantala 1 year ago committed by GitHub
parent 0052d46b8e
commit 385003e9fe
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