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 <[email protected] <mailto:[email protected]>>:

    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
    <[email protected]
    <mailto:[email protected]>> 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
        <[email protected] <mailto:[email protected]>> 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
            [email protected]
            <mailto:[email protected]>
            http://public.kitware.com/mailman/listinfo/rtk-users




    _______________________________________________
    Rtk-users mailing list
    [email protected] <mailto:[email protected]>
    http://public.kitware.com/mailman/listinfo/rtk-users



_______________________________________________
Rtk-users mailing list
[email protected]
http://public.kitware.com/mailman/listinfo/rtk-users

Reply via email to