Thanks Vicent!<br><br><br><br><div class="gmail_quote">On 4 October 2012 11:12, Vincent LEFORT <span dir="ltr">&lt;<a href="mailto:vincent.lefort@aquilab.com" target="_blank">vincent.lefort@aquilab.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="FR">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">It’s not possible to have vtkImageData with different spacing.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">You can use the vtkRectilinearGrid to do same thing, but vtkImageAlgorithm will not work on it. After you can maybe convert this rectilinear grid to an vtkImageData
 …<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">De :</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:vtkusers-bounces@vtk.org" target="_blank">vtkusers-bounces@vtk.org</a> [mailto:<a href="mailto:vtkusers-bounces@vtk.org" target="_blank">vtkusers-bounces@vtk.org</a>]
<b>De la part de</b> Paulo Henrique Junqueira Amorim<br>
<b>Envoyé :</b> jeudi 4 octobre 2012 14:53<br>
<b>À :</b> Darshan Pai<br>
<b>Cc :</b> VTK Users<br>
<b>Objet :</b> Re: [vtkusers] vtkImageData with different spacing<u></u><u></u></span></p>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Darshan,<br>
<br>
Thanks! Reading the class documentation says: &quot;<a href="http://www.vtk.org/doc/nightly/html/classvtkImageChangeInformation.html" title="modify spacing, origin and extent." target="_blank">vtkImageChangeInformation</a> modify the spacing, origin, or extent of the data without
 changing the data itself. The data is not resampled by this filter, only the information accompanying the data is modified.&quot;
<br>
<br>
Is it possible a vtkImageData have <span><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">varied</span></span> spacing?<br>
<br>
Regards,<br>
Paulo Amorim<br>
<br>
<br>
<a href="http://www.vtk.org/doc/nightly/html/classvtkImageChangeInformation.html" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkImageChangeInformation.html</a><u></u><u></u></p>
<div>
<p class="MsoNormal">On 4 October 2012 01:18, Darshan Pai &lt;<a href="mailto:darshanpai@gmail.com" target="_blank">darshanpai@gmail.com</a>&gt; wrote:<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">I think you need to use the vtkImageChangeInformation to do this.<br>
<br>
Regards<u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">On Wed, Oct 3, 2012 at 6:01 PM, Paulo Henrique Junqueira Amorim &lt;<a href="mailto:paulojamorim@gmail.com" target="_blank">paulojamorim@gmail.com</a>&gt; wrote:<u></u><u></u></p>
</div>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi all!<br>
<br>
I need generate a vtkImageData from two vtkImageData with different pixel spacing in the z axis.
<span lang="EN">Is there any alternative to do this in the VTK?<br>
<br>
Regards,<br>
Paulo</span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div></div></div>
</div>

</blockquote></div><br>