Strategies for image data preprocessing in ML