View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004399 | Slicer4 | Core: Segmentation | public | 2017-07-25 14:23 | 2018-03-31 00:37 |
Reporter | pinter | Assigned To | pinter | ||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | assigned | Resolution | open | ||
Product Version | Slicer 4.7.0 | ||||
Target Version | Slicer 4.11.0 | Fixed in Version | |||
Summary | 0004399: Save segmentations into vtm also when master is labelmap | ||||
Description | Currently vtm (multiblock dataset format) is written for poly data master representations, but a 4D NRRD is written for labelmaps. The problem with 4D nrrd is that it may have huge memory usage especially in case of many segments, because the union of the extents are used.
Implementation: vtkXMLMultiBlockDataWriter::WriteComposite writes the individual blocks into files, but for images it probably uses vti. It will need to be subclassed to use the NRRD writer. It can be done by also subclassing vtkXMLCompositeDataWriter and reimplement CreateWriters so that it creates NRRD writer instead of vtkXMLImageDataWriter | ||||
Additional Information | Moved here from SlicerRT because Segmentations is now in Slicer core | ||||
Tags | No tags attached. | ||||