<div dir="ltr">Hi Cory,<div><br></div><div>Thank you so much for your response. Really appreciate it.</div><div><br></div><div>Well, i used the Programmable Filter and gave the spacing in mm.</div><div>(i am suppose to get a 3D model), unfortunately i am getting a straight line (pls see the attachment).</div><div><br></div><div>Earlier i was using the Calculator filter and i only could see slices.</div><div>My intention is to obtain a model with one smooth surface  (if there is an approach to smooth the transitions of the slices that would do my job :)....)</div><div><br></div><div>Kindly give me a hint.</div><div><br></div><div><br></div><div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Warm regards,<div>Chathuri Gunasekera.</div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 15, 2016 at 3:25 AM, Cory Quammen <span dir="ltr"><<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">I suspect you are running out of memory with the Transform Filter.<br>
<br>
Another approach would be to use a Programmable Filter and just change<br>
the spacing information of the image data. Try this Python in the<br>
Script property of the Programmable Filter:<br>
<br>
input = self.GetInput()<br>
output = self.GetOutput()<br>
output.ShallowCopy(input)<br>
output.SetSpacing(xSpacing, ySpacing, zSpacing)<br>
<br>
That should do the trick.<br>
<br>
HTH,<br>
Cory<br>
<div class=""><div class="h5"><br>
<br>
On Tue, Jun 14, 2016 at 7:34 PM, Chathu Gunasekera <<a href="mailto:cgunases@gmail.com">cgunases@gmail.com</a>> wrote:<br>
> Thank you so much for your response Cory.<br>
> Well, you're correct, i am referring to the spacing.<br>
> When i use the Transform Filter (units in mm) and apply it to the model, the<br>
> Paraview crashes (Paraview stops working and close the program by itself).<br>
> Do you know what could be the error?<br>
> What am i doing wrong here? I am clueless..<br>
> Your suggestions are welcome.<br>
> Thank you .<br>
><br>
><br>
><br>
> --<br>
> Warm regards,<br>
> Chathuri Gunasekera.<br>
><br>
><br>
> On Tue, Jun 14, 2016 at 9:12 PM, Cory Quammen <<a href="mailto:cory.quammen@kitware.com">cory.quammen@kitware.com</a>><br>
> wrote:<br>
>><br>
>> Chathuri,<br>
>><br>
>> I'm not really sure what you mean by adding slice thickness. Slices<br>
>> are always infinitesimally thin planes in ParaView.<br>
>><br>
>> Do you mean setting the spacing between image slices? If so, you<br>
>> should be able to do that with the Transform filter, which lets you<br>
>> specify a different scale in X, Y, and Z. I am assuming your slices<br>
>> are read in with spacing of 1 x 1 x 1 (no units specified). You should<br>
>> be able to scale to whatever units you wish to use with your knowledge<br>
>> of both the X and Y spacing in each slice and the Z spacing between<br>
>> slices.<br>
>><br>
>> HTH,<br>
>> Cory<br>
>><br>
>> On Sat, May 14, 2016 at 11:54 AM, Chathuri Gunasekera<br>
>> <<a href="mailto:cgunases@gmail.com">cgunases@gmail.com</a>> wrote:<br>
>> > Hi,<br>
>> ><br>
>> > I have lot of image slices which need to employ in generating a 3D<br>
>> > model.<br>
>> ><br>
>> > Can someone kindly tell me, how to add the  slice thickness in ParaView?<br>
>> ><br>
>> > Thanks in advance.<br>
>> > --<br>
>> > Warm regards,<br>
>> > Chathuri Gunasekera.<br>
>> ><br>
>> > _______________________________________________<br>
>> > Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
>> ><br>
>> > Visit other Kitware open-source projects at<br>
>> > <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>> ><br>
>> > Please keep messages on-topic and check the ParaView Wiki at:<br>
>> > <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>> ><br>
>> > Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
>> ><br>
>> > Follow this link to subscribe/unsubscribe:<br>
>> > <a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> Cory Quammen<br>
>> R&D Engineer<br>
>> Kitware, Inc.<br>
><br>
><br>
><br>
><br>
><br>
<br>
<br>
<br>
--<br>
Cory Quammen<br>
R&D Engineer<br>
Kitware, Inc.<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>
</div></div>