Slicer
5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Public Member Functions | |
def | __init__ (self, scriptedEffect) |
def | activate (self) |
def | autoThreshold (self, autoThresholdMethod, autoThresholdMode) |
def | clearHistogramDisplay (self) |
def | clearPreviewDisplay (self) |
def | clone (self) |
def | createHistogramPipeline (self, sliceWidget) |
def | deactivate (self) |
def | getMasterVolumeLayerLogic (self, sliceWidget) |
def | helpText (self) |
def | icon (self) |
def | layoutChanged (self) |
def | masterVolumeNodeChanged (self) |
def | onApply (self) |
def | onAutoThreshold (self) |
def | onHistogramMouseClick (self, pos, button) |
def | onHistogramMouseMove (self, pos, button) |
def | onHistogramMouseRelease (self, pos, button) |
def | onSelectedAutoThresholdMethod (self) |
def | onSelectNextAutoThresholdMethod (self) |
def | onSelectPreviousAutoThresholdMethod (self) |
def | onThresholdValuesChanged (self, min, max) |
def | onUseForPaint (self) |
def | preview (self) |
def | processInteractionEvents (self, callerInteractor, eventId, viewWidget) |
def | processViewNodeEvents (self, callerViewNode, eventId, viewWidget) |
def | restorePreviewedSegmentTransparency (self) |
def | setCurrentSegmentTransparent (self) |
def | setMRMLDefaults (self) |
def | setupOptionsFrame (self) |
def | setupPreviewDisplay (self) |
def | updateGUIFromMRML (self) |
def | updateHistogram (self) |
def | updateHistogramBackground (self) |
def | updateMRMLFromGUI (self) |
ThresholdEffect is an Effect implementing the global threshold operation in the segment editor This is also an example for scripted effects, and some methods have no function. The methods that are not needed (i.e. the default implementation in qSlicerSegmentEditorAbstractEffect is satisfactory) can simply be omitted.
Definition at line 12 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.__init__ | ( | self, | |
scriptedEffect | |||
) |
Definition at line 21 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.activate | ( | self | ) |
Definition at line 81 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.autoThreshold | ( | self, | |
autoThresholdMethod, | |||
autoThresholdMode | |||
) |
Definition at line 542 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.clearHistogramDisplay | ( | self | ) |
Definition at line 632 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.clearPreviewDisplay | ( | self | ) |
Definition at line 627 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.clone | ( | self | ) |
Definition at line 62 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.createHistogramPipeline | ( | self, | |
sliceWidget | |||
) |
Definition at line 740 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.deactivate | ( | self | ) |
Definition at line 91 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.getMasterVolumeLayerLogic | ( | self, | |
sliceWidget | |||
) |
Definition at line 777 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.helpText | ( | self | ) |
Definition at line 74 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.icon | ( | self | ) |
Definition at line 68 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.layoutChanged | ( | self | ) |
Definition at line 409 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.masterVolumeNodeChanged | ( | self | ) |
Definition at line 397 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onApply | ( | self | ) |
Definition at line 591 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onAutoThreshold | ( | self | ) |
Definition at line 537 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onHistogramMouseClick | ( | self, | |
pos, | |||
button | |||
) |
Definition at line 755 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onHistogramMouseMove | ( | self, | |
pos, | |||
button | |||
) |
Definition at line 765 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onHistogramMouseRelease | ( | self, | |
pos, | |||
button | |||
) |
Definition at line 771 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onSelectedAutoThresholdMethod | ( | self | ) |
Definition at line 532 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onSelectNextAutoThresholdMethod | ( | self | ) |
Definition at line 527 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onSelectPreviousAutoThresholdMethod | ( | self | ) |
Definition at line 522 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onThresholdValuesChanged | ( | self, | |
min, | |||
max | |||
) |
Definition at line 512 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onUseForPaint | ( | self | ) |
Definition at line 515 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.preview | ( | self | ) |
Definition at line 663 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.processInteractionEvents | ( | self, | |
callerInteractor, | |||
eventId, | |||
viewWidget | |||
) |
Definition at line 702 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.processViewNodeEvents | ( | self, | |
callerViewNode, | |||
eventId, | |||
viewWidget | |||
) |
Definition at line 751 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.restorePreviewedSegmentTransparency | ( | self | ) |
Restore previewed segment's opacity that was temporarily made transparen by calling setCurrentSegmentTransparent().
Definition at line 131 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.setCurrentSegmentTransparent | ( | self | ) |
Save current segment opacity and set it to zero to temporarily hide the segment so that threshold preview can be seen better. It also restores opacity of previously previewed segment. Call restorePreviewedSegmentTransparency() to restore original opacity.
Definition at line 99 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.setMRMLDefaults | ( | self | ) |
Definition at line 412 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.setupOptionsFrame | ( | self | ) |
Definition at line 147 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.setupPreviewDisplay | ( | self | ) |
Definition at line 638 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.updateGUIFromMRML | ( | self | ) |
Definition at line 421 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.updateHistogram | ( | self | ) |
Definition at line 803 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.updateHistogramBackground | ( | self | ) |
Definition at line 909 of file SegmentEditorThresholdEffect.py.
def SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.updateMRMLFromGUI | ( | self | ) |
Definition at line 455 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.applyButton |
Definition at line 383 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.autoThresholdCalculator |
Definition at line 31 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.autoThresholdMethodSelectorComboBox |
Definition at line 166 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.autoThresholdModeSelectorComboBox |
Definition at line 157 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.averageFunction |
Definition at line 285 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.averageFunctionContainer |
Definition at line 286 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.averageFunctionItem |
Definition at line 288 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.backgroundColor |
Definition at line 296 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.backgroundFunction |
Definition at line 297 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.backgroundFunctionContainer |
Definition at line 298 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.backgroundFunctionItem |
Definition at line 300 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.boxROIButton |
Definition at line 227 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.circleROIButton |
Definition at line 234 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.drawROIButton |
Definition at line 241 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramBrushButtonGroup |
Definition at line 224 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramEventFilter |
Definition at line 271 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramFunction |
Definition at line 262 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramFunctionContainer |
Definition at line 263 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramFunctionItem |
Definition at line 265 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramLowerMethodButtonGroup |
Lower histogram threshold buttons.
Definition at line 315 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramLowerThresholdAverageButton |
Definition at line 333 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramLowerThresholdLowerButton |
Definition at line 326 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramLowerThresholdMinimumButton |
Definition at line 318 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramPipeline |
Definition at line 40 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramUpperMethodButtonGroup |
Upper histogram threshold buttons.
Definition at line 348 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramUpperThresholdAverageButton |
Definition at line 351 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramUpperThresholdMaximumButton |
Definition at line 365 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramUpperThresholdUpperButton |
Definition at line 358 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramView |
Definition at line 257 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.imageAccumulate |
Definition at line 55 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.lineROIButton |
Definition at line 248 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.minMaxFunction |
Definition at line 275 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.minMaxFunctionContainer |
Definition at line 276 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.minMaxFunctionItem |
Definition at line 278 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.previewedSegmentID |
Definition at line 27 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.previewPipelines |
Definition at line 39 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.previewState |
Definition at line 34 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.previewStep |
Definition at line 35 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.previewSteps |
Definition at line 36 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.regionLabel |
Definition at line 221 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.reslice |
Definition at line 47 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.segment2DFillOpacity |
Definition at line 25 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.segment2DOutlineOpacity |
Definition at line 26 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.selectionEndPosition |
Definition at line 60 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.selectionStartPosition |
Definition at line 59 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.selectNextAutoThresholdButton |
Definition at line 190 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.selectPreviousAutoThresholdButton |
Definition at line 185 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.setAutoThresholdButton |
Definition at line 195 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.stencil |
Definition at line 44 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.thresholdSlider |
Definition at line 152 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.thresholdSliderLabel |
Definition at line 148 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.timer |
Definition at line 33 of file SegmentEditorThresholdEffect.py.
SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.useForPaintButton |
Definition at line 379 of file SegmentEditorThresholdEffect.py.