Slicer 5.4
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
List of all members | Public Member Functions | Public Attributes
SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect Class Reference
Inheritance diagram for SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect:
Inheritance graph
[legend]
Collaboration diagram for SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect:
Collaboration graph
[legend]

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)
 

Public Attributes

 applyButton
 
 applyToAllVisibleSegmentsCheckBox
 
 applyToAllVisibleSegmentsLabel
 
 gaussianStandardDeviationMMLabel
 
 gaussianStandardDeviationMMSpinBox
 
 jointTaubinSmoothingFactorLabel
 
 jointTaubinSmoothingFactorSlider
 
 kernelSizeMMLabel
 
 kernelSizeMMSpinBox
 
 kernelSizePixel
 
 methodSelectorComboBox
 
 onApply
 
 paintOptionsGroupBox
 
 updateMRMLFromGUI
 

Detailed Description

 SmoothingEffect is an Effect that smoothes a selected segment

Definition at line 13 of file SegmentEditorSmoothingEffect.py.

Constructor & Destructor Documentation

◆ __init__()

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.__init__ ( self,
scriptedEffect )

Definition at line 17 of file SegmentEditorSmoothingEffect.py.

Member Function Documentation

◆ clipImage()

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.clipImage ( self,
inputImage,
maskExtent,
margin )

Definition at line 237 of file SegmentEditorSmoothingEffect.py.

◆ clone()

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.clone ( self)

Definition at line 21 of file SegmentEditorSmoothingEffect.py.

◆ getKernelSizePixel()

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.getKernelSizePixel ( self)

Definition at line 136 of file SegmentEditorSmoothingEffect.py.

◆ helpText()

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.helpText ( self)

Definition at line 33 of file SegmentEditorSmoothingEffect.py.

◆ icon()

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.icon ( self)

Definition at line 27 of file SegmentEditorSmoothingEffect.py.

◆ modifySelectedSegmentByLabelmap()

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.modifySelectedSegmentByLabelmap ( self,
smoothedImage,
selectedSegmentLabelmap,
modifierLabelmap,
maskImage,
maskExtent )

Definition at line 250 of file SegmentEditorSmoothingEffect.py.

◆ onApply()

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.onApply ( self,
maskImage = None,
maskExtent = None )
maskImage: contains nonzero where smoothing will be applied

Definition at line 196 of file SegmentEditorSmoothingEffect.py.

◆ paintApply()

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.paintApply ( self,
viewWidget )

Definition at line 468 of file SegmentEditorSmoothingEffect.py.

◆ setMRMLDefaults()

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.setMRMLDefaults ( self)

Definition at line 115 of file SegmentEditorSmoothingEffect.py.

◆ setupOptionsFrame()

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.setupOptionsFrame ( self)

Definition at line 45 of file SegmentEditorSmoothingEffect.py.

◆ showStatusMessage()

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.showStatusMessage ( self,
msg,
timeoutMsec = 500 )

Definition at line 192 of file SegmentEditorSmoothingEffect.py.

◆ smoothMultipleSegments()

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.smoothMultipleSegments ( self,
maskImage = None,
maskExtent = None )

Definition at line 365 of file SegmentEditorSmoothingEffect.py.

◆ smoothSelectedSegment()

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.smoothSelectedSegment ( self,
maskImage = None,
maskExtent = None )

Definition at line 278 of file SegmentEditorSmoothingEffect.py.

◆ updateGUIFromMRML()

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.updateGUIFromMRML ( self)

Definition at line 147 of file SegmentEditorSmoothingEffect.py.

◆ updateMRMLFromGUI()

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.updateMRMLFromGUI ( self)

Definition at line 176 of file SegmentEditorSmoothingEffect.py.

◆ updateParameterWidgetsVisibility()

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.updateParameterWidgetsVisibility ( self)

Definition at line 122 of file SegmentEditorSmoothingEffect.py.

Member Data Documentation

◆ applyButton

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.applyButton

Definition at line 94 of file SegmentEditorSmoothingEffect.py.

◆ applyToAllVisibleSegmentsCheckBox

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.applyToAllVisibleSegmentsCheckBox

Definition at line 88 of file SegmentEditorSmoothingEffect.py.

◆ applyToAllVisibleSegmentsLabel

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.applyToAllVisibleSegmentsLabel

Definition at line 92 of file SegmentEditorSmoothingEffect.py.

◆ gaussianStandardDeviationMMLabel

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.gaussianStandardDeviationMMLabel

Definition at line 77 of file SegmentEditorSmoothingEffect.py.

◆ gaussianStandardDeviationMMSpinBox

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.gaussianStandardDeviationMMSpinBox

Definition at line 71 of file SegmentEditorSmoothingEffect.py.

◆ jointTaubinSmoothingFactorLabel

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.jointTaubinSmoothingFactorLabel

Definition at line 86 of file SegmentEditorSmoothingEffect.py.

◆ jointTaubinSmoothingFactorSlider

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.jointTaubinSmoothingFactorSlider

Definition at line 79 of file SegmentEditorSmoothingEffect.py.

◆ kernelSizeMMLabel

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.kernelSizeMMLabel

Definition at line 69 of file SegmentEditorSmoothingEffect.py.

◆ kernelSizeMMSpinBox

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.kernelSizeMMSpinBox

Definition at line 55 of file SegmentEditorSmoothingEffect.py.

◆ kernelSizePixel

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.kernelSizePixel

Definition at line 63 of file SegmentEditorSmoothingEffect.py.

◆ methodSelectorComboBox

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.methodSelectorComboBox

Definition at line 47 of file SegmentEditorSmoothingEffect.py.

◆ onApply

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.onApply

Definition at line 104 of file SegmentEditorSmoothingEffect.py.

◆ paintOptionsGroupBox

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.paintOptionsGroupBox

Definition at line 108 of file SegmentEditorSmoothingEffect.py.

◆ updateMRMLFromGUI

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.updateMRMLFromGUI

Definition at line 99 of file SegmentEditorSmoothingEffect.py.


The documentation for this class was generated from the following file: