<div dir="ltr">I actually had no success using vtkSimpleImageToImageFilter. The filter works if I use SetInputData to set one single input image. However if I use AddInputData to add two images, the RequestData method in the filter never gets called.<div>
<br></div><div>Any pointers as to why?</div><div><br></div><div>Thanks</div><div>Eduardo</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 14, 2013 at 4:08 PM, Eduardo Poyart <span dir="ltr"><<a href="mailto:poyart@gmail.com" target="_blank">poyart@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I'm working with 3D images (volumes). I need to take two volumes and their respective transformations, and combine them into one single volume by cross-fading between them. </div>
<div><br></div><div>That is: if you define a line between the two centroids, a point in the middle of this line will have 50% of the intensity of the first volume and 50% of the second volume. Other points will proportionally have more of the first or of the second volume.</div>
<div><br></div><div>What would be a recommended way to do it?</div><div><br></div><div>I'm trying to implement it as a vtkSimpleImageToImageFilter. I modified RequestData so I can get access to two input images. What would be a good way to find the extents of the output image?</div>
<div><br></div><div>Maybe there is a standard way to do that, but I haven't found it...</div><div><br></div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><div>Eduardo</div><div><br></div></font></span></div>
</blockquote></div><br></div>