Ask Your Question
0

i have problem with imshow 2.4.8 64bit

asked 2014-03-31 23:59:10 -0600

ayesh gravatar image
void openImage(Mat img) {
if (!img.data){
    cout << "there are no readable data" << endl;
}
else {
    namedWindow("Example1", CV_WINDOW_NORMAL);
    imshow("Example1", img);
    cv::waitKey(0);
}

} plz someone help because my code was running and now the imshow just break and cant don nthing plz help me

edit retag flag offensive close merge delete

Comments

please add the exact error msg you get

berak gravatar imageberak ( 2014-04-01 02:50:28 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-04-02 05:14:00 -0600

Jeb11 gravatar image

updated 2014-04-02 05:14:35 -0600

try :

void openImage(Mat& img)
edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-03-31 23:59:10 -0600

Seen: 250 times

Last updated: Apr 02 '14