Difference between revisions of "Documentation/Nightly/ScriptRepository"
From Slicer Wiki
Line 6: | Line 6: | ||
==Segmentation== | ==Segmentation== | ||
− | * [ | + | * [https://subversion.assembla.com/svn/slicerrt/trunk/SlicerRt/sandbox/FillRoiModule/FillRoi.py FillRoi.py]: Use this module to fill a ROI with a constant value. It can be used after an automatic segmentation for removing certain regions of a scalar or labelmap volume. |
==Registration== | ==Registration== | ||
Line 16: | Line 16: | ||
==Capture== | ==Capture== | ||
* ScreenCapture: Capture the full Slicer screen into a file | * ScreenCapture: Capture the full Slicer screen into a file | ||
+ | img = qt.QPixmap.grabWidget(slicer.util.mainWindow()).toImage() | ||
+ | img.save('c:/tmp/test.png') | ||
* Rotating3dViewCapture: Capture a video of the scene rotating in the 3D view | * Rotating3dViewCapture: Capture a video of the scene rotating in the 3D view |
Revision as of 21:34, 2 August 2013
Home < Documentation < Nightly < ScriptRepository
For the latest Slicer documentation, visit the read-the-docs. |
Contents
Community-contributed modules
Segmentation
- FillRoi.py: Use this module to fill a ROI with a constant value. It can be used after an automatic segmentation for removing certain regions of a scalar or labelmap volume.
Registration
Quantification
Community-contributed examples
Capture
- ScreenCapture: Capture the full Slicer screen into a file
img = qt.QPixmap.grabWidget(slicer.util.mainWindow()).toImage() img.save('c:/tmp/test.png')
- Rotating3dViewCapture: Capture a video of the scene rotating in the 3D view