Function which calculates the determinant of an itk::Affine transform?

Is there a function to compute the determinant of the affine family of transforms?

Hello,

I think you can call GetMatrix and then call the determinant method of that matrix?

2 Likes

So that’s a no :slight_smile:

Yeah, I can write my own, just the kind of thing I expected to already be there somewhere.

Hey @gdevenyi, why @spinicist suggestion is a no?

vnl_determinant(affine_transform.GetMatrix().GetVnlMatrix())

or close.

1 Like

I just mean there’s no intrinsic call for MatrixOffsetTransform transform family.

1 Like