I recently discovered an excellent remote module which separately interpolates each label in a segmentation image generically over a templated interpolator, and then takes the maximum value for the output. I’ve tried it for linear and bspline interpolation (with the default spline order) and it works great! I’m now wondering about using it with bspline interpolation for a non-default spline order. Since the spline order is set on the interpolator instance, rather than as a template argument, I don’t see an obvious way to do this with the current API. I think we could get around this issue by providing a
m_InternalInterpolators, so the user could set the spline order manually on the internal instances, but I’m not sure if this is the best way to approach it. Happy to supply a patch if this sounds like a good idea, and apologies if I’ve missed something obvious!
Best, and thanks in advance,