I have a folder with 460 images. I would like to load only 3 of them at the same time. Not one and not 460 using the python interactor.
Now to load all of them I am using this code:
image_path_slicer = os.path.join(project_path, "data/06_WK1_01_crop_0000.tif")
[success, volume] = slicer.util.loadVolume(filename = image_path_slicer, returnNode=True)
So, is there anyway I could choose “06_WK1_01_crop_0000.tif”, “06_WK1_01_crop_0001.tif”, “06_WK1_01_crop_0002.tif” and load only these without creating a new folder with just these files?
Thank you very much in advance!