MONAILabel icon indicating copy to clipboard operation
MONAILabel copied to clipboard

Integration of Monailabel and Girder

Open Aurora-God opened this issue 1 year ago • 3 comments

Hello, I would like to integrate Monailabel with Girder as the data source, and both Monailabel and Girder will be launched using Docker The problem I encountered: I used the official image of Monailabel, version: projectmonai/Monailabel: 0.8.0 After entering the container, I used the command to start monai: monailabel start_server -- app/usr/local/monailabel/sample apps/radiology -- studies http://girder_username:girder_password @Girder_ip: girder_port/api/v1-- conf models deepedit -- conf datasets. dataset1. source girder -- conf girder.api_token<api_key I created from the girder web page> But when I access this address: http://monai_ip:8000/ohif/ , will jump here: http://monai_ip:8000/ohif/notfoundserver Unable to access my data in Girder I'm not sure where the problem is, but I can be certain that the Docker port and IP address are not the problem, and I started it in the same way (different startup commands: monailabel start_server -- app/usr/local/monailabel/sample apps/radiology -- studies) http://username:password @Orthanc_ip: Orthanc_ port/dicom web -- conf models deepedit )Can connect to Orthanc to access its data Please help me, thank you

Aurora-God avatar Jun 05 '24 07:06 Aurora-God

Hi Aurora I am not familiar with Girder, does it use dicom web to access data ? If not you need to figure how Grider exposes data and write a datastore to allow this communication. Check other datastores as xnat / cvat etc.

if it does use dicom web then you should check that you are able to access data using the Grider_ip:port then the issue might be in the user / password being passed since 0.7 or so it changed to be passed as variables as

export MONAI_LABEL_DICOMWEB_USERNAME=orthanc
export MONAI_LABEL_DICOMWEB_PASSWORD=orthanc

Hope that helps

AHarouni avatar Jun 28 '24 21:06 AHarouni

Thank you very much for your reply. Girder is probably not DICOMWEB. I think it should be similar to XNAT. So, how does Monailabel link XNAT ?

Aurora-God avatar Sep 03 '24 03:09 Aurora-God

You only need to implement the datastore interface https://github.com/Project-MONAI/MONAILabel/blob/main/monailabel/interfaces/datastore.py you can see how xnat did it here https://github.com/Project-MONAI/MONAILabel/blob/main/monailabel/datastore/xnat.py

You can always add variables to get user name and password to connect

AHarouni avatar Sep 03 '24 16:09 AHarouni