hfig = imgcf returns the handle of the current figure that contains an image. The figure may be a regular figure window that contains at least one image or an Image Tool window.If none of the figures currently open contains an image, imgcf creates a new figure.
hfig = imgcf
imtool rice.png cmap = copper(256); set(imgcf,'Colormap',cmap)