It was very nice to meet you @ https://wbir2018.nl here in Leiden, @matt.mccormick, @dzenanz, @jhlegarreta ! Now I have another technical question:
N4BiasFieldCorrectionImageFilter::UpdateBiasFieldEstimate currently does at https://github.com/Kitware/ITK/blob/v5.0a02/Modules/Filtering/BiasCorrection/include/itkN4BiasFieldCorrectionImageFilter.hxx#L611
adder = AdderType::New();
adder->SetInput1( this->m_LogBiasFieldControlPointLattice );
adder->SetInput2( phiLattice );
adder->Update();
this->m_LogBiasFieldControlPointLattice = adder->GetOutput();
I feel that thereās a possible opportunity for a performance improvement here. phiLattice
could be added directly to m_LogBiasFieldControlPointLattice
, in-place, instead of creating an extra output image (as it now appears to do). Do you have a suggestion how to adapt the code, in order to do so?