<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style id="owaParaStyle" type="text/css"></style>
</head>
<body ocsi="0" fpstyle="1" style="word-wrap:break-word; color:rgb(0,0,0); font-size:14px; font-family:Calibri,sans-serif">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><font size="2" face="Tahoma">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="mso-no-proof: yes"><font size="3" face="Calibri">H<font size="3">i
<font size="3">Hans:</font></font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><br>
<span style="mso-no-proof: yes"></span></p>
</font>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font size="2" face="Tahoma"><span style="mso-no-proof: yes"><font size="3" face="Calibri"><font size="3"><font size="3"><font size="3">I have built ITK 3.20.1 with options: ITK_USE_REVIEW = ON, ITK_USE_STATISTICS
= ON, BUILD_SHARED_LIBS = <font size="3">ON, CMAKE_BUILD_TYPE = <font size="3">Release, ITK_USE_OPTIMIZED<font size="3">_REGISTRATION = ON.</font></font></font></font></font></font></font></span></font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><br>
<span style="mso-no-proof: yes"></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="mso-no-proof: yes"><font size="3" face="Calibri"><font size="3"><font size="3"><font size="3"><font size="3"><font size="3"><font size="3"><font size="3">T<font size="3">hen i followed the instructions
to compile the code with:</font></font></font></font></font></font></font></font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="mso-no-proof: yes"><font size="3" face="Calibri">cmake -DITK_DIR=/work/01515/wliu3/ITK_Binary/ -DCMAKE_BUILD_TYPE=Release ../LogSymmetricDemons-master</font></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><br>
<span style="mso-no-proof: yes"></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="mso-no-proof: yes"><font size="3" face="Calibri"><font size="3">and
<br>
</font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><br>
<span style="mso-no-proof: yes"></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="mso-no-proof: yes"><font size="3" face="Calibri"><font size="3"><font size="3">make -j2</font></font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><br>
<span style="mso-no-proof: yes"></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="mso-no-proof: yes"><font size="3" face="Calibri"><font size="3"><font size="3"><font size="3">However, the compil<font size="3">ing can<font size="3">n<font size="3">ot be finis<font size="3">hed
succe<font size="3">ssfully. Here are the error message:</font></font></font></font></font></font></font></font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="mso-no-proof: yes"><font size="3" face="Calibri"><font size="3"><font size="3"><font size="3"><font size="3"><font size="3"><font size="3"><font size="3"><font size="3"><br>
</font></font></font></font></font></font></font></font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="mso-no-proof: yes"><font size="3" face="Calibri"><font size="3"><font size="3"><font size="3"><font size="3"><font size="3"><font size="3"></font></font></font></font></font></font></font>Scanning
dependencies of target MakeTestImages<br>
Scanning dependencies of target itkDisplacementFieldCompositionFilterTest<br>
[ 11%] Building CXX object Testing/CMakeFiles/itkDisplacementFieldCompositionFilterTest.dir/itkDisplacementFieldCompositionFilterTest.cxx.o<br>
[ 11%] Building CXX object Testing/CMakeFiles/MakeTestImages.dir/MakeTestImages.cxx.o<br>
/work/01515/wliu3/LogSymmetricDemons-master/Testing/MakeTestImages.cxx: In function ‘void GetRegion(typename ImageType::Pointer&, typename SpatialObjectType::Pointer&, typename ImageType::RegionType&) [with SpatialObjectType = itk::EllipseSpatialObject<2u>,
ImageType = itk::Image<unsigned char, 2u>]’:<br>
/work/01515/wliu3/LogSymmetricDemons-master/Testing/MakeTestImages.cxx:134: instantiated from here<br>
/work/01515/wliu3/LogSymmetricDemons-master/Testing/MakeTestImages.cxx:69: warning: converting to ‘long unsigned int’ from ‘double’<br>
/work/01515/wliu3/LogSymmetricDemons-master/Testing/MakeTestImages.cxx:77: error: ‘class itk::ImageRegion<2u>’ has no member named ‘GetUpperIndex’<br>
/work/01515/wliu3/LogSymmetricDemons-master/Testing/MakeTestImages.cxx:134: instantiated from here<br>
/work/01515/wliu3/LogSymmetricDemons-master/Testing/MakeTestImages.cxx:85: error: ‘class itk::ImageRegion<2u>’ has no member named ‘GetUpperIndex’<br>
/work/01515/wliu3/LogSymmetricDemons-master/Testing/MakeTestImages.cxx: In function ‘void GetRegion(typename ImageType::Pointer&, typename SpatialObjectType::Pointer&, typename ImageType::RegionType&) [with SpatialObjectType = itk::BoxSpatialObject<2u>, ImageType
= itk::Image<unsigned char, 2u>]’:<br>
/work/01515/wliu3/LogSymmetricDemons-master/Testing/MakeTestImages.cxx:171: instantiated from here<br>
/work/01515/wliu3/LogSymmetricDemons-master/Testing/MakeTestImages.cxx:69: warning: converting to ‘long unsigned int’ from ‘double’<br>
/work/01515/wliu3/LogSymmetricDemons-master/Testing/MakeTestImages.cxx:77: error: ‘class itk::ImageRegion<2u>’ has no member named ‘GetUpperIndex’<br>
/work/01515/wliu3/LogSymmetricDemons-master/Testing/MakeTestImages.cxx:85: error: ‘class itk::ImageRegion<2u>’ has no member named ‘GetUpperIndex’<br>
make[2]: *** [Testing/CMakeFiles/MakeTestImages.dir/MakeTestImages.cxx.o] Error 1<br>
make[1]: *** [Testing/CMakeFiles/MakeTestImages.dir/all] Error 2<br>
make[1]: *** Waiting for unfinished jobs....<br>
Linking CXX executable ../tests/itkDisplacementFieldCompositionFilterTest<br>
[ 11%] Built target itkDisplacementFieldCompositionFilterTest<br>
make: *** [all] Error 2<br>
</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><br>
<span style="mso-no-proof: yes"></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="mso-no-proof: yes"><font size="3" face="Calibri"><font size="3">It seems that clas<font size="3">s::I<font size="3">mageReg<font size="3">ion do<font size="3">es not have the member named 'GetUpperIndex'</font></font></font></font></font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><br>
<span style="mso-no-proof: yes"></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="mso-no-proof: yes"><font size="3" face="Calibri"><font size="3"><font size="3"><font size="3"><font size="3"><font size="3"><font size="3">So i have to install ITK 4.3.0? I am a little bit concerned
that my old codes based on ITK 3.20.1 <font size="3">could <font size="3">run well using ITK 4.3.0?</font></font></font></font></font></font></font></font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><br>
<span style="mso-no-proof: yes"></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="mso-no-proof: yes"><font size="3" face="Calibri"><font size="3"><font size="3"><font size="3"><font size="3"><font size="3"><font size="3"><font size="3"><font size="3"><font size="3">T<font size="3">hanks</font></font></font></font></font></font></font></font></font></font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><br>
<span style="mso-no-proof: yes"></span></p>
<span style="mso-no-proof: yes"><font size="3" face="Calibri"><font size="3"><font size="3"><font size="3"><font size="3"><font size="3"><font size="3"><font size="3"><font size="3"><font size="3"><font size="3"><font size="3">Wei</font></font></font></font></font></font></font></font></font></font></font></font></span><br>
<span style="mso-no-proof: yes"></span>
<div>
<div><font size="2" face="Tahoma">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="mso-no-proof: yes"><o:p><font size="3" face="Calibri"> </font></o:p></span></p>
<span style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><!--?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /--><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"></v:path><o:lock v:ext="edit" aspectratio="t"></o:lock></v:shapetype><v:shape id="_x0000_i1025" style="WIDTH: 149.25pt; HEIGHT: 73.5pt" type="#_x0000_t75"><v:imagedata src="file:///C:\DOCUME~1\wliu3\LOCALS~1\Temp\msohtmlclip1\01\clip_image001.png" o:title=""></v:imagedata></v:shape></span></font></div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF891152"><font size="2" color="#000000" face="Tahoma"><b>From:</b> Johnson, Hans J [hans-johnson@uiowa.edu]<br>
<b>Sent:</b> Wednesday, April 10, 2013 5:04 PM<br>
<b>To:</b> Liu,Wei; insight-users@itk.org<br>
<b>Subject:</b> Re: [Insight-users] Frequency container saturated for Instance (ITK 3.20)<br>
</font><br>
</div>
<div></div>
<div>
<div>Wei,</div>
<div><br>
</div>
<div>You may want to try using an ITKv4 version of the symmetric force demon: We have an updated version of the original on github.</div>
<div><br>
</div>
<div><a href="https://github.com/BRAINSia/LogSymmetricDemons" target="_blank">https://github.com/BRAINSia/LogSymmetricDemons</a></div>
<div><br>
</div>
<div>Hans</div>
<div><br>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; border-bottom:medium none; border-left:medium none; padding-bottom:0in; padding-left:0in; padding-right:0in; border-top:#b5c4df 1pt solid; border-right:medium none; padding-top:3pt">
<span style="font-weight:bold">From: </span><Liu>, Wei <<a href="mailto:WLiu3@mdanderson.org" target="_blank">WLiu3@mdanderson.org</a>><br>
<span style="font-weight:bold">Date: </span>Wednesday, April 10, 2013 4:22 PM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>" <<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>><br>
<span style="font-weight:bold">Subject: </span>[Insight-users] Frequency container saturated for Instance (ITK 3.20)<br>
</div>
<div><br>
</div>
<div><style>
<!--
@font-face
        {font-family:SimSun}
@font-face
        {font-family:SimSun}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif"}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
span.BalloonTextChar
        {font-family:"Tahoma","sans-serif"}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
-->
BODY {direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;}P {margin-top:0;margin-bottom:0;}</style>
<div lang="EN-US">
<div class="WordSection1">
<p class="MsoNormal">I am using ITK 3.20 to do symmetric force demon registration, which uses histogram matching. I found that for some CTs, it works fine. However, for some CTs, it does not work with the following error message.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">itk::ExceptionObject (0x1c1679e0)</p>
<p class="MsoNormal">Location: "bool itk::Statistics::DenseFrequencyContainer::IncreaseFrequency(long unsigned int, float)"</p>
<p class="MsoNormal">File: /work/01515/wliu3/InsightToolkit-3.20.0/Code/Numerics/Statistics/itkDenseFrequencyContainer.cxx</p>
<p class="MsoNormal">Line: 84</p>
<p class="MsoNormal">Description: itk::ERROR: DenseFrequencyContainer(0x1c1431b0): Frequency container saturated for Instance</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I understood that this problem was in ITK 3.16, but i supposed this problem was fixed in ITK 3.20 by using the new statistics framework. Is my understanding wrong? Could you please give me some hints how to solve this problem?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Wei</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Wei Liu, PhD</p>
<p class="MsoNormal">Assistant Professor</p>
<p class="MsoNormal">The University of Texas M.D. Anderson Cancer Center</p>
<p class="MsoNormal">Department of Radiation Physics - Unit 94</p>
<p class="MsoNormal">Houston, Texas 77030</p>
<p class="MsoNormal"><b><span style="color:red"><a href="mailto:agatson@mdanderson.org" target="_blank"><span style="font-family:'Times New Roman',serif; color:blue">wliu3@mdanderson.org</span></a></span></b></p>
<p class="MsoNormal">Office: 713.794.4112</p>
<p class="MsoNormal">Fax: 713.563.2545</p>
<p class="MsoNormal">Pager: 713.404.6064</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><img id="Picture_x0020_1" src="cid:image001.png@01CE3607.91D30600" height="98" width="199" border="0"></p>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
</span><br>
<br>
<hr>
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. If you are not the intended recipient, you are hereby notified that any
retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, then delete it. Thank you.
<hr>
</div>
</div>
</div>
</body>
</html>