https://public.kitware.com/Wiki/index.php?title=ITK/Examples/WishList/Segmentation/SinglephaseChanAndVeseSparseFieldLevelSetSegmentation&feed=atom&action=history
ITK/Examples/WishList/Segmentation/SinglephaseChanAndVeseSparseFieldLevelSetSegmentation - Revision history
2024-03-28T20:29:33Z
Revision history for this page on the wiki
MediaWiki 1.38.6
https://public.kitware.com/Wiki/index.php?title=ITK/Examples/WishList/Segmentation/SinglephaseChanAndVeseSparseFieldLevelSetSegmentation&diff=63782&oldid=prev
Mathew-seng: Deprecated content that is moved to sphinx
2019-06-07T22:06:49Z
<p>Deprecated content that is moved to sphinx</p>
<a href="https://public.kitware.com/Wiki/index.php?title=ITK/Examples/WishList/Segmentation/SinglephaseChanAndVeseSparseFieldLevelSetSegmentation&diff=63782&oldid=51021">Show changes</a>
Mathew-seng
https://public.kitware.com/Wiki/index.php?title=ITK/Examples/WishList/Segmentation/SinglephaseChanAndVeseSparseFieldLevelSetSegmentation&diff=51021&oldid=prev
Lorensen at 18:09, 25 December 2012
2012-12-25T18:09:04Z
<p></p>
<table style="background-color: #fff; color: #202122;" 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: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:09, 25 December 2012</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l245">Line 245:</td>
<td colspan="2" class="diff-lineno">Line 245:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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></source></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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></source></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; 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>{{ITKCMakeLists|<del style="font-weight: bold; text-decoration: none;">SinglephaseChanAndVeseSparseFieldLevelSetSegmentation|</del>}}</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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>{{ITKCMakeLists|<ins style="font-weight: bold; text-decoration: none;">{{SUBPAGENAME}}</ins>}}</div></td></tr>
</table>
Lorensen
https://public.kitware.com/Wiki/index.php?title=ITK/Examples/WishList/Segmentation/SinglephaseChanAndVeseSparseFieldLevelSetSegmentation&diff=49096&oldid=prev
Daviddoria: moved ITK/Examples/Segmentation/SinglephaseChanAndVeseSparseFieldLevelSetSegmentation to ITK/Examples/WishList/Segmentation/SinglephaseChanAndVeseSparseFieldLevelSetSegmentation: Need to provide sample input image and arguments.
2012-10-28T14:59:52Z
<p>moved <a href="/Wiki/ITK/Examples/Segmentation/SinglephaseChanAndVeseSparseFieldLevelSetSegmentation" class="mw-redirect" title="ITK/Examples/Segmentation/SinglephaseChanAndVeseSparseFieldLevelSetSegmentation">ITK/Examples/Segmentation/SinglephaseChanAndVeseSparseFieldLevelSetSegmentation</a> to <a href="/Wiki/ITK/Examples/WishList/Segmentation/SinglephaseChanAndVeseSparseFieldLevelSetSegmentation" title="ITK/Examples/WishList/Segmentation/SinglephaseChanAndVeseSparseFieldLevelSetSegmentation">ITK/Examples/WishList/Segmentation/SinglephaseChanAndVeseSparseFieldLevelSetSegmentation</a>: Need to provide sample input image and arguments.</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 14:59, 28 October 2012</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
Daviddoria
https://public.kitware.com/Wiki/index.php?title=ITK/Examples/WishList/Segmentation/SinglephaseChanAndVeseSparseFieldLevelSetSegmentation&diff=39351&oldid=prev
Ibanez at 15:26, 26 April 2011
2011-04-26T15:26:26Z
<p></p>
<table style="background-color: #fff; color: #202122;" 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: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 15:26, 26 April 2011</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; 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>==<del style="font-weight: bold; text-decoration: none;">MultiphaseChanAndVeseSparseFieldLevelSetSegmentation</del>.cxx==</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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>==<ins style="font-weight: bold; text-decoration: none;">SinglephaseChanAndVeseSparseFieldLevelSetSegmentation</ins>.cxx==</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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><source lang="cpp"></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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><source lang="cpp"></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; 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>// The use of the <del style="font-weight: bold; text-decoration: none;">\doxygen{</del>ScalarChanAndVeseSparseLevelSetImageFilter<del style="font-weight: bold; text-decoration: none;">} </del>is</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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>// The use of the ScalarChanAndVeseSparseLevelSetImageFilter is</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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>// illustrated in the following example. The implementation of this filter in</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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>// illustrated in the following example. The implementation of this filter in</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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>// ITK is based on the paper by Chan And Vese. This</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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>// ITK is based on the paper by Chan And Vese. This</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l20">Line 20:</td>
<td colspan="2" class="diff-lineno">Line 20:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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>// preprocessing.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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>// preprocessing.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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: #202122; 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" data-marker="−"></td><td style="color: #202122; 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><del style="font-weight: bold; text-decoration: none;">// Software Guide : EndLatex</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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> </div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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>#include "itkScalarChanAndVeseSparseLevelSetImageFilter.h"</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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>#include "itkScalarChanAndVeseSparseLevelSetImageFilter.h"</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l245">Line 245:</td>
<td colspan="2" class="diff-lineno">Line 245:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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></source></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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></source></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; 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>{{ITKCMakeLists|<del style="font-weight: bold; text-decoration: none;">MultiphaseChanAndVeseSparseFieldLevelSetSegmentation</del>|}}</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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>{{ITKCMakeLists|<ins style="font-weight: bold; text-decoration: none;">SinglephaseChanAndVeseSparseFieldLevelSetSegmentation</ins>|}}</div></td></tr>
</table>
Ibanez
https://public.kitware.com/Wiki/index.php?title=ITK/Examples/WishList/Segmentation/SinglephaseChanAndVeseSparseFieldLevelSetSegmentation&diff=39349&oldid=prev
Ibanez: /* CMakeLists.txt */
2011-04-26T15:24:26Z
<p><span dir="auto"><span class="autocomment">CMakeLists.txt</span></span></p>
<table style="background-color: #fff; color: #202122;" 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: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 15:24, 26 April 2011</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l246">Line 246:</td>
<td colspan="2" class="diff-lineno">Line 246:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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>{{ITKCMakeLists|MultiphaseChanAndVeseSparseFieldLevelSetSegmentation|}}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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>{{ITKCMakeLists|MultiphaseChanAndVeseSparseFieldLevelSetSegmentation|}}</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; 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><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; 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><del style="font-weight: bold; text-decoration: none;">==CMakeLists.txt==</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; 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><del style="font-weight: bold; text-decoration: none;">{{#tag:syntaxhighlight</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; 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><del style="font-weight: bold; text-decoration: none;">|</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; 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><del style="font-weight: bold; text-decoration: none;">cmake_minimum_required(VERSION 2.6)</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; 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><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; 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><del style="font-weight: bold; text-decoration: none;">project({{{1}}})</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; 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><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; 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><del style="font-weight: bold; text-decoration: none;">find_package(ITK REQUIRED)</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; 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><del style="font-weight: bold; text-decoration: none;">include(${ITK_USE_FILE})</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; 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><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; 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><del style="font-weight: bold; text-decoration: none;">add_executable({{{1}}} {{{1}}}.cxx)</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; 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><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; 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><del style="font-weight: bold; text-decoration: none;">if( "${ITK_VERSION_MAJOR}" LESS 4 )</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; 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><del style="font-weight: bold; text-decoration: none;"> target_link_libraries({{{1}}} ITKReview ${ITK_LIBRARIES})</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; 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><del style="font-weight: bold; text-decoration: none;">else( "${ITK_VERSION_MAJOR}" LESS 4 )</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; 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><del style="font-weight: bold; text-decoration: none;"> target_link_libraries({{{1}}} ${ITK_LIBRARIES})</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; 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><del style="font-weight: bold; text-decoration: none;">endif( "${ITK_VERSION_MAJOR}" LESS 4 )</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; 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><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; 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><del style="font-weight: bold; text-decoration: none;">|lang=cmake}}</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
</table>
Ibanez
https://public.kitware.com/Wiki/index.php?title=ITK/Examples/WishList/Segmentation/SinglephaseChanAndVeseSparseFieldLevelSetSegmentation&diff=39348&oldid=prev
Ibanez: /* MultiphaseChanAndVeseSparseFieldLevelSetSegmentation.cxx */
2011-04-26T15:23:40Z
<p><span dir="auto"><span class="autocomment">MultiphaseChanAndVeseSparseFieldLevelSetSegmentation.cxx</span></span></p>
<table style="background-color: #fff; color: #202122;" 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: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 15:23, 26 April 2011</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l246">Line 246:</td>
<td colspan="2" class="diff-lineno">Line 246:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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>{{ITKCMakeLists|MultiphaseChanAndVeseSparseFieldLevelSetSegmentation|}}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; 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>{{ITKCMakeLists|MultiphaseChanAndVeseSparseFieldLevelSetSegmentation|}}</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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><ins style="font-weight: bold; text-decoration: none;">==CMakeLists.txt==</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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><ins style="font-weight: bold; text-decoration: none;">{{#tag:syntaxhighlight</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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><ins style="font-weight: bold; text-decoration: none;">|</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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><ins style="font-weight: bold; text-decoration: none;">cmake_minimum_required(VERSION 2.6)</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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><ins style="font-weight: bold; text-decoration: none;">project({{{1}}})</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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><ins style="font-weight: bold; text-decoration: none;">find_package(ITK REQUIRED)</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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><ins style="font-weight: bold; text-decoration: none;">include(${ITK_USE_FILE})</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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><ins style="font-weight: bold; text-decoration: none;">add_executable({{{1}}} {{{1}}}.cxx)</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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><ins style="font-weight: bold; text-decoration: none;">if( "${ITK_VERSION_MAJOR}" LESS 4 )</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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><ins style="font-weight: bold; text-decoration: none;"> target_link_libraries({{{1}}} ITKReview ${ITK_LIBRARIES})</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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><ins style="font-weight: bold; text-decoration: none;">else( "${ITK_VERSION_MAJOR}" LESS 4 )</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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><ins style="font-weight: bold; text-decoration: none;"> target_link_libraries({{{1}}} ${ITK_LIBRARIES})</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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><ins style="font-weight: bold; text-decoration: none;">endif( "${ITK_VERSION_MAJOR}" LESS 4 )</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; 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><ins style="font-weight: bold; text-decoration: none;">|lang=cmake}}</ins></div></td></tr>
</table>
Ibanez
https://public.kitware.com/Wiki/index.php?title=ITK/Examples/WishList/Segmentation/SinglephaseChanAndVeseSparseFieldLevelSetSegmentation&diff=39347&oldid=prev
Ibanez: Created page with "==MultiphaseChanAndVeseSparseFieldLevelSetSegmentation.cxx== <source lang="cpp"> // The use of the \doxygen{ScalarChanAndVeseSparseLevelSetImageFilter} is // illustrated in the..."
2011-04-26T15:23:05Z
<p>Created page with "==MultiphaseChanAndVeseSparseFieldLevelSetSegmentation.cxx== <source lang="cpp"> // The use of the \doxygen{ScalarChanAndVeseSparseLevelSetImageFilter} is // illustrated in the..."</p>
<p><b>New page</b></p><div>==MultiphaseChanAndVeseSparseFieldLevelSetSegmentation.cxx==<br />
<br />
<source lang="cpp"><br />
<br />
// The use of the \doxygen{ScalarChanAndVeseSparseLevelSetImageFilter} is<br />
// illustrated in the following example. The implementation of this filter in<br />
// ITK is based on the paper by Chan And Vese. This<br />
// implementation extends the functionality of the<br />
// level-set filters in ITK by using region-based variational techniques. These methods<br />
// do not rely on the presence of edges in the images.<br />
//<br />
// ScalarChanAndVeseSparseLevelSetImageFilter expects two inputs. The first is<br />
// an initial level set in the form of an \doxygen{Image}. The second input<br />
// is a feature image. For this algorithm, the feature image is the original<br />
// raw or preprocessed image. Several parameters are required by the algorithm<br />
// for regularization and weights of different energy terms. The user is encouraged to<br />
// change different parameter settings to optimize the code example on their images.<br />
//<br />
// Let's start by including the headers of the main filters involved in the<br />
// preprocessing.<br />
//<br />
// Software Guide : EndLatex<br />
<br />
#include "itkScalarChanAndVeseSparseLevelSetImageFilter.h"<br />
#include "itkScalarChanAndVeseLevelSetFunctionData.h"<br />
#include "itkConstrainedRegionBasedLevelSetFunctionSharedData.h"<br />
#include "itkFastMarchingImageFilter.h"<br />
#include "itkImageFileReader.h"<br />
#include "itkImageFileWriter.h"<br />
#include "itkImage.h"<br />
#include "itkAtanRegularizedHeavisideStepFunction.h"<br />
<br />
int main(int argc, char**argv)<br />
{<br />
if( argc < 6 )<br />
{<br />
std::cerr << "Missing arguments" << std::endl;<br />
std::cerr << "Usage: " << std::endl;<br />
std::cerr << argv[0] << " featureImage outputImage";<br />
std::cerr << " startx starty seedValue" << std::endl;<br />
return EXIT_FAILURE;<br />
}<br />
<br />
unsigned int nb_iteration = 500;<br />
double rms = 0.;<br />
double epsilon = 1.;<br />
double curvature_weight = 0.;<br />
double area_weight = 0.;<br />
double reinitialization_weight = 0.;<br />
double volume_weight = 0.;<br />
double volume = 0.;<br />
double l1 = 1.;<br />
double l2 = 1.;<br />
<br />
//<br />
// We now define the image type using a particular pixel type and<br />
// dimension. In this case the \code{float} type is used for the pixels<br />
// due to the requirements of the smoothing filter.<br />
//<br />
const unsigned int Dimension = 2;<br />
typedef float ScalarPixelType;<br />
typedef itk::Image< ScalarPixelType, Dimension > InternalImageType;<br />
<br />
<br />
typedef itk::ScalarChanAndVeseLevelSetFunctionData< InternalImageType,<br />
InternalImageType > DataHelperType;<br />
<br />
typedef itk::ConstrainedRegionBasedLevelSetFunctionSharedData<<br />
InternalImageType, InternalImageType, DataHelperType > SharedDataHelperType;<br />
<br />
typedef itk::ScalarChanAndVeseLevelSetFunction< InternalImageType,<br />
InternalImageType, SharedDataHelperType > LevelSetFunctionType;<br />
<br />
<br />
// We declare now the type of the numerically discretized Step and Delta functions that<br />
// will be used in the level-set computations for foreground and background regions<br />
//<br />
typedef itk::AtanRegularizedHeavisideStepFunction< ScalarPixelType,<br />
ScalarPixelType > DomainFunctionType;<br />
<br />
DomainFunctionType::Pointer domainFunction = DomainFunctionType::New();<br />
domainFunction->SetEpsilon( epsilon );<br />
<br />
// We instantiate reader and writer types in the following lines.<br />
//<br />
typedef itk::ImageFileReader< InternalImageType > ReaderType;<br />
typedef itk::ImageFileWriter< InternalImageType > WriterType;<br />
<br />
ReaderType::Pointer reader = ReaderType::New();<br />
WriterType::Pointer writer = WriterType::New();<br />
<br />
reader->SetFileName( argv[1] );<br />
reader->Update();<br />
<br />
writer->SetFileName( argv[2] );<br />
<br />
InternalImageType::Pointer featureImage = reader->GetOutput();<br />
<br />
// We declare now the type of the FastMarchingImageFilter that<br />
// will be used to generate the initial level set in the form of a distance<br />
// map.<br />
//<br />
typedef itk::FastMarchingImageFilter< InternalImageType, InternalImageType ><br />
FastMarchingFilterType;<br />
<br />
FastMarchingFilterType::Pointer fastMarching = FastMarchingFilterType::New();<br />
<br />
// The FastMarchingImageFilter requires the user to provide a seed<br />
// point from which the level set will be generated. The user can actually<br />
// pass not only one seed point but a set of them. Note the the<br />
// FastMarchingImageFilter is used here only as a helper in the<br />
// determination of an initial level set. We could have used the<br />
// \doxygen{DanielssonDistanceMapImageFilter} in the same way.<br />
//<br />
// The seeds are passed stored in a container. The type of this<br />
// container is defined as \code{NodeContainer} among the<br />
// FastMarchingImageFilter traits.<br />
//<br />
typedef FastMarchingFilterType::NodeContainer NodeContainer;<br />
typedef FastMarchingFilterType::NodeType NodeType;<br />
<br />
NodeContainer::Pointer seeds = NodeContainer::New();<br />
<br />
InternalImageType::IndexType seedPosition;<br />
<br />
seedPosition[0] = atoi( argv[3] );<br />
seedPosition[1] = atoi( argv[4] );<br />
<br />
const double initialDistance = atof( argv[5] );<br />
<br />
NodeType node;<br />
<br />
const double seedValue = - initialDistance;<br />
<br />
node.SetValue( seedValue );<br />
node.SetIndex( seedPosition );<br />
<br />
// The list of nodes is initialized and then every node is inserted using<br />
// the \code{InsertElement()}.<br />
//<br />
seeds->Initialize();<br />
seeds->InsertElement( 0, node );<br />
<br />
<br />
// The set of seed nodes is passed now to the<br />
// FastMarchingImageFilter with the method<br />
// \code{SetTrialPoints()}.<br />
//<br />
fastMarching->SetTrialPoints( seeds );<br />
<br />
<br />
// Since the FastMarchingImageFilter is used here just as a<br />
// Distance Map generator. It does not require a speed image as input.<br />
// Instead the constant value $1.0$ is passed using the<br />
// \code{SetSpeedConstant()} method.<br />
//<br />
fastMarching->SetSpeedConstant( 1.0 );<br />
<br />
// The FastMarchingImageFilter requires the user to specify the<br />
// size of the image to be produced as output. This is done using the<br />
// \code{SetOutputSize()}. Note that the size is obtained here from the<br />
// output image of the smoothing filter. The size of this image is valid<br />
// only after the \code{Update()} methods of this filter has been called<br />
// directly or indirectly.<br />
//<br />
fastMarching->SetOutputSize(<br />
featureImage->GetBufferedRegion().GetSize() );<br />
fastMarching->Update();<br />
<br />
// We declare now the type of the ScalarChanAndVeseSparseLevelSetImageFilter that<br />
// will be used to generate a segmentation.<br />
//<br />
<br />
typedef itk::ScalarChanAndVeseSparseLevelSetImageFilter< InternalImageType,<br />
InternalImageType, InternalImageType, LevelSetFunctionType,<br />
SharedDataHelperType > MultiLevelSetType;<br />
<br />
MultiLevelSetType::Pointer levelSetFilter = MultiLevelSetType::New();<br />
<br />
// We set the function count to 1 since a single level-set is being evolved.<br />
//<br />
levelSetFilter->SetFunctionCount( 1 );<br />
<br />
// Set the feature image and initial level-set image as output of the<br />
// fast marching image filter.<br />
//<br />
levelSetFilter->SetFeatureImage( featureImage );<br />
levelSetFilter->SetLevelSet( 0, fastMarching->GetOutput() );<br />
<br />
// Once activiated the level set evolution will stop if the convergence<br />
// criteria or if the maximum number of iterations is reached. The<br />
// convergence criteria is defined in terms of the root mean squared (RMS)<br />
// change in the level set function. The evolution is said to have<br />
// converged if the RMS change is below a user specified threshold. In a<br />
// real application is desirable to couple the evolution of the zero set<br />
// to a visualization module allowing the user to follow the evolution of<br />
// the zero set. With this feedback, the user may decide when to stop the<br />
// algorithm before the zero set leaks through the regions of low gradient<br />
// in the contour of the anatomical structure to be segmented.<br />
//<br />
levelSetFilter->SetNumberOfIterations( nb_iteration );<br />
levelSetFilter->SetMaximumRMSError( rms );<br />
<br />
// Often, in real applications, images have different pixel resolutions. In such<br />
// cases, it is best to use the native spacings to compute derivatives etc rather<br />
// than sampling the images.<br />
//<br />
levelSetFilter->SetUseImageSpacing( 1 );<br />
<br />
// For large images, we may want to compute the level-set over the initial supplied<br />
// level-set image. This saves a lot of memory.<br />
//<br />
levelSetFilter->SetInPlace( false );<br />
<br />
// For the level set with phase 0, set different parameters and weights. This may<br />
// to be set in a loop for the case of multiple level-sets evolving simultaneously.<br />
//<br />
levelSetFilter->GetDifferenceFunction(0)->SetDomainFunction( domainFunction );<br />
levelSetFilter->GetDifferenceFunction(0)->SetCurvatureWeight( curvature_weight );<br />
levelSetFilter->GetDifferenceFunction(0)->SetAreaWeight( area_weight );<br />
levelSetFilter->GetDifferenceFunction(0)->SetReinitializationSmoothingWeight( reinitialization_weight );<br />
levelSetFilter->GetDifferenceFunction(0)->SetVolumeMatchingWeight( volume_weight );<br />
levelSetFilter->GetDifferenceFunction(0)->SetVolume( volume );<br />
levelSetFilter->GetDifferenceFunction(0)->SetLambda1( l1 );<br />
levelSetFilter->GetDifferenceFunction(0)->SetLambda2( l2 );<br />
<br />
levelSetFilter->Update();<br />
<br />
writer->SetInput( levelSetFilter->GetOutput() );<br />
<br />
try<br />
{<br />
writer->Update();<br />
}<br />
catch( itk::ExceptionObject & excep )<br />
{<br />
std::cerr << "Exception caught !" << std::endl;<br />
std::cerr << excep << std::endl;<br />
return -1;<br />
}<br />
<br />
return EXIT_SUCCESS;<br />
}<br />
<br />
</source><br />
<br />
{{ITKCMakeLists|MultiphaseChanAndVeseSparseFieldLevelSetSegmentation|}}</div>
Ibanez