3dmaskave warning

Hello experts!!
Im having this warning but when I compare my grids they seem to be the same, any advices? Am I doing something wrong?

++ 3dmaskave: AFNI version=AFNI_19.3.18 (Dec 27 2019) [64-bit]
^[[7m*+ WARNING:^[[0m Input dataset /rcc/stor1/projects/GerDep/Luisa/Grief_V1/emotion.task/226_121415/results_skullstrip/Emotion_EPI_blur_Scaled_For3dDecon_InUse.nii grid mismatch from mask.
Try the following command for grid comparison:
3dinfo -header_line -prefix -same_all_grid /rcc/stor1/projects/GerDep/Luisa/Grief_V1/emotion.task/226_121415/results_skullstrip/White222.nii /rcc/stor1/projects/GerDep/Luisa/Grief_V1/emotion.task/226_121415/results_skullstrip/Emotion_EPI_blur_Scaled_For3dDecon_InUse.nii

                                                                   prefix	=dim?	=delt?	=ornt?	=cent?	=obl?
                                                        White222.nii	1	0	0	0	1

Emotion_EPI_blur_Scaled_For3dDecon_InUse.nii 1 0 0 0 1

Hi-

From 3dinfo’s help, using “-same_all_grid” :


-same_all_grid: Equivalent to listing all of -same_dim -same_delta
                   -same_orient, -same_center, and -same_obl on the 
                   command line.

which means testing:


-same_dim: 1 if dimensions are the same between dset pairs
   -same_delta: 1 if voxels sizes are the same between dset pairs
   -same_orient: 1 if orientation is the same between dset pairs
   -same_center: 1 if geometric center is the same between dset pairs
   -same_obl: 1 if obliquity is the same between dset pairs

Your datasets have different “=delt? =ornt? =cent?”, which means different: voxel size, dataset orientation, and center.

You can probably see this with:


3dinfo -ad3 -orient -o3 -prefix DSET1 DSET2

–pt

ohh thank you so much!! I just use 3dresample and I don’t have the warning anymore

OK, I would visually verify that the resampling/regridding done is what you want: for example, are you keeping integer values integer-valued? etc.

–pt