1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

Update blenders.cpp

Removed passing try_gpu parameter to FeatherBlender constructor because it only has sharpness parameter.
This commit is contained in:
Jaakko Rantala
2023-06-02 16:46:05 +03:00
committed by GitHub
parent 0052d46b8e
commit 385003e9fe
+1 -1
View File
@@ -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");