itk-vtk-viewer
itk-vtk-viewer copied to clipboard
failed to load dicom series
Hi, I tried to load a dicom series with 3245 dcms(each dcm is 516 KB). But the page crashed without giving any errors. I tried to load it with slicer and succeded. Any reason why it failed? Or itk.js support large dicom series loading ?
Hi @lihouxing-sjtu,
Led by @floryst, @aylward, @agirault, there is WIP on memory-usage and performance optimization in itk.js (we currently load all the dicoms when sorting them and reading them, but we are splitting the sorting / reading steps, limiting data read, and enabling the parallel read). Once this is completed, your series should load successfully and quickly :-).
Are the 3245 files from a single series that you want to visualize all at once? That would be ~1.6GB, and I don't think that browsers will let a tab take that much real estate at once (@floryst ?). With the work that's incoming, doing partial loading/unloading to only show a subset of all the slices at a time would be doable in that scenario.
Hi, @agirault thanks for your comment! Indeed it's a large single series, looking forward to the coming version! Thanks @thewtex
1.6GB is on the hefty side of things, especially for a single series, but might be do-able. Doing volume rendering on that might become limited by the browser, since gradients and any other computed values can quickly add up.