Script Segmentation for Multiple Image Sets in a Single Scan Load next set of images in the same study/scan load

I have a set of scans which has two different image sets once I load a Zip.

By default, I am able to perform scripted segmentation on the first image set but unable to go to the next set of images in the same study/ scan load.

image

Hello Kamala,

You can use a for loop to perform the operations on several images in the same project. Something like this:

  images = mimics.data.images      

  for image in images:

        image.active = True                
        mimics.data.images.set_active(image=image)

        perform_operations()

I hope it helps!