Ask Your Question

shani's profile - activity

2020-09-22 07:31:37 -0600 received badge  Popular Question (source)
2020-09-22 07:31:24 -0600 received badge  Student (source)
2013-04-14 03:19:26 -0600 commented answer resizeWindow do nothing

I can see a differnce between between with CV_WINDOW_FREERATIO and without but the 2 windows still in the same size.

2013-04-09 06:49:18 -0600 asked a question 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.
2013-04-08 05:19:08 -0600 received badge  Editor (source)
2013-04-08 05:06:17 -0600 asked a question imshow without namedWindow showing image

i thought imshow not supposed to show image if the window don't exist. but apparently it is. i don't understand if it is a bug of i did not understand correctly.

i am tring to not open a new window if the user close it. i thought i open the window at init and at other part i just use imshow and that way if the user close the window it won't appear again. but because imshow show the image this is not working. how can i achieve this goal?

2013-04-08 04:59:05 -0600 asked a question display properties window automatically

in OpenCV with support of QT i have in each window button that open the Properties Window. I want to open automatically the properties window,meaning the user don't need to press the button. how can I do this? can I configure it by code?