Skip to main content

Z-RAD

Tests Ruff Docs PyPI Python License

Z-Rad logo

Radiomics is the high-throughput extraction of quantitative features from medical images, revolutionizing personalized medicine and enhancing clinical decision-making. Despite its potential, radiomics faces several challenges, including the need for programming skills and lack of standardization.

Z-Rad (Zurich Radiomics), developed by the Radiation Oncology Department at the University Hospital Zurich, addresses these issues by offering a user-friendly, IBSI-compliant, and open-source solution for radiomics analysis.

Z-Rad Features

Z-Rad screenshot

User-Friendly Interface

  • Graphical User Interface (GUI): Designed for medical professionals with no programming skills.
  • Application Programming Interface (API): Allows researchers to customize, automate, and extend Z-Rad functionalities using Python.

Compatibility

  • Medical Data Formats: Supports CT, PET, and MR imaging modalities in both DICOM and NIfTI formats.
  • Operating Systems: Windows, macOS, and Linux.

Standard Compliance

  • IBSI Compliance: Adheres to IBSI I and IBSI II standards for reproducible and comparable radiomics features.

Software Architecture and Design

Backend

  • Programming Language: Python.
  • Dependencies:
    • Joblib
    • NumPy
    • OpenCV
    • Pandas
    • PyDicom
    • PyQt5
    • PyWavelets
    • Scikit-image
    • SciPy
    • SimpleITK

Radiomics Extraction Pathways

Z-Rad Pathways

Graphical User Interface (GUI) and Application Programming Interface (API)

Both GUI and API are structured into three primary classes: Resampling, Filtering, and Radiomics:

Resampling

Z-Rad supports image resampling alone, alongside regions of interest (ROI) masks, or converting DICOM files to NIfTI images and masks without resampling. Resampling can be performed in 3D or 2D (axial slice-wise), with nearest neighbors, linear, B-spline, and Gaussian strategies.

Filtering

This tab requires users to define the desired filter settings. The current version of Z-Rad supports mean, Laplace of Gaussian, Laws kernels, and wavelet (Daubechies 2, Daubechies 3, first-order Coiflet, and Haar) filters.

Radiomics Feature Extraction

Parameters for radiomics feature extraction include the intensity re-segmentation (e.g., HU for CT or SUV for PET within ROIs) and intensity outlier filtering, discretisation strategies, and a variety of radiomics feature aggregation methods covering 2D, 2.5D, and 3D options. Radiomic features include shape, intensity, grey level co-occurrence matrix (GLCM), grey level run length matrix (GLRLM), grey level distance zone matrix (GLDZM), neighbouring gray tone difference matrix (NGTDM), and neighbouring gray level dependance matrix (NGLDM) features families.

Error and Warning Handling

  • GUI: Uses info, warning, and error pop-up messages for immediate feedback.
  • API: Records processes in log files for comprehensive documentation.

Installation and Get Started

Release executable files

The simplest way to run Z-Rad is to start the platform-specific asset attached to every Z-Rad release.

  • Windows: download and run z-rad-<release-tag>-windows.exe.
  • Apple Silicon macOS: download z-rad-<release-tag>-macos-arm64.zip, extract it, and start Z-Rad.app.

The macOS release app is currently unsigned and unnotarized. macOS may show a Gatekeeper warning when opening it.

Windows, Linux, and macOS

For users familiar with Python programming language, we recommend Python 3.11 or newer:

  1. Download the Z-Rad repository
  2. Open the terminal and navigate to the project directory
  3. Install Z-Rad from the source checkout by typing in the terminal:
pip install -e .
  1. Run the main.py file:
python main.py

API

pip install z-rad

License

Z-Rad is an open-source project licensed under the MIT License.

Contact

For any questions or feedback, please contact us at zrad@usz.ch.


Release files for z-rad 26.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for z-rad 26.8.0
File Size Uploaded
z_rad-26.8.0.tar.gz 122.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for z-rad 26.8.0
File Interpreter ABI Platform
z_rad-26.8.0-py3-none-any.whl Python 3 none any Details

Total release size: 254.1 kB

Release files / z_rad-26.8.0.tar.gz

Download URL z_rad-26.8.0.tar.gz
Size 122.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c4f9a9480604f858e7ae4fd3115116c24056cbda51df59d4af38f7343a313b7f
BLAKE2b-256 checksum
How to use checksums
15cb0a2859ccd787c0c5eac361daad1d50c6f8c964366eac1edacc2cd6ea2cf9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / z_rad-26.8.0-py3-none-any.whl

Download URL z_rad-26.8.0-py3-none-any.whl
Size 132.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
defbe9b8c1bd0aff44533876cba92c3e153181aa3adf8f913b5d31ff48a1e860
BLAKE2b-256 checksum
How to use checksums
1b1644798bbef22aad47322bca3f38fa923687f155896e0fb73346dea6d2eac8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release history Release notifications | RSS feed

26.9.0

2 release files

This release

26.8.0 This release

2 release files

26.5.0

2 release files

25.4

2 release files

25.1.1

2 release files

25.1

2 release files

24.10

2 release files

24.9.2

2 release files

24.9.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page