Skip to content

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

Open
@Aliktk

Description

@Aliktk

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));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions