7 #include <opencv2/core/core.hpp> 32 using Vec = std::vector<T>;
45 template<
typename DataType>
51 template<
typename DataType>
55 bool is_nan_type<float>(
float x);
58 bool is_nan_type<cv::Vec3f>(cv::Vec3f x);
63 template<
typename DataType>
67 cv::Scalar zero_scalar<float>();
70 cv::Scalar zero_scalar<cv::Vec3f>();
75 template<
typename DataType>
76 float norm(DataType x);
std::string type2str(int type)
Get an explicit form of an OpenCV type.
Definition: rslf_types.cpp:52
std::vector< T > Vec
RSLF Vector class (std::vector)
Definition: rslf_types.hpp:32
Definition: rslf_depth_computation.hpp:14
float norm(DataType x)
Implement the euclidean norm.
bool is_nan_type(DataType x)
Check whether the element is NaN.
DataType nan_type()
Implement NaN.
cv::Mat Mat
RSLF Matrix class (cv::Mat)
Definition: rslf_types.hpp:26
cv::Scalar zero_scalar()
Impelment zero.