Genetic-algorithm-based interactive segmentation of 3D medical images