Hi Rashed,<br>
<br>
I use GradientAnisotropicDiffusionImageFilter quite intensively in my application as the preprocessing step for segmentation. I think the parameters depends on what post steps you are going to do. So the best way probably to get the best parameter combinations is to try it yourself.&nbsp; Usually I can get pretty good results from the default parameter settings in T1 image, and slightly tweaking iterations and conductance rate on FLAIR modality due to partial volume effect. Tuning iterations will make image more blured and conductance rate constrains the fuzziness of edges. As for timestep I left it remains default &nbsp; m_TimeStep = 0.5 / vcl_pow(2.0, static_cast&lt;double&gt;(ImageDimension));. Following are the comments copy and paste from sourcecode:<br>
<br>
&nbsp;*&nbsp; \par Parameters<br>
&nbsp;*&nbsp; Set/GetNumberOfIterations specifies the number of iterations (time-step updates)<br>
&nbsp;*&nbsp; that the solver will perform to produce a solution image.&nbsp; The appropriate<br>
&nbsp;*&nbsp; number of iterations is dependent on the application and the image being<br>
&nbsp;*&nbsp; processed.&nbsp; As a general rule, the more iterations performed, the more<br>
&nbsp;*&nbsp; diffused the image will become.<br>
&nbsp;*<br>
&nbsp;*&nbsp; \par<br>
&nbsp;*&nbsp; Set/GetTimeStep sets the time step to be used for each iteration (update).<br>
&nbsp;*&nbsp; This parameter is described in detail in itkAnisotropicDiffusionFunction.<br>
&nbsp;*&nbsp; The time step is constrained at run-time to keep the solution stable.&nbsp; In<br>
&nbsp;*&nbsp; general, the time step should be at or below 1/2^N, where N is the<br>
&nbsp;*&nbsp; dimensionality of the image.<br>
&nbsp;*<br>
&nbsp;*&nbsp; \par<br>
&nbsp;*&nbsp; Set/GetConductanceParameter set a common parameter used by subclasses of<br>
&nbsp;*&nbsp; itkAnisotropicDiffusionFunction.&nbsp;&nbsp; See itkAnisotropicDiffusionFunction for<br>
&nbsp;*&nbsp; detailed information.<br>
<br>
<br>
HTH<br>
john<br>
<br>
<PRE wrap="">Hi everyone,<br>
<br>
I am trying to use the tkGradientAnisotropicDiffusionImageFilter class.  I<br>
cannot figure out what values to use for its parameters. What numbers<br>
typically are used for number of iterations, conductance and time step?<br>
<br>
Thanks,<br>
Rashed karim.</PRE><div class="AOLPromoFooter">
<hr style="margin-top:10px;" />
Get a FREE AOL Email account with 2GB of storage.  Plus, share and store photos and experience exclusively recorded live music Sessions from your favourite artists. <a href="http://info.aol.co.uk/joinnow/?ncid=548" target="_blank">Click Here</a> for more information.<br />
</div>