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  

|
April 11, 2020 08:45AM
Thank you very much for the reply!
I tried to follow the example but met some errors. From my understanding, when using 3dmaskave, the mask (ROI dataset) and input (resting fMRI dataset in my study) should have the same size. So, I checked the size of resting data and used it for -pad_to_node.

After running the command "ROI2dataset -label_dset surfROI_lv1.niml.dset -pad_to_node 135170 -overwrite -input surfROI_lv1.niml.roi" , I got

ROI2dataset: Adopting Parent_idcode_str (AFN_U28lct8gSjxH-44gCdqHGA) in ROI l_v1
++ Notice SUMA_ROIv2Grpdataset (SUMA_Surface_IO.c:6524 @20:09:54):
Have 1/1 new entries in colormap
-- Error SUMA_ROIv2Grpdataset (SUMA_Surface_IO.c:6586):
ROI contains node index > padding limit
No padding done.
-- Error ROI2dataset (SUMA_ROI2dataset.c:463):
Failed in SUMA_ROIv2Grpdataset

And when I tried the command on ROI of the other hemisphere, I got:
ROI2dataset -label_dset surfROI_rv1 -pad_to_node 135446 -overwrite -input surfROI_rv1.niml.roi
ROI2dataset: Adopting Parent_idcode_str (AFN_LOuSRAUTEdI-NTdTZv-G0g) in ROI r_v1
++ Notice SUMA_ROIv2Grpdataset (SUMA_Surface_IO.c:6524 @22:59:14):
Have 1/1 new entries in colormap
-- Error SUMA_IsCmapOKForLabelDset (SUMA_Color.c:4273):
Have 2 unique values,
have no colormap big enough for this
-- Error SUMA_CreateCmapForLabelDset (SUMA_Color.c:4223):
Provided cmap is no good
-- Error SUMA_dset_to_Label_dset_cmap (SUMA_Color.c:4321):
Failed to add colormap
-- Error ROI2dataset (SUMA_ROI2dataset.c:496):
Failed to make change


Is there something wrong with the node size I used?
I used SurfDsetInfo to check the information of resting dataset, the output is as follows:

Info for dset ( 1/ 1): /media/vpp/DATA/lh_vol2surf.smoothed.niml.dset
------------------------
Dset 0x2e9c928, datum level 0 (0..3 possible)
Number of Links: 0
Dset Name: SPARSE_DATA (-1), isGraph 0, isCIFTI (MultiDomain)0
filename: /media/vpp/DATA/lh_vol2surf.smoothed.niml.dset
label: /media/vpp/DATA/...
self_idcode (idcode): AFN_qw3ySzam3j5psu0ZyVjJXA
geometry_parent_idcode:
domain_parent_idcode (MeshParent_idcode):
Node Index (NodeDef) Element:
inel->vec_len = 135170
inel->vec_num = 1
inel->vec_filled = 135170
Node Index Column found.
sorted_node_def: Yes
0, 1, ..., 135167, 135168, 135169
Saux: (nil)
matrix_shape: -1matrix_max_index: 0, matrix_size: 0 0, matrix_2M: range_edge_index: 0 0, range_node_index: 0 0
N_seg_nodes: 0, N_all_nodes: 0
0 domains:
dset->Aux->doms is NULLData Element:
dnel->vec_num (N_subsets): 298
dnel->vec_filled (N_NodeDef): 135170
dnel->vec_len (N_Alloc): 135170



Edited 2 time(s). Last edit at 04/13/2020 11:02AM by Dong.
Subject Author Posted

How to extract values from surface ROI

Dong April 09, 2020 09:00AM

Re: How to extract values from surface ROI

Daniel Glen April 09, 2020 09:49AM

Re: How to extract values from surface ROI

Dong April 11, 2020 08:45AM

Re: How to extract values from surface ROI

Daniel Glen April 13, 2020 02:50PM

Re: How to extract values from surface ROI

Dong April 15, 2020 08:55AM

Re: How to extract values from surface ROI

Daniel Glen April 15, 2020 10:11PM

Re: How to extract values from surface ROI

Dong April 21, 2020 06:05AM

Re: How to extract values from surface ROI

Daniel Glen April 21, 2020 04:33PM

Re: How to extract values from surface ROI

Dong April 22, 2020 04:43AM

Re: How to extract values from surface ROI

Daniel Glen April 29, 2020 03:54PM