Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use the dtiInit to get the dt6 file, array dimension doesn't match for binary op #356

Open
into1rikimaru opened this issue Apr 13, 2023 · 0 comments

Comments

@into1rikimaru
Copy link

My data is a subject from HCP, and it has been mini-preprocessed, I want use the dtiInit to get the dt6.mat file ,and my input is the data.nii.gz and the T1(1.25mm),but it give me a fatal error. My matlab version is R2020b,and spm12&5 &8 have all been added in my matlab path.

error information:
Error using >
Array dimensions must match for binary array op.
Error in mrAnatHistogramClip (line 42)
img(img>upperClipVal) = upperClipVal;
Error in dtiRawFitTensorMex (line 199)
b0clip = mrAnatHistogramClip(b0,0.4,0.98);
Error in dtiInit (line 263)
dt6FileName{1} = dtiRawFitTensorMex(dwRawAligned, dwDir.alignedBvecsFile,...
Related documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant