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  

|
December 09, 2019 05:29AM
When you say "location", you mean (x, y, z) coordinate?

3dAutobox (which you may or may not want to use with the "-noclust" option) will tell you this information.

If you use the -extent option, you will see text output in terms of xyz coords for each of the FOV bounding box walls. The formatting of that isn't very clean for scripting, unfortunately (at the moment, there is only the "clean" list of 6 numbers dumped to a file for IJK values), so you might want to do the following:
1) make a new dset that has been autoboxed, and
2) use 3dinfo to report the specific P extent of the new, autoboxed dset:
#!/bin/tcsh
3dAutobox -prefix AAA.nii -input DSET
set ext = `3dinfo -Pextent AAA.nii`
echo "++ The furthest extent in the posterior direction is:  $ext"

--pt



Edited 1 time(s). Last edit at 12/09/2019 05:29AM by ptaylor.
Subject Author Posted

How to get the most posterior coronal slice location of a volume mask?

EXP.2086 December 09, 2019 12:48AM

Re: How to get the most posterior coronal slice location of a volume mask?

ptaylor December 09, 2019 05:29AM

Re: How to get the most posterior coronal slice location of a volume mask?

EXP.2086 December 09, 2019 05:42AM

Re: How to get the most posterior coronal slice location of a volume mask?

ptaylor December 09, 2019 05:56AM

Re: How to get the most posterior coronal slice location of a volume mask?

EXP.2086 December 09, 2019 05:58AM

Re: How to get the most posterior coronal slice location of a volume mask?

rick reynolds December 10, 2019 03:29PM