![]() |
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) | |
clipImage (self, inputImage, maskExtent, margin) | |
clone (self) | |
getKernelSizePixel (self) | |
helpText (self) | |
icon (self) | |
modifySelectedSegmentByLabelmap (self, smoothedImage, selectedSegmentLabelmap, modifierLabelmap, maskImage, maskExtent) | |
onApply (self, maskImage=None, maskExtent=None) | |
paintApply (self, viewWidget) | |
setMRMLDefaults (self) | |
setupOptionsFrame (self) | |
showStatusMessage (self, msg, timeoutMsec=500) | |
smoothMultipleSegments (self, maskImage=None, maskExtent=None) | |
smoothSelectedSegment (self, maskImage=None, maskExtent=None) | |
updateGUIFromMRML (self) | |
updateMRMLFromGUI (self) | |
updateParameterWidgetsVisibility (self) | |
![]() | |
__init__ (self, scriptedEffect) | |
![]() | |
__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 | |
applyButton = qt.QPushButton(_("Apply")) | |
applyToAllVisibleSegmentsCheckBox = qt.QCheckBox() | |
applyToAllVisibleSegmentsLabel | |
gaussianStandardDeviationMMLabel = self.scriptedEffect.addLabeledOptionsWidget(_("Standard deviation:"), self.gaussianStandardDeviationMMSpinBox) | |
gaussianStandardDeviationMMSpinBox = slicer.qMRMLSpinBox() | |
jointTaubinSmoothingFactorLabel = self.scriptedEffect.addLabeledOptionsWidget(_("Smoothing factor:"), self.jointTaubinSmoothingFactorSlider) | |
jointTaubinSmoothingFactorSlider = ctk.ctkSliderWidget() | |
kernelSizeMMLabel = self.scriptedEffect.addLabeledOptionsWidget(_("Kernel size:"), kernelSizeFrame) | |
kernelSizeMMSpinBox = slicer.qMRMLSpinBox() | |
kernelSizePixel = qt.QLabel() | |
methodSelectorComboBox = qt.QComboBox() | |
onApply | |
paintOptionsGroupBox = ctk.ctkCollapsibleGroupBox() | |
updateMRMLFromGUI | |
![]() | |
scriptedEffect = scriptedEffect | |
SmoothingEffect is an Effect that smoothes a selected segment
Definition at line 14 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.__init__ | ( | self, | |
scriptedEffect ) |
Definition at line 17 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.clipImage | ( | self, | |
inputImage, | |||
maskExtent, | |||
margin ) |
Definition at line 241 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.clone | ( | self | ) |
Definition at line 22 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.getKernelSizePixel | ( | self | ) |
Definition at line 140 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.helpText | ( | self | ) |
Definition at line 35 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.icon | ( | self | ) |
Definition at line 29 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.modifySelectedSegmentByLabelmap | ( | self, | |
smoothedImage, | |||
selectedSegmentLabelmap, | |||
modifierLabelmap, | |||
maskImage, | |||
maskExtent ) |
Definition at line 254 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.onApply | ( | self, | |
maskImage = None, | |||
maskExtent = None ) |
maskImage: contains nonzero where smoothing will be applied
Definition at line 200 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.paintApply | ( | self, | |
viewWidget ) |
Definition at line 472 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.setMRMLDefaults | ( | self | ) |
Definition at line 119 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.setupOptionsFrame | ( | self | ) |
Definition at line 47 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.showStatusMessage | ( | self, | |
msg, | |||
timeoutMsec = 500 ) |
Definition at line 196 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.smoothMultipleSegments | ( | self, | |
maskImage = None, | |||
maskExtent = None ) |
Definition at line 369 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.smoothSelectedSegment | ( | self, | |
maskImage = None, | |||
maskExtent = None ) |
Definition at line 282 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.updateGUIFromMRML | ( | self | ) |
Definition at line 151 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.updateMRMLFromGUI | ( | self | ) |
Definition at line 180 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.updateParameterWidgetsVisibility | ( | self | ) |
Definition at line 126 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.applyButton = qt.QPushButton(_("Apply")) |
Definition at line 98 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.applyToAllVisibleSegmentsCheckBox = qt.QCheckBox() |
Definition at line 91 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.applyToAllVisibleSegmentsLabel |
Definition at line 95 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.gaussianStandardDeviationMMLabel = self.scriptedEffect.addLabeledOptionsWidget(_("Standard deviation:"), self.gaussianStandardDeviationMMSpinBox) |
Definition at line 80 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.gaussianStandardDeviationMMSpinBox = slicer.qMRMLSpinBox() |
Definition at line 73 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.jointTaubinSmoothingFactorLabel = self.scriptedEffect.addLabeledOptionsWidget(_("Smoothing factor:"), self.jointTaubinSmoothingFactorSlider) |
Definition at line 89 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.jointTaubinSmoothingFactorSlider = ctk.ctkSliderWidget() |
Definition at line 82 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.kernelSizeMMLabel = self.scriptedEffect.addLabeledOptionsWidget(_("Kernel size:"), kernelSizeFrame) |
Definition at line 71 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.kernelSizeMMSpinBox = slicer.qMRMLSpinBox() |
Definition at line 56 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.kernelSizePixel = qt.QLabel() |
Definition at line 65 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.methodSelectorComboBox = qt.QComboBox() |
Definition at line 48 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.onApply |
Definition at line 108 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.paintOptionsGroupBox = ctk.ctkCollapsibleGroupBox() |
Definition at line 112 of file SegmentEditorSmoothingEffect.py.
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.updateMRMLFromGUI |
Definition at line 103 of file SegmentEditorSmoothingEffect.py.