Segmentation refinement using the template shape tool. First, contours are drawn on the cutting
plane showing context data, leading to a rough sketch of the erroneous region in form of polygonal
lines. Usually a small number of contours is sufficient. In the next stage, the contours are
interpolated using a spline surface to form the template shape. In this stage, contours can still be
edited, thereby updating the template. Finally, the model automatically deforms towards the template
shape.