Slicer  5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
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

def __init__ (self, scriptedEffect)
 
def clipImage (self, inputImage, maskExtent, margin)
 
def clone (self)
 
def getKernelSizePixel (self)
 
def helpText (self)
 
def icon (self)
 
def modifySelectedSegmentByLabelmap (self, smoothedImage, selectedSegmentLabelmap, modifierLabelmap, maskImage, maskExtent)
 
def onApply (self, maskImage=None, maskExtent=None)
 
def paintApply (self, viewWidget)
 
def setMRMLDefaults (self)
 
def setupOptionsFrame (self)
 
def showStatusMessage (self, msg, timeoutMsec=500)
 
def smoothMultipleSegments (self, maskImage=None, maskExtent=None)
 
def smoothSelectedSegment (self, maskImage=None, maskExtent=None)
 
def updateGUIFromMRML (self)
 
def updateMRMLFromGUI (self)
 
def updateParameterWidgetsVisibility (self)
 

Public Attributes

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

Detailed Description

SmoothingEffect is an Effect that smoothes a selected segment

Definition at line 13 of file SegmentEditorSmoothingEffect.py.

Constructor & Destructor Documentation

◆ __init__()

def SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.__init__ (   self,
  scriptedEffect 
)

Definition at line 17 of file SegmentEditorSmoothingEffect.py.

Member Function Documentation

◆ clipImage()

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

Definition at line 239 of file SegmentEditorSmoothingEffect.py.

◆ clone()

def SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.clone (   self)

Definition at line 21 of file SegmentEditorSmoothingEffect.py.

◆ getKernelSizePixel()

def SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.getKernelSizePixel (   self)

Definition at line 136 of file SegmentEditorSmoothingEffect.py.

◆ helpText()

def SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.helpText (   self)

Definition at line 33 of file SegmentEditorSmoothingEffect.py.

◆ icon()

def SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.icon (   self)

Definition at line 27 of file SegmentEditorSmoothingEffect.py.

◆ modifySelectedSegmentByLabelmap()

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

Definition at line 252 of file SegmentEditorSmoothingEffect.py.

◆ onApply()

def 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()

def SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.paintApply (   self,
  viewWidget 
)

Definition at line 468 of file SegmentEditorSmoothingEffect.py.

◆ setMRMLDefaults()

def SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.setMRMLDefaults (   self)

Definition at line 115 of file SegmentEditorSmoothingEffect.py.

◆ setupOptionsFrame()

def SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.setupOptionsFrame (   self)

Definition at line 45 of file SegmentEditorSmoothingEffect.py.

◆ showStatusMessage()

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

Definition at line 192 of file SegmentEditorSmoothingEffect.py.

◆ smoothMultipleSegments()

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

Definition at line 367 of file SegmentEditorSmoothingEffect.py.

◆ smoothSelectedSegment()

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

Definition at line 280 of file SegmentEditorSmoothingEffect.py.

◆ updateGUIFromMRML()

def SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.updateGUIFromMRML (   self)

Definition at line 147 of file SegmentEditorSmoothingEffect.py.

◆ updateMRMLFromGUI()

def SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.updateMRMLFromGUI (   self)

Definition at line 176 of file SegmentEditorSmoothingEffect.py.

◆ updateParameterWidgetsVisibility()

def 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.

◆ paintOptionsGroupBox

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.paintOptionsGroupBox

Definition at line 108 of file SegmentEditorSmoothingEffect.py.


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