MONAILabel icon indicating copy to clipboard operation
MONAILabel copied to clipboard

MONAILabel Inference Label export to external PACS systems

Open kenbutcher opened this issue 1 year ago • 1 comments

Xnat-MONAILabel workflow development

Could we add the ability for MOANILabel to push dicom images to other PACS by providing an AEtitle, IP address and port number? This will allow us to send inference labels (dicom SEG) and secondary capture images directly to the PACS (rather than via Xnat).

kenbutcher avatar Mar 08 '24 10:03 kenbutcher

We could use storescu to send dicoms then add function in the xnat.py datastore in save_label function to check on passed in parameters from the request. if ip,port, aetitle is available we could send the dicomsec and secondary capture as

        send2pacsIP = label_info.get('params',{}).get("send2pacsIP", "")
        send2pacsPORT = label_info.get('params',{}).get("send2pacsPORT", "")
        send2pacsAETitle = label_info.get('params',{}).get("send2pacsAETitle", "")
        if send2pacsIP and send2pacsPORT:
            storescu_send_file(tmpDcmSegpath, send2pacsIP, send2pacsPORT,send2pacsAETitle)

AHarouni avatar Mar 08 '24 17:03 AHarouni