Code to down sample series of dicom and tif image using Pydicom and Rasterio library
- Pydicom (to read/write dicom files)
- Rasterio (to read/write tif files)
- Tkinter (for GUI)
- Run the above-provided Python code in any IDE and select the input directory (where your images are) in the first window, the output directory to store the files in the second tab, and the rescale factor in the third window (in what size you want to rescale it).
That's all!