[Repository Listing] / [Slicer4]
 

Revision 26371


Jump to revision: Previous Next
Author: pinter
Date: Wed Sep 13 14:13:25 2017 UTC (10 days, 23 hours ago)
Log Message:
ENH: Map labelmap items to segment terminology when importing

When importing a labelmap to a segmentation, the labels in the labelmap are matched to the 3dSlicerLabel attributes in the selected terminology. Terminology can be selected in the Advanced section in Import/Export section of Segmentations module. If match is made, then the found terminology is assigned to the segment, otherwise the first entry in the terminology is set. If the segment name cannot be found in the labelmap (segment name is searched in the color table to find corresponding label), then the terminology entry is left as is (which may be the default Tissue/Tissue, or what the user manually specified). This occurs if the user imports to a non-empty segmentation.

Changed paths:

Path Action
trunk/Modules/Loadable/Segmentations/CMakeLists.txt trunk/Modules/Loadable/Segmentations/CMakeLists.txt modified Revision Log Diff to previous
trunk/Modules/Loadable/Segmentations/Logic/CMakeLists.txt trunk/Modules/Loadable/Segmentations/Logic/CMakeLists.txt modified Revision Log Diff to previous
trunk/Modules/Loadable/Segmentations/Logic/vtkSlicerSegmentationsModuleLogic.cxx trunk/Modules/Loadable/Segmentations/Logic/vtkSlicerSegmentationsModuleLogic.cxx modified Revision Log Diff to previous
trunk/Modules/Loadable/Segmentations/Logic/vtkSlicerSegmentationsModuleLogic.h trunk/Modules/Loadable/Segmentations/Logic/vtkSlicerSegmentationsModuleLogic.h modified Revision Log Diff to previous
trunk/Modules/Loadable/Segmentations/Resources/UI/qSlicerSegmentationsModule.ui trunk/Modules/Loadable/Segmentations/Resources/UI/qSlicerSegmentationsModule.ui modified Revision Log Diff to previous
trunk/Modules/Loadable/Segmentations/Widgets/qMRMLSegmentsTableView.cxx trunk/Modules/Loadable/Segmentations/Widgets/qMRMLSegmentsTableView.cxx modified Revision Log Diff to previous
trunk/Modules/Loadable/Segmentations/qSlicerSegmentationsModule.cxx trunk/Modules/Loadable/Segmentations/qSlicerSegmentationsModule.cxx modified Revision Log Diff to previous
trunk/Modules/Loadable/Segmentations/qSlicerSegmentationsModule.h trunk/Modules/Loadable/Segmentations/qSlicerSegmentationsModule.h modified Revision Log Diff to previous
trunk/Modules/Loadable/Segmentations/qSlicerSegmentationsModuleWidget.cxx trunk/Modules/Loadable/Segmentations/qSlicerSegmentationsModuleWidget.cxx modified Revision Log Diff to previous
trunk/Modules/Loadable/Segmentations/qSlicerSegmentationsModuleWidget.h trunk/Modules/Loadable/Segmentations/qSlicerSegmentationsModuleWidget.h modified Revision Log Diff to previous
trunk/Modules/Loadable/Terminologies/Logic/vtkSlicerTerminologiesModuleLogic.cxx trunk/Modules/Loadable/Terminologies/Logic/vtkSlicerTerminologiesModuleLogic.cxx modified Revision Log Diff to previous
trunk/Modules/Loadable/Terminologies/Logic/vtkSlicerTerminologiesModuleLogic.h trunk/Modules/Loadable/Terminologies/Logic/vtkSlicerTerminologiesModuleLogic.h modified Revision Log Diff to previous
trunk/Modules/Loadable/Terminologies/Logic/vtkSlicerTerminologyType.h trunk/Modules/Loadable/Terminologies/Logic/vtkSlicerTerminologyType.h modified Revision Log Diff to previous
trunk/Modules/Loadable/Terminologies/Widgets/qSlicerTerminologyItemDelegate.cxx trunk/Modules/Loadable/Terminologies/Widgets/qSlicerTerminologyItemDelegate.cxx modified Revision Log Diff to previous
trunk/Modules/Loadable/Terminologies/Widgets/qSlicerTerminologyNavigatorWidget.cxx trunk/Modules/Loadable/Terminologies/Widgets/qSlicerTerminologyNavigatorWidget.cxx modified Revision Log Diff to previous
trunk/Modules/Loadable/Terminologies/Widgets/qSlicerTerminologyNavigatorWidget.h trunk/Modules/Loadable/Terminologies/Widgets/qSlicerTerminologyNavigatorWidget.h modified Revision Log Diff to previous

  Subversion  TortoiseSVN  ViewVC