both 350 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp template <typename src_type, typename work_type> struct MinMaxReductor<both, src_type, work_type> both 460 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp reduce<MinMaxReductor<both, src_type, ResType>, Policy>(src, result, mask, rows, cols, stream);