Segmentation of pelvic structures for planning CT using a geometrical shape model tuned by a multi-scale edge detector.