dicomweb-proxy
dicomweb-proxy copied to clipboard
StackViewport._updateVTKImageDataFromCornerstoneImage
Hi, when I try to view an ultrasound series in OHIF, I get this error. If I retrieve the same US from Orthanc's DICOM-web, it displays without any problems. In both cases I access through reverse proxy Any ideas?
TypeError: Cannot read properties of undefined (reading 'setOrigin')
at StackViewport._updateVTKImageDataFromCornerstoneImage (app.js:3317:25)
at StackViewport._updateActorToDisplayImageId (app.js:3582:14)
at StackViewport.renderImageObject (app.js:2290:22)
at http://localhost:81/app.js:24583:22
at new Promise (
The problem is with GE Ultrasound, model V830.
Hi, first some questions:
- in case you used the proxy before: is this a new issue maybe related to the latest OHIV viewer? If possible try an older release for testing
- does it fail only with these specific ultrasound images or with all?
- can you provide an anonymised sample file?
The reason for the issue you have is usually the amount of metadata (like rows and columns, position vector etc.) that is returned to OHIF viewer. Orthanc has direct access to all metadata and just dumps whatever it reads, however the proxy mostly relies on what C-FIND returns and that is not a lot, it can fall back to parsing the images in between but that can become a performance issue. The other problem is that it's pretty unclear what OHIF actually needs and that list might change with versions (hence my question above).