<div dir="ltr">Hello there,<div><br></div><div style>I am pretty new to itk and try to get familiar with by following several provided image registration examples. </div><div style>What I did just copy and paste the sample codes on my project. </div>
<div style>However, my project crashes with messages &quot;Debug Assertion Failed.... invalid null pointer&quot;, whenever it is running the statement &quot;OptimizerType::Pointer optimizer = OptimizerType::New();&quot;. </div>
<div style>I have tried the optimizers &quot;typedef itk::AmoebaOptimizer&quot; and &quot;typedef itk::RegularStepGradientDescentOptimizer&quot; and both shares the same problem.</div><div style><br></div><div style>Is there anyone can teach me what did I miss or anything wrong?</div>
<div style><br></div><div style>Sincerely,</div><div style>JZ</div></div>