Relative Content

Tag Archive for pythonnumpyimage-processingimage-resizing

Issue with Incorrect Image Pairing While Saving Processed Image Dataset

I’m working on a project where I need to process pairs of images, resize them, and then save the processed pairs into a dataset. I have two lists of image files, fixed_image_files and moving_image_files, where each image in fixed_image_files is supposed to pair with the corresponding image in moving_image_files. The issue I’m encountering is that when saving the dataset, all the pairs end up being the resized version of the first pair instead of the correct pairs.