added support of old CC into GPU mean shift routines

This commit is contained in:
Alexey Spizhevoy
2011-07-08 13:59:23 +00:00
parent b50428bf65
commit e9837b0aa9
4 changed files with 7 additions and 11 deletions
-2
View File
@@ -227,8 +227,6 @@ inline int dist2(const cv::Vec2s& lhs, const cv::Vec2s& rhs)
void cv::gpu::meanShiftSegmentation(const GpuMat& src, Mat& dst, int sp, int sr, int minsize, TermCriteria criteria)
{
CV_Assert(TargetArchs::builtWith(FEATURE_SET_COMPUTE_12) && DeviceInfo().supports(FEATURE_SET_COMPUTE_12));
CV_Assert(src.type() == CV_8UC4);
const int nrows = src.rows;
const int ncols = src.cols;