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 will 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?