fedorov / MultiVolumeImporter

A 3D Slicer module to support import of multi-volume data from non-DICOM sources, and provide plugin for importing such data from images saved in DICOM.
http://wiki.slicer.org/slicerWiki/index.php/Documentation/Nightly/Modules/MultiVolumeImporter
Other
9 stars 25 forks source link

PERF: Improve MultiVolumeImporterPlugin performance #46

Closed lassoan closed 3 years ago

lassoan commented 3 years ago

In isFrameOriginConsistent: check as soon as possible if frame origin is inconsistent and return when the first mismatch is found.

In initMultiVolumes: if a tag is missing from one instance then remove it immediately from the list of considered tags so that it is not even attempted to read for all the other images.

fedorov commented 3 years ago

Great improvements! 👍