<div dir="ltr">Hi,<br><br>I´m doing some improvements in an application developed a couple of years ago. This application runs on Mac OS X 10.8.5 and uses ITK 3.20.1. My improvements consist in implements some image registration capabilities.<div>
<br>After implementation ( was I did and tested using a Linux system, and eventually a Windows 7 system ), when I start to test on Apple platform, a lot of crashes starts to occur on itk::ResampleImageFilter.<div><br>Of course, I first supposed problems in my code, but after a lot of try, I´ve found nothing.<br>
Then I tried to run MultiResImageRegistration3.cxx example, and crashes occurs too!<br><div>Well, after this I compiled the latest version of ITK with ITKv3 compability flag turned on, an compiled my program against this version. Works! </div>
<div><br></div><div>My question is: </div><div>Someone was found some similar problem on Mac OS? </div><div>ITK 3.20.1 depends on different compilation flags or different libs on this platform? </div><div><br></div><div>Since the application are on a production environment today, will be more difficult start a non-planned migration against new version of ITK due the time and resources available.</div>
</div></div><div><br></div><div>Some portion of the crash:</div><div><br></div><div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">0   imageregistration             <span style="white-space:pre-wrap">    </span>0x00000001051cc662 itk::NearestNeighborInterpolateImageFunction<itk::Image<unsigned short, 3u>, double>::EvaluateAtContinuousIndex(itk::ContinuousIndex<double, 3u> const&) const + 146</div>
<div style="font-family:arial,sans-serif;font-size:13.333333969116211px">1   imageregistration             <span style="white-space:pre-wrap">  </span>0x00000001051d04c0 itk::ResampleImageFilter<itk::Image<unsigned short, 3u>, itk::Image<unsigned short, 3u>, double>::LinearThreadedGenerateData(itk::ImageRegion<3u> const&, int) + 2816</div>
<div style="font-family:arial,sans-serif;font-size:13.333333969116211px">2   imageregistration             <span style="white-space:pre-wrap">  </span>0x00000001051d138c itk::ImageSource<itk::Image<unsigned short, 3u> >::ThreaderCallback(void*) + 140</div>
<div style="font-family:arial,sans-serif;font-size:13.333333969116211px">3   imageregistration             <span style="white-space:pre-wrap">  </span>0x0000000105286d0a itk::MultiThreader::SingleMethodExecute() + 1050</div>
<div style="font-family:arial,sans-serif;font-size:13.333333969116211px">4   imageregistration             <span style="white-space:pre-wrap">  </span>0x00000001051cdb03 itk::ImageSource<itk::Image<unsigned short, 3u> >::GenerateData() + 131</div>
<div style="font-family:arial,sans-serif;font-size:13.333333969116211px">5   imageregistration             <span style="white-space:pre-wrap">  </span>0x000000010529a0e0 itk::ProcessObject::UpdateOutputData(itk::DataObject*) + 1280</div>
<div style="font-family:arial,sans-serif;font-size:13.333333969116211px">6   imageregistration             <span style="white-space:pre-wrap">  </span>0x000000010527f73c itk::DataObject::UpdateOutputData() + 172</div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">
7   imageregistration             <span style="white-space:pre-wrap">   </span>0x00000001050bc571 itk::ImageBase<3u>::UpdateOutputData() + 353</div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">
8   imageregistration             <span style="white-space:pre-wrap">   </span>0x000000010527f2f5 itk::DataObject::Update() + 69</div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">9   imageregistration             <span style="white-space:pre-wrap">        </span>0x000000010529931c itk::ProcessObject::Update() + 76</div>
</div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">
Thanks for any help!</div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">Wagner Sales</div></div>