-
-
Notifications
You must be signed in to change notification settings - Fork 671
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: ComputeInverseJacobianWithRespectToPosition didn't do inversion
itk::MatrixOffsetTransformBase::ComputeInverseJacobianWithRespectToPosition was returning directly the matrix (the same as ComputeJacobianWithRespectToPosition). It has been corrected to return the inverse matrix. This correction has required also the correction of a few function return and parameters' Types. Those corrected Types were inconsistent when instantiated with InputImage and OutputImage of different dimensions. Apparently the bug was inadvertently introduced in 61e2be7 (PERF: Improve MatrixOffset Jacobian computation performance) and subsequently not fixed but got mixed wrong JacobianTypes in 212cae5 (PERF: Change type of Jacobian w.r. position to vnl_matrix_fixed).
- Loading branch information
Showing
2 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters