conversion between cv::mat and arma::mat is working