|
|
|
@ -128,7 +128,7 @@ void cv::gpu::remap(const GpuMat& src, GpuMat& dst, const GpuMat& xmap, const Gp |
|
|
|
|
|
|
|
|
|
void cv::gpu::meanShiftFiltering(const GpuMat& src, GpuMat& dst, int sp, int sr, TermCriteria criteria) |
|
|
|
|
{ |
|
|
|
|
CV_Assert(TargetArchs::builtWith(COMPUTE_12) && DeviceInfo().supports(COMPUTE_12)); |
|
|
|
|
CV_Assert(TargetArchs::builtWith(FEATURE_SET_COMPUTE_12) && DeviceInfo().supports(FEATURE_SET_COMPUTE_12)); |
|
|
|
|
|
|
|
|
|
if( src.empty() ) |
|
|
|
|
CV_Error( CV_StsBadArg, "The input image is empty" ); |
|
|
|
@ -156,7 +156,7 @@ void cv::gpu::meanShiftFiltering(const GpuMat& src, GpuMat& dst, int sp, int sr, |
|
|
|
|
|
|
|
|
|
void cv::gpu::meanShiftProc(const GpuMat& src, GpuMat& dstr, GpuMat& dstsp, int sp, int sr, TermCriteria criteria) |
|
|
|
|
{ |
|
|
|
|
CV_Assert(TargetArchs::builtWith(COMPUTE_12) && DeviceInfo().supports(COMPUTE_12)); |
|
|
|
|
CV_Assert(TargetArchs::builtWith(FEATURE_SET_COMPUTE_12) && DeviceInfo().supports(FEATURE_SET_COMPUTE_12)); |
|
|
|
|
|
|
|
|
|
if( src.empty() ) |
|
|
|
|
CV_Error( CV_StsBadArg, "The input image is empty" ); |
|
|
|
|