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  

|
February 16, 2005 11:17AM
Hi,
I have drawn some ROI's (each with different value) on surface. I saved all the ROI's to a surface ROI in niml format (QuadLRUR_lh.niml.roi). Now I want to convert this to a volume based ROI (VOI). As as stated in the manual, I used:

ROI2dataset -prefix QuadLRUR_lh -input QuadLRUR_lh.niml.roi

The output resulted in QuadLRUR_lh.niml.dset, which looks like:

<Node_ROI
ni_type="2*int"
ni_dimen="4503"
ni_datasize="36024"
idcode="XYZ_Q1BSL6qlGVGtwL8sDvQW3w"
MeshParent_idcode
GeomParent_idcode
RangeCol_0="47 132808 0 4502"
LabelCol_0="node index"
TypeCol_0="Node_Index"
AttrCol_0
RangeCol_1="0 114 2850 166"
LabelCol_1="integer label"
TypeCol_1="Node_Index_Label"
AttrCol_1
History="ROI2dataset : ROI2dataset -prefix QuadUL_UR_lh -input v1v_QuadUR_lh.1D.roi v2v_QuadUR_lh.1D.roi vpv_QuadUR_lh.1D.roi v4v_QuadUR_lh.1D.roi v1_QuadLR_lh.1D.roi v2d_QuadLR_lh.1D.roi v3d_QuadLR_lh.1D.roi v3ad_QuadLR_lh.1D.roi" >
47 14
48 14
49 14
50 14
53 14
.....
</Node_ROI>

Now when I run 3dSurf2Vol,
3dSurf2Vol -spec eFMRI03_v2_lh.spec -surf_A lh.smoothwm -surf_B lh.pial -sv ../eFMRI03_v2_SurfVol_Alnd_Exp+orig -grid_parent ../eFMRI03_AllRet_s12_EP_TRD_Alnd+orig -sdata_1D QuadLRUR_lh.niml.dset -map_func ave -f_steps 15 -f_index voxels -prefix QuadLRUR_lh_roiV2S

I get the following error: ** bad (2058 x 1) surf data 1D file 'QuadLRUR_lh.niml.dset'

Can someone help me whats wrong with the approach?

Thanks in advance!
-Eswar

Subject Author Posted

Surface ROI to VOI

Eswar Damaraju February 16, 2005 11:17AM

Re: Surface ROI to VOI

rick reynolds February 16, 2005 11:25AM

Re: Surface ROI to VOI

Eswar Damaraju February 16, 2005 11:47AM