<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body>
    Hi,<br>
    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.<br>
    Your other question is well answered by Chao (as usual, thanks!).<br>
    Good luck,<br>
    Simon<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 21/04/2016 15:02, Chao Wu wrote:<br>
    </div>
    <blockquote
cite="mid:CAH+sHrVJSgjLRa04SJ0frMzm_7bEz8aAJf1eEXZRqU_5RW1qCQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hi,</div>
        <div><br>
        </div>
        <div>--lowmem and --subset work for reducing memory footprint
          for projection data, and --division for memory usage of
          reconstruction calculation.</div>
        <div>SetProjectionSubsetSize() does not correspond to --division
          but to --subset flag.</div>
        <div>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.</div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div>Chao</div>
        <div><br>
        </div>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">2016-04-21 14:55 GMT+02:00 AMJAD N <span
              dir="ltr"><<a moz-do-not-send="true"
                href="mailto:amjad.n.cet@gmail.com" target="_blank">amjad.n.cet@gmail.com</a>></span>:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
              <div dir="ltr">Hi Simon,
                <div><br>
                </div>
                <div>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.</div>
                <div><br>
                </div>
                <div>I also tried by usingĀ itk::StreamingImageFilter to
                  write the reconstructed volume. My requirement is
                  1024^3 volume.</div>
                <div><br>
                </div>
                <div>Thanks and Regards,</div>
                <div><br>
                </div>
                <div>AMJAD N<br>
                  <div class="gmail_extra"><br>
                    <div class="gmail_quote">On Thu, Apr 21, 2016 at
                      5:50 PM, Simon Rit <span dir="ltr"><<a
                          moz-do-not-send="true"
                          href="mailto:simon.rit@creatis.insa-lyon.fr"
                          target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:simon.rit@creatis.insa-lyon.fr">simon.rit@creatis.insa-lyon.fr</a></a>></span>
                      wrote:<br>
                      <blockquote class="gmail_quote" style="margin:0px
                        0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                        <div dir="ltr">
                          <div>Try --lowmem and if it still doesn't
                            work, --divisions 8 (the higher this number
                            the less memory).<br>
                          </div>
                          Simon<br>
                        </div>
                        <div class="gmail_extra"><br>
                          <div class="gmail_quote">
                            <div>
                              <div>On Thu, Apr 21, 2016 at 1:44 PM,
                                AMJAD N <span dir="ltr"><<a
                                    moz-do-not-send="true"
                                    href="mailto:amjad.n.cet@gmail.com"
                                    target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:amjad.n.cet@gmail.com">amjad.n.cet@gmail.com</a></a>></span>
                                wrote:<br>
                              </div>
                            </div>
                            <blockquote class="gmail_quote"
                              style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                              <div>
                                <div>
                                  <div dir="ltr">Hi all,
                                    <div><br>
                                    </div>
                                    <div>I tried to run rtkfdk ( ROOSTER
                                      sample ) with following command.</div>
                                    <div><br>
                                    </div>
                                    <div>-p . -r .*.his -o fdk.mha -g
                                      geometry.rtk --hann 0.5 --pad 1.0
                                      --dimension 500 --spacing 2<br>
                                    </div>
                                    <div><br>
                                    </div>
                                    <div>to identify the impact of large
                                      reconstructed volume (500^3).
                                      Still it gives memory allocation
                                      error.</div>
                                    <div>What might be the issue here?</div>
                                    <div><br>
                                    </div>
                                    <div>Thanks and Regards</div>
                                    <span><font color="#888888">
                                        <div><br>
                                        </div>
                                        <div>AMJAD N</div>
                                      </font></span></div>
                                  <br>
                                </div>
                              </div>
_______________________________________________<br>
                              Rtk-users mailing list<br>
                              <a moz-do-not-send="true"
                                href="mailto:Rtk-users@public.kitware.com"
                                target="_blank">Rtk-users@public.kitware.com</a><br>
                              <a moz-do-not-send="true"
                                href="http://public.kitware.com/mailman/listinfo/rtk-users"
                                rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/rtk-users</a><br>
                              <br>
                            </blockquote>
                          </div>
                          <br>
                        </div>
                      </blockquote>
                    </div>
                    <br>
                  </div>
                </div>
              </div>
              <br>
              _______________________________________________<br>
              Rtk-users mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:Rtk-users@public.kitware.com">Rtk-users@public.kitware.com</a><br>
              <a moz-do-not-send="true"
                href="http://public.kitware.com/mailman/listinfo/rtk-users"
                rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/rtk-users</a><br>
              <br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>