<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    First, I'm not sure I understand why you modified rtkfdk, the
    command line options would have allowed you to do all the
    modifications I think without changing the code. I'm not going to
    debug your piece of code...<br>
    Regarding the geometry, this is clearly a difficult step but that's
    your job to understand how to translate your geometry parameters to
    RTK geometry using the document on the wiki.<br>
    Good luck!<br>
    Simon<br>
    <br>
    <div class="moz-cite-prefix">On 30/12/2015 07:54, Freyman li wrote:<br>
    </div>
    <blockquote cite="mid:005001d142ce$e0334e50$a099eaf0$@126.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:微软雅黑;
        panose-1:2 11 5 3 2 2 4 2 2 4;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"\@微软雅黑";
        panose-1:2 11 5 3 2 2 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:宋体;}
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.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
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:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D"
            lang="EN-US">Dear Simon,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D"
            lang="EN-US">Thanks for your reply for my question!<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D"
            lang="EN-US">I solved this problem under your reminding and
            there is no longer display the error message.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D"
            lang="EN-US">I set the origin point as
            (-0.5*0.254*767,-0.5*0.254*959) to make the origin
            coordinate at the center of the projection.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D"
            lang="EN-US">Also, I adjust the geometry calibration to fit
            your projection model but still can’t acquire the right
            image with my projection data.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D"
            lang="EN-US">I attached my key code(just the version
            overwrite rtkfdk.cxx)and hope that you can give me some
            advice.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D"
            lang="EN-US">Freyman li<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1F497D"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><b><span
              style="font-size:11.0pt;font-family:"微软雅黑",sans-serif">发
              件人<span lang="EN-US">:</span></span></b><span
            style="font-size:11.0pt;font-family:"微软雅黑",sans-serif"
            lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:simon.rit@gmail.com">simon.rit@gmail.com</a>
            [<a class="moz-txt-link-freetext" href="mailto:simon.rit@gmail.com">mailto:simon.rit@gmail.com</a>] </span><b><span
              style="font-size:11.0pt;font-family:"微软雅黑",sans-serif">代
              表 </span></b><span
            style="font-size:11.0pt;font-family:"微软雅黑",sans-serif"
            lang="EN-US">Simon Rit<br>
          </span><b><span
              style="font-size:11.0pt;font-family:"微软雅黑",sans-serif">发
              送时间<span lang="EN-US">:</span></span></b><span
            style="font-size:11.0pt;font-family:"微软雅黑",sans-serif"
            lang="EN-US"> 2015</span><span
            style="font-size:11.0pt;font-family:"微软雅黑",sans-serif">年<span
              lang="EN-US">12</span>月<span lang="EN-US">29</span>日<span
              lang="EN-US"> 6:26<br>
            </span><b>收件人<span lang="EN-US">:</span></b><span
              lang="EN-US"> Freyman li<br>
            </span><b>抄送<span lang="EN-US">:</span></b><span
              lang="EN-US"> louie L; <a class="moz-txt-link-abbreviated" href="mailto:rtk-users@public.kitware.com">rtk-users@public.kitware.com</a><br>
            </span><b>主题<span lang="EN-US">:</span></b><span
              lang="EN-US"> Re: [Rtk-users] </span>答复<span lang="EN-US">:
              Rtk Detector Displacemets<o:p></o:p></span></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <div>
          <div>
            <div>
              <p class="MsoNormal"><span lang="EN-US">Dear Freyman li,<o:p></o:p></span></p>
            </div>
            <p class="MsoNormal"><span lang="EN-US">Have you solved your
                problem ? If not, my guess would be that you have not
                set the origin of your projections correctly. Where does
                your calibration assume the location of point (0,0) in
                your projections? Since you have very small X projection
                offsets, it probably assumes that it's at the center of
                the projection so you must set the origin, i.e., the
                coordinate of the first pixel, at (0.5*0.254*767,
                0.5*0.254*959). If you don't do that, rtkfdk detects a
                large offset that it cannot correct for.<o:p></o:p></span></p>
          </div>
          <p class="MsoNormal"><span lang="EN-US">Simon<o:p></o:p></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
          <div>
            <p class="MsoNormal"><span lang="EN-US">On Mon, Dec 14, 2015
                at 6:32 AM, Freyman li <<a moz-do-not-send="true"
                  href="mailto:lihanwei_1500@126.com" target="_blank">lihanwei_1500@126.com</a>>
                wrote:<o:p></o:p></span></p>
            <blockquote style="border:none;border-left:solid #CCCCCC
              1.0pt;padding:0cm 0cm 0cm
              6.0pt;margin-left:4.8pt;margin-right:0cm">
              <div>
                <div>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                      style="font-size:10.5pt" lang="EN-US">Thanks for
                      your help! I attached the geometry settings to
                      this email. And my detector size is 768*960 with a
                      pixel size 0.254mm.</span><span lang="EN-US"><o:p></o:p></span></p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                      style="font-size:10.5pt" lang="EN-US"> </span><span
                      lang="EN-US"><o:p></o:p></span></p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                      style="font-size:10.5pt;color:#1F497D"
                      lang="EN-US"> </span><span lang="EN-US"><o:p></o:p></span></p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                      style="font-size:10.5pt;color:#1F497D"
                      lang="EN-US"> </span><span lang="EN-US"><o:p></o:p></span></p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                      style="font-size:10.5pt;color:#1F497D"
                      lang="EN-US"> </span><span lang="EN-US"><o:p></o:p></span></p>
                  <div>
                    <div style="border:none;border-top:solid #E1E1E1
                      1.0pt;padding:3.0pt 0cm 0cm 0cm">
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b>发
                          件人</b><b><span
                            style="font-family:"Arial",sans-serif"
                            lang="EN-US">:</span></b><span
                          style="font-family:"Arial",sans-serif"
                          lang="EN-US"> louie L [mailto:<a
                            moz-do-not-send="true"
                            href="mailto:ghostcz@hotmail.com"
                            target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:ghostcz@hotmail.com">ghostcz@hotmail.com</a></a>] <br>
                        </span><b>发送时间</b><b><span
                            style="font-family:"Arial",sans-serif"
                            lang="EN-US">:</span></b><span
                          style="font-family:"Arial",sans-serif"
                          lang="EN-US"> 2015</span>年<span
                          style="font-family:"Arial",sans-serif"
                          lang="EN-US">12</span>月<span
                          style="font-family:"Arial",sans-serif"
                          lang="EN-US">14</span>日<span
                          style="font-family:"Arial",sans-serif"
                          lang="EN-US"> 11:38<br>
                        </span><b>收件人</b><b><span
                            style="font-family:"Arial",sans-serif"
                            lang="EN-US">:</span></b><span
                          style="font-family:"Arial",sans-serif"
                          lang="EN-US"> Freyman li; <a
                            moz-do-not-send="true"
                            href="mailto:rtk-users@public.kitware.com"
                            target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:rtk-users@public.kitware.com">rtk-users@public.kitware.com</a></a><br>
                        </span><b>主题</b><b><span
                            style="font-family:"Arial",sans-serif"
                            lang="EN-US">:</span></b><span
                          style="font-family:"Arial",sans-serif"
                          lang="EN-US"> RE: [Rtk-users] Rtk Detector
                          Displacemets</span><span lang="EN-US"><o:p></o:p></span></p>
                    </div>
                  </div>
                  <div>
                    <div>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US"> <o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US"> <o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US"> <o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US">Sent from <a
                            moz-do-not-send="true"
                            href="http://go.microsoft.com/fwlink/?LinkId=550986"
                            target="_blank">Mail</a> for Windows 10<o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          style="font-family:"Times New
                          Roman",serif" lang="EN-US"> </span><span
                          lang="EN-US"><o:p></o:p></span></p>
                      <div style="border:none;border-top:solid #E1E1E1
                        1.0pt;padding:3.0pt 0cm 0cm 0cm">
                        <p class="MsoNormal"
                          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                            lang="EN-US"><br>
                            <b>From: </b><a moz-do-not-send="true"
                              href="mailto:ghostcz@hotmail.com"
                              target="_blank">louie L</a><br>
                            <b>Sent: </b>Monday, December 14, 2015
                            04:38<br>
                            <b>To: </b><a moz-do-not-send="true"
                              href="mailto:lihanwei_1500@126.com"
                              target="_blank">Freyman li</a><br>
                            <b>Subject: </b>RE: [Rtk-users] Rtk
                            Detector Displacemets<o:p></o:p></span></p>
                      </div>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          style="font-family:"Times New
                          Roman",serif" lang="EN-US"> </span><span
                          lang="EN-US"><o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US">Hi,<o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US"> <o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US">Can you post your geometry file
                          to the mail list? Your problem sounds like a
                          result of wrong geometry settings.<o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US"> <o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US">Best regards,<o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US">Louie<o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US"> <o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US">Sent from <a
                            moz-do-not-send="true"
                            href="http://go.microsoft.com/fwlink/?LinkId=550986"
                            target="_blank">Mail</a> for Windows 10<o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          style="font-family:"Times New
                          Roman",serif" lang="EN-US"> </span><span
                          lang="EN-US"><o:p></o:p></span></p>
                      <div style="border:none;border-top:solid #E1E1E1
                        1.0pt;padding:3.0pt 0cm 0cm 0cm">
                        <p class="MsoNormal"
                          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                            lang="EN-US"><br>
                            <b>From: </b><a moz-do-not-send="true"
                              href="mailto:lihanwei_1500@126.com"
                              target="_blank">Freyman li</a><br>
                            <b>Sent: </b>Monday, December 14, 2015
                            04:25<br>
                            <b>To: </b><a moz-do-not-send="true"
                              href="mailto:Rtk-users@public.kitware.com"
                              target="_blank">Rtk-users@public.kitware.com</a><br>
                            <b>Cc: </b><a moz-do-not-send="true"
                              href="mailto:rtk-users@openrtk.org"
                              target="_blank">rtk-users@openrtk.org</a><br>
                            <b>Subject: </b>[Rtk-users] Rtk Detector
                            Displacemets<o:p></o:p></span></p>
                      </div>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          style="font-family:"Times New
                          Roman",serif" lang="EN-US"> </span><span
                          lang="EN-US"><o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US">Dear rtk-users,<o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US"> <o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US">I have generated the geometry XML
                          file by using the geometry calibration in my
                          CBCT system. And I want to reconstruct the
                          volume from 360 raw projections data.<o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US">But after running the rtkfdk.cxx,
                          I get an output message that "Cannot account
                          for too large detector displacements, a part
                          of space must be covered by all projections."<o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US">And I try to use the
                          addprojection function to generate a simple
                          geometry structure using only SID and SDD,
                          this problem did not happen but the
                          reconstruction result is not correct.<o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US">How can I solve this problem? Is
                          there any limitation about the detector
                          weighting?<o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US"> <o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US">I really appreciate any help you
                          can provide.<o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US"> <o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US">With regards,<o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US">Freyman li<o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US"> <o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US"> <o:p></o:p></span></p>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                          lang="EN-US"> <o:p></o:p></span></p>
                    </div>
                  </div>
                </div>
              </div>
              <p class="MsoNormal" style="margin-bottom:12.0pt"><span
                  lang="EN-US"><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"
                    target="_blank">http://public.kitware.com/mailman/listinfo/rtk-users</a><o:p></o:p></span></p>
            </blockquote>
          </div>
          <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>