[vtkusers] CT Gantry Tilt correction
David Gobbi
david.gobbi at gmail.com
Thu Nov 30 09:01:15 EST 2017
Hi Satwik,
I tested a 512x512x144 volume on my laptop, and it took 15 seconds.
So, no, that's not very fast. The class uses a windowed sinc interpolator,
which is computationally expensive. I could add an option to use linear
interpolation. With linear interpolation it only takes 1 second.
- David
On Wed, Nov 29, 2017 at 10:29 PM, Satwik <satwik.k8 at gmail.com> wrote:
> Hi,
>
> Dimensions of my volume is (512, 512, 144).
>
> ///My Code///
> vtkDICOMCTRectifier* m_rectify = vtkDICOMCTRectifier::New();
> m_rectify->SetEnableSMP(true);
> m_rectify->SetVolumeMatrix(d->m_initOrient); //passing orientation matrix
> m_rectify->SetInputData(d->m_imageData); //passing image data
> m_rectify->Update();
>
> Regards,
> Satwik K.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20171130/6f051d5e/attachment.html>
More information about the vtkusers
mailing list