Ask Your Question
1

imshow without namedWindow showing image

asked 2013-04-08 05:06:17 -0600

shani gravatar 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?

edit retag flag offensive close merge delete

Comments

So simply said, don't use imshow if you do not want to visualize something :)

StevenPuttemans gravatar imageStevenPuttemans ( 2013-04-08 05:38:46 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-04-08 05:23:24 -0600

Vladislav Vinogradov gravatar image

It's not a bug. imshow calls namedWindow if window doesn't exists.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-04-08 05:06:17 -0600

Seen: 1,780 times

Last updated: Apr 08 '13