Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
SegmentEditorEffects.SegmentEditorGrowFromSeedsEffect.SegmentEditorGrowFromSeedsEffect Class Reference
Inheritance diagram for SegmentEditorEffects.SegmentEditorGrowFromSeedsEffect.SegmentEditorGrowFromSeedsEffect:
Collaboration diagram for SegmentEditorEffects.SegmentEditorGrowFromSeedsEffect.SegmentEditorGrowFromSeedsEffect:

Public Member Functions

 __init__ (self, scriptedEffect)
 
 clone (self)
 
 computePreviewLabelmap (self, mergedImage, outputLabelmap)
 
 helpText (self)
 
 icon (self)
 
 reset (self)
 
 setMRMLDefaults (self)
 
 setupOptionsFrame (self)
 
 updateAlgorithmParameterFromGUI (self)
 
 updateGUIFromMRML (self)
 
 updateMRMLFromGUI (self)
 
- Public Member Functions inherited from SegmentEditorEffects.AbstractScriptedSegmentEditorAutoCompleteEffect.AbstractScriptedSegmentEditorAutoCompleteEffect
 __del__ (self)
 
 __init__ (self, scriptedEffect)
 
 cleanup (self)
 
 createCursor (self, widget)
 
 effectiveExtentChanged (self)
 
 getPreviewNode (self)
 
 getPreviewOpacity (self)
 
 getPreviewShow3D (self)
 
 observeSegmentation (self, observationEnabled)
 
 onApply (self)
 
 onCancel (self)
 
 onPreview (self)
 
 onSegmentationModified (self, caller, event)
 
 preview (self)
 
 setPreviewOpacity (self, opacity)
 
 setPreviewShow3D (self, show)
 
- Public Member Functions inherited from SegmentEditorEffects.AbstractScriptedSegmentEditorEffect.AbstractScriptedSegmentEditorEffect
 __init__ (self, scriptedEffect)
 
 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

 growCutFilter = None
 
 seedLocalityFactorSlider = slicer.qMRMLSliderWidget()
 
 updateAlgorithmParameterFromGUI
 
- Public Attributes inherited from SegmentEditorEffects.AbstractScriptedSegmentEditorAutoCompleteEffect.AbstractScriptedSegmentEditorAutoCompleteEffect
 applyButton = qt.QPushButton(_("Apply"))
 
 autoUpdateCheckBox = qt.QCheckBox(_("Auto-update"))
 
 cancelButton = qt.QPushButton(_("Cancel"))
 
 clippedMaskImageData = None
 
bool clippedMaskImageDataRequired = False
 
 clippedMasterImageData = None
 
bool clippedMasterImageDataRequired = False
 
 delayedAutoUpdateTimer = qt.QTimer()
 
float extentGrowthRatio = 0.1
 
 mergedLabelmapGeometryImage = None
 
int minimumExtentMargin = 3
 
int minimumNumberOfSegments = 1
 
int minimumNumberOfSegmentsWithEditableArea = 1
 
 observedSegmentation = None
 
 onApply
 
 onCancel
 
 onPreview = autoUpdateDelaySec * 1000
 
 onSegmentationModified
 
 previewButton = qt.QPushButton(_("Initialize"))
 
bool previewComputationInProgress = False
 
 previewOpacitySlider = ctk.ctkSliderWidget()
 
 previewShow3DButton = qt.QPushButton(_("Show 3D"))
 
list segmentationNodeObserverTags = []
 
 selectedSegmentIds = None
 
dict selectedSegmentModifiedTimes = {}
 
- Public Attributes inherited from SegmentEditorEffects.AbstractScriptedSegmentEditorEffect.AbstractScriptedSegmentEditorEffect
 scriptedEffect = scriptedEffect
 

Additional Inherited Members

- Static Public Member Functions inherited from SegmentEditorEffects.AbstractScriptedSegmentEditorAutoCompleteEffect.AbstractScriptedSegmentEditorAutoCompleteEffect
 isBackgroundLabelmap (labelmapOrientedImageData, label=None)
 

Detailed Description

AutoCompleteEffect is an effect that can create a full segmentation from a partial segmentation (not all slices are segmented or only part of the target structures are painted).

Definition at line 14 of file SegmentEditorGrowFromSeedsEffect.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 20 of file SegmentEditorGrowFromSeedsEffect.py.

Member Function Documentation

◆ clone()

SegmentEditorEffects.SegmentEditorGrowFromSeedsEffect.SegmentEditorGrowFromSeedsEffect.clone ( self)

Definition at line 30 of file SegmentEditorGrowFromSeedsEffect.py.

◆ computePreviewLabelmap()

SegmentEditorEffects.SegmentEditorGrowFromSeedsEffect.SegmentEditorGrowFromSeedsEffect.computePreviewLabelmap ( self,
mergedImage,
outputLabelmap )

Definition at line 108 of file SegmentEditorGrowFromSeedsEffect.py.

◆ helpText()

SegmentEditorEffects.SegmentEditorGrowFromSeedsEffect.SegmentEditorGrowFromSeedsEffect.helpText ( self)

Definition at line 43 of file SegmentEditorGrowFromSeedsEffect.py.

◆ icon()

SegmentEditorEffects.SegmentEditorGrowFromSeedsEffect.SegmentEditorGrowFromSeedsEffect.icon ( self)

Definition at line 37 of file SegmentEditorGrowFromSeedsEffect.py.

◆ reset()

SegmentEditorEffects.SegmentEditorGrowFromSeedsEffect.SegmentEditorGrowFromSeedsEffect.reset ( self)

◆ setMRMLDefaults()

SegmentEditorEffects.SegmentEditorGrowFromSeedsEffect.SegmentEditorGrowFromSeedsEffect.setMRMLDefaults ( self)

◆ setupOptionsFrame()

SegmentEditorEffects.SegmentEditorGrowFromSeedsEffect.SegmentEditorGrowFromSeedsEffect.setupOptionsFrame ( self)

◆ updateAlgorithmParameterFromGUI()

SegmentEditorEffects.SegmentEditorGrowFromSeedsEffect.SegmentEditorGrowFromSeedsEffect.updateAlgorithmParameterFromGUI ( self)

Definition at line 101 of file SegmentEditorGrowFromSeedsEffect.py.

◆ updateGUIFromMRML()

SegmentEditorEffects.SegmentEditorGrowFromSeedsEffect.SegmentEditorGrowFromSeedsEffect.updateGUIFromMRML ( self)

◆ updateMRMLFromGUI()

SegmentEditorEffects.SegmentEditorGrowFromSeedsEffect.SegmentEditorGrowFromSeedsEffect.updateMRMLFromGUI ( self)

Member Data Documentation

◆ growCutFilter

SegmentEditorEffects.SegmentEditorGrowFromSeedsEffect.SegmentEditorGrowFromSeedsEffect.growCutFilter = None

Definition at line 28 of file SegmentEditorGrowFromSeedsEffect.py.

◆ seedLocalityFactorSlider

SegmentEditorEffects.SegmentEditorGrowFromSeedsEffect.SegmentEditorGrowFromSeedsEffect.seedLocalityFactorSlider = slicer.qMRMLSliderWidget()

Definition at line 69 of file SegmentEditorGrowFromSeedsEffect.py.

◆ updateAlgorithmParameterFromGUI

SegmentEditorEffects.SegmentEditorGrowFromSeedsEffect.SegmentEditorGrowFromSeedsEffect.updateAlgorithmParameterFromGUI

Definition at line 81 of file SegmentEditorGrowFromSeedsEffect.py.


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