View in #ohif on Slack
@Jones: Hi Team. I’m trying to understand working of OHIF with MonaiLabel.
I see that when we start MONAI Label Server connected to Local Orthanc. We can view OHIF in the same port under /ohif path. I checked the config of ohifv3 plugin and found that in default.js it is connecting to local orthanc as similarly MONAI also connects with the same local Orthanc.
- At this stage, I believe both OHIF and MONAI are INDEPENDENT as both are connecting to Orthanc and getting data. Is this correct ?
- Second, question is once let’s say Auto Segmentation or inference is done in MONAI, how does OHIF consume this inference output ? Is MONAI connecting to OHIF with some API’s and sending the data ?
@Alireza_Sedghi: Yes, OHIF communicates to MONAI regarding the UIDs and MONAI grab them from the server itself
Segmentation is sent via http as nifti file (this part can be certainly optimized for speed)
OHIF reads nifti and convert it to internal representation of Segmentation
There is a MONAI client in the MONAI plugin
@Jones: Oh I see. Thanks Alireza
“OHIF reads nifti and convert it to internal representation of Segmentation”.
If possible, can I know a little bit more on this conversion, does it convert to any kind of NRRD and use it ?