<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 "Debug Assertion Failed.... invalid null pointer", whenever it is running the statement "OptimizerType::Pointer optimizer = OptimizerType::New();". </div>
<div style>I have tried the optimizers "typedef itk::AmoebaOptimizer" and "typedef itk::RegularStepGradientDescentOptimizer" 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>