xf::cv::Mat is a template class that serves as a container for storing image data and its attributes. Note The xf::cv::Mat image container class is similar to the cv::Mat class of the OpenCV library.