Hi everybody,
I am using orthanc image 25.5.0-full with ohif 3.10.1 and I want to load a study containing a CT image and its segmentation (dicom with modality SEG). If I open with OHIF Viewer with segmentation tools I can’t see the segmentation as in the following figure:
Instead if I use orthanc image 25.2.0-full with the OHIF version 3.9.2 I can see the image and load correctly the segmentation as shown in the following figure:
How is that possible?
Tks everybody
Lorenzo
Hello,
Keep in mind that Orthanc and OHIF are separate projects. Your question should be asked to the OHIF community in the first place.
For further reference, I see that you already filled an issue on the OHIF bug tracker.
Regards,
Sébastien-
Hi jodogne,
I am having the same problem as Lorenzo. In my context I am using the docker compose of the mimal-setup of keycloak from this link orthanc-auth-service/minimal-setup/keycloak/docker-compose.yml at main · orthanc-team/orthanc-auth-service · GitHub
If you try it, as it is, using the orthancteam/orthanc:25.4.2 it works correctly (OHIF is the 3.9.2 and it is in a separate container). If you simply update the orthanc version with image: orthancteam/orthanc:25.5.0 I don’t see anymore the segmentation inside OHIF study list. Then I tried a very simple docker compose, like this one:
services:
orthanc:
image: orthancteam/orthanc:25.5.0
ports: ["80:8042"]
environment:
DICOM_WEB_PLUGIN_ENABLED: "true"
OHIF_PLUGIN_ENABLED: "true"
ORTHANC__OHIF_DATA_SOURCE: "dicom-web"
ORTHANC__REGISTERED_USERS: |
{"demo": "demo"}
and it works correctly both with orthancteam/orthanc:25.4.2 either with orthancteam/orthanc:25.5.0 and in that case it is using the ohif plugin with different version of OHIF (3.92 vs 3.10.1), so It isn’t an OHIF problem because the OHIF plugin in that case is the same (3.9.2), but maybe it is a problem coming from the auth service and keycloak management? Can you please try that?
Tks,
Gio
Hi @GioBlank
Could you share some sample images with SEG included ? I don’t have any available for testing.
Thanks,
Alain.
Hi Alain,
honestly it doesnt’ need to use a segmentation. If you load a series OHIF Viewer doesn’t show in the left panel the “tumbnails” of the series inside the current study. Let me know if you need any other information.
With 25.4.2
With 25.5.0
Tks,
Gio
Hi @GioBlank
This looks like a problem I fixed 8 days ago in the auth-service.
Can you try with orthancteam/orthanc-pre-release:master-unstable
?
Hi @alainmazy ,
yes If I use the pre-release version it works perfectly! So we have to wait until the new docker official tag is released, right?
Another question, why if you try to perform a simple segmentation in OHIF (for example a draw) and then try to export the SEG it doesn’t work and gives some error?
I am not sure that it isn’t an orthanc-ohif integration problem.
Tks,
Gio
Yes, next time we release the auth-plugin.
What kind of error do you get (from the Rest API perspective) ? If you are using the auth-plugin and auth-service, when you access a study in OHIF, the token you get only grants you access to VIEW the study, not ADD a new series.
I think I already have a TODO with that feature request but no idea when it will be implemented.
Hi @alainmazy ,
I can’t see in console any error:
But what I am showing here is an OHIF viewer from this docker compose (without auth plugin):
services:
orthanc:
#image: orthancteam/orthanc:25.5.0
image: orthancteam/orthanc-pre-release:master-unstable
ports: ["80:8042"]
environment:
DICOM_WEB_PLUGIN_ENABLED: "true"
OHIF_PLUGIN_ENABLED: "true"
ORTHANC__OHIF_DATA_SOURCE: "dicom-web"
ORTHANC__REGISTERED_USERS: |
{"demo": "demo"}
Tks,
Gio
If there are no errors, how can I solve anything ?
Ask the OHIF community first and then, if there is an error in the Rest API between OHIF and Orthanc, please, provide exact reproduction steps and then, I might be able to investigate.
Sorry Alain, I understand that it’s not simple to undestand what happens If I don’t have any error in console. I’ll ask to the OHIF community and let you know.
Tks,
Gio