Skip to main content

A library for reading and processing medical imaging files like DICOM, RTDOSE, RTSTRUCT, etc.

Project description

Rosaml-Lib

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:

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:

  1. Fork the repository.
  2. Create a new feature branch.
  3. Implement your changes and write tests.
  4. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rosamllib-0.5.3.tar.gz (125.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rosamllib-0.5.3-py3-none-any.whl (133.0 kB view details)

Uploaded Python 3

File details

Details for the file rosamllib-0.5.3.tar.gz.

File metadata

  • Download URL: rosamllib-0.5.3.tar.gz
  • Upload date:
  • Size: 125.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.9

File hashes

Hashes for rosamllib-0.5.3.tar.gz
Algorithm Hash digest
SHA256 9873a526d5890c1f0d03492924dc0c8628fc94d759b51ffda3ba49ccf22b9e9b
MD5 047b0703f0d7ccff00d9fc5bd2f75a1f
BLAKE2b-256 7f7fdc30cc0707787e91ca025c7b62a92f51d58d3c3bf1d76f63817a5030f11e

See more details on using hashes here.

File details

Details for the file rosamllib-0.5.3-py3-none-any.whl.

File metadata

  • Download URL: rosamllib-0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 133.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.9

File hashes

Hashes for rosamllib-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1f66397588260d1d0c586687f74053dd0bc820f610c47cd2fc6bcb6c5935d48a
MD5 fcd9afdd71c096d72a327759915d4a98
BLAKE2b-256 e5876015ffbe2cefc26ee793e0e44ccb8763cc1e0f519b0c82dd747442e068c6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page