You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
itk::TransformFilter has a member function ComputeSpatialJacobianOn(), which adds the argument "-jacmat", and a member function ComputeDeterminantOfSpatialJacobianOn(), which adds the argument "-jac". So the member function names assume that the term "Jacobian" refers to its matrix, while the command-line interface assumes that "-jac" is about its determinant.
To avoid further confusion, I would prefer to always explicitly specify whether the matrix or its determinant is requested. Which is also why I proposed (with pull request #755) to add ComputeSpatialJacobianDeterminantImage() and ComputeSpatialJacobianMatrixImage().
Regarding the command-line interface, I guess we could do:
-jac mat ---- write only the image of Jacobian matrices
-jac det ---- write only the image of Jacobian determinants
-jac all ---- write both images
Right?
The text was updated successfully, but these errors were encountered:
itk::TransformFilter
has a member functionComputeSpatialJacobianOn()
, which adds the argument "-jacmat", and a member functionComputeDeterminantOfSpatialJacobianOn()
, which adds the argument "-jac". So the member function names assume that the term "Jacobian" refers to its matrix, while the command-line interface assumes that "-jac" is about its determinant.To avoid further confusion, I would prefer to always explicitly specify whether the matrix or its determinant is requested. Which is also why I proposed (with pull request #755) to add
ComputeSpatialJacobianDeterminantImage()
andComputeSpatialJacobianMatrixImage()
.Regarding the command-line interface, I guess we could do:
Right?
The text was updated successfully, but these errors were encountered: