Dose calculation based on CT