A library for reading and processing medical imaging files like DICOM, RTDOSE, RTSTRUCT, etc.
Project description
rosamllib is a Python package for reading, manipulating, and visualizing DICOM files, particularly focusing on radiotherapy-related DICOM formats like RTSTRUCT and RTDOSE. The library simplifies the process of extracting useful information from DICOM files, overlaying contours on medical images, and resampling dose grids for dose distribution visualization.
Features
- DICOM Image Handling: Supports reading, resampling, and visualization of DICOM images.
- RTSTRUCT Handling: Extracts contours, generates masks for structures, and overlays them on medical images.
- RTDOSE Handling: Resamples dose grids to match CT image grids and visualizes dose distribution.
- Simple and Intuitive API: Easy-to-use API for manipulating DICOM datasets, working with medical images, and visualizing structures and dose distributions.
Table of Contents
Installation
To install rosamllib, you can use pip:
pip install rosamllib
Alternatively, you can clone this repository and install it manually:
git clone https://gitlab.com/ucla_rosaml/shared/rosamllib
cd rosamllib
pip install .
Documentation
Detailed documentation is available in the form of Jupyter notebooks within the repository. These provide step-by-step examples and usage guides for the core functionality of rosamllib:
- Rosamllib Basic Tutorial
- Reading DICOM Images
- Reading RTSTRUCT Files
- Reading RTDOSE Files
- Working with Registrations
Contributing
We welcome contributions to improve rosamllib! If you encounter bugs or have feature requests, feel free to open an issue or submit a pull request.If you would like to contribute:
- Fork the repository.
- Create a new feature branch.
- Implement your changes and write tests.
- Submit a pull request with a detailed explanation.
License
This project is licensed under the LGPL 3.0 License. See the LICENSE file for details.
Contacts
If you have any questions or suggestions, please contact me at YasinAAbdulkadir@gmail.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rosamllib-0.6.1-py3-none-any.whl.
File metadata
- Download URL: rosamllib-0.6.1-py3-none-any.whl
- Upload date:
- Size: 258.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e14cf8c8f1985b013c87760ccfa30db45265f654c373cbec16b5dc91a97bf10
|
|
| MD5 |
e1d811fb572a4c4d7d81ce0ab9114945
|
|
| BLAKE2b-256 |
e6928f540b6121c94af9ba7e750428d19d3273fa54d48915b02c054c855257ee
|