Slicer  4.13
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 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
 
 gaussianStandardDeviationMMLabel
 
 gaussianStandardDeviationMMSpinBox
 
 jointTaubinSmoothingFactorLabel
 
 jointTaubinSmoothingFactorSlider
 
 kernelSizeMMLabel
 
 kernelSizeMMSpinBox
 
 kernelSizePixel
 
 methodSelectorComboBox
 
 paintOptionsGroupBox
 

Detailed Description

SmoothingEffect is an Effect that smoothes a selected segment

Definition at line 6 of file SegmentEditorSmoothingEffect.py.

Constructor & Destructor Documentation

◆ __init__()

def SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.__init__ (   self,
  scriptedEffect 
)

Definition at line 10 of file SegmentEditorSmoothingEffect.py.

Member Function Documentation

◆ clipImage()

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

Definition at line 188 of file SegmentEditorSmoothingEffect.py.

◆ clone()

def SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.clone (   self)

Definition at line 14 of file SegmentEditorSmoothingEffect.py.

◆ getKernelSizePixel()

def SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.getKernelSizePixel (   self)

Definition at line 119 of file SegmentEditorSmoothingEffect.py.

◆ helpText()

def SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.helpText (   self)

Definition at line 26 of file SegmentEditorSmoothingEffect.py.

◆ icon()

def SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.icon (   self)

Definition at line 20 of file SegmentEditorSmoothingEffect.py.

◆ modifySelectedSegmentByLabelmap()

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

Definition at line 201 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 168 of file SegmentEditorSmoothingEffect.py.

◆ paintApply()

def SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.paintApply (   self,
  viewWidget 
)

Definition at line 420 of file SegmentEditorSmoothingEffect.py.

◆ setMRMLDefaults()

def SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.setMRMLDefaults (   self)

Definition at line 101 of file SegmentEditorSmoothingEffect.py.

◆ setupOptionsFrame()

def SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.setupOptionsFrame (   self)

Definition at line 38 of file SegmentEditorSmoothingEffect.py.

◆ smoothMultipleSegments()

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

Definition at line 320 of file SegmentEditorSmoothingEffect.py.

◆ smoothSelectedSegment()

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

Definition at line 229 of file SegmentEditorSmoothingEffect.py.

◆ updateGUIFromMRML()

def SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.updateGUIFromMRML (   self)

Definition at line 130 of file SegmentEditorSmoothingEffect.py.

◆ updateMRMLFromGUI()

def SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.updateMRMLFromGUI (   self)

Definition at line 154 of file SegmentEditorSmoothingEffect.py.

◆ updateParameterWidgetsVisibility()

def SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.updateParameterWidgetsVisibility (   self)

Definition at line 107 of file SegmentEditorSmoothingEffect.py.

Member Data Documentation

◆ applyButton

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.applyButton

Definition at line 81 of file SegmentEditorSmoothingEffect.py.

◆ gaussianStandardDeviationMMLabel

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.gaussianStandardDeviationMMLabel

Definition at line 70 of file SegmentEditorSmoothingEffect.py.

◆ gaussianStandardDeviationMMSpinBox

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.gaussianStandardDeviationMMSpinBox

Definition at line 64 of file SegmentEditorSmoothingEffect.py.

◆ jointTaubinSmoothingFactorLabel

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.jointTaubinSmoothingFactorLabel

Definition at line 79 of file SegmentEditorSmoothingEffect.py.

◆ jointTaubinSmoothingFactorSlider

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.jointTaubinSmoothingFactorSlider

Definition at line 72 of file SegmentEditorSmoothingEffect.py.

◆ kernelSizeMMLabel

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.kernelSizeMMLabel

Definition at line 62 of file SegmentEditorSmoothingEffect.py.

◆ kernelSizeMMSpinBox

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.kernelSizeMMSpinBox

Definition at line 48 of file SegmentEditorSmoothingEffect.py.

◆ kernelSizePixel

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.kernelSizePixel

Definition at line 56 of file SegmentEditorSmoothingEffect.py.

◆ methodSelectorComboBox

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.methodSelectorComboBox

Definition at line 40 of file SegmentEditorSmoothingEffect.py.

◆ paintOptionsGroupBox

SegmentEditorSmoothingEffect.SegmentEditorSmoothingEffect.paintOptionsGroupBox

Definition at line 94 of file SegmentEditorSmoothingEffect.py.


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