Hi Jihan,<br><br>The files were recently moved to the Review directory in ITK and underwent some changes. We are working on updating the examples and the Insight Journal submission as well. <br><br>The IJ submission is a little old and has not been updated for a while.<br>
<br>I will get back to you shortly with more information.<br><br>Kishore<br><br><pre>Dear ITK users,<br><br>I&#39;m recently working with Level set and Mumford-Shah model. I Download your<br>code from the Insight-Journal web site &quot;<br>
<a href="http://www.insight-journal.org/browse/publication/322%22,">http://www.insight-journal.org/browse/publication/322&quot;,</a> the code compile<br>nicely, but when i want to run an example it shows a message of type<br>
segmentation failed. Anyone tried this before?<br><br>I try to run the following code.<br>./ScalarSinglePhaseSparse2DTest example2D.png phi.mha seg.mha -i 50 --l1 1<br>--l2 1 --nu 10000<br>the message I got is:<br>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
SparseMultiphaseLevelSetImageFilter (0x88cd3f0)<br>  RTTI typeinfo:<br>itk::SparseMultiphaseLevelSetImageFilter&lt;itk::Image&lt;float, 2u&gt;,<br>itk::Image&lt;float, 2u&gt;,<br>itk::ScalarChanAndVeseLevelSetFunction&lt;itk::Image&lt;float, 2u&gt;,<br>
itk::Image&lt;float, 2u&gt;,<br>itk::ScalarChanAndVeseSharedFunctionData&lt;itk::Image&lt;float, 2u&gt;,<br>itk::Image&lt;float, 2u&gt; &gt; &gt;, float&gt;<br>  Reference Count: 2<br>  Modified Time: 361<br>  Debug: Off<br>
  Observers:<br>    none<br>  Number Of Required Inputs: 1<br>  Number Of Required Outputs: 1<br>  Number Of Threads: 2<br>  ReleaseDataFlag: Off<br>  ReleaseDataBeforeUpdateFlag: Off<br>  Input 0: (0x88b5278)<br>  Output 0: (0x88cd4d0)<br>
  Output 1: (0x88cd630)<br>  AbortGenerateData: Off<br>  Progress: 0<br>  Multithreader:<br>    RTTI typeinfo:   itk::MultiThreader<br>    Reference Count: 1<br>    Modified Time: 324<br>    Debug: Off<br>    Observers:<br>
      none<br>    Thread Count: 2<br>    Global Maximum Number Of Threads: 0<br>  InPlace: Off<br>  The input and output to this filter are the same type. The filter can be<br>run in place.<br>  ElapsedIterations: 0<br>  UseImageSpacing: Off<br>
  State: 0<br>  MaximumRMSError: 0<br>  NumberOfIterations: 50<br>  ManualReinitialization: 0<br>  RMSChange: 0<br><br>  DifferenceFunction:<br>    ScalarChanAndVeseLevelSetFunction (0x88bca78)<br>      RTTI typeinfo:<br>
itk::ScalarChanAndVeseLevelSetFunction&lt;itk::Image&lt;float, 2u&gt;,<br>itk::Image&lt;float, 2u&gt;,<br>itk::ScalarChanAndVeseSharedFunctionData&lt;itk::Image&lt;float, 2u&gt;,<br>itk::Image&lt;float, 2u&gt; &gt; &gt;<br>
      Reference Count: 1<br>      Radius: [1, 1]<br>      ScaleCoefficients: 0x88bcaa0      WaveDT: 0.25<br>      DT: 0.25<br>      UseMinimalCurvature 0<br>      EpsilonMagnitude: 1e-05<br>      AdvectionWeight: 0<br>      PropagationWeight: 0<br>
      CurvatureWeight: 0<br>      LaplacianSmoothingWeight: 0<br><br>  m_IsoSurfaceValue: 0<br>  m_BoundsCheckingActive: 0  m_LayerNodeStore:<br>    ObjectStore (0x88b7958)<br>      RTTI typeinfo:<br>itk::ObjectStore&lt;itk::SparseFieldLevelSetNode2&lt;itk::Index&lt;2u&gt; &gt; &gt;<br>
      Reference Count: 1<br>      Modified Time: 345<br>      Debug: Off<br>      Observers:<br>        none<br>      m_GrowthStrategy: 1<br>      m_Size: 0<br>      m_LinearGrowthSize: 1024<br>      Free list size: 0<br>
      Free list capacity: 0<br>      Number of blocks in store: 0<br>  m_UpdateBuffer: size=0 capacity = 0<br>  Name Of Class: SparseMultiphaseLevelSetImageFilter<br>  m_ReverseExpansionDirection = 0<br>  m_AutoGenerateSpeedAdvection = 1<br>
  Name Of Class:<br><br>Segmentation failed.<br>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>I want to mention that I&#39;m running this code in Ubuntu 9.04.<br>Thanks in Advance.<br>Jihan Zoghbi<br><a href="http://www.ime.usp.br/~jihan">www.ime.usp.br/~jihan</a><br>
-- <br>Jihan Zoghbi<br><a href="http://www.ime.usp.br/%7Ejihan/">http://www.ime.usp.br/~jihan/</a><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: &lt;<a href="http://www.itk.org/pipermail/insight-users/attachments/20090512/5a54e16d/attachment.htm">http://www.itk.org/pipermail/insight-users/attachments/20090512/5a54e16d/attachment.htm</a>&gt;<br>
</pre><br>