Viewers icon indicating copy to clipboard operation
Viewers copied to clipboard

JSON metadata multiframe example

Open shlomgad opened this issue 5 years ago • 7 comments

Hello, Using the /viewer?url= mechanism to load a JSON manifest. My build renders single frame images correctly, but multiframe images are rendered in a bizarre way, as if all frames are rendered on top of each other (screenshot attached, very artistic result, but not very useful :-) ) Can you please add a note or an example how to refer to multiframe instances in the JSON example on issue #1500 . Thanks!

Screenshot 2021-01-30 090755

shlomgad avatar Jan 30 '21 07:01 shlomgad

Have you populated the url link correctly for the JSON? For each frame you need to add ?frame={frameIndex} at the end (Note: frameIndex starts from 1)

example: "url": "dicomweb:http://localhost:3000/multiframe/MR-MONO2-8-16x-heart?frame=1"

sedghi avatar Mar 08 '21 19:03 sedghi

Thank you for the suggestion. I have created a separate json metadata entry for each frame as above - but still it looks like all frames are rendered on top of each other.

shlomgad avatar Aug 13 '21 22:08 shlomgad

Turns out the overlapping display was related to issue #2420 . Adding the Planar Configuration tag to the JSON solved that. However, still no luck in displaying the multiframe images. Seems that adding &frame={frameIndex} at the end of the url is not doing the trick.

shlomgad avatar Aug 30 '21 20:08 shlomgad

Was there any progress on this?

arturojain avatar Oct 07 '22 20:10 arturojain

@shlomgad Do you think this still happens in the latest master branch?

Please review the latest code in the master branch. This issue might have been resolved. If it persists, kindly reopen the issue with updated details.

Try viewer-dev.ohif.org instead of viewer.ohif.org Our viewer.ohif.org is deployed from release branch while viewer-dev.ohif.org is our master branch Read more about branch explanations here https://docs.ohif.org/development/getting-started#developing

sedghi avatar Oct 13 '23 18:10 sedghi

This is displayed correctly in the recent V3-stable branch.

shlomgad avatar Nov 13 '23 12:11 shlomgad

Could you please share with me an example DICOM JSON file for multiframe? I have tried viewing it, and it shows the number of instances based on the number of frames, but when I scroll, it's not loading the next frame. Could you please suggest if there's anything I missed?

image

kinsolutions avatar May 07 '24 11:05 kinsolutions