Hi everyone,

I created an image processing GUI in Qt with openCV, where I opened an image from specific path and processed it. Now I am planning to implement like getting an image from serial port and send that image for further processing. I don't have any idea in doing this,. Any help will be appreciated!

void finalv1:penimage()
{
QString filename=QFileDialog::getOpenFileName(this,tr("Loa d Image"),".",tr("Image Files(*.png *.jpg *.jpeg *.bmp)"));
imageop = cvLoadImage(filename.toAscii().data());
cvNamedWindow("image",1);
cvShowImage("image",imageop);
}

void finalv1:n_pushButton_open_clicked()
{
openimage();
}

I provided my code for opening an image and the image is an 'IplImage*'.

Thanx!