Computer-assisted design and analysis of pedicle screw placement based on medical images of the spine : PhD thesis