![]() |
Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Public Member Functions | |
__init__ (self, scriptedEffect) | |
clone (self) | |
currentOperationRequiresSegmentSelection (self) | |
helpText (self) | |
icon (self) | |
onApply (self) | |
onOperationSelectionChanged (self, operationName, toggle) | |
processInteractionEvents (self, callerInteractor, eventId, viewWidget) | |
processViewNodeEvents (self, callerViewNode, eventId, viewWidget) | |
setMRMLDefaults (self) | |
setupOptionsFrame (self) | |
splitSegments (self, minimumSize=0, maxNumberOfSegments=0, split=True) | |
updateGUIFromMRML (self) | |
updateMRMLFromGUI (self) | |
![]() | |
__init__ (self, scriptedEffect) | |
cleanup (self) | |
rasToXy (self, ras, viewWidget) | |
register (self) | |
setWidgetMinMaxStepFromImageSpacing (self, spinbox, imageData) | |
xyToIjk (self, xy, viewWidget, image, parentTransformNode=None) | |
xyToRas (self, xy, viewWidget) | |
xyzToIjk (self, xyz, viewWidget, image, parentTransformNode=None) | |
xyzToRas (self, xyz, viewWidget) | |
Public Attributes | |
addSelectedOptionRadioButton = qt.QRadioButton(_("Add selected island")) | |
applyButton = qt.QPushButton(_("Apply")) | |
keepLargestOptionRadioButton = qt.QRadioButton(_("Keep largest island")) | |
keepSelectedOptionRadioButton = qt.QRadioButton(_("Keep selected island")) | |
minimumSizeLabel = self.scriptedEffect.addLabeledOptionsWidget(_("Minimum size:"), self.minimumSizeSpinBox) | |
minimumSizeSpinBox = qt.QSpinBox() | |
onApply | |
list | operationRadioButtons = [] |
removeSelectedOptionRadioButton = qt.QRadioButton(_("Remove selected island")) | |
removeSmallOptionRadioButton = qt.QRadioButton(_("Remove small islands")) | |
splitAllOptionRadioButton = qt.QRadioButton(_("Split islands to segments")) | |
updateMRMLFromGUI | |
dict | widgetToOperationNameMap = {} |
![]() | |
scriptedEffect = scriptedEffect | |
Operate on connected components (islands) within a segment
Definition at line 14 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.__init__ | ( | self, | |
scriptedEffect ) |
Definition at line 17 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.clone | ( | self | ) |
Definition at line 23 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.currentOperationRequiresSegmentSelection | ( | self | ) |
Definition at line 117 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.helpText | ( | self | ) |
Definition at line 36 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.icon | ( | self | ) |
Definition at line 30 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.onApply | ( | self | ) |
Definition at line 121 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.onOperationSelectionChanged | ( | self, | |
operationName, | |||
toggle ) |
Definition at line 112 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.processInteractionEvents | ( | self, | |
callerInteractor, | |||
eventId, | |||
viewWidget ) |
Definition at line 252 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.processViewNodeEvents | ( | self, | |
callerViewNode, | |||
eventId, | |||
viewWidget ) |
Definition at line 380 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.setMRMLDefaults | ( | self | ) |
Definition at line 383 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.setupOptionsFrame | ( | self | ) |
Definition at line 40 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.splitSegments | ( | self, | |
minimumSize = 0, | |||
maxNumberOfSegments = 0, | |||
split = True ) |
minimumSize: if 0 then it means that all islands are kept, regardless of size maxNumberOfSegments: if 0 then it means that all islands are kept, regardless of how many
Definition at line 134 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.updateGUIFromMRML | ( | self | ) |
Definition at line 387 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.updateMRMLFromGUI | ( | self | ) |
Definition at line 415 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.addSelectedOptionRadioButton = qt.QRadioButton(_("Add selected island")) |
Definition at line 67 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.applyButton = qt.QPushButton(_("Apply")) |
Definition at line 99 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.keepLargestOptionRadioButton = qt.QRadioButton(_("Keep largest island")) |
Definition at line 43 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.keepSelectedOptionRadioButton = qt.QRadioButton(_("Keep selected island")) |
Definition at line 49 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.minimumSizeLabel = self.scriptedEffect.addLabeledOptionsWidget(_("Minimum size:"), self.minimumSizeSpinBox) |
Definition at line 97 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.minimumSizeSpinBox = qt.QSpinBox() |
Definition at line 91 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.onApply |
Definition at line 110 of file SegmentEditorIslandsEffect.py.
list SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.operationRadioButtons = [] |
Definition at line 41 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.removeSelectedOptionRadioButton = qt.QRadioButton(_("Remove selected island")) |
Definition at line 61 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.removeSmallOptionRadioButton = qt.QRadioButton(_("Remove small islands")) |
Definition at line 55 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.splitAllOptionRadioButton = qt.QRadioButton(_("Split islands to segments")) |
Definition at line 73 of file SegmentEditorIslandsEffect.py.
SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.updateMRMLFromGUI |
Definition at line 108 of file SegmentEditorIslandsEffect.py.
dict SegmentEditorEffects.SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.widgetToOperationNameMap = {} |
Definition at line 21 of file SegmentEditorIslandsEffect.py.