[vtkusers] CT Gantry Tilt correction

David Gobbi david.gobbi at gmail.com
Tue Nov 28 13:31:17 EST 2017


Give me more info... what are the dimensions of your volume?

On Tue, Nov 28, 2017 at 11:17 AM, satwik k <satwik.k8 at gmail.com> wrote:

> I'm passing image data as an input to vtkDicomCtRectifier and matrix to a
> method volumeMatrix and I'm calling update method...
>
> This update method is taking time... I'm updating the entire cuboid at a
> time.. so it is taking 1min.
>
> Regards,
> Satwik k
>
> On Nov 28, 2017 9:45 PM, "David Gobbi" <david.gobbi at gmail.com> wrote:
>
>> Hi Satwik,
>>
>> 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.
>>
>> 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.
>>
>> If it still updates slowly after you've done this, let me know.
>>
>> Cheers,
>>
>>  - David
>>
>>
>> On Tue, Nov 28, 2017 at 8:59 AM, satwik k <satwik.k8 at gmail.com> wrote:
>>
>>> Hi David,
>>>
>>> I'm using vtkDicomCtRectifier API to correct gantry rotation. But i'm
>>> facing slowness while updating.
>>>
>>> Is there any better way to speed up the computation. I tried it, by
>>> enabling SMP, but also facing slowness.
>>>
>>>
>>>
>>> Regards,
>>> Satwik k
>>>
>>> On Nov 28, 2017 10:14 AM, "satwik k" <satwik.k8 at gmail.com> wrote:
>>>
>>> Hi David, thanx for the reply... VTKDICOM module got compiled after
>>> cloning from git.
>>>
>>> Regards,
>>> Satwik k
>>>
>>> On Mon, Nov 27, 2017 at 10:14 PM, David Gobbi <david.gobbi at gmail.com>
>>> wrote:
>>>
>>>> Please keep your replies on-list (CC to vtkusers at vtk.org).
>>>>
>>>> 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>).
>>>>
>>>> Just to be sure, did you find the build instructions?  They're on the
>>>> following page:
>>>> http://dgobbi.github.io/vtk-dicom/doc/api/installation.html
>>>>
>>>>  - David
>>>>
>>>>
>>>> On Mon, Nov 27, 2017 at 9:28 AM, satwik k <satwik.k8 at gmail.com> wrote:
>>>>
>>>>> Currently I'm trying to build vtkdicom using vtk 7.1..
>>>>> Trying to build using cmake. I'm getting vtkDICOMModule.h missing.
>>>>>
>>>>> I'm using Windows 7 and I downloaded vtkdicom as zip file from github.
>>>>>
>>>>> Should I clone it or by downloading zip file also it builds..?
>>>>>
>>>>> On Nov 27, 2017 21:46, "David Gobbi" <david.gobbi at gmail.com> wrote:
>>>>>
>>>>>> Please keep your replies on-list.
>>>>>>
>>>>>> 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?
>>>>>>
>>>>>>  - David
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, Nov 27, 2017 at 9:04 AM, satwik k <satwik.k8 at gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Ya I'm building with vtk.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Satwik k
>>>>>>>
>>>>>>> On Nov 27, 2017 21:33, "David Gobbi" <david.gobbi at gmail.com> wrote:
>>>>>>>
>>>>>>>> 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?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sun, Nov 26, 2017 at 11:12 PM, Satwik <satwik.k8 at gmail.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi users,
>>>>>>>>>
>>>>>>>>> How can i make CT gantry tilt correction using vtk.
>>>>>>>>>
>>>>>>>>> I tried using vtkDICOMCTRectifier, but i was not able to compile
>>>>>>>>> vtkDICOM
>>>>>>>>> module.
>>>>>>>>> ERROR: can't able to find vtkDICOMModule.h.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Satwik k
>>>>>>>>>
>>>>>>>>
>>>>>>
>>>>
>>>
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20171128/3754e7e9/attachment.html>


More information about the vtkusers mailing list