[Rtk-users] Ask a question about rtkDrawCylinderImageFilter

Simon Rit simon.rit at creatis.insa-lyon.fr
Wed Dec 6 07:09:32 CET 2023


No, iterative algorithms typically use more GPU memory than FDK because
they load the full stack of projections in memory.
I'll let you evaluate if it's fast...
Please stick to the mailing list!
Simon

On Wed, Dec 6, 2023 at 6:55 AM 贾雪辉 <jxhzk1314 at 163.com> wrote:

> Ok,I see。evry algorithm use little space in one GPU memory,and fast,
> right?maybe in that test case cpu's full task make the GPU usage lower.
> thank you.
> jow
>
>
>
>
>
> At 2023-12-06 13:09:35, "Simon Rit" <simon.rit at creatis.insa-lyon.fr>
> wrote:
>
> Hi,
> With what algorithm? In any case, RTK only uses one GPU processor.
> Simon
>
> On Wed, Dec 6, 2023 at 2:30 AM 贾雪辉 <jxhzk1314 at 163.com> wrote:
>
>> Hi, big shot:
>> How to make the most use of graphics card resources when I do the
>> reconstruction step,as it using cuda but I found the GPU resource usage is
>> only 15%+?larger case is 20%,thanks.
>>
>>
>>
>>
>> At 2023-10-25 16:08:16, "Simon Rit" <simon.rit at creatis.insa-lyon.fr>
>> wrote:
>>
>> Hi Jow,
>> You need to set the axis (SetAxis method) with the coordinate
>> corresponding to the cylinder axis set to 0. But I recommend using the
>> Forbild format for drawing one or several shapes. You need to create a text
>> file with the description of what you draw, see e.g. attached file or more
>> information at
>>
>> https://www.dkfz.de/en/roentgenbildgebung/ct/CT_Phantoms/Head_Phantom/How-to-define-a-phantom.pdf?m=1515503818&
>> and then use the class DrawGeometricPhantomImageFilter
>> <http://www.openrtk.org/Doxygen/classrtk_1_1DrawGeometricPhantomImageFilter.html>
>> setting the option IsForbildConfigFileOn().
>> Simon
>>
>> On Wed, Oct 25, 2023 at 8:17 AM 贾雪辉 <jxhzk1314 at 163.com> wrote:
>>
>>> Hi, big shot:
>>> I used the rtkDrawCylinderImageFilter after
>>> tructionartifactReduction,just because i used padding method on the
>>> projections,and these paddings zone is not useful, so i need crop thus
>>> using a cylinder mask as you told me.
>>> but when I use this filter, first I create the pipeline using update
>>> method, error took place like this:
>>>
>>> I didn't know how to address the error,then,
>>> when i comment the update method,error like this below:
>>> Description: itk::ERROR: itk::ERROR:
>>> DrawCylinderImageFilter(000002486BF6EBE0): Axis [90, 90, 90] does not
>>> contain any 0 value as a cylinder should.
>>> I didn't find the example about this filter,I want to know how can I use
>>> this filter correctly, thank you!
>>> jow
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/rtk-users/attachments/20231206/c98c2097/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 37607 bytes
Desc: not available
URL: <http://www.creatis.insa-lyon.fr/pipermail/rtk-users/attachments/20231206/c98c2097/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 25764 bytes
Desc: not available
URL: <http://www.creatis.insa-lyon.fr/pipermail/rtk-users/attachments/20231206/c98c2097/attachment-0003.png>


More information about the Rtk-users mailing list