convert nifty to dti6.mat

192 views
Skip to first unread message

Mohammad Hadi Aarabi

unread,
Sep 28, 2014, 11:35:18 AM9/28/14
to automated-fiber-q...@googlegroups.com
Dear Jason,

When I want to convert my .nii file to dti6.mat , when I run dtiFitTensor.m function, my matlab become restart. How I can fix it? Please help me.

Best,

Mohammad

Jason Yeatman

unread,
Sep 28, 2014, 2:09:54 PM9/28/14
to automated-fiber-q...@googlegroups.com
Hi Mohammad,

Please see the AFQ documentation page here:

You should preprocess your data with dtiInit.m

Best,

Jason

--
You received this message because you are subscribed to the Google Groups "Automated Fiber Quantification (AFQ)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to automated-fiber-quantif...@googlegroups.com.
To post to this group, send email to automated-fiber-q...@googlegroups.com.
Visit this group at http://groups.google.com/group/automated-fiber-quantification-afq.
For more options, visit https://groups.google.com/d/optout.

Mohammad Hadi Aarabi

unread,
Sep 28, 2014, 2:18:50 PM9/28/14
to automated-fiber-q...@googlegroups.com
Dear Jason,

I tried this code before, but it gave error related to these lines:
switch lower(dwParams.fitMethod)
case {'ls'}
dt6FileName{1} = dtiRawFitTensorMex(dwRawAligned, dwDir.alignedBvecsFile,...
dwDir.alignedBvalsFile, dwParams.dt6BaseName,...
bs,[], dwParams.fitMethod,[],[],dwParams.clobber);
case {'rt'}
dt6FileName{1} = dtiRawFitTensorRobust(dwRawAligned, dwDir.alignedBvecsFile,...
dwDir.alignedBvalsFile, dwParams.dt6BaseName,[],[],[], ...
dwParams.nStep,dwParams.clobber,dwParams.noiseCalcMethod);
case {'rtls','lsrt','all','both','trilinrt'};
dt6FileName = ...
dtiInitTensorFit(dwRawAligned, dwDir, dwParams, bs);
end



On Sunday, September 28, 2014 9:39:54 PM UTC+3:30, Jason wrote:
Hi Mohammad,

Please see the AFQ documentation page here:

You should preprocess your data with dtiInit.m

Best,

Jason
On Sun, Sep 28, 2014 at 8:35 AM, Mohammad Hadi Aarabi <mohammad...@gmail.com> wrote:
Dear Jason,

When I want to convert my .nii file to dti6.mat , when I run dtiFitTensor.m function, my matlab become restart. How I can fix it? Please help me.

Best,

Mohammad

--
You received this message because you are subscribed to the Google Groups "Automated Fiber Quantification (AFQ)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to automated-fiber-quantification-afq+unsub...@googlegroups.com.
To post to this group, send email to automated-fiber-quantification-afq@googlegroups.com.

Mohammad Hadi Aarabi

unread,
Sep 28, 2014, 2:35:24 PM9/28/14
to automated-fiber-q...@googlegroups.com
I see this error :
Error using dtiFitTensor
Too many input arguments.

Error in dtiRawFitTensorMex (line 243)
    [dt6,pdd] = dtiFitTensor(d,X,0,[],liberalBrainMask);

Mohammad Hadi Aarabi

unread,
Sep 29, 2014, 10:01:34 AM9/29/14
to automated-fiber-q...@googlegroups.com
I again tried but see this error :

Fitting the tensor model...
Error using dtiFitTensor
Too many input arguments.

Error in dtiRawFitTensorMex (line 241)
    [dt6,pdd,mdStd,faStd,pddDisp] =
    dtiFitTensor(d,X,0,bs.permutations,liberalBrainMask);

Error in dtiInitTensorFit (line 31)
dt6FileName{1} = dtiRawFitTensorMex(dwRawAligned,
dwDir.alignedBvecsFile,...

Error in dtiInit (line 278)
        dt6FileName = ...

Ivan Granata

unread,
Aug 10, 2016, 3:37:16 AM8/10/16
to Automated Fiber Quantification (AFQ)
Hi,
This is my problem 
can anyone help me?



Fitting the tensor model...
Error using dtiFitTensor
Too many input arguments.

Error in dtiRawFitTensorMex (line 241)
    [dt6,pdd,mdStd,faStd,pddDisp] = dtiFitTensor(d,X,0,bs.permutations,liberalBrainMask);

Error in dtiInit (line 267)
        dt6FileName{1} = dtiRawFitTensorMex(dwRawAligned, dwDir.alignedBvecsFile,...

Il giorno domenica 28 settembre 2014 20:09:54 UTC+2, Jason ha scritto:
Hi Mohammad,

Please see the AFQ documentation page here:

You should preprocess your data with dtiInit.m

Best,

Jason
On Sun, Sep 28, 2014 at 8:35 AM, Mohammad Hadi Aarabi <mohammad...@gmail.com> wrote:
Dear Jason,

When I want to convert my .nii file to dti6.mat , when I run dtiFitTensor.m function, my matlab become restart. How I can fix it? Please help me.

Best,

Mohammad

--
You received this message because you are subscribed to the Google Groups "Automated Fiber Quantification (AFQ)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to automated-fiber-quantification-afq+unsub...@googlegroups.com.
To post to this group, send email to automated-fiber-quantification-afq@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages