Error in dtiRoiClean

156 views
Skip to first unread message

caiwan...@gmail.com

unread,
Sep 6, 2018, 9:54:43 AM9/6/18
to Automated Fiber Quantification (AFQ)
When I am running AFQ_run.m, the following problems appear in dtiRoiClean, I would like to ask the developers of AFQ and the people who use AFQ how to solve them. Thank you very much

Computing inverse deformation...
dtiCleanFibers: Keeping 13578 out of 13578 fibers.
dtiSplitInterhemisphericFibers : Splitting every fiber below Z= -10
Error using zeros
Size vector should be a row vector with real elements.

Error in dtiRoiClean (line 55)
roiMask = zeros (diff (bb) + 1)

Error in dtiCreateRoiFromMniNifti (line 157)
roiMask = dtiRoiClean (roiMask , [ ] , [ 1 01 ] );

Error in AFQ_SegmentFiberGroups ( line 303 )
                          [ RoiFileName , invDef , roi1( roiID ) ] = dtiCreateRoiFromMniNifiti(dt6File , ROI_img_file , 
                          invDef , true ) ;

Error in AFQ_run  (line 168)
           fg_classified = AFQ_SegmentFiberGroups (dtFile , fg , [ ] , [ ] , [ ] ,anrsInvWarp );

Marc Joanisse

unread,
Sep 13, 2018, 2:32:01 PM9/13/18
to Automated Fiber Quantification (AFQ)
This is usually a sign that there's something not quite right about your dt6 file. Perhaps it's not aligned correctly with your anatomical, or something else is not quite right. It might make sense to load your dt6.mat into dtiFiberUI and check that your anatomical is correctly aligned (flip through the different 'background' files), and also maybe try manually creating an ROI in a large tract like corpus callosum and tracing fibers to make sure it produces a sensible result. Good luck!

caiwan...@gmail.com

unread,
Oct 16, 2018, 9:52:07 PM10/16/18
to Automated Fiber Quantification (AFQ)
Thank you for answering my question. I still have a question I would like to ask you about. After the whole process of AFQ is processed, I found that the value of FA shows NAN. Do you know how to solve this problem?

在 2018年9月14日星期五 UTC+8上午2:32:01,Marc Joanisse写道:

刘不言

unread,
Aug 28, 2022, 6:08:09 AM8/28/22
to Automated Fiber Quantification (AFQ)
Hello, when I am running AFQ_run.m, I met the same question,could you tell me how you solve this problem?Thank you very much. My wechat:Unsaid_Iiu
Reply all
Reply to author
Forward
0 new messages