What is m_Associate?

I’m modifying the neighborhood cross correlation metric (itkv4).

There are some lines like: this ->m_Associate->GetMovingTransform() in the metric class. It looks through m_Associate the metric can call the functions in the registration method or optimizer class? What’s m_Associate for?

Thanks!
-Ray

Hi Ray,

this->m_Associate is called from a DomainThreader class. Here the m_Associate is a pointer to the metric class itself. An additional explanation can be found in this example.

Hope this helps,
Matt