[vtkusers] vtkImageReslice rotation and resampling question

Richard Brown richard.j.brown at live.co.uk
Fri Jul 8 09:07:36 EDT 2016


Hi all,

I have a fairly simple problem, and one that I’m sure has previously been solved here, but I’m struggling to find the right keywords to find a useful thread.

I would like to superpose a kernel vtkImageData (kernel.png) onto a grid vtkImageData (grid.png). The kernel will be rotated (superpose.png), however, so the kernel will requiring resampling before superposition is possible (superposition_and_resample.png).

What is the best way to do this? I feel like I can simply use vtkImageReslice, but I’m not 100%. 

Thanks in advance for any pointers.

Regards,
Richard


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160708/f9f2d562/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel.png
Type: image/png
Size: 3153 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160708/f9f2d562/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grid.png
Type: image/png
Size: 7905 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160708/f9f2d562/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: superposition.png
Type: image/png
Size: 20880 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160708/f9f2d562/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: superposition_and_resample.png
Type: image/png
Size: 7907 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160708/f9f2d562/attachment-0003.png>


More information about the vtkusers mailing list