5#ifndef OPENCV_CORE_DETAIL_DISPATCH_HELPER_IMPL_HPP
6#define OPENCV_CORE_DETAIL_DISPATCH_HELPER_IMPL_HPP
13template<
template<
typename>
class Functor,
typename... Args>
14static inline void depthDispatch(
const int depth, Args&&... args)
19 Functor<uint8_t>{}(std::forward<Args>(args)...);
22 Functor<int8_t>{}(std::forward<Args>(args)...);
25 Functor<uint16_t>{}(std::forward<Args>(args)...);
28 Functor<int16_t>{}(std::forward<Args>(args)...);
31 Functor<int32_t>{}(std::forward<Args>(args)...);
34 Functor<float>{}(std::forward<Args>(args)...);
37 Functor<double>{}(std::forward<Args>(args)...);
int depth
Definition core_c.h:100
#define CV_8S
Definition interface.h:74
#define CV_16F
Definition interface.h:80
#define CV_64F
Definition interface.h:79
#define CV_8U
Definition interface.h:73
#define CV_32S
Definition interface.h:77
#define CV_32F
Definition interface.h:78
#define CV_16S
Definition interface.h:76
#define CV_16U
Definition interface.h:75
#define CV_Error(code, msg)
Call the error handler.
Definition base.hpp:320
@ BadDepth
input image depth is not supported by the function
Definition base.hpp:86
"black box" representation of the file storage associated with a file on disk.
Definition calib3d.hpp:441