For image preprocessing, use the ImageProcessor associated with the model.