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  

|
October 15, 2014 11:46AM
Not sure what you mean. 3dAutobox reduces the input file to the box that contains non-zero data, so you may want to apply 3dAutomask as a preceding step. Using the output of 3dAutobox, you can then apply the same box to the other data with 3dZeropad. Here's an example of how that might work:

3dAutomask -prefix test_am -dilate 2 epi_r1+orig'[0]'
3dAutobox -prefix test_am_abox test_am+orig.
3dZeropad -master test_am_abox+orig. -prefix epi_r1_abox epi_r1+orig

If the last step fails, you can script this to do this by sub-brick or by groups of sub-bricks, like a third of all at a time.
Subject Author Posted

How to mask an image using afni?

ma.shalchy October 06, 2014 09:05AM

Re: How to mask an image using afni?

rick reynolds October 06, 2014 09:22AM

Re: How to mask an image using afni?

ma.shalchy October 06, 2014 10:18AM

Re: How to mask an image using afni?

rick reynolds October 06, 2014 01:09PM

Re: How to mask an image using afni?

ma.shalchy October 11, 2014 03:47AM

Re: How to mask an image using afni?

Emperor Zhark October 12, 2014 01:33PM

Re: How to mask an image using afni?

ma.shalchy October 13, 2014 12:39PM

Re: How to mask an image using afni?

rick reynolds October 14, 2014 02:58PM

Re: How to mask an image using afni?

ma.shalchy October 14, 2014 03:13PM

Re: How to mask an image using afni?

ma.shalchy October 14, 2014 03:17PM

Re: How to mask an image using afni?

rick reynolds October 14, 2014 04:03PM

Re: How to mask an image using afni?

ma.shalchy October 14, 2014 04:45PM

Re: How to mask an image using afni?

Daniel Glen October 14, 2014 06:04PM

Re: How to mask an image using afni?

ma.shalchy October 15, 2014 10:29AM

Re: How to mask an image using afni?

Daniel Glen October 15, 2014 11:46AM

Re: How to mask an image using afni?

Isaac Schwabacher October 14, 2014 03:32PM