https://www.slicer.org/w/index.php?title=Modules:PythonSurfaceConnectivity-Documentation-3.6&feed=atom&action=history
Modules:PythonSurfaceConnectivity-Documentation-3.6 - Revision history
2024-03-29T02:30:46Z
Revision history for this page on the wiki
MediaWiki 1.33.0
https://www.slicer.org/w/index.php?title=Modules:PythonSurfaceConnectivity-Documentation-3.6&diff=14740&oldid=prev
Blezek: /* Quick Tour of Features and Use */
2010-04-29T01:38:06Z
<p><span dir="auto"><span class="autocomment">Quick Tour of Features and Use</span></span></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 01:38, 29 April 2010</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l50" >Line 50:</td>
<td colspan="2" class="diff-lineno">Line 50:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** ''Input Surface'': the input surface</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** ''Input Surface'': the input surface</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** ''Output Surface'': the labeled surface (for AllRegions mode) or the labeled portion of the surface closest to the seed (for ClosestToSeed)</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** ''Output Surface'': the labeled surface (for AllRegions mode) or the labeled portion of the surface closest to the seed (for ClosestToSeed)</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>|[[Image:<del class="diffchange diffchange-inline">screenshotBlankNotOptional</del>.png|thumb|280px|User Interface]]</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>|[[Image:<ins class="diffchange diffchange-inline">PythonSurfaceConnectivityUI</ins>.png|thumb|280px|User Interface]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
</table>
Blezek
https://www.slicer.org/w/index.php?title=Modules:PythonSurfaceConnectivity-Documentation-3.6&diff=14739&oldid=prev
Blezek: /* Module Name */
2010-04-29T01:37:47Z
<p><span dir="auto"><span class="autocomment">Module Name</span></span></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 01:37, 29 April 2010</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l8" >Line 8:</td>
<td colspan="2" class="diff-lineno">Line 8:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{|</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{|</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>|[[Image:<del class="diffchange diffchange-inline">screenshotBlankNotOptional</del>.png|thumb|280px|User Interface]]</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>|[[Image:<ins class="diffchange diffchange-inline">PythonSurfaceConnectivityUI</ins>.png|thumb|280px|User Interface]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|[[Image:PythonSurfaceConnectivity1.png|thumb|280px|Figure 1: Clipped model of ICA aneurysm]]</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|[[Image:PythonSurfaceConnectivity1.png|thumb|280px|Figure 1: Clipped model of ICA aneurysm]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|[[Image:PythonSurfaceConnectivity2.png|thumb|280px|Figure 2: Connnected region closest to user-specified seed is extracted]]</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|[[Image:PythonSurfaceConnectivity2.png|thumb|280px|Figure 2: Connnected region closest to user-specified seed is extracted]]</div></td></tr>
<!-- diff cache key mediawiki_slicer:diff::1.12:old-14148:rev-14739 -->
</table>
Blezek
https://www.slicer.org/w/index.php?title=Modules:PythonSurfaceConnectivity-Documentation-3.6&diff=14148&oldid=prev
Lantiga at 17:21, 25 April 2010
2010-04-25T17:21:54Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 17:21, 25 April 2010</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l9" >Line 9:</td>
<td colspan="2" class="diff-lineno">Line 9:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{|</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{|</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|[[Image:screenshotBlankNotOptional.png|thumb|280px|User Interface]]</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|[[Image:screenshotBlankNotOptional.png|thumb|280px|User Interface]]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>|[[Image:PythonSurfaceConnectivity1.png|thumb|<del class="diffchange diffchange-inline">320px</del>|Figure 1: Clipped model of ICA aneurysm]]</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>|[[Image:PythonSurfaceConnectivity1.png|thumb|<ins class="diffchange diffchange-inline">280px</ins>|Figure 1: Clipped model of ICA aneurysm]]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>|[[Image:PythonSurfaceConnectivity2.png|thumb|<del class="diffchange diffchange-inline">320px</del>|Figure 2: Connnected region closest to user-specified seed is extracted]]</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>|[[Image:PythonSurfaceConnectivity2.png|thumb|<ins class="diffchange diffchange-inline">280px</ins>|Figure 2: Connnected region closest to user-specified seed is extracted]]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>|[[Image:PythonSurfaceConnectivity3.png|thumb|<del class="diffchange diffchange-inline">320px</del>|Figure 2: All connected regions are extracted and one seed is generated for every region]]</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>|[[Image:PythonSurfaceConnectivity3.png|thumb|<ins class="diffchange diffchange-inline">280px</ins>|Figure 2: All connected regions are extracted and one seed is generated for every region]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
</table>
Lantiga
https://www.slicer.org/w/index.php?title=Modules:PythonSurfaceConnectivity-Documentation-3.6&diff=14145&oldid=prev
Lantiga: Created page with 'Return to Slicer 3.6 Documentation Gallery of New Features __NOTOC__ ===Module Name=== Python Surface Connectivity …'
2010-04-25T14:12:36Z
<p>Created page with '<a href="/wiki/Documentation-3.6" class="mw-redirect" title="Documentation-3.6">Return to Slicer 3.6 Documentation</a> <a href="/wiki/Announcements:Slicer3.6#Highlights" title="Announcements:Slicer3.6">Gallery of New Features</a> __NOTOC__ ===Module Name=== Python Surface Connectivity …'</p>
<p><b>New page</b></p><div>[[Documentation-3.6|Return to Slicer 3.6 Documentation]]<br />
<br />
[[Announcements:Slicer3.6#Highlights|Gallery of New Features]]<br />
<br />
__NOTOC__<br />
===Module Name===<br />
Python Surface Connectivity<br />
<br />
{|<br />
|[[Image:screenshotBlankNotOptional.png|thumb|280px|User Interface]]<br />
|[[Image:PythonSurfaceConnectivity1.png|thumb|320px|Figure 1: Clipped model of ICA aneurysm]]<br />
|[[Image:PythonSurfaceConnectivity2.png|thumb|320px|Figure 2: Connnected region closest to user-specified seed is extracted]]<br />
|[[Image:PythonSurfaceConnectivity3.png|thumb|320px|Figure 2: All connected regions are extracted and one seed is generated for every region]]<br />
|}<br />
<br />
== General Information ==<br />
===Module Type & Category===<br />
<br />
Type: CLI<br />
<br />
Category: Surface Models<br />
<br />
===Authors, Collaborators & Contact===<br />
* Luca Antiga: Orobix Srl, Mario Negri Institute<br />
* Daniel Blezek: Mayo Clinic<br />
* Contact: Luca Antiga, luca.antiga@orobix.com<br />
<br />
===Module Description===<br />
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.<br />
<br />
== Usage ==<br />
<br />
===Use Cases, Examples===<br />
<br />
* The module is appropriate when there is need of extracting different disconnected components of a model or label them.<br />
* 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)<br />
<br />
===Tutorials===<br />
<br />
NA<br />
<br />
===Quick Tour of Features and Use===<br />
<br />
{|<br />
|<br />
* '''Surface Connectivity Parameters:'''<br />
** ''Connectivity mode'': choose between assigning a RegionId to each connected region (AllRegions) or extract the connected region closest to a seed fiducial (ClosestToSeed). <br />
** ''Enable output fiducials'': enable output of a fiducial list containing one fiducial per connected region labeled with the corresponding RegionId<br />
* '''IO:'''<br />
** ''Input Surface'': the input surface<br />
** ''Output Surface'': the labeled surface (for AllRegions mode) or the labeled portion of the surface closest to the seed (for ClosestToSeed)<br />
|[[Image:screenshotBlankNotOptional.png|thumb|280px|User Interface]]<br />
|}<br />
<br />
== Development ==<br />
<br />
===Notes from the Developer(s)===<br />
<br />
The module internally uses [http://www.vtk.org/doc/nightly/html/classvtkPolyDataConnectivityFilter.html vtkPolyDataConnectivityFilter].<br />
<br />
===Dependencies===<br />
<br />
Python<br />
<br />
===Tests===<br />
<br />
NA<br />
<br />
===Known bugs===<br />
<br />
Follow this [http://na-mic.org/Mantis/main_page.php link] to the Slicer3 bug tracker. <br />
<br />
<br />
===Usability issues===<br />
<br />
Follow this [http://na-mic.org/Mantis/main_page.php link] to the Slicer3 bug tracker. Please select the '''usability issue category''' when browsing or contributing.<br />
<br />
===Source code & documentation===<br />
<br />
Links to the module's source code:<br />
<br />
Source code:<br />
*[http://viewvc.slicer.org/viewcvs.cgi/trunk/Modules/Python/SurfaceConnectivity.py SurfaceConnectivity.py]<br />
<br />
== More Information == <br />
<br />
===Acknowledgment===<br />
NA<br />
<br />
===References===<br />
NA</div>
Lantiga