Destroy graphic window created using imdisplay (highgui).
imdestroy(windowname)
Name of the opened window.
This is a special function to destroy the graphic window created using imdisplay.
im = imread(fullpath(getIPCVpath() + "/images/baboon.png")); imdisplay(im,'MyImage'); imdestroy('MyImage'); | ![]() | ![]() |