Hello,
I am trying to count the number of 'active' voxels within a particular region- say the Culmen of the cerebellum. My input dataset is mask_sr_right+tlrc
To identify all the slices of the Culmen, I am using the TT Atlas.
I tried the following command:
3dmaskave -mask 'TT_Daemon::Dentate' mask_sr_right+tlrc
and I get the following error:
*** Input and mask datasets are not same dimensions!
DETAILS:
$ 3dinfo mask_ir_right+tlrc
++ Program 3dinfo: AFNI version=AFNI_2006_03_21_1314 [32-bit]
Dataset File: mask_ir_right+tlrc
Dataset Type: Intensity (-fim)
Byte Order: LSB_FIRST [this CPU native = LSB_FIRST]
Storage Mode: BRIK file
Data Axes Orientation:
first (x) = Right-to-Left
second (y) = Anterior-to-Posterior
third (z) = Inferior-to-Superior [-orient RAI]
R-to-L extent: -80.000 [R] -to- 80.000 [L] -step- 1.000 mm [161 voxels]
A-to-P extent: -80.000 [A] -to- 110.000 [P] -step- 1.000 mm [191 voxels]
I-to-S extent: -65.000
-to- 85.000 [S] -step- 1.000 mm [151 voxels]
Number of values stored at each pixel = 1
-- At sub-brick #0 '#0' datum type is short: 0 to 8130 [internal]
[* 0.001] 0 to 8.13 [scaled]
3dinfo 'TT_Daemon::Dentate'
++ Program 3dinfo: AFNI version=AFNI_2006_03_21_1314 [32-bit]
Dataset File: TT_Daemon.Dentate+tlrc
Dataset Type: Intensity (-fim)
Byte Order: LSB_FIRST {assumed} [this CPU native = LSB_FIRST]
Storage Mode: BRIK file
Data Axes Orientation:
first (x) = Right-to-Left
second (y) = Anterior-to-Posterior
third (z) = Inferior-to-Superior [-orient RAI]
R-to-L extent: -80.000 [R] -to- 80.000 [L] -step- 1.000 mm [161 voxels]
A-to-P extent: -80.000 [A] -to- 110.000 [P] -step- 1.000 mm [191 voxels]
I-to-S extent: -55.000 -to- 85.000 [S] -step- 1.000 mm [141 voxels]
Number of values stored at each pixel = 1
-- At sub-brick #0 'Dentate' datum type is byte
NOte: 141 voxels along I-S extent in TT_Daemon and 151 voxels along the same in the input dataset.
Is there a way to get round this problem?
Thanks.
Abhishek.