[vtkusers] vtkImageWeightedSum and registering data
Scott Johnson
Scott.Johnson at neuwave.com
Sun Apr 11 21:32:22 EDT 2010
Hello Jothy,
I hadn't seen the example, but that is what I am doing to sum the
images. My problem is the registration of the image volumes prior to
summing. David sent me a suggestion but I haven't had a chance to try
it yet.
vtkImageWeightedSum and vtkImageMathematics perform a voxel by voxel
sum. I need to perform a spatial summing because the structures in my
image volumes have moved.
Thanks
-- Scott
From: Jothybasu K Selvaraj [mailto:jothybasu at gmail.com]
Sent: Saturday, April 10, 2010 7:25 AM
To: Scott Johnson
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] vtkImageWeightedSum and registering data
Have you seen this example
http://www.itk.org/Wiki/VTK/Examples/Python/SumVTKImages
Jothy
On Fri, Apr 9, 2010 at 9:58 PM, Scott Johnson
<Scott.Johnson at neuwave.com> wrote:
Hello,
I'm using vtk 5.4.2 on a windows platform.
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.
I've tried connecting the vtkDICOMImageReader ->
vtkImageChangeInformation -> vtkImageWeightedSum and
vtkDICOMImageReader->vtkImageReslice->vtkImageWeightedSum. Neither of
which worked.
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.
Is there a way to do this in vtk or do I need to incorporate some itk?
Thanks
-- Scott
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the VTK FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100411/b26d2895/attachment.htm>
More information about the vtkusers
mailing list