Show all posts by user
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
Page 4 of 4
Pages: 1234
Results 91 - 119 of 119
Hi again,
sry I am probably not clear at all and I hope that I am not looking in the wrong direction.
The result from your previous command is:
anat
RAI -61.685852 65.814148 -30.202454 97.297546 7.62584587.125847 anatT1.nii.gz
func
RAI -62.152084 63.847916 -21.139194 104.861847 -6.759480 55.241032 BOLD_restingstate.nii.gz
after tranfo:
RAI -62.152084 63.847916 -21.139194 104.861847 -6.7
by
Doughboys
-
AFNI Message Board
Hi --pt,
Thank you, I don't think that it is going to work because in the previous pipeline we already align the center of these two images.
I think that the problem comes from the fact that the two images do not overlay.
Probably, when we apply the transformation parameters, they can't be accurate anymore because the orientation of the two brains is different.
The non-overlay of
by
Doughboys
-
AFNI Message Board
Hi --pt,
If we go back to what we have done here:
# --------------------- for obliquity and center of mass of EPI
3dcalc \
-a ${dset_bold} \
-expr 'a' \
-prefix ${dset_bold_deob}
# purge obliquity info, and apply shifts so BOLD dset overlays anat dset well
3drefit \
-deoblique
by
Doughboys
-
AFNI Message Board
Hi AFNI expert,
I have 1 anatomical image and 1 functional image that has been acquired with two different FOV orientations.
When I use different viewer (AFNI, MRIcron) the images superposed perfectly because (I don't know where but the orientation of the FOV is saved somewhere)
I have to do some manipulation on the images (obliquity, change the centre etc...) and this orientation is
by
Doughboys
-
AFNI Message Board
Hello AFNI,
Thanks to --pt I have now the solution for the coregistration of the functional images in macaques:
I had difficulty with nonlinear warping because large shifts were involved:
"basically, the memory usage can be quite high, because the warp field must cover a box that covers both input and output datasets-- and a large shift means that one would need a large box (memory c
by
Doughboys
-
AFNI Message Board
Ok, I find a way to do it but I don't know why...
based on the idea that the transformation from 3dNwarpApply was false...
# apply catenated xform: volreg/epi2anat/tlrc/NLtlrc
# then apply non-linear standard-space warp
3dNwarpApply -master anatT1_deob_warp2std_nsu+tlrc -dxyz 2 \
-source pb01.$subj.r$run.tshift+orig \
by
Doughboys
-
AFNI Message Board
Hi ptaylor,
Here is the command after @animal_warper
# afni_proc.py -subj_id Oliver2019_02_02 -script \
# /8_Func_AFNI/Oliver2019_02_02/proc.Oliver2019_02_02 \
# -scr_overwrite -out_dir \
# /8_Func_AFNI/Oliver2019_02_02/Oliver2019_02_02.results \
# -blocks tshift a
by
Doughboys
-
AFNI Message Board
Hi ptaylor,
Thank you so much for your help!
+ the original coordinates are a bit odd-- while the anatomical and EPI overlay each other, the (x, y, z) = (0, 0, 0) location is far outside the brain; this can affect some alignment issues.
==> Do you have any idea of what could cause that in the aquisiton protocol?
I applied strictly your protocol, and it has improved the co registration
by
Doughboys
-
AFNI Message Board
I think also that sharing this images could be the easiest solution. Thank you so much for your help!
Clément
by
Doughboys
-
AFNI Message Board
Thank you again!
With pleasure! will let you know when I will start my work on other species.
The 3drefit on warp2std_nsu.nii.gz did a perfect job, to change the space and it has allow afni_proc to continu.
However, when it arrived to
# apply catenated xform: volreg/epi2anat/tlrc/NLtlrc
# then apply non-linear standard-space warp
3dNwarpApply -master anatT1_warp2std_nsu+
by
Doughboys
-
AFNI Message Board
Great thank you so much for that!
So which template do you suggest to use? or is there a way to bypass this issu directly in afni_proc and work with the ORIG space?
Maybe I don't understand afni_proc very well, is it totally necessary to have a template in the tlrc space? because I the futur I would like to work with other species and a home made template. Do you think that it will be poss
by
Doughboys
-
AFNI Message Board
Hi again,
I downloaded the template at:
3dinfo NMT_SS.nii.gz
Identifier Code: AFN_ZuEbKDcZ-wbFK6dSTdvAsQ Creation Date: Wed Apr 26 15:47:32 2017
Template Space: ORIG
Dataset Type: Anat Bucket (-abuc)
Byte Order: LSB_FIRST {assumed}
Storage Mode: NIFTI
Storage Space: 86,035,180 (86 million) bytes
Geometry String: "MATRIX(-0.25,0,0,31.75,0,-0.25,0,50.5,0,0,0.2
by
Doughboys
-
AFNI Message Board
Hi again,
I downloaded the template at:
3dinfo NMT_SS.nii.gz
Identifier Code: AFN_ZuEbKDcZ-wbFK6dSTdvAsQ Creation Date: Wed Apr 26 15:47:32 2017
Template Space: ORIG
Dataset Type: Anat Bucket (-abuc)
Byte Order: LSB_FIRST {assumed}
Storage Mode: NIFTI
Storage Space: 86,035,180 (86 million) bytes
Geometry String: "MATRIX(-0.25,0,0,31.75,0,-0.25,0,50.5,0,0,0.2
by
Doughboys
-
AFNI Message Board
Hi again,
I downloaded the template at:
3dinfo NMT_SS.nii.gz
Identifier Code: AFN_ZuEbKDcZ-wbFK6dSTdvAsQ Creation Date: Wed Apr 26 15:47:32 2017
Template Space: ORIG
Dataset Type: Anat Bucket (-abuc)
Byte Order: LSB_FIRST {assumed}
Storage Mode: NIFTI
Storage Space: 86,035,180 (86 million) bytes
Geometry String: "MATRIX(-0.25,0,0,31.75,0,-0.25,0,50.5,0,0,0.2
by
Doughboys
-
AFNI Message Board
Also, I just re-downloaded the template and the space remain ORIG. Also, afni_proc seems to required tlrc so even if the space is NMT it will continu to crash no? or is it just ORIG that cause the problem?
by
Doughboys
-
AFNI Message Board
Hi ptaylor,
Thank you so much for that answer I think now the origin of my problem is now obvious:
3dinfo -space -prefix /home/cgarin/Documents/1_Macaque_MRI/2_Atlas/nmt_1.2/NMT_SS.nii.gz
** AFNI converts NIFTI_datatype=4 (INT16) in file1_Macaque_MRI/2_Atlas/nmt_1.2/NMT_SS.nii.gz to FLOAT32
Warnings of this type will be muted for this session.
Set AFNI_NIFTI_TYPE_WARN to YES to s
by
Doughboys
-
AFNI Message Board
Hi Daniel,
Thank you so much for this advice! I tried @animal_warper and it work so much better than my own code!
I also tried to apply the parameters from @animal_warper to afni_proc.py and tlrc_NL_warped_dsets.
The warp2std_nsu.nii.gz is well coregistrated with the template and well skullstriped.
However warp2std_nsu.nii.gz is transformed by 3dcopy in warp2std_nsu+orig.HEAD.
afni_proc.p
by
Doughboys
-
AFNI Message Board
Hi-
I split this question to a new thread from here:
because it is a somewhat separate question, and the thread has wandered further afield.
--pt
----------------------------------------------------------------------------------------------------------------------------------------
Hi,
I have exactly the same problem as you for NMT to the anat space.
This command has also worked
by
Doughboys
-
AFNI Message Board
Hi rick,
yes, it concern only one slice of the EPI image and one slice of the anatomical image that seems well align but with some difference due to the EPI sequence.
I can send these images to you if you want?
I just repeated the error this week on other animals and it seems to appear always in the last axial slice of the brain on which their is probably not enough similar voxels. However, I
by
Doughboys
-
AFNI Message Board
Also, i try to copy the header of the anat on the func (due to the minor differences) to see if it change anything but it doesn't...
Thank you again!
by
Doughboys
-
AFNI Message Board
Hi rick,
Thank you so much for your answer.
here is the results of the commands:
3dinfo -extent -prefix BOLD_resting*.nii.gz anatT1_unif*
-65.423553 60.576447 -37.874031 88.125969 75.824852 75.824852 BOLD_restingstate
-65.423553 60.576447 -37.874020 88.125977 75.824852 75.824852 anatT1_unifized
3dBrickStat -slow -min -max BOLD_resting*.nii.gz
0 143.973
3dBrickStat -slow
by
Doughboys
-
AFNI Message Board
Hi AFNI experts,
I have a problem with 3dQwarp command in trying to allineate on of the slice of my functional with my anatomical images. I am working with primate and I am using a pipeline called sammba MRI that use afni.
The weird thing is that 3dQwarp command has works very well for all the slices of my primate and all the other primates. I don't really understand the error message.
Th
by
Doughboys
-
AFNI Message Board
Hi Paul,
Here is the result
-------------------------------- general ---------------------------------
architecture: 64bit
system: Linux
release: 4.4.0-17763-Microsoft
version: #379-Microsoft Wed Mar 06 19:16:00 PST 2019
distribution: Ubuntu 18.04 bionic
number of CPUs: 24
apparent login shell: bash
shell RC file:
by
Doughboys
-
AFNI Message Board
Hi, I have exactly the same problem as you when installing the R package but with metafor and brms
rPkgsInstall -pkgs ALL
Installing packages into ‘/home/R’
(as ‘lib’ is unspecified)
++ Note: @ 18:08:15
This package has been installed on the computer: brms
This package has been installed on the computer: metafor
Warning message:
packages ‘brms’, ‘metafor’ ar
by
Doughboys
-
AFNI Message Board
Neither, i used a home made script. But if someone has a link to a full script for macaques fMRI images co registration i will be realy interested.
Tks a lot !
Clément
by
Doughboys
-
AFNI Message Board
Hi,
I try to run the following command to coregistrate macaque fMRI images to their anatomical but i get an error that i absolutely don't understand. If someone has an idea of what it's going on it could be extremely useful !
tks !!
Standard error:
++ OpenMP thread count = 15
++ 3dQwarp: AFNI version=Debian-16.2.07~dfsg.1-5~nd14.04+1 (Jun 12 2017) [64-bit]
++ Authored by: Zha
by
Doughboys
-
AFNI Message Board
Thanks a lot for your precise answer! It really help!
Happy to see that i was not alone in that situation!
Dough
by
Doughboys
-
AFNI Message Board
Hi everybody,
I already run a seed-based correlation from animals resting state data.
I would like to extract the connected clusters with a threshold corrected for FDR
I have two fMRI data for each animal.
I already coregistrate and pretreated my fMRI data and performed a classical seed-based correlation.
Now, I want to use 3dttest++ on all my z-fisher transformed data (14 animals x
by
Doughboys
-
AFNI Message Board
Page 4 of 4
Pages: 1234