<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"><base href="x-msg://145/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>It's not clear to me quite what you are saying. Perhaps code snippets would have made it clearer, if you are going to refer to variables in you own code.</div><div><br></div><div>Are you saying that the ITK filter has a bug? That when it's re-executed some internal variables are not correctly reset?</div><div><br></div><div>If you have a fix, you can commit the fix to git and push the fix up to gerrit for review to be merged into the ITK repo.</div><div><br></div><div>Here is some information on how to do that:</div><div><a href="http://insightsoftwareconsortium.github.io/ITKBarCamp-doc/CommunitySoftwareProcess/SubmitAPatchToGerrit/index.html">http://insightsoftwareconsortium.github.io/ITKBarCamp-doc/CommunitySoftwareProcess/SubmitAPatchToGerrit/index.html</a></div><div><br></div><div>Thanks,</div><div>Brad</div><div><br><div><div>On Sep 25, 2013, at 8:23 AM, "Chr. Rossmanith" <<a href="mailto:cr@neuro.ma.uni-heidelberg.de">cr@neuro.ma.uni-heidelberg.de</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000" style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">Hi,<br><br>to enable using itkLabelGeometryImageFilter in a loop m_AllLabels and m_LabelGeometryMapper have to be initialized prior to the loop "while ( !labelIt.IsAtEnd() ) { ... }" (line 210 in itkLabelGeometryImageFilter.hxx):<br><br>m_AllLabels.clear()<br>m_LabelGeometryMapper.clear();<br><br>How would this fix find its way into ITK?<br><br>Christina Roßmanith<br><br>_____________________________________<br>Powered by<span class="Apple-converted-space"> </span><a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br><a href="http://www.kitware.com/products/protraining.php">http://www.kitware.com/products/protraining.php</a><br><br>Please keep messages on-topic and check the ITK FAQ at:<br><a href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br></div></blockquote></div><br></div></body></html>