Now there are better visualization tool packages for 3D reconstruction of medical images, such as VTK. This algorithm is based on C + + language and uses MFC framework. At present, there are many methods for 3D reconstruction of medical images, such as surface rendering and volume rendering. This algorithm makes the moving cube algorithm based on surface rendering, namely MC algorithm.