<div>Dear itk users,</div>
<div> </div>
<div>I am recently working on Level Set Methods and Prior Shape based models. I downloaded itk code &quot; Active Contour Without Edges&quot;.  As my understandings the regions information are computed in RegionBasedLevelSetFunction and the core filter is <span lang="">DenseMultiphaseLevelSetImageFilter. I can not see how this filter makes connection with RegionBasedLevelSetFunction to calculate speed. It seems that function CalculateSpeedImage() should be called to achieve GenerateSpeedImage() in <span lang="">DenseMultiphaseSegmentationLevelSetImageFilter. why RegionBasedLevelSetFunction does not implement function CalculatedSpeedImage(). How RegionBasedLevelSetFunction is used in <span lang="">DenseMultiphaseLevelSetImageFilter.</span></span></span></div>

<div><span lang=""><span lang=""><span lang=""></span></span></span> </div>
<div><span lang=""><span lang=""><span lang="">I would like to change the code into different energy function and different gradient descent flow, but I do not know exactly which parts are involved.</span></span></span></div>

<div><span lang=""><span lang=""><span lang=""></span></span></span> </div>
<div><span lang=""><span lang=""><span lang="">Many thanks,</span></span></span></div>
<div><span lang=""><span lang=""><span lang="">Mahshid</span></span></span></div>
<div><span lang=""><span lang=""></span></span> </div>
<div><span lang=""><span lang=""></span></span> </div>