AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
April 18, 2023 04:12PM
Hi Philipp,

The -xbox/-dbox/-nbox options take x y z coordinates, which without ranges have nothing to do with the voxel sizes.

However, if you want the -xbox to be a range of voxels, let's say of size +/- 3mm, and centered at coordinate 10,20,30, for example (to include 27 voxels around that central point), you could use ranges of -/+ 3mm around each central coordinate. I will leave the -xyz option in there to display your specific coordinates.

3dmaskdump -xyz -xbox 7:13 17:23 27:33 DATASET

However, if 10, 20, 30 is not *exactly* at the center of a voxel, this will not output 27 voxels. And often the centers are not even exact in base 2 decimal, so you might have to add epsilons, e.g.

3dmaskdump -xyz -xbox 6.9:13.1 16.9:23.1 26.9:33.1 DATASET

Note that the epsilons can be generous, until they overlap with the next voxel center.

- rick
Subject Author Posted

Extracting voxel-wise data with 3dmaskdump and recombing it with 3dUndump Attachments

Philipp April 10, 2023 07:59AM

Re: Extracting voxel-wise data with 3dmaskdump and recombing it with 3dUndump Attachments

Philipp April 10, 2023 08:13AM

Re: Extracting voxel-wise data with 3dmaskdump and recombing it with 3dUndump

ptaylor April 10, 2023 09:23AM

Re: Extracting voxel-wise data with 3dmaskdump and recombing it with 3dUndump Attachments

Philipp April 10, 2023 12:53PM

Re: Extracting voxel-wise data with 3dmaskdump and recombing it with 3dUndump

ptaylor April 10, 2023 03:18PM

Re: Extracting voxel-wise data with 3dmaskdump and recombing it with 3dUndump

Philipp April 10, 2023 03:20PM

Re: Extracting voxel-wise data with 3dmaskdump and recombing it with 3dUndump

Philipp April 10, 2023 03:31PM

Re: Extracting voxel-wise data with 3dmaskdump and recombing it with 3dUndump

ptaylor April 10, 2023 03:38PM

Re: Extracting voxel-wise data with 3dmaskdump and recombing it with 3dUndump

Philipp April 10, 2023 03:47PM

Re: Extracting voxel-wise data with 3dmaskdump and recombing it with 3dUndump

ptaylor April 10, 2023 04:56PM

Re: Extracting voxel-wise data with 3dmaskdump and recombing it with 3dUndump

Philipp April 10, 2023 05:11PM

Re: Extracting voxel-wise data with 3dmaskdump and recombing it with 3dUndump

ptaylor April 10, 2023 05:29PM

Re: Extracting voxel-wise data with 3dmaskdump and recombing it with 3dUndump

Philipp April 10, 2023 05:40PM

Re: Extracting voxel-wise data with 3dmaskdump and recombing it with 3dUndump

Philipp April 10, 2023 05:47PM

Re: Extracting voxel-wise data with 3dmaskdump and recombing it with 3dUndump

Philipp April 11, 2023 04:01AM

Re: Extracting voxel-wise data with 3dmaskdump and recombing it with 3dUndump

ptaylor April 11, 2023 09:54AM

Re: Extracting voxel-wise data with 3dmaskdump and recombing it with 3dUndump

Philipp April 11, 2023 02:14PM

Re: Extracting voxel-wise data with 3dmaskdump and recombing it with 3dUndump

rick reynolds April 18, 2023 04:12PM