<div dir="ltr">Thanks very much for the suggestion!<br><br>I will try and let you know.<br><br><br>Jothy<br><br><div class="gmail_quote">On Wed, Feb 2, 2011 at 5:31 PM, John Fraser <span dir="ltr">&lt;<a href="mailto:John.Fraser@icr.ac.uk">John.Fraser@icr.ac.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


<div style="margin:4px 4px 1px;font:10pt Tahoma"><div class="im">
<div>Have you looked at vtkImageMathematics?  You can use SetOperationToAdd to add two images (kernels in your case) together.  Then you can use the convolution functions supported by VTK to convolve the image and resulting kernel.</div>

<div><br><br>&gt;&gt;&gt; Jothy &lt;<a href="mailto:jothybasu@gmail.com" target="_blank">jothybasu@gmail.com</a>&gt; 01/02/2011 13:06:13 &gt;&gt;&gt;<br></div>
</div><div><div></div><div class="h5"><div style="color:#000000">
<div dir="ltr">Hi all,<br><br>I want to sum two gaussian kernels (with different stdevs) and convolve a vtkImageData with that kernel.<br><br>How is this possible in vtk?<br><br>Thanks,<br><br>Jothy</div></div></div></div>
</div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>