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 10, 2009 12:13PM
Hi Angel,

First I must ask why you want to use the grid of dataset 1 rather than
that of dataset 2. Dataset 2 seems to have reasonable extents that
put 0,0,0 within the dataset (though near the most inferior part).

Dataset 1 has 0,0,0 at a corner, meaning it was probably made without
any proper location in space. So the extents of dataset 1 are basically
useless.

---

Whichever way you go, 3dresample is not what you want here. Because
3dresample assumes the data coordinates are both valid, and resamples
the data onto a new grid.

That is not what you want. You want to treat one of your datasets as
having invalid coordinates (origin, really), and adjust them.

So try '3drefit -duporigin'. e.g.

3drefit -duporigin good_grid+orig bad_grid+orig

Again, I suggest using dataset 2 as the good_grid dataset, but that
is up to you.

- rick

Subject Author Posted

resampling dataset

Angel Wong October 10, 2009 06:13AM

Re: resampling dataset

rick reynolds October 10, 2009 12:13PM

Re: resampling dataset

Daniel Glen October 20, 2009 05:03PM