Hi everybody,
I found a weird behaviour to brains resample module on some PET/CT images I have.
Despite that PET/CT ScalarVolumesNodes are correctly displayed with correct informations as regards to the volume properties, the resample module raises an error:
Resample Image (BRAINS) standard output:
WARNING: neither warpTransform nor deformationVolume are defined, so warpTransform is set as identity.
=====================================================
Input Volume: C:/Users/l-ferrer/AppData/Local/Temp/Slicer/BCHGA_vtkMRMLScalarVolumeNodeC.nrrd
Reference Volume: C:/Users/l-ferrer/AppData/Local/Temp/Slicer/BCHGA_vtkMRMLScalarVolumeNodeB.nrrd
Output Volume: C:/Users/l-ferrer/AppData/Local/Temp/Slicer/BCHGA_vtkMRMLScalarVolumeNodeD.nrrd
Pixel Type: short
Interpolation: Linear
Background Value: 0
Warp By Transform: Identity
=====================================================
******* HERE *******D:\D\S\Slicer-0-build\BRAINSTools\BRAINSResample\BRAINSResample.cxx 475
itk::ExceptionObject (000000024AB5D870)
Location: “unknown”
File: D:\D\S\Slicer-0-build\ITK\Modules\IO\NRRD\src\itkNrrdImageIO.cxx
Line: 290
Description: itk::ERROR: NrrdImageIO(000001C04F65A7E0): ReadImageInformation: Error reading C:/Users/l-ferrer/AppData/Local/Temp/Slicer/BCHGA_vtkMRMLScalarVolumeNodeC.nrrd:
[nrrd] nrrdLoad: trouble reading “C:/Users/l-ferrer/AppData/Local/Temp/Slicer/BCHGA_vtkMRMLScalarVolumeNodeC.nrrd”
[nrrd] nrrdRead: trouble
[nrrd] _nrrdRead: trouble reading NRRD file
[nrrd] _nrrdFormatNRRD_read: trouble parsing space directions info |(0,97656250000000022,0,0) (0,0,97656250000000022,0) (0,0,2)|
[nrrd] _nrrdReadNrrdParse_space_directions: trouble getting space vector 1 of 3
[nrrd] _nrrdSpaceVectorParse: space dimension is 3, but seem to have 4 coefficients
Apparently, the PET/CT images I got haven’t 4 dimensions.
I tried with 4.11.20200629 r29190, slicer 4.11.20200930 r29402, slicer 4.1120210226 r29738
I also tried with different PET/CT images, same results
What is going wrong here ? That must be obvious but I am blind
Best regards
Ludovic