Standalone viewer - CINE ultrasound

297 views
Skip to first unread message

Richard Smith

unread,
Apr 20, 2017, 2:28:19 PM4/20/17
to cornerstone platform
Hello All,

I'm using OHIF Standalone version and its working very nicely.  The issue is I have OB ultrasound cine file which the Viewer is recognizing and the loop is running but the images are not changing.  The first image is stuck throughout 48 frames.  I have capture the metadata values from Chrome which is attached.  Any idea what I could be I be missing besides values provided in metadata?

I have tried OHIF viewer to test this file and its working nicely.  So, the issue I'm having is with Standalone version.

Any help would be greatly appreciated.

Warm regards,
Rick





Capture.PNG

Erik Ziegler

unread,
Apr 23, 2017, 2:45:37 AM4/23/17
to cornerstone platform
Hi Rick,

OK so there doesn't seem to be a bug here, just a slightly wrong metadata setup. This is my fault, since we are doing the same thing in the examples.

The problem is that your image is a multi-frame instance, and so we need to tell the WADO Image Loader to display it frame-by-frame. In the metadata you sent me, it was clear that you were setting 'url' instead of 'wadouri' for the instance. This messed up the addition of the frame parameter when creating the imageId.

Basically in the section of your Metadata JSON where you have URL for your instances, it currently looks like this:

"url": "dicomweb://localhost:8000/yourfile.dcm"

The OHIF viewer will only retrieve this single image and display it.

You should change it to this:


In this manner, the OHIF Viewer's getImageId function will properly add the '&frame=N' for your multi-frame image, and it will display properly.


Erik

Richard Smith

unread,
Apr 23, 2017, 11:46:46 AM4/23/17
to cornerstone platform
Dear Erik,

Thank you so much for getting back to me.  Yes, I tested the viewer with the changes you have recommended and it worked like a charm!

Again, many thanks...!

Best regards,
Rick
Reply all
Reply to author
Forward
0 new messages