<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
p.xmsonormal, li.xmsonormal, div.xmsonormal
        {mso-style-name:x_msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi, thank you so much for your kind help. Now I can run the example successfully after reinstalling itk-rtk with the given wheel.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best,</p>
<p class="MsoNormal">Zhehao</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><img width="565" height="2" style="width:5.8854in;height:.0208in" id="Horizontal_x0020_Line_x0020_1" src="cid:image002.png@01D623D4.72C0DF90"><o:p></o:p></p>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span style="color:black">From:</span></b><span style="color:black"> Simon Rit <simon.rit@creatis.insa-lyon.fr><br>
<b>Sent:</b> Wednesday, May 6, 2020 3:11:38 AM<br>
<b>To:</b> Aurélien Coussat <aurelien.coussat@creatis.insa-lyon.fr><br>
<b>Cc:</b> Zhang, Zhehao <zhehao.zhang@wustl.edu>; rtk-users@public.kitware.com <rtk-users@public.kitware.com><br>
<b>Subject:</b> Re: [Rtk-users] Trouble on the FirstReconstruction example</span>
<o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal">Hi,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks for the report, I can reproduce the problem. Actually, ITK recently updated their packages and it seems that our old packages are not compatible with the new ones. We will release new ones soon but in the mean time, you should use
 an older version of ITK packages (5.0.1) or use a package built by our CI, e.g. one those available here:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="https://dev.azure.com/simonrit/RTK/_build/results?buildId=477&view=artifacts&type=publishedArtifacts">https://dev.azure.com/simonrit/RTK/_build/results?buildId=477&view=artifacts&type=publishedArtifacts</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Best regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Simon<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Wed, May 6, 2020 at 9:27 AM Aurélien Coussat <<a href="mailto:aurelien.coussat@creatis.insa-lyon.fr">aurelien.coussat@creatis.insa-lyon.fr</a>> wrote:<o:p></o:p></p>
</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>
<p class="MsoNormal" style="margin-left:9.6pt">Hi,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:9.6pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:9.6pt">I cannot reproduce the problem. Are you sure you haven't altered FirstReconstruction.py in any way? Could you provide the exact content of the file?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:9.6pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:9.6pt">Thank you!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:9.6pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:9.6pt">Aurélien.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:9.6pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:9.6pt">On Tue, 2020-05-05 at 22:01 +0000, Zhang, Zhehao wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #729FCF 1.5pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<p class="xmsonormal">Dear all, </p>
<p class="xmsonormal"> </p>
<p class="xmsonormal">Hi! I am new to RTK and want to use it on Python. So I installed RTK through pip, like</p>
<pre><span style="color:black">pip install itk</span></pre>
<pre><span style="color:black">pip install itk-rtk</span></pre>
<p class="xmsonormal"><b> </b></p>
<p class="xmsonormal">I think the examples for ITK work well. However, when I tried to run the FirstReconstruction example for RTK, some trouble have stopped me for a while.</p>
<p class="xmsonormal">I used the order “python FirstReconstruction.py test.mha geometry.xml” to run the given Python code, but I continued to get the error</p>
<p class="xmsonormal"> </p>
<p class="xmsonormal">Traceback (most recent call last):</p>
<p class="xmsonormal">  File "FirstReconstruction.py", line 88, in <module></p>
<p class="xmsonormal">    writer.Update()</p>
<p class="xmsonormal">RuntimeError: C:\P\IPP\standalone-build\ITKs\Modules\Core\Common\src\itkProcessObject.cxx:1400:</p>
<p class="xmsonormal">itk::ERROR: FieldOfViewImageFilter(000001C546A88980): Input Primary is required but not set.</p>
<p class="xmsonormal"> </p>
<p class="xmsonormal">Additionally, this ‘Input Primary is required but not set’ error also occurred in some other examples, on both Windows and Ubuntu systems. I have no idea how to solve it. Could you please help me out?
</p>
<p class="xmsonormal"> </p>
<p class="xmsonormal">Thank you very much.</p>
<p class="xmsonormal"> </p>
<p class="xmsonormal">Sincerely,</p>
<p class="xmsonormal">Zhehao</p>
<p class="xmsonormal"> </p>
</div>
<pre>_______________________________________________</pre>
<pre>Rtk-users mailing list</pre>
<pre><a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a></pre>
<pre><a href="https://public.kitware.com/mailman/listinfo/rtk-users" target="_blank">https://public.kitware.com/mailman/listinfo/rtk-users</a></pre>
</blockquote>
</div>
</blockquote>
</div>
</div>
<p class="MsoNormal" style="margin-left:4.8pt">_______________________________________________<br>
Rtk-users mailing list<br>
<a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a><br>
<a href="https://public.kitware.com/mailman/listinfo/rtk-users" target="_blank">https://public.kitware.com/mailman/listinfo/rtk-users</a><o:p></o:p></p>
<div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:simon.rit@creatis.insa-lyon.fr">Simon Rit</a><br>
<b>Sent: </b>Wednesday, May 6, 2020 3:10 AM<br>
<b>Subject: </b>Re: [Rtk-users] Trouble on the FirstReconstruction example</p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Hi,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks for the report, I can reproduce the problem. Actually, ITK recently updated their packages and it seems that our old packages are not compatible with the new ones. We will release new ones soon but in the mean time, you should use
 an older version of ITK packages (5.0.1) or use a package built by our CI, e.g. one those available here:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="https://dev.azure.com/simonrit/RTK/_build/results?buildId=477&view=artifacts&type=publishedArtifacts">https://dev.azure.com/simonrit/RTK/_build/results?buildId=477&view=artifacts&type=publishedArtifacts</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Best regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Simon<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Wed, May 6, 2020 at 9:27 AM Aurélien Coussat <<a href="mailto:aurelien.coussat@creatis.insa-lyon.fr">aurelien.coussat@creatis.insa-lyon.fr</a>> wrote:<o:p></o:p></p>
</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>
<p class="MsoNormal" style="margin-left:4.8pt">Hi,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:4.8pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:4.8pt">I cannot reproduce the problem. Are you sure you haven't altered FirstReconstruction.py in any way? Could you provide the exact content of the file?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:4.8pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:4.8pt">Thank you!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:4.8pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:4.8pt">Aurélien.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:4.8pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:4.8pt">On Tue, 2020-05-05 at 22:01 +0000, Zhang, Zhehao wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #729FCF 1.5pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:9.6pt">
Dear all, </p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:9.6pt">
 </p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:9.6pt">
Hi! I am new to RTK and want to use it on Python. So I installed RTK through pip, like</p>
<pre><span style="color:black">pip install itk</span></pre>
<pre><span style="color:black">pip install itk-rtk</span></pre>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:9.6pt">
<b> </b></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:9.6pt">
I think the examples for ITK work well. However, when I tried to run the FirstReconstruction example for RTK, some trouble have stopped me for a while.</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:9.6pt">
I used the order “python FirstReconstruction.py test.mha geometry.xml” to run the given Python code, but I continued to get the error</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:9.6pt">
 </p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:9.6pt">
Traceback (most recent call last):</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:9.6pt">
  File "FirstReconstruction.py", line 88, in <module></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:9.6pt">
    writer.Update()</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:9.6pt">
RuntimeError: C:\P\IPP\standalone-build\ITKs\Modules\Core\Common\src\itkProcessObject.cxx:1400:</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:9.6pt">
itk::ERROR: FieldOfViewImageFilter(000001C546A88980): Input Primary is required but not set.</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:9.6pt">
 </p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:9.6pt">
Additionally, this ‘Input Primary is required but not set’ error also occurred in some other examples, on both Windows and Ubuntu systems. I have no idea how to solve it. Could you please help me out?
</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:9.6pt">
 </p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:9.6pt">
Thank you very much.</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:9.6pt">
 </p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:9.6pt">
Sincerely,</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:9.6pt">
Zhehao</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:9.6pt">
 </p>
</div>
<pre>_______________________________________________</pre>
<pre>Rtk-users mailing list</pre>
<pre><a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a></pre>
<pre><a href="https://public.kitware.com/mailman/listinfo/rtk-users" target="_blank">https://public.kitware.com/mailman/listinfo/rtk-users</a></pre>
</blockquote>
</div>
</blockquote>
</div>
<p class="MsoNormal" style="margin-left:4.8pt">_______________________________________________<br>
Rtk-users mailing list<br>
<a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a><br>
<a href="https://public.kitware.com/mailman/listinfo/rtk-users" target="_blank">https://public.kitware.com/mailman/listinfo/rtk-users</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>