View in #cornerstone3d on Slack
@Quasar_Jarosz: I’m reposting from earlier in case any developers are around:
I am still having strange problems loading volumes with wadouri (in 2.0). I have prepared the simplest example I could come up with… here is a fork of the cornerstone nextjs app that’s been modified to load a volume via wadouri (from TCIA):
https://github.com/quasarj/nextjs-cornerstone3d
You’ll see it loads just fine. But if I try to draw it in AXIAL instead (or even ACQUISITION), it fails (see this branch):
https://github.com/quasarj/nextjs-cornerstone3d/tree/broken
The error is: TypeError: Cannot destructure property 'imagePositionPatient' of '_metaData__WEBPACK_IMPORTED_MODULE_3__.get(...)' as it is undefined.
@Alireza_Sedghi: Does this work in this example https://www.cornerstonejs.org/live-examples/wadouri.html
@Quasar_Jarosz: Yes. Loading individual frames seems to work fine. And loading into a Stack viewport is working. But I need a Volume viewport (and ultimately I need segmentations working).
The problem seems to have something to do with the metaData class and/or the providers that get registered (or don’t) there.
A better example is https://www.cornerstonejs.org/live-examples/volumebasicwadouri
Which… works fine with the example imageIds but not with my set. Let me try a few more series, perhaps the ultimate error is being triggered by something in my files.
Same issue with a different set. Could it have something to do with how long it takes to retrieve all frames of the volume?
I find it very odd that these examples all work in SAGITTAL only, when the frames are actually axial… very strange