<div dir="ltr">Hello,<div><br></div><div>I have some troubles reading a nii.gz with nibabel. I get the error: "nibabel.filebasedimages.ImageFileError: Cannot work out file type of"</div><div><br></div><div>So far I tried to unzip the file to a nii, but I did not achieve anything. The image is not corrupt as I can see it using ImageJ.</div><div>It only contains a mask, so maybe is lacking some field nibabel is searching for? I just need the mask to post-process the image, so I don't need any other field.</div><div><br></div><div>Any idea how to solve this problem?</div><div><br></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">Thank you for your time,</span><br></div><div><br></div><div>Gabriel</div></div>