1 | initial version |
namedWindow( "Display image", WINDOW_AUTOSIZE );
imshow( "Display image", image );
If I use both commands instead of imgshow only you can use
destroyWindows("Display image")
with success... so there are no issue about destroyWindows.
gfx