<div dir="ltr">Have you seen this example<br><br><a href="http://www.itk.org/Wiki/VTK/Examples/Python/SumVTKImages">http://www.itk.org/Wiki/VTK/Examples/Python/SumVTKImages</a><br><br>Jothy<br><br><div class="gmail_quote">
On Fri, Apr 9, 2010 at 9:58 PM, Scott Johnson <span dir="ltr"><<a href="mailto:Scott.Johnson@neuwave.com">Scott.Johnson@neuwave.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 link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal">Hello,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I’m using vtk 5.4.2 on a windows platform.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I’ve got a number of DICOM series which are being read
by vtkDICOMImageReaders. Now I need to register them and average the
pixel values. For now I’m just adding translations to the origins and
connecting them to a vtkImageWeightedSum object. The issue is that my translations
don’t seem to have an effect.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I’ve tried connecting the vtkDICOMImageReader ->
vtkImageChangeInformation -> vtkImageWeightedSum and
vtkDICOMImageReader->vtkImageReslice->vtkImageWeightedSum. Neither
of which worked. </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Looking at the source code for vtkImageWeightedSum, I guess
it makes sense because it is doing a voxel by voxel summing and not taking the
spatial location of the pixels into account.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Is there a way to do this in vtk or do I need to incorporate
some itk?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> --
Scott</p>
<p class="MsoNormal"> </p>
</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>