Text this: Image-based dual energy CT using optimized precorrection functions