dicomweb-proxy icon indicating copy to clipboard operation
dicomweb-proxy copied to clipboard

StackViewport._updateVTKImageDataFromCornerstoneImage

Open jmorenopar opened this issue 6 months ago • 2 comments

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 () at renderToCanvasGPU (app.js:24532:12) at successCallback (app.js:24037:13) at http://localhost:81/app.js:24045:33

jmorenopar avatar May 30 '25 16:05 jmorenopar

The problem is with GE Ultrasound, model V830.

jmorenopar avatar Jun 01 '25 19:06 jmorenopar

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

knopkem avatar Jun 03 '25 06:06 knopkem