Skip to main content

READII

codecov CI-CD CodeFactor

GitHub Release pixi-badge

PyPI - Python Version PyPI - Version PyPI - Format Downloads Docker Pulls

Radiomic Extraction and Analysis for DICOM Images

A package to extract radiomic features from DICOM CT images.

Installation

$ pip install readii

(recommended) Create new pixi environment for a project

mkdir my_project
cd my_project
pixi init
pixi add --pypi readii

(recommended) Create new conda virtual environment

conda create -n readii python=3.9
conda activate readii
pip install readii

Usage

readii is a tool to perform radiomic feature extraction on DICOM CT images with region of interest (ROI) segmentations as either DICOM SEG or RTSTRUCT.

$ readii [INPUT DIRECTORY] [OUTPUT DIRECTORY] \
  --roi_names [str] \
  --pyradiomics_setting [str] \
  --negative_controls [str: shuffled_full,shuffled_roi,shuffled_non_roi,randomized_full,randomized_roi,randomized_non_roi,randomized_sampled_full,randomized_sampled_roi, randomized_sampled_non_roi] \
  --parallel [flag]
  --update [flag]

Negative control options

Negative controls are applied to one of three masks:

  1. full = voxels in the entire image
  2. roi = just voxels within the specified region of interest (ROI) in the segmentation
  3. non_roi = all voxels except the ROI.

The three transformations are:

  1. shuffle = shuffle all voxels in the specified mask
  2. randomized = randomly generate new values within the original range within the specified mask
  3. randomized_sampled = randomly sample original values with replacement to get new values within the specified mask

Contributing

Please use the following angular commit message format:

<type>(optional scope): short summary in present tense

(optional body: explains motivation for the change)

(optional footer: note BREAKING CHANGES here, and issues to be closed)

<type> refers to the kind of change made and is usually one of:

  • feat: A new feature.
  • fix: A bug fix.
  • docs: Documentation changes.
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc).
  • refactor: A code change that neither fixes a bug nor adds a feature.
  • perf: A code change that improves performance.
  • test: Changes to the test framework.
  • build: Changes to the build process or tools.

scope is an optional keyword that provides context for where the change was made. It can be anything relevant to your package or development workflow (e.g., it could be the module or function - name affected by the change).

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

Serve Documentation Locally

pixi run -e docs doc-serve

License

readii was created by Katy Scott. It is licensed under the terms of the MIT license.

Download files

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

Source Distribution

readii-1.38.1.tar.gz (51.3 kB view details)

Uploaded Source

Built Distribution

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

readii-1.38.1-py3-none-any.whl (66.9 kB view details)

Uploaded Python 3

File details

Details for the file readii-1.38.1.tar.gz.

File metadata

  • Download URL: readii-1.38.1.tar.gz
  • Upload date:
  • Size: 51.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.12.13 HTTPX/0.28.1

File hashes

Hashes for readii-1.38.1.tar.gz
Algorithm Hash digest
SHA256 713bb79233671c537f604166b5de434aaf4db5c20e50538eeaa404076da80e82
MD5 c2d351cf224b3956873101f43090005a
BLAKE2b-256 b731fcbca74b6975285c822d3a7b4c439a79caa93d7883b300701ebbefd80d59

See more details on using hashes here.

File details

Details for the file readii-1.38.1-py3-none-any.whl.

File metadata

  • Download URL: readii-1.38.1-py3-none-any.whl
  • Upload date:
  • Size: 66.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.12.13 HTTPX/0.28.1

File hashes

Hashes for readii-1.38.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba336c98d365a19e48e574fc2bbf419782ae12d8ad1373184d4e8a05e1ccc23a
MD5 a61ca2d74393ba08961e68a34eeaf1f2
BLAKE2b-256 35e0be2084ed4426235039748e259b23ed6211cce88fa03998f34191bb282e3a

See more details on using hashes here.

Release history Release notifications | RSS feed

1.39.0

2 files

This release

1.38.1 This release

2 files

1.38.0

2 files

1.37.0

2 files

1.36.2

2 files

1.36.1

2 files

1.36.0

2 files

1.35.1

2 files

1.35.0

2 files

1.34.3

2 files

1.34.2

2 files

1.34.1

2 files

1.34.0

2 files

1.33.0

2 files

1.32.0

2 files

1.31.0

2 files

1.30.0

2 files

1.29.1

2 files

1.29.0

2 files

1.28.0

2 files

1.27.0

2 files

1.26.0

2 files

1.25.0

2 files

1.24.0

2 files

1.23.0

2 files

1.22.0

2 files

1.21.0

2 files

1.20.0

2 files

1.19.0

2 files

1.18.0

2 files

1.17.0

2 files

1.16.0

2 files

1.14.2

2 files

1.14.1

2 files

1.14.0

2 files

1.13.2

2 files

1.13.1

1 file

1.11.0

2 files

1.10.0

2 files

1.9.0

2 files

1.8.0

2 files

1.7.7

2 files

1.7.6

2 files

1.7.5

2 files

1.7.4

2 files

1.7.3

2 files

1.7.2

2 files

1.7.1

2 files

1.6.4

2 files

1.6.3

2 files

1.6.2

2 files

1.6.1

2 files

1.6.0

2 files

1.5.0

2 files

1.4.4

2 files

1.4.3

2 files

1.4.2

2 files

1.4.1

2 files

1.4.0

2 files

1.3.4

2 files

1.3.1

2 files

1.3.0

2 files

1.2.1

2 files

1.1.3

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.0

2 files

Supported by

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