How to use Mat.at<Internal type>(i,j)?
How can I use element in Mat by at function without specifying its type.
sample:
Mat.at(i,j) == if (Mat.type == CV_8U) --> Mat.at<unsigned char>(i,j)
Mat.at(i,j) == if (Mat.type == CV_32F) --> Mat.at<float>(i,j)