OHIF segmentation viewer doesn't appear in Orthanc Explorer 2

Hi everybody. I’m trying to customize OHIF Viewer buttons inside Orthanc Explorer 2 UI. I would like to see only the OHIF Viewer and OHIF Viewer for segmentation, but I’m having some strange behaviors. I saw in the configuration file of orthanc explorer that I can enable specific viewers and show specific buttons as I did below:

            // Defines the order in which the viewer icons should appear in the interface
            // OHIF viewers modes that are not listed here, won't appear in the interface.
            "ViewersOrdering" : [
                // "osimis-web-viewer",  // now deprecated
                //"stone-webviewer",
                "ohif",
                "ohif-vr",
                //"ohif-tmtv",
                "ohif-seg",
                // "ohif-micro", // currently disabled, this is still experimental in OHIF
                //"meddream",
                "volview",
                "wsi"
            ],

When I restart the Orthanc Service I see only the following OHIF buttons for study, and Volview as a default viewer for both studies and series as below:

Moreover, if I comment the “ohif-vr” button item, the server doesn’t start at all.
Instead, if I open the legacy UI, the OHIF Viewer let me choose if I want to open it with segmentation features.

Why does this happen? How can I enable only OHIF Viewer and OHIF viewer in segmentation mode inside the Orthanc Exporer 2? Moreover how can I have OHIF Viewer as default viewer for single series instead of VolView?
Thank you in advance.
Regards,
Lorenzo

Hi Lorenzo,

The ohif-seg viewer is only visible if the study contains a CT and a PT. I actually copied these criteria from the TMTV mode but it seems that was not correct.

I have now updated this criteria.

This will be available in the future official release and earlier in the mainline binaries.

Best regards,

Alain.

Hi Alain,
thank you very much. Another question was to make OHIF Viewer as the default viewer for studies and single series item (instead of VolView). Is that possible?
Best regards,
Lorenzo

1 Like

The “default viewer” is the first viewer defined in the "ViewersOrdering" configuration.

I don’t think OHIF can work at the series level.