There is a template member function named at in class cv::Mat of OpenCV:
//definition of at
template<typename _Tp> inline const _Tp& Mat::at(int i0, int i1) const{
// ...
}
//my codes
cv::Mat eyePts_left;
// ...
if(std::max(eyePts_left.at<float>(0,0),eyePts_left.at<float>(16,0)) > eyePts_left.at<float>(61,0)){
//do something
}
I want to print the value of the expression:
eyePts_left.at<float>(0,0)
in an lldb debugging session, but it complains:
(lldb) p eyePts_left.at<float>(0, 0)
error: warning: warning: got name from symbols: at
error: <user expression 21>:1:13: no member named 'at' in 'cv::Mat'
eyePts_left.at<float>(0, 0)
~~~~~~~~~~~ ^
error: <user expression 21>:1:21: expected '(' for function-style cast or type construction
eyePts_left.at<float>(0, 0)
~~~~~^
So, what is the proper way to check the value of this template-related expression?