10x10 ウィンドウ CV_IMAGE_ELEM の結果を、引数が QString である LineEdit に表示したいと考えています。
次のことを考慮しましょうか。
for (int y=0;y<10;y++)
{
for (int x=0;x<10;x++) //width
{
QString qstr= CV_IMAGE_ELEM(img_crop_mat, uchar, y, x*3+ 2);
QString ctot= qstr + ctot;
lineEdit_mat->setText(ctot + " ");
}
lineEdit_mat->setText("\n");
}
ありがとうございました。