<div dir="ltr">Can it be done using vtkImageReslice?<br><br>Thanks<br><br>Jothy<br><br><div class="gmail_quote">On Tue, Dec 6, 2011 at 6:15 PM, Bill Lorensen <span dir="ltr">&lt;<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">From the documentation:<br>
// vtkImageRectilinearWipe makes a rectilinear combination of two<br>
// images. The two input images must correspond in size, scalar type and<br>
// number of components.<br>
<br>
You will need to resample one of the images so that they both<br>
correspond in size.<br>
<div><div class="h5"><br>
<br>
On Tue, Dec 6, 2011 at 9:14 AM, Jothybasu Selvaraj &lt;<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>&gt; wrote:<br>
&gt; Always the second input is shown improperly. The first input is shown as<br>
&gt; colored dots.<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Dec 6, 2011 at 2:13 PM, Jothybasu Selvaraj &lt;<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi all,<br>
&gt;&gt;<br>
&gt;&gt; I am trying to use vtkImageRectilinearWipe with two images resliced by<br>
&gt;&gt; vtkImageReslice (from 3D vtkImageData), they both have different spacing and<br>
&gt;&gt; dimensions but same scalar type(float) and number of scalar components. I am<br>
&gt;&gt; not able to get the both images in the wipe widget properly (see the<br>
&gt;&gt; attached pic). I tried using vtkImageWrapPad, but still I can&#39;t get it to<br>
&gt;&gt; work properly.<br>
&gt;&gt;<br>
&gt;&gt; What could be the problem, any suggestions?<br>
&gt;&gt;<br>
&gt;&gt; Thanks<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Jothy<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Jothy<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Unpaid intern in BillsBasement at noware dot com<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Jothy<br></div><br>
</div>