Initial template [0] cannot be read -------------------------------------------------------------------------------------- Initial template 0 found. This will be used for guiding the registration. use : /CACHE/sandbox/test/2822d.nii.gz and TPS_template0.nii.gz -------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------- Starting ANTS rigid registration on max 60 cpucores. Progress can be viewed in ./job*_metriclog.txt -------------------------------------------------------------------------------------- Using max 60 parallel threads Running sh ./job10_r.sh Running sh ./job11_r.sh Running sh ./job_00_r.sh Running sh ./job_01_r.sh Running sh ./job_02_r.sh Running sh ./job_03_r.sh Running sh ./job_04_r.sh Running sh ./job_05_r.sh Running sh ./job_06_r.sh Running sh ./job_07_r.sh Running sh ./job_08_r.sh Running sh ./job_09_r.sh Using single precision for computations. Input scalar image: /CACHE/sandbox/test/2792k.nii.gz Using single precision for computations. Input scalar image: /CACHE/sandbox/test/2822l.nii.gz Reference image: TPS_template0.nii.gz Using single precision for computations. Input scalar image: /CACHE/sandbox/test/968k.nii.gz Using single precision for computations. Input scalar image: /CACHE/sandbox/test/2822f.nii.gz Reference image: TPS_template0.nii.gz ============================================================================= The composite transform comprises the following transforms (in order): 1. ./rigid8_0GenericAffine.mat (type = AffineTransform) ============================================================================= Default pixel value: 0 Interpolation type: LinearInterpolateImageFunction Output warped image: ./rigid8_0_2792k.nii.gz Using single precision for computations. Input scalar image: /CACHE/sandbox/test/2856g.nii.gz Reference image: TPS_template0.nii.gz Reference image: TPS_template0.nii.gz Using single precision for computations. Input scalar image: /CACHE/sandbox/test/2822i.nii.gz Using single precision for computations. Input scalar image: /CACHE/sandbox/test/2819d.nii.gz ============================================================================= The composite transform comprises the following transforms (in order): 1. ./rigid6_0GenericAffine.mat (type = AffineTransform) ============================================================================= Default pixel value: 0 Interpolation type: LinearInterpolateImageFunction Output warped image: ./rigid6_0_2822l.nii.gz Reference image: TPS_template0.nii.gz ============================================================================= The composite transform comprises the following transforms (in order): 1. ./rigid0_0GenericAffine.mat (type = AffineTransform) ============================================================================= Default pixel value: 0 Interpolation type: LinearInterpolateImageFunction ============================================================================= The composite transform comprises the following transforms (in order): 1. ./rigid5_0GenericAffine.mat (type = AffineTransform) ============================================================================= Default pixel value: 0 Interpolation type: LinearInterpolateImageFunction Reference image: TPS_template0.nii.gz Output warped image: ./rigid0_0_968k.nii.gz Output warped image: ./rigid5_0_2822f.nii.gz Reference image: TPS_template0.nii.gz ============================================================================= The composite transform comprises the following transforms (in order): 1. ./rigid1_0GenericAffine.mat (type = AffineTransform) ============================================================================= Default pixel value: 0 Interpolation type: LinearInterpolateImageFunction Output warped image: ./rigid1_0_2856g.nii.gz ============================================================================= The composite transform comprises the following transforms (in order): 1. ./rigid3_0GenericAffine.mat (type = AffineTransform) ============================================================================= Default pixel value: 0 Interpolation type: LinearInterpolateImageFunction ============================================================================= The composite transform comprises the following transforms (in order): 1. ./rigid10_0GenericAffine.mat (type = AffineTransform) ============================================================================= Default pixel value: 0 Interpolation type: LinearInterpolateImageFunction Output warped image: ./rigid3_0_2822i.nii.gz Output warped image: ./rigid10_0_2819d.nii.gz Using single precision for computations. Input scalar image: /CACHE/sandbox/test/2790i.nii.gz Reference image: TPS_template0.nii.gz Using single precision for computations. Input scalar image: /CACHE/sandbox/test/2856f.nii.gz ============================================================================= The composite transform comprises the following transforms (in order): 1. ./rigid7_0GenericAffine.mat (type = AffineTransform) ============================================================================= Default pixel value: 0 Interpolation type: LinearInterpolateImageFunction Reference image: TPS_template0.nii.gz Output warped image: ./rigid7_0_2790i.nii.gz ============================================================================= The composite transform comprises the following transforms (in order): 1. ./rigid9_0GenericAffine.mat (type = AffineTransform) ============================================================================= Default pixel value: 0 Interpolation type: LinearInterpolateImageFunction Output warped image: ./rigid9_0_2856f.nii.gz Using single precision for computations. Input scalar image: /CACHE/sandbox/test/2790k.nii.gz Reference image: TPS_template0.nii.gz ============================================================================= The composite transform comprises the following transforms (in order): 1. ./rigid4_0GenericAffine.mat (type = AffineTransform) ============================================================================= Default pixel value: 0 Interpolation type: LinearInterpolateImageFunction Output warped image: ./rigid4_0_2790k.nii.gz Using single precision for computations. Input scalar image: /CACHE/sandbox/test/2856c.nii.gz Reference image: TPS_template0.nii.gz ============================================================================= The composite transform comprises the following transforms (in order): 1. ./rigid2_0GenericAffine.mat (type = AffineTransform) ============================================================================= Default pixel value: 0 Interpolation type: LinearInterpolateImageFunction Output warped image: ./rigid2_0_2856c.nii.gz Using single precision for computations. Input scalar image: /CACHE/sandbox/test/2819e.nii.gz Reference image: TPS_template0.nii.gz ============================================================================= The composite transform comprises the following transforms (in order): 1. ./rigid11_0GenericAffine.mat (type = AffineTransform) ============================================================================= Default pixel value: 0 Interpolation type: LinearInterpolateImageFunction Output warped image: ./rigid11_0_2819e.nii.gz Building rigid template from ./rigid0_0_968k.nii.gz ./rigid1_0_2856g.nii.gz ./rigid2_0_2856c.nii.gz ./rigid3_0_2822i.nii.gz ./rigid4_0_2790k.nii.gz ./rigid5_0_2822f.nii.gz ./rigid6_0_2822l.nii.gz ./rigid7_0_2790i.nii.gz ./rigid8_0_2792k.nii.gz ./rigid9_0_2856f.nii.gz ./rigid10_0_2819d.nii.gz ./rigid11_0_2819e.nii.gz bigimage 4 maxSize [514, 348, 269] Setting physical space of output average image based on largest image Averaging 12 images with dim = 3 vector components 1 reading ./rigid0_0_968k.nii.gz reading ./rigid1_0_2856g.nii.gz reading ./rigid2_0_2856c.nii.gz reading ./rigid3_0_2822i.nii.gz reading ./rigid4_0_2790k.nii.gz reading ./rigid5_0_2822f.nii.gz reading ./rigid6_0_2822l.nii.gz reading ./rigid7_0_2790i.nii.gz reading ./rigid8_0_2792k.nii.gz reading ./rigid9_0_2856f.nii.gz reading ./rigid10_0_2819d.nii.gz reading ./rigid11_0_2819e.nii.gz writing output Sharpening method none -------------------------------------------------------------------------------------- Backing up results from rigid iteration -------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------- Start to build templates: TPS_template0.nii.gz -------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------- Mapping parameters -------------------------------------------------------------------------------------- Dimensionality: 3 Do N4 bias correction: 1 Back up each iteration: 1 Similarity metric: CC Gradient step: 0.25 Transformation: SyN Max iterations: 100x100x70x20 Smoothing factors: 3x2x1x0 Shrink factors: 6x4x2x1 Output prefix: TPS_ Template: TPS_template Template update steps: 4 Template population: /CACHE/sandbox/test/968k.nii.gz /CACHE/sandbox/test/2856g.nii.gz /CACHE/sandbox/test/2856c.nii.gz /CACHE/sandbox/test/2822i.nii.gz /CACHE/sandbox/test/2790k.nii.gz /CACHE/sandbox/test/2822f.nii.gz /CACHE/sandbox/test/2822l.nii.gz /CACHE/sandbox/test/2790i.nii.gz /CACHE/sandbox/test/2792k.nii.gz /CACHE/sandbox/test/2856f.nii.gz /CACHE/sandbox/test/2819d.nii.gz /CACHE/sandbox/test/2819e.nii.gz Number of modalities: 1 Modality weights: Image statistic: 1 Sharpening method: 1 Shape update full affine: 1 -------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------- Starting ANTS registration on max 60 cpucores. Iteration: 1 of 4 Progress can be viewed in job*_0_metriclog.txt -------------------------------------------------------------------------------------- Using max 60 parallel threads Running sh ./job10_r.sh Running sh ./job11_r.sh Running sh ./job_00_r.sh Running sh ./job_01_r.sh Running sh ./job_02_r.sh Running sh ./job_03_r.sh Running sh ./job_04_r.sh Running sh ./job_05_r.sh Running sh ./job_06_r.sh Running sh ./job_07_r.sh Running sh ./job_08_r.sh Running sh ./job_09_r.sh terminate called after throwing an instance of 'itk::MemoryAllocationError' what(): /root/tps/ANTs/build/staging/include/ITK-5.4/itkImportImageContainer.hxx:179: Failed to allocate memory for image. Aborted terminate called after throwing an instance of 'itk::MemoryAllocationError' what(): /root/tps/ANTs/build/staging/include/ITK-5.4/itkImportImageContainer.hxx:179: Failed to allocate memory for image. Aborted terminate called after throwing an instance of 'itk::MemoryAllocationError' what(): /root/tps/ANTs/build/staging/include/ITK-5.4/itkImportImageContainer.hxx:179: Failed to allocate memory for image. Aborted terminate called after throwing an instance of 'itk::MemoryAllocationError' what(): /root/tps/ANTs/build/staging/include/ITK-5.4/itkImportImageContainer.hxx:179: Failed to allocate memory for image. Aborted terminate called after throwing an instance of 'itk::MemoryAllocationError' what(): /root/tps/ANTs/build/staging/include/ITK-5.4/itkImportImageContainer.hxx:179: Failed to allocate memory for image. Aborted terminate called after throwing an instance of 'itk::MemoryAllocationError' what(): /root/tps/ANTs/build/staging/include/ITK-5.4/itkImportImageContainer.hxx:179: Failed to allocate memory for image. Aborted terminate called after throwing an instance of 'itk::MemoryAllocationError' what(): /root/tps/ANTs/build/staging/include/ITK-5.4/itkImportImageContainer.hxx:179: Failed to allocate memory for image. Aborted file ./TPS_template02792k8Repaired.nii.gz does not exist . Segmentation fault file ./TPS_template02792k8Repaired.nii.gz does not exist . file ./TPS_template02822l6Repaired.nii.gz does not exist . Segmentation fault file ./TPS_template02856g1Repaired.nii.gz does not exist . Segmentation fault file ./TPS_template02822l6Repaired.nii.gz does not exist . file ./TPS_template02856g1Repaired.nii.gz does not exist . Transform file does not exist: file ./TPS_2792k80GenericAffine.mat ./TPS_template02822f5Repaired.nii.gz does not exist . Segmentation fault file ./TPS_template0968k0Repaired.nii.gz does not exist . Segmentation fault file ./TPS_template0968k0Repaired.nii.gz does not exist . file ./TPS_template02822f5Repaired.nii.gz does not exist . file ./TPS_template02819d10Repaired.nii.gz does not exist . Segmentation fault file ./TPS_template02819d10Repaired.nii.gz does not exist . file ./TPS_template02822i3Repaired.nii.gz does not exist . Segmentation fault file ./TPS_template02822i3Repaired.nii.gz does not exist . Transform file does not exist: ./TPS_2819d100GenericAffine.mat Transform file does not exist: ./TPS_2822l60GenericAffine.mat Transform file does not exist: ./TPS_2822f50GenericAffine.mat Transform file does not exist: ./TPS_2856g10GenericAffine.mat Transform file does not exist: ./TPS_968k00GenericAffine.mat Transform file does not exist: ./TPS_2822i30GenericAffine.mat