Reputation: 31
What is the type of the elements of a cv::Mat
, whose type is CV_16F
?
I need to know because I need to iterate through the elements, but I don't know which iterator I should use.
For example, if the type is CV_32F
, I use mat.begin<float>()
.
For CV_64F
: mat.begin<double>()
.
What about CV_16F
?
Upvotes: 3
Views: 2075