Retrieve medical images via WADO-URI, WADO-RS, QIDO-RS, MINT, RAD69 and DICOM-QR
- Uses
pydicom
andpynetdicom
. Images and query results arepydicom.Dataset
instances - Query and download DICOM Studies, Series and Instances
- Integrated search and download - automatic queries for missing series and instance info
dicomtrolley docs on readthedocs.io
pip install dicomtrolley
# Create a http session
session = requests.Session()
# Use this session to create a trolley using MINT and WADO
trolley = Trolley(searcher=Mint(session, "https://server/mint"),
downloader=WadoURI(session, "https://server/wado_uri"))
# find some studies (using MINT)
studies = trolley.find_studies(Query(PatientName='B*'))
# download the fist one (using WADO)
trolley.download(studies[0], output_dir='/tmp/trolley')