mirror of
https://github.com/opencv/opencv.git
synced 2026-10-01 04:03:49 +03:00
fixed warnings
added comments in gpu.hpp
This commit is contained in:
1 parent
3746c48451
commit
97d17d8ad1
7 files changed
+26
-21
No files matched your search
@@ -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