Non-parametric Models of Distortion in Imaging Systems.