Segmentation of CT scan loaded from large .tiff/.nrrd

Hello,

first of sorry, I know that this topic has been answered before, but the solutions don’t work for me.

Version: 3D Slicer 4.8.1
Windows 10

I have a CT scan in individual .tiff images. If I try this method https://www.slicer.org/wiki/Documentation/4.8/FAQ#How_to_load_data_from_a_sequence_of_jpg.2C_tif.2C_or_png_files.3F either just one picture is loaded or none. Or everything is a single volume.

I have generated a .nrrd of my tiff-stack in hopes of using this, but the file won’t load.
This is the Error Massage for the .nrrd file.

Exception from vtkITK MegaMacro:
itk::MemoryAllocationError (00000005DC4F8F58)
Location: “unknown”
File: d:\d\p\slicer-481-package\itkv4\modules\core\common\include\itkImportImageContainer.hxx
Line: 199
Description: Failed to allocate memory for image.

Algorithm vtkITKArchetypeImageSeriesScalarReader(000001F7F8403B10) returned failure for request: vtkInformation (000001F782BB4F40)
Debug: Off
Modified Time: 896388
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA
FROM_OUTPUT_PORT: 0
FORWARD_DIRECTION: 0
ALGORITHM_AFTER_FORWARD: 1

ReadData: Cannot read file as a volume of type DiffusionTensorVolume[fullName = F:/filepath]
Number of files listed in the node = 0.
File reader says it was able to read 1 files.
File reader used the archetype file name of F:/filepath [reader 0th file name = F:/filepath]
FileFormatError

ReadData: MRMLVolumeNode does not match file kind

ReadData: Failed to instantiate a file reader

ReadData: Cannot read file as a volume of type Volume[fullName = F:/filepath]
Number of files listed in the node = 0.
File reader says it was able to read 1 files.
File reader used the archetype file name of F:/filepath[reader 0th file name = F:/filepath]
FileFormatError

If someone has an idea or can point out what I did wrong it would be greatly appreciated.

Thank you.

Isn’t loading all the tiff files as a single volume what you want?

You don’t have enough memory space to load this image. You may need to increase the amount of physical RAM or virtual memory or load a smaller version of the image.

How big is one frame? How many frames makes up the volume? How much physical and virtual memory do you have? (reported in first few lines of the application log in Help / Report a bug)

Ah sorry, I wasn’t clear enough in that description. So what I meant is, that i get image1.tiff, image2.tiff, etc. as a volume that I can choose from and not all images in a single volume

One frame is 16091 KB and I have approximatly 5000 in a volume. The Laptop I’m currently using has 8GB RAM and 689 GB virtual memory.

So if memory space and RAM is a problem I can work with a more powerful PC.

I tested my file on another Computer with 129 RAM. I could only open a single tiff-file, otherwise the programm would crash.

Does someone have another idea?

You could try to have just a few ten or few hundred files in the folder to see if loading succeeds then.

It isn’t. But even if it were I want to look at my whole scan, not just images. Thanks anyways.

Can you share 10-20 subsequent images of your data set? If not then please copy 10 subsequent images to a separate folder, drag-and-drop the first one to the application window, uncheck single file option in the add data dialog, and post here the application log (menu: Help / Report a bug).

I don’t know what happend but it’s working know with the tiff files. So thank you all for your help :).

1 Like