<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class="">
Hi all,<div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">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).</div><div class=""><br class=""></div><div class="">What is the best way to do this? I feel like I can simply use vtkImageReslice, but I’m not 100%. </div><div class=""><br class=""></div><div class="">Thanks in advance for any pointers.</div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Richard</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><img apple-inline="yes" id="DA032196-99AA-4AAC-824A-420E17D65513" height="139" width="70" apple-width="yes" apple-height="yes" src="cid:1A851585-98D4-4814-AEB0-32B741D2237D@inserm.lan" class=""><img apple-inline="yes" id="1CE872AE-3E12-4788-B6A6-F03817D15E82" height="380" width="404" apple-width="yes" apple-height="yes" src="cid:A921A493-5EDB-455E-A97E-F9B15419F2AD@inserm.lan" class=""><img apple-inline="yes" id="F026204F-593D-486D-80C3-7C323F75CE6C" height="380" width="404" apple-width="yes" apple-height="yes" src="cid:9317B535-2AD5-471E-AC3D-3BC0D7E41EF5@inserm.lan" class=""><img apple-inline="yes" id="A4F4A57C-61A5-4788-8C81-73032536BCB2" height="373" width="395" apple-width="yes" apple-height="yes" src="cid:4A0128A5-D9D1-4C8F-8D69-C2A6D2A84BAE@inserm.lan" class=""></div></body></html>