Slicer 5.6
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
SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect Class Reference
Inheritance diagram for SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect:
Inheritance graph
[legend]
Collaboration diagram for SegmentEditorEffects.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 Member Functions inherited from SegmentEditorEffects.AbstractScriptedSegmentEditorEffect.AbstractScriptedSegmentEditorEffect
 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
 
 applyToAllVisibleSegmentsCheckBox
 
 applyToAllVisibleSegmentsLabel
 
 gaussianStandardDeviationMMLabel
 
 gaussianStandardDeviationMMSpinBox
 
 jointTaubinSmoothingFactorLabel
 
 jointTaubinSmoothingFactorSlider
 
 kernelSizeMMLabel
 
 kernelSizeMMSpinBox
 
 kernelSizePixel
 
 methodSelectorComboBox
 
 onApply
 
 paintOptionsGroupBox
 
 updateMRMLFromGUI
 
- Public Attributes inherited from SegmentEditorEffects.AbstractScriptedSegmentEditorEffect.AbstractScriptedSegmentEditorEffect
 scriptedEffect
 

Detailed Description

SmoothingEffect is an Effect that smoothes a selected segment

Definition at line 14 of file SegmentEditorSmoothingEffect.py.

Constructor & Destructor Documentation

◆ __init__()

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.__init__ ( self,
scriptedEffect )

Member Function Documentation

◆ clipImage()

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

Definition at line 240 of file SegmentEditorSmoothingEffect.py.

◆ clone()

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.clone ( self)

Definition at line 22 of file SegmentEditorSmoothingEffect.py.

◆ getKernelSizePixel()

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.getKernelSizePixel ( self)

Definition at line 140 of file SegmentEditorSmoothingEffect.py.

◆ helpText()

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.helpText ( self)

Definition at line 35 of file SegmentEditorSmoothingEffect.py.

◆ icon()

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.icon ( self)

Definition at line 29 of file SegmentEditorSmoothingEffect.py.

◆ modifySelectedSegmentByLabelmap()

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

Definition at line 253 of file SegmentEditorSmoothingEffect.py.

◆ onApply()

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.

◆ paintApply()

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.paintApply ( self,
viewWidget )

Definition at line 471 of file SegmentEditorSmoothingEffect.py.

◆ setMRMLDefaults()

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.setMRMLDefaults ( self)

Definition at line 119 of file SegmentEditorSmoothingEffect.py.

◆ setupOptionsFrame()

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.setupOptionsFrame ( self)

Definition at line 47 of file SegmentEditorSmoothingEffect.py.

◆ showStatusMessage()

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

Definition at line 196 of file SegmentEditorSmoothingEffect.py.

◆ smoothMultipleSegments()

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

Definition at line 368 of file SegmentEditorSmoothingEffect.py.

◆ smoothSelectedSegment()

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

Definition at line 281 of file SegmentEditorSmoothingEffect.py.

◆ updateGUIFromMRML()

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.updateGUIFromMRML ( self)

Definition at line 151 of file SegmentEditorSmoothingEffect.py.

◆ updateMRMLFromGUI()

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.updateMRMLFromGUI ( self)

Definition at line 180 of file SegmentEditorSmoothingEffect.py.

◆ updateParameterWidgetsVisibility()

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.updateParameterWidgetsVisibility ( self)

Definition at line 126 of file SegmentEditorSmoothingEffect.py.

Member Data Documentation

◆ applyButton

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.applyButton

Definition at line 98 of file SegmentEditorSmoothingEffect.py.

◆ applyToAllVisibleSegmentsCheckBox

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.applyToAllVisibleSegmentsCheckBox

Definition at line 91 of file SegmentEditorSmoothingEffect.py.

◆ applyToAllVisibleSegmentsLabel

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.applyToAllVisibleSegmentsLabel

Definition at line 95 of file SegmentEditorSmoothingEffect.py.

◆ gaussianStandardDeviationMMLabel

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.gaussianStandardDeviationMMLabel

Definition at line 80 of file SegmentEditorSmoothingEffect.py.

◆ gaussianStandardDeviationMMSpinBox

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.gaussianStandardDeviationMMSpinBox

Definition at line 73 of file SegmentEditorSmoothingEffect.py.

◆ jointTaubinSmoothingFactorLabel

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.jointTaubinSmoothingFactorLabel

Definition at line 89 of file SegmentEditorSmoothingEffect.py.

◆ jointTaubinSmoothingFactorSlider

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.jointTaubinSmoothingFactorSlider

Definition at line 82 of file SegmentEditorSmoothingEffect.py.

◆ kernelSizeMMLabel

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.kernelSizeMMLabel

Definition at line 71 of file SegmentEditorSmoothingEffect.py.

◆ kernelSizeMMSpinBox

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.kernelSizeMMSpinBox

Definition at line 56 of file SegmentEditorSmoothingEffect.py.

◆ kernelSizePixel

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.kernelSizePixel

Definition at line 65 of file SegmentEditorSmoothingEffect.py.

◆ methodSelectorComboBox

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.methodSelectorComboBox

Definition at line 48 of file SegmentEditorSmoothingEffect.py.

◆ onApply

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.onApply

Definition at line 108 of file SegmentEditorSmoothingEffect.py.

◆ paintOptionsGroupBox

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.paintOptionsGroupBox

Definition at line 112 of file SegmentEditorSmoothingEffect.py.

◆ updateMRMLFromGUI

SegmentEditorEffects.SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.updateMRMLFromGUI

Definition at line 103 of file SegmentEditorSmoothingEffect.py.


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