Intelligent image-driven motion modelling for adaptive radiotherapy