mirror of
https://github.com/opencv/opencv.git
synced 2025-06-11 19:59:08 +08:00
Update blenders.cpp
Removed passing try_gpu parameter to FeatherBlender constructor because it only has sharpness parameter.
This commit is contained in:
parent
0052d46b8e
commit
385003e9fe
@ -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…
Reference in New Issue
Block a user