Examples#

These worked examples show common GUI and Python API workflows.

GUI examples#

Preprocessing in GUI

DICOM and NIfTI preprocessing examples, including representative resampling settings for each workflow.

Preprocessing in GUI
Filtering in GUI

Mean, LoG, Riesz-transformed LoG, separable wavelet, and Simoncelli filtering controls, with example configurations and result comparisons.

Filtering in GUI
Radiomics extraction in GUI

A representative radiomics extraction setup showing the main parameter choices used in the GUI.

Radiomics extraction in GUI

Python API examples#

The snippets use example paths for images, masks, and output files. Replace them with your own paths after installing Z-Rad. The single-image examples can use the bundled IBSI CT phantom; read its attribution and license terms before reusing or redistributing the data.

Preprocess NIfTI

Resample a CT image and ROI mask to a shared isotropic grid.

Preprocess a NIfTI image and mask
Preprocess DICOM and RTSTRUCT

Load a DICOM series and structure, then resample slice-wise.

Preprocess DICOM and RTSTRUCT
Compare filters

Save Mean, LoG, and wavelet responses from the same image.

Compare image filters
Extract radiomics from one ROI

Prepare an intensity mask and extract statistics and GLCM features.

Extract radiomics from one ROI
Compare original and filtered radiomics

Use the same ROI to compare original and filtered feature images.

Compare original and filtered-image radiomics
Process case folders

Preprocess a case, extract a CSV, and inspect batch results.

Process case folders with the batch API