mirror of
https://github.com/opencv/opencv.git
synced 2025-07-25 22:57:53 +08:00
Fix error message on invalid seam finder parameter
This commit is contained in:
parent
6c6dd16acf
commit
bee510dbce
@ -55,7 +55,7 @@ Ptr<SeamFinder> SeamFinder::createDefault(int type)
|
|||||||
return makePtr<VoronoiSeamFinder>();
|
return makePtr<VoronoiSeamFinder>();
|
||||||
if (type == DP_SEAM)
|
if (type == DP_SEAM)
|
||||||
return makePtr<DpSeamFinder>();
|
return makePtr<DpSeamFinder>();
|
||||||
CV_Error(Error::StsBadArg, "unsupported exposure compensation method");
|
CV_Error(Error::StsBadArg, "unsupported seam finder method");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user