orthanc-mammography
Plugin for Orthanc to detect masses in mammograms using deep learning.
Science Score: 57.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 2 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.2%) to scientific vocabulary
Repository
Plugin for Orthanc to detect masses in mammograms using deep learning.
Basic Info
- Host: GitHub
- Owner: jodogne
- License: agpl-3.0
- Language: Python
- Default Branch: master
- Homepage: https://orthanc.uclouvain.be/
- Size: 49.6 MB
Statistics
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 1
- Releases: 0
Metadata Files
README.md
Mammography plugin for Orthanc
This plugin for Orthanc adds a deep learning algorithm to detect masses in scanned mammograms. The inference algorithm produces DICOM-SR (structured reports) instances that are stored inside Orthanc. The DICOM-SR instance can then be displayed using a version of the Stone Web viewer for Orthanc.
Reference paper, in the BibTeX format:
BibTeX
@inproceedings{OrthancMIE2024,
title = {Integrated and Interoperable Platform for Detecting Masses on Mammograms},
author = {Chatzopoulos, Edouard and Jodogne, S\'ebastien},
booktitle = {34th Medical Informatics Europe Conference (MIE 2024)},
address = {Athens, Greece},
journal = {Studies in Health Technology and Informatics},
volume = {316},
pages = {1103-1107},
issn = {1879-8365},
doi = {10.3233/SHTI240603},
publisher = {{IOS} Press},
year = {2024}
}
This plugin is copyrighted by the UCLouvain university, under the AGPLv3+ license. It is a deliverable of the research lab led by Sébastien Jodogne.

Setup
Make sure that Python 3 is installed with support of virtual environments. Under Debian/Ubuntu distributions, this can be done by running:
$ sudo apt update
$ sudo apt install python3 python3-venv
Evidently, you also have to install Orthanc. The mammography plugin requires the two following plugins for Orthanc to be installed:
- Python plugin.
- DICOMweb plugin, if you want to use the DICOM-SR viewer.
Configuration
Firstly, clone this repository:
$ cd /tmp/
$ git clone https://github.com/jodogne/orthanc-mammography/
Secondly, setup the Python virtual environment with the required dependencies:
$ cd /tmp/orthanc-mammography/
$ python3 -m venv venv
$ source ./venv/bin/activate
(venv) python3 -m pip install --upgrade pip
(venv) python3 -m pip install -r requirements.txt
Thirdly, create a configuration file for Orthanc with Python. A minimalist configuration file would look like (make sure to adapt the path to the virtual environment, depending on your version of Python):
json
{
"Plugins" : [
"...list of paths to the Python and DICOMweb plugins..."
],
"Python" : {
"Path" : "./mammography.py"
},
"Mammography" : {
"VirtualEnv" : "./venv/lib/python3.10/site-packages/"
}
}
Finally, start Orthanc using this configuration file.
Usage
Two samples images from the CBIS-DDSM
dataset
are available in the ./sample-images/ folder.
Upload DICOM images of mammograms to Orthanc.
Using the built-in Orthanc
Explorer interface of
Orthanc, go down in the DICOM hierarchy until you reach a DICOM
instance whose modality is MG (mammogram). The yellow button Deep
learning for mammography will appear.
Clicking on the button will launch the deep learning inference. Once the inference is done (this takes about 5 seconds on a standard laptop), Orthanc Explorer is automatically redirected to the newly-created DICOM series that contains the DICOM-SR instance with the results of the inference.
You can then click on the yellow button Stone Web viewer (for
mammography) to display the content of the DICOM-SR.
Owner
- Name: Sébastien Jodogne
- Login: jodogne
- Kind: user
- Location: Belgium
- Company: Orthanc and UCLouvain
- Website: http://www.orthanc-labs.com/
- Repositories: 32
- Profile: https://github.com/jodogne
Citation (CITATION.cff)
cff-version: "1.1.0"
message: "If you use this software, please cite it using these metadata."
title: Orthanc
abstract: "Orthanc is a lightweight open-source DICOM server for medical imaging supporting representational state transfer (REST)."
authors:
-
affiliation: UCLouvain
family-names: Jodogne
given-names: "Sébastien"
doi: "10.1007/s10278-018-0082-y"
license: "GPL-3.0-or-later"
repository-code: "https://orthanc.uclouvain.be/hg/orthanc/"
version: 1.12.3
date-released: 2024-01-31
GitHub Events
Total
- Watch event: 2
- Fork event: 3
Last Year
- Watch event: 2
- Fork event: 3
Dependencies
- highdicom ==0.22.0
- opencv-python ==4.9.0.80
- pydicom ==2.4.4
- torch ==2.2.0
- torchaudio ==2.2.0
- torchvision ==0.17.0