-
Notifications
You must be signed in to change notification settings - Fork 52
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
Some 3D DICOM files fail to load #608
Comments
Got a bit more clear error with a local emscripten build on
|
@timmevandermeer thanks for the follow-up.
WASM is current 32-bit, and it looks like we are running into this limit here. 64-bit WASM is in the works, but is not readily available yet. One item to look into whether we can reduce memory usage and release memory more aggressively in the module. |
Rases memory cap from 2GB to 4GB. Copes with this error when running pipelines. ``` Cannot enlarge memory, asked to go up to 2248392704 bytes, but the limit is 2147483648 bytes! ``` Copes with InsightSoftwareConsortium#608
Rases memory cap from 2GB to 4GB. Copes with this error when running pipelines. ``` Cannot enlarge memory, asked to go up to 2248392704 bytes, but the limit is 2147483648 bytes! ``` Copes with InsightSoftwareConsortium#608
I use itk.wasm to load DICOM files into a browser application. This typically concerns 3D DICOM files of between 100 and 400 mb in size. For most files this works fine using
readImageBlob
. However, for some files the following error occurs:Aborted() error in GDCMImageIOReadImage.umd.js:9
When loading the same file in the Node.js implementation using
readImageLocalFile
the same error occurs:Aborted() error in GDCMImageIOReadImage.js:9
The problematic DICOM files open fine in other software (e.g. Horos, VV, etc.). An example file with this issue is available here: https://drive.google.com/file/d/1KpFletcfreoR7w2ZQK8Hi1tamJsey7eN/view?usp=sharing
I think it has something to do with the compression, as reading the tags works fine. Furthermore, converting the file to a uncompressed DICOM results in a file that is able to load.
The text was updated successfully, but these errors were encountered: