Resample Image completed with error

Hi all,

After applying the landmark registration, I continue with the module of Resample image to finally get the new volume registrated by applying the Transform file obtained through the registration.

But it gives me the following message:

=====================================================
Input Volume:     C:/Users/mariadolores.martin/AppData/Local/Temp/Slicer/CBHJC_vtkMRMLScalarVolumeNodeB.nrrd
Reference Volume: C:/Users/mariadolores.martin/AppData/Local/Temp/Slicer/CBHJC_vtkMRMLScalarVolumeNodeC.nrrd
Output Volume:    C:/Users/mariadolores.martin/AppData/Local/Temp/Slicer/CBHJC_vtkMRMLScalarVolumeNodeE.nrrd
Pixel Type:       uchar
Interpolation:    Linear
Background Value: 0
Warp By Transform: C:/Users/mariadolores.martin/AppData/Local/Temp/Slicer/CBHJC_vtkMRMLTransformNodeB.h5
=====================================================
******* HERE *******D:\D\P\S-0-build\BRAINSTools\BRAINSResample\BRAINSResample.cxx 628

itk::MemoryAllocationError (000000A2448FDB90)
Location: "unknown" 
File: D:\D\P\S-0-build\ITK\Modules\Core\Common\include\itkImportImageContainer.hxx
Line: 191
Description: Failed to allocate memory for image.

=====================================================

I can´t understand it because I have performed a lot of registrations like that in the past.

The two volumes have the size of 6,832 MB

I am trying to make the resample operation to get an output of a pixel type uchar.

Thanks in advance

Lola

According to the error message you have run out of memory.

It seems that the images you work with are very large, therefore you need a lot of memory space. Ideally, you would add more physical RAM to your system, or (at the cost of longer computation time) you can just increase the virtual memory size in Windows system settings.

Alternatively, you can use Crop volume module for resampling, as it allows reducing the output image extent and resolution, thereby reducing memory needs.