Error estimation in quantitative medical image analysis : PhD thesis