Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

resizeWindow do nothing

I tried some variations but it seem that resizeWindow don't do anything. I give simple code example,the result is that the 2 windows are in the same size , eventough it supposed to be in different sizes.

Mat m = imread("somePath",CV_LOAD_IMAGE_COLOR); 
namedWindow("aa",CV_WINDOW_NORMAL);
namedWindow("bb",CV_WINDOW_NORMAL);
imshow("aa",m);
imshow("bb",m);
resizeWindow("aa",100,100);
resizeWindow("bb",50,50);
waitKey(0);

I work with eclipse-cdt on ubunto 12.04 with opencv 2.4.3.

  • I tried to debug it,getting into the the function but I don't succeed to add highGui modoul as external source, i get compile error of some h file missing.