Difference between revisions of "Documentation/Nightly/ScriptRepository"

From Slicer Wiki
Jump to: navigation, search
(Moved page to readthedocs)
Tags: 2017 source edit, Replaced
 
(353 intermediate revisions by 14 users not shown)
Line 1: Line 1:
 
<noinclude>{{documentation/versioncheck}}</noinclude>
 
<noinclude>{{documentation/versioncheck}}</noinclude>
__TOC__
 
  
 
+
{{documentation/banner
=Community-contributed modules=
+
| text  = [https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html This page has been moved to read-the-docs.]
 
+
| background-color = 8FBC8F }}
==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.
 
 
 
=Community-contributed examples=
 
 
 
Copy-paste the .py file contents into Python console.
 
 
 
==Capture==
 
* ScreenCapture: Capture the full Slicer screen into a file
 
  img = qt.QPixmap.grabWidget(slicer.util.mainWindow()).toImage()
 
  img.save('c:/tmp/test.png')
 
* [https://subversion.assembla.com/svn/slicerrt/trunk/SlicerRt/sandbox/CaptureRotationVideo/CaptureRotationVideo.py CaptureRotationVideo.py]: Capture a video of the scene rotating in the 3D view
 

Latest revision as of 04:06, 24 April 2021

Home < Documentation < Nightly < ScriptRepository