SuperElastix / elastix

Official elastix repository
http://elastix.dev
Apache License 2.0
474 stars 116 forks source link

Declare AdvancedBSplineDeformableTransform data members as C-style array, remove `this->` #1212

Closed N-Dekker closed 1 month ago

N-Dekker commented 1 month ago

Using C-style arrays instead of std::vector might improve the run-time performance of AdvancedBSplineDeformableTransform.

Also made m_WeightsFunction const, and did clean-up the default-constructor of AdvancedBSplineDeformableTransform.