Differentiable Uncalibrated Imaging