Surface Reconstruction from 3D Medical Images Based on Tri-Tree Contouring