代码如下:
QString str="E:\图像算法\缺陷检测";
QByteArray ba = str.toLocal8Bit();// must
char* ch = ba.data();
HTuple ImageName(ch);
ReadImage(&ho_Images, ImageName);
代码如下:
QString str="E:\图像算法\缺陷检测";
QByteArray ba = str.toLocal8Bit();// must
char* ch = ba.data();
HTuple ImageName(ch);
ReadImage(&ho_Images, ImageName);