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

Implement handling for AffineTransform edge cases #9

Open
Oliver-Loeffler opened this issue Sep 8, 2019 · 1 comment
Open

Implement handling for AffineTransform edge cases #9

Oliver-Loeffler opened this issue Sep 8, 2019 · 1 comment
Milestone

Comments

@Oliver-Loeffler
Copy link
Owner

  • multiple displacements along a straight line in either X or Y direction
  • multiple displacements at a single point

These cases usually end up with singular matrix exceptions or errors but basically a handling is possible.

Ideally this condition is detected before an exception occurs, so that the error handler in AffineTransformCalculation can be eliminated later on.

@Oliver-Loeffler
Copy link
Owner Author

Multiple displacements along a straight line in either X or Y direction are now handled by net.raumzeitfalle.registration.distortions.JamaOneDimensionalAffineModel which still uses the JAMA QR decomposition and the AffineModelEquation but parameterizes the matrices differently. Thus there is no runtime exception with "Matrix is singular" message anymore.

Still missing, handling multiple displacements at a single point.

Also still missing, a good way to perform the actions without so many ifs and elses.
Available since 6018775.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant