Closed acorbat closed 4 weeks ago
Hey,
I changed the backend for loading the images. The new backend is "better" (loads the affine correctly, which was wrong before), but it can currently only handle 3D data. To be honest, I forgot that people might want to load 2D or 4D images as well. I will take care of this today or next week. Until then please use the old version. Sorry for that issue.
Best regards, Karol
Hey,
can you upgrade both the medvol
and napari-nifti
package and check again? It should work now.
pip install -U medvol
pip install -U napari-nifti
Best regards, Karol
ok, I tried it out with
napari-nifti 0.0.16
MedVol 0.0.12
and although it opens the images with the right number of channels and sizes, they don't look right.
Maybe the affine transform failed?
Thank you for looking into this.
Hmmm, would you be okay to send me the image so I can better debug? You can write me at karol.gotkowski [at] dkfz.de
The issue was resolved via mail. It is likely that the image was displayed correctly and that the direction matrix of the image has some issues. Feel free to open the issue again if there are still problems with the image or if it turns out that my assumption is not correct :)
Hi,
I have 4D MRI images (3D for space and an extra dimension for echoes). I am able to load the images when using napari-nifti v0.0.12 but it fails to load them when using napari-nifti v0.0.14.
I'm pasting a clipped part of the error below in case it helps, but I think the problem lies within how MedVol deals with shapes.
The shape of the image is (6, 248, 248, 248).