<div>Hi Niranjan</div>  <div>I tried to use your hints but&nbsp;as I undrestand ThresholdSegmentationLevelSetImageFilter&nbsp;uses static&nbsp;functions.</div>  <div>Thanks a lot for attention.&nbsp;</div>  <div>Alireza<BR><BR><B><I>Niranjan Joshi &lt;njoshi@robots.ox.ac.uk&gt;</I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi there,<BR><BR>I am also trying to do the same. so far I have figured out the following:<BR>1. you can modify the ThresholdSegmentationLevelSetImageFilter and <BR>ThresholdSegmentationLevelSetFunction or<BR>alternatively you can create the new class from scrach from the parent <BR>classes of the respective filter.<BR>2.you need to redefine the following virtual functions in you class <BR>definitions: InitializeIteration() and CalculateSpeedImage()<BR><BR>I dont know how to modify the advection term as I am not using it at all.<BR><BR>hope this
 helps,<BR><BR>Niranjan.<BR><BR>alireza akhundi asl wrote:<BR><BR>&gt; Hi<BR>&gt; I'm trying to implement Active contours without edge method using <BR>&gt; levelset. so i need to update advection and propagation images in each <BR>&gt; iteration. I dont know which class is good for my base class and which <BR>&gt; virtual functions are more important. As I undrestand classes such as <BR>&gt; Segmentationlevelsetfunction and Segmentationlevelsetfilter and <BR>&gt; SparseFieldLevelsetimagefilter and levelsetfunction are important ones.<BR>&gt; thanks for attention<BR>&gt; Alireza<BR>&gt;<BR>&gt; ------------------------------------------------------------------------<BR>&gt; Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great <BR>&gt; rates starting at 1¢/min. <BR>&gt; <HTTP: evt="39666/*http://beta.messenger.yahoo.com" us.rd.yahoo.com *http: postman7 taglines mail_us><BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; <HTTP: evt="39666/*http://beta.messenger.yahoo.com"
 us.rd.yahoo.com *http: postman7 taglines mail_us><BR>&gt;------------------------------------------------------------------------<BR>&gt;<BR>&gt;_______________________________________________<BR>&gt;Insight-users mailing list<BR>&gt;Insight-users@itk.org<BR>&gt;http://www.itk.org/mailman/listinfo/insight-users<BR>&gt; <HTTP: evt="39666/*http://beta.messenger.yahoo.com" us.rd.yahoo.com *http: postman7 taglines mail_us><BR>&gt;<BR><BR></BLOCKQUOTE><BR><p>
        
                <hr size=1><a href="http://us.rd.yahoo.com/mail_us/taglines/postman3/*http://us.rd.yahoo.com/evt=39666/*http://beta.messenger.yahoo.com">Yahoo! Messenger with Voice.</a> PC-to-Phone calls for ridiculously low rates.