Making images uniform in size and number of channels


I have been posting on this forum and found it very useful.

I have another issue that I need to work on. My image dataset are chest x-ray in bioformat. I am performing segmentation of different features in Ilastik, which throws error if images are not the same size. What is the best way to make images uniform in batch processing?

Thanks in advance…

Hi @maria1,

there shouldn’t be errors if the shapes don’t differ vastly. Can you give an example of training to batch dimensions that produce the error?