Installation

The GLAM framework is written in Python and leverages high-performance libraries for spatial indexing (KD-trees) and medical image analysis. It operates as a fully standalone extraction engine, meaning it does not require external radiomics packages to compute conventional texture matrices.

Prerequisites

Before installing GLAM, ensure you have the following requirements:

  • Python: Version 3.10 or higher.

  • Pip: The Python package installer.

  • Virtual Environment: It is highly recommended to use a virtual environment (e.g., venv or conda) to avoid dependency conflicts.

  • NVIDIA GPU (Optional but Recommended): For hardware acceleration, an NVIDIA GPU with updated drivers is required.

Installing from TestPyPI

You can install GLAM-radiomics using the following command:

pip install glam-radiomics

Note

This release was successfully built and tested using Python 3.12.10 and NumPy 2.3.2. Make sure you have activated your virtual environment before running this command!

Key Dependencies

When you install GLAM, the following core libraries are automatically integrated:

  • NumPy & SciPy: Provide the computational backbone for RDF calculations, spatial KD-trees, and Statistical Mechanics descriptors.

  • SimpleITK: Handles the loading and normalization of 3D medical imaging formats like NIfTI (.nii.gz).

  • Pandas: Manages the structured output of multiscale Radial Distribution Functions and feature aggregation.

  • Scikit-image & Scikit-learn: Powers the morphological marching cubes (surface area), K-Means clustering, and advanced geometric descriptors.

Verifying the Installation

To verify that GLAM is correctly installed, you can run a simple version check in your Python environment:

import glam_radiomics
print(glam_radiomics.__version__)