Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unwanted interface via imshow()

Hi. I just installed opencv on ubuntu and when i created window with imshow() there are buttons and statistik. I was first surprised becuse in tutorials i have not seen these. Is there way to get rid of them? Other function which show just the image i want to? Or should i get used to them?

Unwanted interface via imshow()

Hi. I just installed opencv on ubuntu and when i created window with imshow() there are buttons and statistik. I was first surprised becuse in tutorials i have not seen these. Is there way to get rid of them? Other function which show just the image i want to? Or should i get used to them?

Edit: adding code and picture

code is simple:

#include<opencv2/opencv.hpp>

using namespace cv;

int main(){
    Mat img = imread("/home/test.jpeg",CV_LOAD_IMAGE_GRAYSCALE);
    imshow("test",img);
    waitKey(0);
    return 0;
}

window with picture looks like this:

image description