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

Getting this error by using in Matlab version of this repo? #9

Open
Aliktk opened this issue Feb 21, 2020 · 0 comments
Open

Getting this error by using in Matlab version of this repo? #9

Aliktk opened this issue Feb 21, 2020 · 0 comments

Comments

@Aliktk
Copy link

Aliktk commented Feb 21, 2020

Hello sir I am using repo and here I am getting stuck what is means and what is the proper solution of this error and furthermore please give me suggestion that whether I would solve this error using different data file?
I am using ADNI dataset and my extension is in .nii.
Thanks in advance
Error:
User selected C:\Users\Ali ktk\Desktop\AD Codes\NIfTI-Image-Converter-0.2.9.9\NIfTI-Image-Converter-0.2.9.9\nii\002_S_0413.nii
Error using affine3d/set.T (line 340)
The final column of an affine transformation matrix must consist of zeroes, except for a one in the last row.

Error in affine3d (line 117)
self.T = A;

Error in images.internal.nifti.niftiImage/getXForm (line 506)
xform = affine3d([R zeros(3,1); T 1]');

Error in images.internal.nifti.niftiImage/simplifyStruct (line 162)
[XformName, Xform] = self.getXForm();

Error in niftiinfo (line 50)
simpleStruct = NV.simplifyStruct();

Error in nii2png (line 27)
image_info = niftiinfo(fullfile(path,file));

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