How to fix 'itkMatrixD33' object does not support indexing (itk.BinaryMask3DMeshSource)

Try imageDirection_itk(iPointDim, iDim) and imageDirection_itk.GetElement(iPointDim, iDim). Take a look at this post and the rest of that thread.

1 Like