An image-based deep learning framework for individualising radiotherapy dose: a retrospective analysis of outcome prediction