Difference between revisions of "Modules:PythonSurfaceConnectivity-Documentation-3.4"

From Slicer Wiki
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
[[Documentation-3.4|Return to Slicer 3.4 Documentation]]
 
[[Documentation-3.4|Return to Slicer 3.4 Documentation]]
 +
 +
[[Announcements:Slicer3.4#Highlights|Gallery of New Features]]
 
__NOTOC__
 
__NOTOC__
 
===Module Name===
 
===Module Name===
 
Python Surface Connectivity
 
Python Surface Connectivity
 +
 +
{|
 +
|[[Image:PythonSurfaceConnectivity1.png|thumb|320px|Figure 1: Clipped model of ICA aneurysm]]
 +
|[[Image:PythonSurfaceConnectivity2.png|thumb|320px|Figure 2: Connnected region closest to user-specified seed is extracted]]
 +
|[[Image:PythonSurfaceConnectivity3.png|thumb|320px|Figure 2: All connected regions are extracted and one seed is generated for every region]]
 +
|}
  
 
== General Information ==
 
== General Information ==
Line 56: Line 64:
 
Follow this [http://viewvc.slicer.org/viewcvs.cgi/trunk/Modules/Python/ link] to the module.
 
Follow this [http://viewvc.slicer.org/viewcvs.cgi/trunk/Modules/Python/ link] to the module.
  
[http://www.na-mic.org/Slicer/Documentation/Slicer3/html/ Links] to documentation generated by doxygen.
+
[http://www.na-mic.org/Slicer/Documentation/Slicer3-doc/html/ Links] to documentation generated by doxygen.
 
 
  
 
== More Information ==  
 
== More Information ==  
Line 65: Line 72:
 
===References===
 
===References===
  
[http://www.vtk.org/doc/nightly/html/classvtkPolyDataConnectivityFilter.html | vtkPolyDataConnectivityFilter]
+
[http://www.vtk.org/doc/nightly/html/classvtkPolyDataConnectivityFilter.html vtkPolyDataConnectivityFilter]

Latest revision as of 22:22, 15 January 2010

Home < Modules:PythonSurfaceConnectivity-Documentation-3.4

Return to Slicer 3.4 Documentation

Gallery of New Features

Module Name

Python Surface Connectivity

Figure 1: Clipped model of ICA aneurysm
Figure 2: Connnected region closest to user-specified seed is extracted
Figure 2: All connected regions are extracted and one seed is generated for every region

General Information

Module Type & Category

Type: CLI

Category: Surface Models

Authors, Collaborators & Contact

  • Luca Antiga: Mario Negri Institute
  • Daniel Blezek: Mayo Clinic
  • Contact: Luca Antiga, antiga@marionegri.it

Module Description

This Python module takes in input a surface and labels it according to surface connectivity. The module either labels the surface with a different RegionId for each connected region, or it extracts the connected region closest to an input fiducial. Optionally, the module produces a list of fiducials positioned on each connected region and labeled with its RegionId.

Usage

Examples, Use Cases & Tutorials

  • The module is appropriate when there is need of extracting different disconnected components of a model or label them.
  • For developers: the module is a good example on how Python CLI modules can access and modify the MRML scene (unlike executable and shared library CLI modules)

Quick Tour of Features and Use

List all the panels in your interface, their features, what they mean, and how to use them. For instance:

  • Surface Connectivity Parameters:
    • Connectivity mode: choose between assigning a RegionId to each connected region (AllRegions) or extract the connected region closest to a seed fiducial (ClosestToSeed).
    • Enable output fiducials: enable output of a fiducial list containing one fiducial per connected region labeled with the corresponding RegionId
  • IO:
    • Input Surface: the input surface
    • Output Surface: the labeled surface (for AllRegions mode) or the labeled portion of the surface closest to the seed (for ClosestToSeed)

Development

Dependencies

Python

Known bugs

Follow this link to the Slicer3 bug tracker.


Usability issues

Follow this link to the Slicer3 bug tracker. Please select the usability issue category when browsing or contributing.

Source code & documentation

Follow this link to the module.

Links to documentation generated by doxygen.

More Information

Acknowledgment

References

vtkPolyDataConnectivityFilter