The invention relates to a method (100) of and to a system (200) for
determining a template mesh of a shape model on the basis of a plurality
of instances of the shape model. The method of determining the template
mesh of the shape model comprises an obtaining step (110) for obtaining
the plurality of instances of the template mesh, a computing step (120)
for computing a plurality of results on the basis of the plurality of
instances of the shape model, a deciding step (130) for deriving a
decision on the basis of the plurality of results, and a decimating step
(140) for decimating the template mesh of the shape model on the basis of
the decision, thereby determining the template mesh of the shape model.
Thus, the template mesh of the shape model determined by the method of
the invention better describes objects of interest at all locations.