Closed Srujith20 closed 1 month ago
I think there's an issue with itk-wasm opening nii.gz
files. If you decompress them into .nii
files, do they load?
Yes, we lost the compressed nii.gz
format support somewhere.
After decompressing, itk-wasm returns a BigInt64Array
typed array, which looks like we don't handle well. @Srujith20 Try converting the label map file to a Int32 typed array.
Yes, we lost the compressed
nii.gz
format support somewhere.After decompressing, itk-wasm returns a
BigInt64Array
typed array, which looks like we don't handle well. @Srujith20 Try converting the label map file to a Int32 typed array.
I am encountering the following error when I try to visualize an Int32 typed array.
I think there's an issue with itk-wasm opening
nii.gz
files. If you decompress them into.nii
files, do they load?
I am still not able to load the label after decompressing. When I try to visualize the image it opens up sometimes and sometimes it throws the "could not load" error.
The loader still thinks its a Int64 image. Check your image conversion code. For more help here:
print(converted_image)
result
Issue Resolved