There is a simple control panel to let user to control the output.

Figure 5. The control panel
When user presses the "load Source Image" button, the program will display a file chooser window to let user to select a image data file so that the image can be displayed in the source window.
After user successfully loaded the source image, s/he can press the "Run Segmentation" button. Then the three output images will be displayed in the corresponding windows.
Here is the executable file of my application. In order to run my application, first, you need to download the image data.
This application is written by three toolkits --- FLTK(Fast Light Toolkit), VTK(Visualization Toolkit), and ITK(Insight Toolkit).Using FLTK to design the graphical user interface, using VTK to implement the 3-D image visualization, and using the ITK to accomplish the actual segmentation algorithm. The finial package will integrate these three toolkits to into a whole package.
The nice thing to use VTK to display the image is that the image can be displayed by 3-D image plane. And it can be moved and rotated flexibly. This example picture is in the following.

Figure 6. A rotated display of image