itk-vtk-viewer icon indicating copy to clipboard operation
itk-vtk-viewer copied to clipboard

failed to load dicom series

Open lihouxing-sjtu opened this issue 4 years ago • 4 comments

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 ?

lihouxing-sjtu avatar Jun 22 '20 15:06 lihouxing-sjtu

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 :-).

thewtex avatar Jun 22 '20 16:06 thewtex

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.

agirault avatar Jun 22 '20 22:06 agirault

Hi, @agirault thanks for your comment! Indeed it's a large single series, looking forward to the coming version! Thanks @thewtex

lihouxing-sjtu avatar Jun 22 '20 23:06 lihouxing-sjtu

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.

floryst avatar Jun 23 '20 17:06 floryst