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?