I can extract a slice from a stack of dicoms as such:
image = session.load(img_to_load)
image = image.pixels().slice(z=0, t=10).format('tiff').fetch(img_to_write)
Where can I read documentation about what formats I can export out? What kind of image compression and other options are available? Can I export out raw pixel values as a numpy array?
Thanks
Matt
Where can I read documentation about what formats I can export out?
What kind of image compression and other options are available? Can I export out raw pixel values as a numpy array?
This works fine to extract a particular no-zero indexed slice:
image = image.pixels().slice(z=0, t=10).format('tiff').fetch(img_to_write)
Any ideas on how to extract the 0th image?
So, if I were to require BisQue to export slice of a dicom, which should be a raw greyscale image, what would be the appropriate imgcnv options?As in,