diff --git a/src/CCLAboveFilter.cpp b/src/CCLAboveFilter.cpp index 346243c..99b6b2e 100644 --- a/src/CCLAboveFilter.cpp +++ b/src/CCLAboveFilter.cpp @@ -75,7 +75,7 @@ void VS_CC excludeCCLAboveCreate(const VSMap* in, VSMap* out, void* userData, VS d->ccl_type = cv::CCL_DEFAULT; else { if (ccl_type < -1 || ccl_type > 5) { - vsapi->mapSetError(out, "ExcludeCCLAbove: ccl_type must be between -1 and 6."); + vsapi->mapSetError(out, "ExcludeCCLAbove: ccl_type must be between -1 and 5."); vsapi->freeNode(d->node); return; } diff --git a/src/CCLGetStats.cpp b/src/CCLGetStats.cpp index 5acad75..af34540 100644 --- a/src/CCLGetStats.cpp +++ b/src/CCLGetStats.cpp @@ -85,7 +85,7 @@ void VS_CC getCCLStatsCreate(const VSMap* in, VSMap* out, void* userData, VSCore d->ccl_type = cv::CCL_DEFAULT; else { if (ccl_type < -1 || ccl_type > 5) { - vsapi->mapSetError(out, "GetCCLStats: ccl_type must be between -1 and 6."); + vsapi->mapSetError(out, "GetCCLStats: ccl_type must be between -1 and 5."); vsapi->freeNode(d->node); return; } diff --git a/src/CCLUnderFilter.cpp b/src/CCLUnderFilter.cpp index 7cddc31..59a8eab 100644 --- a/src/CCLUnderFilter.cpp +++ b/src/CCLUnderFilter.cpp @@ -75,7 +75,7 @@ void VS_CC excludeCCLUnderCreate(const VSMap* in, VSMap* out, void* userData, VS d->ccl_type = cv::CCL_DEFAULT; else { if (ccl_type < -1 || ccl_type > 5) { - vsapi->mapSetError(out, "ExcludeCCLUnder: ccl_type must be between -1 and 6."); + vsapi->mapSetError(out, "ExcludeCCLUnder: ccl_type must be between -1 and 5."); vsapi->freeNode(d->node); return; }