This post has NOT been accepted by the mailing list yet.
I'm a fairly new user of Slicer and have analyzed CT images of coronary arteries in Slicer and detected (labeled) calcium plaques in them. I have saved all my images and labels in a .nrrd format. Now, I would like to load those images in python so that I can access the image information (i.e. pixel information, dimensions, individual labels etc). I have used SimpleITK to read the image, however I'm pretty much stuck on what to do next. I would appreciate any guidance.
Thank you very much Fernando. I checked out SimpleITK and now am able to get image arrays. Now the next problem I have is how to access the labels I have created in my .nrrd files and how would I save each label as a separate .nrrd file.
I am going to check NIfTI format as well and see what I can do.