<div dir="ltr">Hi Satwik,<div><br></div><div>The VTK imaging pipeline works by "streaming", which means that if you display one slice, then the entire pipeline is executed for that slice, and when you move to the next slice, it re-executes for that next slice, etc.</div><div><br></div><div>It's easy to keep this from occurring.  Just call Update() on the filter after you have set up the filter.  Even better, you can use SetInputData() and GetOutput() to connect the filter.  In VTK 6, 7, and 8 these methods will disable streaming.</div><div><br></div><div>If it still updates slowly after you've done this, let me know.</div><div><br></div><div>Cheers,</div><div><br></div><div> - David</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 28, 2017 at 8:59 AM, satwik k <span dir="ltr"><<a href="mailto:satwik.k8@gmail.com" target="_blank">satwik.k8@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="auto">Hi David,<div dir="auto"><br><div dir="auto">I'm using vtkDicomCtRectifier API to correct gantry rotation. But i'm facing slowness while updating.</div><div dir="auto"><br></div><div dir="auto">Is there any better way to speed up the computation. I tried it, by enabling SMP, but also facing slowness.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Satwik k</div></div></div><div class="m_4385604258064977737HOEnZb"><div class="m_4385604258064977737h5"><div class="gmail_extra"><br><div class="gmail_quote">On Nov 28, 2017 10:14 AM, "satwik k" <<a href="mailto:satwik.k8@gmail.com" target="_blank">satwik.k8@gmail.com</a>> wrote:<br type="attribution"><blockquote class="m_4385604258064977737m_3333502450052923403m_3983331571876916616quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi David, thanx for the reply... VTKDICOM module got compiled after cloning from git.<div><br></div><div>Regards,</div><div>Satwik k</div></div><div class="m_4385604258064977737m_3333502450052923403m_3983331571876916616elided-text"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 27, 2017 at 10:14 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@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">Please keep your replies on-list (CC to <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>).<div><br></div><div>It should build either way, but if you are on Windows, cloning is better because git will give you the correct line-endings for the source files (i.e. <CR><NL> on Windows instead of just <NL>).</div><div><br></div><div>Just to be sure, did you find the build instructions?  They're on the following page:</div><div><a href="http://dgobbi.github.io/vtk-dicom/doc/api/installation.html" target="_blank">http://dgobbi.github.io/vtk-di<wbr>com/doc/api/installation.html</a></div><span class="m_4385604258064977737m_3333502450052923403m_3983331571876916616m_-1352251260368796961HOEnZb"><font color="#888888"><div><br></div><div> - David</div><div><br></div></font></span></div><div class="m_4385604258064977737m_3333502450052923403m_3983331571876916616m_-1352251260368796961HOEnZb"><div class="m_4385604258064977737m_3333502450052923403m_3983331571876916616m_-1352251260368796961h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 27, 2017 at 9:28 AM, satwik k <span dir="ltr"><<a href="mailto:satwik.k8@gmail.com" target="_blank">satwik.k8@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="auto">Currently I'm trying to build vtkdicom using vtk 7.1.. <div dir="auto">Trying to build using cmake. I'm getting vtkDICOMModule.h missing.</div><div dir="auto"><br></div><div dir="auto">I'm using Windows 7 and I downloaded vtkdicom as zip file from github.</div><div dir="auto"><br></div><div dir="auto">Should I clone it or by downloading zip file also it builds..?</div></div><div class="m_4385604258064977737m_3333502450052923403m_3983331571876916616m_-1352251260368796961m_2068536354384726253HOEnZb"><div class="m_4385604258064977737m_3333502450052923403m_3983331571876916616m_-1352251260368796961m_2068536354384726253h5"><div class="gmail_extra"><br><div class="gmail_quote">On Nov 27, 2017 21:46, "David Gobbi" <<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Please keep your replies on-list.<div><br></div><div>What version of VTK?  I test every release to make sure that vtk-dicom builds, but any information you can give might help me understand what's going wrong.  And what compiler are you using?</div><div><br></div><div> - David</div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 27, 2017 at 9:04 AM, satwik k <span dir="ltr"><<a href="mailto:satwik.k8@gmail.com" target="_blank">satwik.k8@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="auto">Ya I'm building with vtk.<div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Satwik k</div></div><div class="m_4385604258064977737m_3333502450052923403m_3983331571876916616m_-1352251260368796961m_2068536354384726253m_-1142142495978419897m_6501611940201344341HOEnZb"><div class="m_4385604258064977737m_3333502450052923403m_3983331571876916616m_-1352251260368796961m_2068536354384726253m_-1142142495978419897m_6501611940201344341h5"><div class="gmail_extra"><br><div class="gmail_quote">On Nov 27, 2017 21:33, "David Gobbi" <<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>How were you building vtkDICOM?  Were you building it with VTK as a VTK module (with Module_vtkDICOM=ON), or were you building vtkDICOM by itself?</div><div><br></div><div><br></div><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 26, 2017 at 11:12 PM, Satwik <span dir="ltr"><<a href="mailto:satwik.k8@gmail.com" target="_blank">satwik.k8@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi users,<br>
<br>
How can i make CT gantry tilt correction using vtk.<br>
<br>
I tried using vtkDICOMCTRectifier, but i was not able to compile vtkDICOM<br>
module.<br>
ERROR: can't able to find vtkDICOMModule.h.<br>
<br>
Regards,<br>
Satwik k<br></blockquote></div></div></div>
</blockquote></div></div>
</div></div></blockquote></div><br></div></div>
</blockquote></div></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>