[vtkusers] vtkImageWeightedSum and registering data

Jothybasu K Selvaraj jothybasu at gmail.com
Sat Apr 10 08:25:27 EDT 2010


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/20100410/b3ae0f79/attachment.htm>


More information about the vtkusers mailing list