[Rtk-users] Reconstruction Volume

Simon Rit simon.rit at creatis.insa-lyon.fr
Thu Apr 21 13:22:59 EDT 2016


Hi,
Maybe Amjad you should closely look at rtkfdk.cxx? I'm happy to answer a 
specific question in this piece of code but RTK being open source, I'm 
surprised by the question... Just track args_info.lowmem_flag and 
args_info.divisions_arg to understand how we code these options.
Your other question is well answered by Chao (as usual, thanks!).
Good luck,
Simon


On 21/04/2016 15:02, Chao Wu wrote:
> Hi,
>
> --lowmem and --subset work for reducing memory footprint for 
> projection data, and --division for memory usage of reconstruction 
> calculation.
> SetProjectionSubsetSize() does not correspond to --division but to 
> --subset flag.
> If you read the code, you will find without --lowmen the reader is 
> updated before other part of the pipeline being executed; whereas with 
> --lowmen flag it is updated together with the pipeline, thus is streamed.
>
> Regards,
> Chao
>
>
> 2016-04-21 14:55 GMT+02:00 AMJAD N <amjad.n.cet at gmail.com 
> <mailto:amjad.n.cet at gmail.com>>:
>
>     Hi Simon,
>
>     How can i use --lowmem as a code? BTW I am using
>     SetProjectionSubsetSize(16) in my code. Is that what you meant by
>     -- divisions 8? still it doesn't work for 500^3.
>
>     I also tried by using itk::StreamingImageFilter to write the
>     reconstructed volume. My requirement is 1024^3 volume.
>
>     Thanks and Regards,
>
>     AMJAD N
>
>     On Thu, Apr 21, 2016 at 5:50 PM, Simon Rit
>     <simon.rit at creatis.insa-lyon.fr
>     <mailto:simon.rit at creatis.insa-lyon.fr>> wrote:
>
>         Try --lowmem and if it still doesn't work, --divisions 8 (the
>         higher this number the less memory).
>         Simon
>
>         On Thu, Apr 21, 2016 at 1:44 PM, AMJAD N
>         <amjad.n.cet at gmail.com <mailto:amjad.n.cet at gmail.com>> wrote:
>
>             Hi all,
>
>             I tried to run rtkfdk ( ROOSTER sample ) with following
>             command.
>
>             -p . -r .*.his -o fdk.mha -g geometry.rtk --hann 0.5 --pad
>             1.0 --dimension 500 --spacing 2
>
>             to identify the impact of large reconstructed volume
>             (500^3). Still it gives memory allocation error.
>             What might be the issue here?
>
>             Thanks and Regards
>
>             AMJAD N
>
>             _______________________________________________
>             Rtk-users mailing list
>             Rtk-users at public.kitware.com
>             <mailto:Rtk-users at public.kitware.com>
>             http://public.kitware.com/mailman/listinfo/rtk-users
>
>
>
>
>     _______________________________________________
>     Rtk-users mailing list
>     Rtk-users at public.kitware.com <mailto:Rtk-users at public.kitware.com>
>     http://public.kitware.com/mailman/listinfo/rtk-users
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/rtk-users/attachments/20160421/8468b4ea/attachment-0010.html>


More information about the Rtk-users mailing list