As the foundation for any image processing GUI you create, use imshow to display the target image (or images) in a MATLAB® figure window. (You can also use the MATLAB image or imagesc functions.) Once the image is displayed in the figure, you can associate any of the modular tools with the image displayed in the figure.
This example uses imshow to display an image in a figure window.
himage = imshow('pout.tif');
Because some of the modular tools add themselves to the figure window containing the image, make sure that the Image Processing Toolbox™ ImshowBorder preference is set to 'loose', if you are using the imshow function. (This is the default setting.) By including a border, you ensure that the modular tools are not displayed over the image in the figure.