Image preprocessing guarantees that the images match the model’s expected input format.