Skip to main content

Metal Artifact Reduction Evaluation Toolkit (Annex GG)

Project description

mar-eval

CI

A Python toolkit for evaluating Metal Artifact Reduction (MAR) performance in CT imaging.


Overview

mar-eval provides a reproducible framework for evaluating MAR performance using objective, task-based metrics.
It supports both digital and quantitative physical test methods consistent with the procedures described in IEC 60601-2-44, Annex GG (informative).

The toolkit implements:

  • Channelized Hotelling Observer (CHO) analysis for lesion-detection tasks
  • AUC computation as the figure of merit for detectability
  • Bias and statistical comparison modules for ΔAUC analysis
  • Modular support for simulated (digital) and scanned (physical) image datasets
  • A transparent and open-source foundation for regulatory and manufacturer use

Installation

Option 1 – Install directly from GitHub

pip install git+https://github.com/cdc15000/mar-eval.git

Option 2 – Clone and install locally

git clone https://github.com/cdc15000/mar-eval.git
cd mar-eval
pip install .

Example Usage

from mareval.cho import compute_cho
from mareval.stats import compute_auc

# Example: run CHO analysis on lesion-present and lesion-absent image sets
auc = compute_auc(lesion_present, lesion_absent)
print(f"AUC = {auc:.3f}")

For a complete demonstration, see the example script:
examples/synthetic_demo.py


Features

Category Description
CHO Analysis Implements a channelized Hotelling observer for model-based detectability tasks
AUC Metrics Computes area under the ROC curve for lesion-detection performance
Bias Assessment Quantifies ΔAUC between MAR-enabled and non-MAR reconstructions
Statistical Comparison Supports one-tailed paired t-tests or nonparametric equivalents
Extensibility Designed for integration with validated simulators and test devices

Contributing

Contributions are welcome.
If you identify issues, propose improvements, or want to extend the toolkit, please open an Issue or submit a Pull Request.


Citation

If you use this toolkit in academic or regulatory work, please cite:

Cocchiaraley, C.D., mar-eval: A Python Toolkit for Objective Evaluation of Metal Artifact Reduction in CT Imaging (2025).
Available at: https://github.com/cdc15000/mar-eval


License

This project is licensed under the MIT License.
See LICENSE for details.


Acknowledgment

Development of this toolkit is informed by ongoing work within IEC TC 62 / SC 62B WG 30 and related DICOM initiatives on Metal Artifact Reduction (MAR) in CT imaging.

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

mar_eval-0.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

mar_eval-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file mar_eval-0.1.0.tar.gz.

File metadata

  • Download URL: mar_eval-0.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for mar_eval-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e4cfb3cd1b210d85e09d411da29515b548076c351214c5b8dd957bf3191777e3
MD5 f5c31d1c8e454b9461413c02a7c3e0e1
BLAKE2b-256 04629da5a84b54e3e5cd495bf582ba84f59b0118d86845fd4531fbb3e9ead127

See more details on using hashes here.

File details

Details for the file mar_eval-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mar_eval-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for mar_eval-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f38769ea8dc03a47bf3f147effd96327f8fb4d86aaab099c0e0d051897d1ea7
MD5 1cda70db1788eebf239ac3aa8c474ba5
BLAKE2b-256 7dd0dac8bd622ffb5f06457d3bfb90785a6a74d91708495465ce9cfe39e4b93f

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