mirror of
https://github.com/opencv/opencv.git
synced 2026-07-28 14:53:03 +04:00
fixed warnings
added comments in gpu.hpp
This commit is contained in:
@@ -94,7 +94,7 @@ void cv::gpu::meanShiftFiltering_GPU(const GpuMat& src, GpuMat& dst, int sp, int
|
||||
if( !(criteria.type & TermCriteria::EPS) )
|
||||
eps = 1.f;
|
||||
|
||||
eps = std::max(criteria.epsilon, 0.0);
|
||||
eps = (float)std::max(criteria.epsilon, 0.0);
|
||||
impl::meanShiftFiltering_gpu(src, dst, sp, sr, maxIter, eps);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user