memcpy(lbp.data,Vtrn.data(),Vtrn.size()*sizeof(float)); resize(lbp, lbp, cvSize(50, 50)); //in order to make all image same size imwrite(In.vectorofotrainpath[i].c_str(),lbp);// true with mat image or not
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)