Conditioning of Deep-Learning Surrogate Models to Image Data with Application to Reservoir Characterization