Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example deformable registration 15 is mostly broken #1556

dzenanz opened this issue Jan 10, 2020 · 0 comments · Fixed by #1563

Example deformable registration 15 is mostly broken #1556

dzenanz opened this issue Jan 10, 2020 · 0 comments · Fixed by #1563


Copy link

@dzenanz dzenanz commented Jan 10, 2020


The comment at the beginning of the file speaks of setting affine as the bulk transform, but current BSplineTransform does not even have that method. BSplineDeformableTransform does. I guess this was accidentally broken sometime during refactoring from ITKv3 to ITKv4.

Steps to Reproduce

Set as input images which do not have overlap in physical space. Rigid and affine phases complete, and deformable phase fails.

Expected behavior

No crash.

Actual behavior

Starting Deformable Registration Coarse Grid

itk::ExceptionObject (0000009A948FF078)
Location: "unknown"
File: C:\Libs\InsightToolkit-5.1rc01\Modules\Registration\Common\include\itkMeanSquaresImageToImageMetric.hxx
Line: 233
Description: itk::ERROR: MeanSquaresImageToImageMetric(000002199A3D47E0): Too many samples map outside moving image buffer: 0 / 37500

This is with MSE, Mutual Information metric provides less useful Joint PDF summed to zero error message.




Looking at git log, it has been like this for years.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.