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  

|
May 12, 2017 11:50AM
Hi Rick,

I create the file using a series of system calls through matlab. Basically, I build up the dataset using this function:

function [] = udump_and_glue(master,oneDfile,label,fglue)

[~,~] = system(['3dUndump -datum float -prefix temp.nii -master ' master ' -orient RAI -xyz ' oneDfile]);
[~,~] = system(['3drefit -sublabel 0 ' label ' temp.nii']);
[~,~] = system(['3dbucket -aglueto ' fglue '+orig temp.nii']);

delete('temp*')


Then, when I am done I run 3dcopy to create a .nii file from the +orig. One final point of confusion; I have another file created in the same manner and it "behaves" appropriately when it comes to 3dExtrema. In the AFNI viewer and 3dinfo both have the proper # of sub-bricks, etc. I would be happy to upload both for the sake of troubleshooting.

Thanks,
Andy
Subject Author Posted

3dExtrema Strange Behavior

Andrew Salzwedel May 11, 2017 07:44PM

Re: 3dExtrema Strange Behavior

rick reynolds May 12, 2017 08:55AM

Re: 3dExtrema Strange Behavior

Andrew Salzwedel May 12, 2017 11:50AM