# NVIDIA AIAA error when using auto-segmentation (modle: clara\_pt\_liver\_and\_tumor\_CT\_segmentation)

**URL:** <https://discourse.slicer.org/t/nvidia-aiaa-error-when-using-auto-segmentation-modle-clara-pt-liver-and-tumor-ct-segmentation/20197>\
**Category:** Support\
**Tags:** segmentation, aiaa\
**Created:** [October 17, 2021, 9:20pm UTC](https://discourse.slicer.org/t/nvidia-aiaa-error-when-using-auto-segmentation-modle-clara-pt-liver-and-tumor-ct-segmentation/20197 "2021-10-17T21:20:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![twsheng](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/twsheng/32/8174_2.png) [@twsheng](https://discourse.slicer.org/u/twsheng)\
**Post date:** [October 17, 2021, 9:20pm UTC](https://discourse.slicer.org/t/nvidia-aiaa-error-when-using-auto-segmentation-modle-clara-pt-liver-and-tumor-ct-segmentation/20197/1 "2021-10-17T21:20:52Z")

</div>

Hello everyone,

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

```auto
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

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [October 17, 2021, 9:31pm UTC](https://discourse.slicer.org/t/nvidia-aiaa-error-when-using-auto-segmentation-modle-clara-pt-liver-and-tumor-ct-segmentation/20197/2 "2021-10-17T21:31:06Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![twsheng](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/twsheng/32/8174_2.png) [@twsheng](https://discourse.slicer.org/u/twsheng)\
**Post date:** [October 17, 2021, 10:55pm UTC](https://discourse.slicer.org/t/nvidia-aiaa-error-when-using-auto-segmentation-modle-clara-pt-liver-and-tumor-ct-segmentation/20197/3 "2021-10-17T22:55:15Z")

</div>

Thanks a lot. It’s work.
