<div dir="ltr">GaussianFilter->GetOutput() should return the output in vtkImageData format.<br><br>Try and let's know<br><br>Jothy<br><br><div class="gmail_quote">On Wed, Jul 14, 2010 at 3:13 PM, Liam Kurmos <span dir="ltr"><<a href="mailto:quantum.leaf@googlemail.com">quantum.leaf@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Wed, Jul 14, 2010 at 3:04 PM, Jothy <<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>> wrote:<br>
> My problem was different. I was trying to create a graduall fall off from<br>
> the image with a uniform scalar value inside it. Something like a cube of<br>
> uniform values and a graduall fall of scalar value from its edges.<br>
><br>
<br>
</div>I see. I imagine that is what should happen if you smooth such an<br>
image by gaussian convolution.<br>
<br>
I already have summed gaussian data in my image ( which should be<br>
smooth). I'm trying to use a library to produce a Contour Tree from<br>
the data but it is producing spurious values, though i am sceptical my<br>
supervisor want me to try smoothing the gaussian data and see if that<br>
solves the problem.<br>
<br>
Is there a way i can feed the output of the gaussianSmoothFilter back<br>
into the vtkImageData vol, such that it updates it with smoothed<br>
values and i can then access these with<br>
vol->GetScalarComponentAsFloat(i, j, k, 0);<br>
<br>
?<br>
<font color="#888888"><br>
<br>
Liam<br>
</font></blockquote></div><br></div>