<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Yang,<br>
    <br>
    First, a quick explanation: ITK embeds FFTW. On linux, you just have
    to activate it in the CMake options. On Windows, you cannot do that.
    I do not have a clue why, but you cannot. You have to install FFTW
    separately.<br>
    <br>
    Now, a solution: The quickest way is to download the precompiled
    DLLs from <a class="moz-txt-link-freetext" href="http://www.fftw.org/install/windows.html">http://www.fftw.org/install/windows.html</a><br>
    On that same page, follow the indications on how to create the .lib
    files (that is absolutely necessary). You may have to run the
    "lib.exe" program from the VS developer prompt instead of the
    standard windows cmd.exe prompt. Specify you CPU architecture
    explicitly, just to be sure.<br>
    <br>
    Then in the CMake options of ITK, set the following:<br>
    FFTWF_LIB = TheRelevantFolderOnYourSystem/libfftw3f-3.lib<br>
    FFTW_INCLUDE_PATH = TheRelevantFolderOnYourSystem/<br>
    <br>
    Let the rest of the FFTW options blank. Compile ITK, then RTK, and
    you should be fine. I have successfully compiled this with
    BUILD_SHARED_LIBS = ON (on both ITK and RTK), I don't know if it
    matters.<br>
    <br>
    If it works for you, then you might want to play around with the
    other FFTW .lib files, and send on this mailing list a more complete
    set of CMAKE options that works. I have tried some other
    combinations without success, so I'd be happy to learn more.<br>
    <br>
    Hope it helps,<br>
    Cyril<br>
    <div class="moz-cite-prefix">On 09/30/2015 11:12 PM, Yang K Park
      wrote:<br>
    </div>
    <blockquote cite="mid:005801d0fbc4$a9c70a60$fd551f20$@gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:"Malgun Gothic";
        panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@Malgun Gothic";
        panose-1:2 11 5 3 2 0 0 2 0 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.apple-tab-span
        {mso-style-name:apple-tab-span;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi
            Matt,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thank
            you so much for your help, again.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Unfortunately,
            I’m using windows system (windows7 64 with VS 2013) and I
            guess this could be a challenging issue to me.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi
            RTK users,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Is
            there anyone who successfully compiled RTK with “ITK + FFTW”
            in windows system?<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I’m
            just trying to use <b>rtkextractshroudsignal</b> and it
            seems to require FFTW library externally.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">When
            I tried to use FFTW 3.3.4, I’ve encountered link errors as
            shown below.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Any
            help will be highly appreciated.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Yang<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
                  style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif">
                Matthew J. Riblett [<a class="moz-txt-link-freetext" href="mailto:riblettmj@mymail.vcu.edu">mailto:riblettmj@mymail.vcu.edu</a>] <br>
                <b>Sent:</b> Wednesday, September 30, 2015 5:01 PM<br>
                <b>To:</b> Yang K Park <a class="moz-txt-link-rfc2396E" href="mailto:theday79@gmail.com"><theday79@gmail.com></a><br>
                <b>Subject:</b> Re: [Rtk-users] Generating signal data
                from Amsterdam Shroud<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Yang,<o:p></o:p></p>
        <div>
          <p class="MsoNormal"><o:p> </o:p></p>
        </div>
        <div>
          <p class="MsoNormal">I’m running on Ubuntu 14.04 LTS and used
            the distribution library (FFTW 3.3.3).  If you’re running on
            a Debian-based linux system, you can also install the full
            development library set using the following command: <b><i>sudo
                apt-get install libfftw3-3 libfftw3-dev</i></b>.  Then
            just make sure that these libraries are being used by
            rerunning CCMake.  <o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal"><o:p> </o:p></p>
        </div>
        <div>
          <p class="MsoNormal">I’m not quite sure about the error being
            thrown in your build, but perhaps one of the main developers
            would be able to provide some more insight into the issue.<o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal"><o:p> </o:p></p>
        </div>
        <div>
          <p class="MsoNormal">Hope this helps,<o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal"><o:p> </o:p></p>
        </div>
        <div>
          <p class="MsoNormal">— Matt<o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal"><o:p> </o:p></p>
          <div>
            <div>
              <div>
                <p class="MsoNormal"><span style="color:black">__<o:p></o:p></span></p>
              </div>
              <div>
                <p class="MsoNormal"><span style="color:black">Matthew
                    J. Riblett<br>
                    Virginia Commonwealth University<br>
                    Department of Radiation Oncology<br>
                    Medical Physics Graduate Program<br>
                    <br>
                    Office:  Sanger Hall, Room B1-013<o:p></o:p></span></p>
              </div>
              <div>
                <p class="MsoNormal"><span style="color:black">401
                    College Street   |  P.O. Box 980058<o:p></o:p></span></p>
              </div>
              <div>
                <p class="MsoNormal"><span style="color:black">Richmond,
                    Virginia 23298<br>
                    <br>
                    VCU Email:<span class="apple-tab-span">               
                    </span>    <a moz-do-not-send="true"
                      href="mailto:riblettmj@vcu.edu">riblettmj@vcu.edu</a><br>
                    MCV Office Phone:<span class="apple-tab-span">   </span> 
                      +1.804.628.4858<o:p></o:p></span></p>
              </div>
            </div>
          </div>
          <div>
            <p class="MsoNormal"><o:p> </o:p></p>
          </div>
          <div>
            <p class="MsoNormal"><o:p> </o:p></p>
          </div>
          <div>
            <p class="MsoNormal"><o:p> </o:p></p>
          </div>
          <p class="MsoNormal"><o:p> </o:p></p>
          <div>
            <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
              <div>
                <p class="MsoNormal">On Sep 30, 2015, at 4:44 PM, Yang K
                  Park <<a moz-do-not-send="true"
                    href="mailto:theday79@gmail.com">theday79@gmail.com</a>>
                  wrote:<o:p></o:p></p>
              </div>
              <p class="MsoNormal"><o:p> </o:p></p>
              <div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi
                      Matt,</span><o:p></o:p></p>
                </div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
                </div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thank
                      you so much for your advice.</span><o:p></o:p></p>
                </div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Recently
                      I have revisited this project and tried to compile
                      ITK with those options on as you suggested.</span><o:p></o:p></p>
                </div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
                </div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I’ve
                      tried to use the up-to-date version of FFTW
                      (3.3.4), but it seems that it doesn’t work with
                      RTK.<span class="apple-converted-space"> </span></span><o:p></o:p></p>
                </div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">There
                      were some link errors like:<span
                        class="apple-converted-space"> </span></span><o:p></o:p></p>
                </div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
                </div>
                <div>
                  <p class="MsoNormal"><span
                      style="font-size:11.0pt;font-family:"Calibri",sans-serif">rtkextractshroudsignal.obj
                      : error LNK2019: unresolved external symbol
                      __imp_fftw_execute referenced in function
                      "protected: virtual void __cdecl
                      itk::FFTWComplexToComplexFFTImageFilter<class
                      itk::Image<class
                      std::complex<double>,1>
                      >::BeforeThreadedGenerateData(void)"
                      (?BeforeThreadedGenerateData@?</span><o:p></o:p></p>
                </div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
                </div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">May
                      I ask you which version of fftw you are
                      successfully using in which system(Windows or
                      Linux)?</span><o:p></o:p></p>
                </div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
                </div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thanks.</span><o:p></o:p></p>
                </div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
                </div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Yang</span><o:p></o:p></p>
                </div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
                </div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
                </div>
                <div>
                  <div style="border:none;border-top:solid #E1E1E1
                    1.0pt;padding:3.0pt 0in 0in 0in">
                    <div>
                      <p class="MsoNormal"><b><span
                            style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span
                          class="apple-converted-space"><span
                            style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span></span><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif">Matthew
                          J. Riblett [<a moz-do-not-send="true"
                            href="mailto:riblettmj@mymail.vcu.edu">mailto:riblettmj@mymail.vcu.edu</a>]<span
                            class="apple-converted-space"> </span><br>
                          <b>Sent:</b><span
                            class="apple-converted-space"> </span>Friday,
                          September 18, 2015 6:56 PM<br>
                          <b>To:</b><span class="apple-converted-space"> </span>Yang
                          K Park <<a moz-do-not-send="true"
                            href="mailto:theday79@gmail.com">theday79@gmail.com</a>><br>
                          <b>Subject:</b><span
                            class="apple-converted-space"> </span>Re:
                          [Rtk-users] Generating signal data from
                          Amsterdam Shroud</span><o:p></o:p></p>
                    </div>
                  </div>
                </div>
                <div>
                  <p class="MsoNormal"> <o:p></o:p></p>
                </div>
                <div>
                  <div>
                    <p class="MsoNormal">Yang,<o:p></o:p></p>
                  </div>
                </div>
                <div>
                  <div>
                    <p class="MsoNormal"> <o:p></o:p></p>
                  </div>
                </div>
                <div>
                  <div>
                    <p class="MsoNormal">One ITK requirement of the new
                      RTK version is the inclusion of the Fast Fourier
                      Transform components.  This requires compilation
                      with the ITK_USE_FFTWF and the<o:p></o:p></p>
                  </div>
                </div>
                <div>
                  <p class="MsoNormal">ITK_USE_FFTWD options.  I know, I
                    didn’t compile that way initially, and it took a
                    little bit of time to figure out.<o:p></o:p></p>
                </div>
                <div>
                  <div>
                    <p class="MsoNormal"> <o:p></o:p></p>
                  </div>
                </div>
                <div>
                  <p class="MsoNormal">Hope that helps,<o:p></o:p></p>
                </div>
                <div>
                  <div>
                    <p class="MsoNormal"> <o:p></o:p></p>
                  </div>
                </div>
                <div>
                  <div>
                    <p class="MsoNormal">— Matt<o:p></o:p></p>
                  </div>
                </div>
                <div>
                  <div>
                    <p class="MsoNormal"> <o:p></o:p></p>
                  </div>
                  <div>
                    <div>
                      <div>
                        <div>
                          <p class="MsoNormal">__<o:p></o:p></p>
                        </div>
                      </div>
                      <div>
                        <div>
                          <p class="MsoNormal">Matthew J. Riblett<br>
                            Virginia Commonwealth University<br>
                            Department of Radiation Oncology<br>
                            Medical Physics Graduate Program<br>
                            <br>
                            Office:  Sanger Hall, Room B1-013<o:p></o:p></p>
                        </div>
                      </div>
                      <div>
                        <div>
                          <p class="MsoNormal">401 College Street   |
                             P.O. Box 980058<o:p></o:p></p>
                        </div>
                      </div>
                      <div>
                        <div>
                          <p class="MsoNormal">Richmond, Virginia 23298<br>
                            <br>
                            VCU Email:<span class="apple-tab-span">               </span><span
                              class="apple-converted-space"> </span>    <a
                              moz-do-not-send="true"
                              href="mailto:riblettmj@vcu.edu"><span
                                style="color:purple">riblettmj@vcu.edu</span></a><br>
                            MCV Office Phone:<span
                              class="apple-tab-span">  </span><span
                              class="apple-converted-space"> </span> 
                              +1.804.628.4858<o:p></o:p></p>
                        </div>
                      </div>
                      <div>
                        <div>
                          <p class="MsoNormal"> <o:p></o:p></p>
                        </div>
                      </div>
                      <div>
                        <div>
                          <p class="MsoNormal"> <o:p></o:p></p>
                        </div>
                      </div>
                    </div>
                  </div>
                  <div>
                    <p class="MsoNormal"> <o:p></o:p></p>
                  </div>
                  <div>
                    <blockquote
                      style="margin-top:5.0pt;margin-bottom:5.0pt">
                      <div>
                        <div>
                          <p class="MsoNormal">On Sep 18, 2015, at 4:55
                            PM, Yang K Park <<a
                              moz-do-not-send="true"
                              href="mailto:theday79@gmail.com"><span
                                style="color:purple">theday79@gmail.com</span></a>>
                            wrote:<o:p></o:p></p>
                        </div>
                      </div>
                      <div>
                        <p class="MsoNormal"> <o:p></o:p></p>
                      </div>
                      <div>
                        <div>
                          <div>
                            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi
                                Matt,</span><o:p></o:p></p>
                          </div>
                        </div>
                        <div>
                          <div>
                            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
                          </div>
                        </div>
                        <div>
                          <div>
                            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">That
                                sounds great! I really appreciate your
                                advice.</span><o:p></o:p></p>
                          </div>
                        </div>
                        <div>
                          <div>
                            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I’m
                                now compiling itk-4.8 to use that
                                feature since I’ve found my itk version
                                is a bit obsolete (4.4).</span><o:p></o:p></p>
                          </div>
                        </div>
                        <div>
                          <div>
                            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
                          </div>
                        </div>
                        <div>
                          <div>
                            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thanks!</span><o:p></o:p></p>
                          </div>
                        </div>
                        <div>
                          <div>
                            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
                          </div>
                        </div>
                        <div>
                          <div>
                            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Yang</span><o:p></o:p></p>
                          </div>
                        </div>
                        <div>
                          <div>
                            <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
                          </div>
                        </div>
                        <div>
                          <div style="border:none;border-top:solid
                            #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
                            <div>
                              <div>
                                <p class="MsoNormal"><b><span
                                      style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span
                                    class="apple-converted-space"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span></span><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif">Matthew
                                    J. Riblett [<a
                                      moz-do-not-send="true"
                                      href="mailto:riblettmj@mymail.vcu.edu"><span
                                        style="color:purple">mailto:riblettmj@mymail.vcu.edu</span></a>]<span
                                      class="apple-converted-space"> </span><br>
                                    <b>Sent:</b><span
                                      class="apple-converted-space"> </span>Friday,
                                    September 18, 2015 4:31 PM<br>
                                    <b>To:</b><span
                                      class="apple-converted-space"> </span>Yang
                                    K Park <<a moz-do-not-send="true"
                                      href="mailto:theday79@gmail.com"><span
                                        style="color:purple">theday79@gmail.com</span></a>><br>
                                    <b>Subject:</b><span
                                      class="apple-converted-space"> </span>Re:
                                    [Rtk-users] Generating signal data
                                    from Amsterdam Shroud</span><o:p></o:p></p>
                              </div>
                            </div>
                          </div>
                        </div>
                        <div>
                          <div>
                            <p class="MsoNormal"> <o:p></o:p></p>
                          </div>
                        </div>
                        <div>
                          <div>
                            <p class="MsoNormal">Hi Yang,<o:p></o:p></p>
                          </div>
                        </div>
                        <div>
                          <div>
                            <div>
                              <p class="MsoNormal"> <o:p></o:p></p>
                            </div>
                          </div>
                        </div>
                        <div>
                          <div>
                            <div>
                              <p class="MsoNormal">Nice to hear from
                                you!  I have had some success since my
                                initial posting – in fact I’m currently
                                working on a new method for
                                accomplishing this task in certain
                                challenging cases.<o:p></o:p></p>
                            </div>
                          </div>
                        </div>
                        <div>
                          <div>
                            <div>
                              <p class="MsoNormal"> <o:p></o:p></p>
                            </div>
                          </div>
                        </div>
                        <div>
                          <div>
                            <div>
                              <p class="MsoNormal">The most recent
                                version of RTK provides an update to the
                                rtkextractshroudsignal application which
                                provides a phase signal output when
                                called using the ‘-p’ flag at runtime:<o:p></o:p></p>
                            </div>
                          </div>
                        </div>
                        <div>
                          <div>
                            <div>
                              <p class="MsoNormal"> <o:p></o:p></p>
                            </div>
                          </div>
                        </div>
                        <div>
                          <div>
                            <div>
                              <p class="MsoNormal"><b><i>rtkextractshroudsignal
                                    -i shroud.mhd -o raw_signal.txt -p
                                    phase_signal.txt --method
                                    LINEAR_BETWEEN_MINIMA</i></b><o:p></o:p></p>
                            </div>
                          </div>
                        </div>
                        <div>
                          <div>
                            <div>
                              <p class="MsoNormal"> <o:p></o:p></p>
                            </div>
                          </div>
                        </div>
                        <div>
                          <div>
                            <div>
                              <p class="MsoNormal">From what I’ve
                                experienced, this generally provides a
                                good signal [0,1) characterizing the
                                respiratory phase using the default
                                settings.  Occasionally, I’ve run into
                                issues where the default ‘unsharpness’
                                parameter needs to be adjusted to give a
                                clear signal (by appending the<span
                                  class="apple-converted-space"> </span><b>--unsharp
                                  ##</b><span
                                  class="apple-converted-space"> </span>flag
                                to the command).  On more challenging
                                shroud images – notably, those with
                                little detectable signal from background
                                – additional contrast-enhancement by
                                pre-processing of the shroud has
                                assisted in signal extraction.<o:p></o:p></p>
                            </div>
                          </div>
                        </div>
                        <div>
                          <div>
                            <div>
                              <p class="MsoNormal"> <o:p></o:p></p>
                            </div>
                          </div>
                        </div>
                        <div>
                          <div>
                            <div>
                              <p class="MsoNormal">I hope that helps –
                                and please let me know how it works out
                                for you.<o:p></o:p></p>
                            </div>
                          </div>
                        </div>
                        <div>
                          <div>
                            <div>
                              <p class="MsoNormal"> <o:p></o:p></p>
                            </div>
                          </div>
                        </div>
                        <div>
                          <div>
                            <div>
                              <p class="MsoNormal">— Matt<o:p></o:p></p>
                            </div>
                          </div>
                        </div>
                        <div>
                          <div>
                            <div>
                              <p class="MsoNormal"> <o:p></o:p></p>
                            </div>
                          </div>
                        </div>
                        <div>
                          <div>
                            <div>
                              <div>
                                <div>
                                  <div>
                                    <p class="MsoNormal">__<o:p></o:p></p>
                                  </div>
                                </div>
                              </div>
                              <div>
                                <div>
                                  <div>
                                    <p class="MsoNormal">Matthew J.
                                      Riblett<br>
                                      Virginia Commonwealth University<br>
                                      Department of Radiation Oncology<br>
                                      Medical Physics Graduate Program<br>
                                      <br>
                                      Office:  Sanger Hall, Room B1-013<o:p></o:p></p>
                                  </div>
                                </div>
                              </div>
                              <div>
                                <div>
                                  <div>
                                    <p class="MsoNormal">401 College
                                      Street   |  P.O. Box 980058<o:p></o:p></p>
                                  </div>
                                </div>
                              </div>
                              <div>
                                <div>
                                  <div>
                                    <p class="MsoNormal">Richmond,
                                      Virginia 23298<br>
                                      <br>
                                      VCU Email:<span
                                        class="apple-tab-span">               </span><span
                                        class="apple-converted-space"> </span> 
                                        <a moz-do-not-send="true"
                                        href="mailto:riblettmj@vcu.edu"><span
                                          style="color:purple">riblettmj@vcu.edu</span></a><br>
                                      MCV Office Phone:<span
                                        class="apple-tab-span">  </span><span
                                        class="apple-converted-space"> </span> 
                                        +1.804.628.4858<o:p></o:p></p>
                                  </div>
                                </div>
                              </div>
                              <div>
                                <div>
                                  <div>
                                    <p class="MsoNormal"> <o:p></o:p></p>
                                  </div>
                                </div>
                              </div>
                              <div>
                                <div>
                                  <div>
                                    <p class="MsoNormal"> <o:p></o:p></p>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                          <div>
                            <div>
                              <p class="MsoNormal"> <o:p></o:p></p>
                            </div>
                          </div>
                          <div>
                            <blockquote
                              style="margin-top:5.0pt;margin-bottom:5.0pt">
                              <div>
                                <div>
                                  <div>
                                    <p class="MsoNormal">On Sep 18,
                                      2015, at 4:12 PM, Yang K Park <<a
                                        moz-do-not-send="true"
                                        href="mailto:theday79@gmail.com"><span
                                          style="color:purple">theday79@gmail.com</span></a>>
                                      wrote:<o:p></o:p></p>
                                  </div>
                                </div>
                              </div>
                              <div>
                                <div>
                                  <p class="MsoNormal"> <o:p></o:p></p>
                                </div>
                              </div>
                              <div>
                                <div>
                                  <div>
                                    <div>
                                      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi
                                          Matthew,</span><o:p></o:p></p>
                                    </div>
                                  </div>
                                </div>
                                <div>
                                  <div>
                                    <div>
                                      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
                                    </div>
                                  </div>
                                </div>
                                <div>
                                  <div>
                                    <div>
                                      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hello,
                                          I found you in the RTK-thread.</span><o:p></o:p></p>
                                    </div>
                                  </div>
                                </div>
                                <div>
                                  <div>
                                    <div>
                                      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Recently,
                                          I’ve encountered exactly same
                                          issue and it would be highly
                                          appreciated if you can share
                                          with me your updates on this
                                          issue.</span><o:p></o:p></p>
                                    </div>
                                  </div>
                                </div>
                                <div>
                                  <div>
                                    <div>
                                      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thanks.<span
class="apple-converted-space"> </span></span><o:p></o:p></p>
                                    </div>
                                  </div>
                                </div>
                                <div>
                                  <div>
                                    <div>
                                      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
                                    </div>
                                  </div>
                                </div>
                                <div>
                                  <div>
                                    <div>
                                      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Yang</span><o:p></o:p></p>
                                    </div>
                                  </div>
                                </div>
                                <div>
                                  <div>
                                    <div>
                                      <p class="MsoNormal"><span
                                          style="font-size:11.0pt;font-family:"Calibri",sans-serif">_______________________________________________</span><o:p></o:p></p>
                                    </div>
                                  </div>
                                </div>
                                <div>
                                  <div>
                                    <div>
                                      <p class="MsoNormal"><span
                                          style="font-size:11.0pt;font-family:"Calibri",sans-serif">Yang-Kyun
                                          Park, Ph.D., DABR</span><o:p></o:p></p>
                                    </div>
                                  </div>
                                </div>
                                <div>
                                  <div>
                                    <div>
                                      <p class="MsoNormal"><span
                                          style="font-size:11.0pt;font-family:"Calibri",sans-serif">Assistant
                                          physicist & Instructor</span><o:p></o:p></p>
                                    </div>
                                  </div>
                                </div>
                                <div>
                                  <div>
                                    <div>
                                      <p class="MsoNormal"><span
                                          style="font-size:11.0pt;font-family:"Calibri",sans-serif">Department
                                          of Radiation Oncology</span><o:p></o:p></p>
                                    </div>
                                  </div>
                                </div>
                                <div>
                                  <div>
                                    <div>
                                      <p class="MsoNormal"><span
                                          style="font-size:11.0pt;font-family:"Calibri",sans-serif">Massachusetts
                                          General Hospital & Harvard
                                          Medical School</span><o:p></o:p></p>
                                    </div>
                                  </div>
                                </div>
                                <div>
                                  <div>
                                    <div>
                                      <p class="MsoNormal"><span
                                          style="font-size:11.0pt;font-family:"Calibri",sans-serif">55
                                          Fruit Street, Boston, MA 02114</span><o:p></o:p></p>
                                    </div>
                                  </div>
                                </div>
                                <div>
                                  <div>
                                    <div>
                                      <p class="MsoNormal"><span
                                          style="font-size:11.0pt;font-family:"Calibri",sans-serif">Tel:
                                          +1-617-726-0186</span><o:p></o:p></p>
                                    </div>
                                  </div>
                                </div>
                                <div>
                                  <div>
                                    <div>
                                      <p class="MsoNormal"><span
                                          style="font-size:11.0pt;font-family:"Calibri",sans-serif">Fax:
                                          +1-617-726-3603</span><o:p></o:p></p>
                                    </div>
                                  </div>
                                </div>
                                <div>
                                  <div>
                                    <div>
                                      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
                                    </div>
                                  </div>
                                </div>
                                <div>
                                  <div>
                                    <div>
                                      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
                                    </div>
                                  </div>
                                </div>
                                <div>
                                  <div>
                                    <div>
                                      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
                                    </div>
                                  </div>
                                </div>
                                <div>
                                  <div>
                                    <div>
                                      <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
                                    </div>
                                  </div>
                                </div>
                                <div>
                                  <div>
                                    <div>
                                      <p class="MsoNormal"><b><span
                                            style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span
                                          class="apple-converted-space"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span></span><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif">Rtk-users
                                          [<a moz-do-not-send="true"
                                            href="mailto:rtk-users-bounces@public.kitware.com"><span
                                              style="color:purple">mailto:rtk-users-bounces@public.kitware.com</span></a>]<span
class="apple-converted-space"> </span><b>On Behalf Of<span
                                              class="apple-converted-space"> </span></b>Joel
                                          Beaudry<br>
                                          <b>Sent:</b><span
                                            class="apple-converted-space"> </span>Tuesday,
                                          March 17, 2015 5:25 PM<br>
                                          <b>To:</b><span
                                            class="apple-converted-space"> </span>Matthew
                                          J. Riblett <<a
                                            moz-do-not-send="true"
                                            href="mailto:riblettmj@mymail.vcu.edu"><span
                                              style="color:purple">riblettmj@mymail.vcu.edu</span></a>><br>
                                          <b>Cc:</b><span
                                            class="apple-converted-space"> </span><a
                                            moz-do-not-send="true"
                                            href="mailto:rtk-users@public.kitware.com"><span
                                              style="color:purple">rtk-users@public.kitware.com</span></a><br>
                                          <b>Subject:</b><span
                                            class="apple-converted-space"> </span>Re:
                                          [Rtk-users] Generating signal
                                          data from Amsterdam Shroud</span><o:p></o:p></p>
                                    </div>
                                  </div>
                                </div>
                                <div>
                                  <div>
                                    <div>
                                      <p class="MsoNormal"> <o:p></o:p></p>
                                    </div>
                                  </div>
                                </div>
                                <div>
                                  <div>
                                    <div>
                                      <div>
                                        <p class="MsoNormal"
                                          style="margin-bottom:12.0pt">Hi
                                          Matthew,<span
                                            class="apple-converted-space"> </span><o:p></o:p></p>
                                      </div>
                                      <p class="MsoNormal"
                                        style="margin-bottom:12.0pt">I'm
                                        not sure of what was used in the
                                        Matlab script, but I've had good
                                        success with using a Hilbert
                                        function in python (scipy). I'm
                                        sure that Matlab has an
                                        equivalent function, and maybe
                                        that is what was used?<span
                                          class="apple-converted-space"> </span><o:p></o:p></p>
                                    </div>
                                    <div>
                                      <div>
                                        <div>
                                          <p class="MsoNormal">Hope that
                                            helps,<o:p></o:p></p>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                  <div>
                                    <div>
                                      <div>
                                        <p class="MsoNormal">Joel<o:p></o:p></p>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                                <div>
                                  <div>
                                    <div>
                                      <div>
                                        <p class="MsoNormal"> <o:p></o:p></p>
                                      </div>
                                    </div>
                                  </div>
                                  <div>
                                    <div>
                                      <div>
                                        <div>
                                          <p class="MsoNormal">On Wed,
                                            Mar 11, 2015 at 2:40 PM,
                                            Matthew J. Riblett <<a
                                              moz-do-not-send="true"
                                              href="mailto:riblettmj@mymail.vcu.edu"
                                              target="_blank"><span
                                                style="color:purple">riblettmj@mymail.vcu.edu</span></a>>
                                            wrote:<o:p></o:p></p>
                                        </div>
                                      </div>
                                    </div>
                                    <blockquote
                                      style="border:none;border-left:solid
                                      #CCCCCC 1.0pt;padding:0in 0in 0in
6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
                                      <div>
                                        <div>
                                          <div>
                                            <div>
                                              <p class="MsoNormal">Hello
                                                fellow RTK users,<o:p></o:p></p>
                                            </div>
                                          </div>
                                        </div>
                                        <div>
                                          <div>
                                            <div>
                                              <div>
                                                <p class="MsoNormal"> <o:p></o:p></p>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                        <div>
                                          <div>
                                            <div>
                                              <div>
                                                <p class="MsoNormal">I
                                                  was wondering if
                                                  anyone has a
                                                  straightforward method
                                                  of going from the
                                                  results of the
                                                  rtkamsterdamshroud and
                                                  rtkextractshroudsignal
                                                  applications to a
                                                  [0,1) phase signal for
                                                  performing
                                                  motion-compensated
                                                  reconstruction.  I’ve
                                                  been following along
                                                  with the MC-CBCT
                                                  Reconstruction example
                                                  (<a
                                                    moz-do-not-send="true"
href="http://wiki.openrtk.org/index.php/RTK/Examples/MCCBCTReconstruction"
                                                    target="_blank"><span
style="color:purple">http://wiki.openrtk.org/index.php/RTK/Examples/MCCBCTReconstruction</span></a>),
                                                  and there is an
                                                  indication that Matlab
                                                  is used to process the
                                                  should signal prior to
                                                  feeding it back into
                                                  the reconstruction
                                                  application, but there
                                                  is no mention of how
                                                  this is accomplished. 
                                                  I’m trying to
                                                  implement this into an
                                                  automated workflow and
                                                  I’d love to know how
                                                  this was accomplished.<o:p></o:p></p>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                        <div>
                                          <div>
                                            <div>
                                              <div>
                                                <p class="MsoNormal"> <o:p></o:p></p>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                        <div>
                                          <div>
                                            <div>
                                              <div>
                                                <p class="MsoNormal">Thanks!<o:p></o:p></p>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                        <div>
                                          <div>
                                            <div>
                                              <div>
                                                <p class="MsoNormal"> <o:p></o:p></p>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                        <div>
                                          <div>
                                            <div>
                                              <div>
                                                <p class="MsoNormal">—
                                                  Matt<o:p></o:p></p>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                        <div>
                                          <div>
                                            <div>
                                              <div>
                                                <p class="MsoNormal"> <o:p></o:p></p>
                                              </div>
                                            </div>
                                          </div>
                                          <div>
                                            <div>
                                              <div>
                                                <div>
                                                  <div>
                                                    <div>
                                                      <p
                                                        class="MsoNormal">__<o:p></o:p></p>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                              <div>
                                                <div>
                                                  <div>
                                                    <div>
                                                      <p
                                                        class="MsoNormal">Matthew
                                                        J. Riblett<br>
                                                        Virginia
                                                        Commonwealth
                                                        University<br>
                                                        Department of
                                                        Radiation
                                                        Oncology<br>
                                                        Medical Physics
                                                        Graduate Program<br>
                                                        <br>
                                                        Office:  Sanger
                                                        Hall, Room
                                                        B1-013<o:p></o:p></p>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                              <div>
                                                <div>
                                                  <div>
                                                    <div>
                                                      <p
                                                        class="MsoNormal">401
                                                        College Street  
                                                        |  P.O. Box
                                                        980058<o:p></o:p></p>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                              <div>
                                                <div>
                                                  <div>
                                                    <div>
                                                      <p
                                                        class="MsoNormal">Richmond,
                                                        Virginia 23298<br>
                                                        <br>
                                                        VCU Email:     <a
moz-do-not-send="true" href="mailto:riblettmj@vcu.edu" target="_blank"><span
style="color:purple">riblettmj@vcu.edu</span></a><br>
                                                        MCV Office
                                                        Phone:     <a
                                                          moz-do-not-send="true"
href="tel:%2B1.804.628.4858" target="_blank"><span style="color:purple">+1.804.628.4858</span></a><o:p></o:p></p>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                          <div>
                                            <div>
                                              <div>
                                                <p class="MsoNormal"> <o:p></o:p></p>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                      <p class="MsoNormal"
                                        style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
                                        Rtk-users mailing list<br>
                                        <a moz-do-not-send="true"
                                          href="mailto:Rtk-users@public.kitware.com"><span
                                            style="color:purple">Rtk-users@public.kitware.com</span></a><br>
                                        <a moz-do-not-send="true"
                                          href="http://public.kitware.com/mailman/listinfo/rtk-users"
                                          target="_blank"><span
                                            style="color:purple">http://public.kitware.com/mailman/listinfo/rtk-users</span></a><o:p></o:p></p>
                                    </blockquote>
                                  </div>
                                </div>
                              </div>
                            </blockquote>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
          <p class="MsoNormal"><o:p> </o:p></p>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Rtk-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rtk-users@public.kitware.com">Rtk-users@public.kitware.com</a>
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/rtk-users">http://public.kitware.com/mailman/listinfo/rtk-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>