Thanks Kevin,<br><br>Indeed, my threshold wasn't high enough !<br>I 'd increased it over
1000 with gradient magnitude threshold activated and over 100 with
pixel gradient threshold activated. And it's better when the number of
iterations is high.<br><br>
An other point for the next users of this filter : when you use the
vtkImageAnisotropicDiffusion2D on one slice of your volume, the
threshold will be totally diiferent. So if it works on a volume'slice,
it'll not necessarily work on the volume and inversely ! <br><br><div class="gmail_quote">2009/6/9 Kevin H. Hobbs <span dir="ltr"><<a href="mailto:hobbsk@ohiou.edu">hobbsk@ohiou.edu</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Mon, 2009-06-08 at 15:29 +0200, Marie HUC wrote:<br>
> Hi,<br>
><br>
> I’m trying to apply the vtkImageAnisotropicDiffusion3D filter which<br>
> use vtkImageData. I have tried many parameters but without success:<br>
> the compilation works, but after the execution, nothing happens (I<br>
> have exactly the same volume when I visualize it with a renderer).<br>
><br>
> Is there anyone that have used this filter and had some results?<br>
><br>
<br>
</div>I've used this filter. My bet is that either your threshold is too low,<br>
your number of iterations is too low, or your diffusion factor is too<br>
low...<br>
<div class="im"><br>
> Moreover, I would like to compare the two volumes (initial volume and<br>
> filtered volume) in order to see if the filter has an effect but I<br>
> don’t know how to compare two vtkImageData…?<br>
<br>
</div>You might want to try the vtkImageCheckerboard class.<br>
</blockquote></div><br>