NVIDIA AIAA error when using auto-segmentation (modle: clara_pt_liver_and_tumor_CT_segmentation)

Hello everyone,

Could anyone help me with this error message when using the Nvidia Segmentation extension?

Traceback (most recent call last):
  File "/Applications/Slicer.app/Contents/Extensions-30160/NvidiaAIAssistedAnnotation/lib/Slicer-4.13/qt-scripted-modules/SegmentEditorNvidiaAIAALib/SegmentEditorEffect.py", line 412, in onClickSegmentation
    if self.updateSegmentationMask(extreme_points, result_file, modelInfo):
  File "/Applications/Slicer.app/Contents/Extensions-30160/NvidiaAIAssistedAnnotation/lib/Slicer-4.13/qt-scripted-modules/SegmentEditorNvidiaAIAALib/SegmentEditorEffect.py", line 242, in updateSegmentationMask
    labelImage = sitk.ReadImage(in_file)
  File "/Applications/Slicer.app/Contents/lib/Python/lib/python3.6/site-packages/SimpleITK-2.1.0-py3.6-macosx-10.13-x86_64.egg/SimpleITK/extra.py", line 346, in ReadImage
    return reader.Execute()
  File "/Applications/Slicer.app/Contents/lib/Python/lib/python3.6/site-packages/SimpleITK-2.1.0-py3.6-macosx-10.13-x86_64.egg/SimpleITK/SimpleITK.py", line 8015, in Execute
    return _SimpleITK.ImageFileReader_Execute(self)
RuntimeError: Exception thrown in SimpleITK ImageFileReader_Execute: /Volumes/D/P/S-0-build/ITK/Modules/IO/NIFTI/src/itkNiftiImageIO.cxx:1980:
ITK ERROR: ITK only supports orthonormal direction cosines.  No orthonormal definition found!

Thank you

As the error message tells, you need to have orthogonal image axes. You can use Crop volume module with resampling mode enabled to resample your volume on a grid with orthogonal axes.

Thanks a lot. It’s work.

1 Like