We present a general method for matching segmented parts of objects by energy minimization. The energy is designed in order to cope with possible imperfections of the compared segmentations (merged, or missing regions), and relies on the comparison of shape and positional descriptors. The minimization of the energy is performed by a simulated annealing procedure