Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

impact-reg-konfai

Latest version: v1.9.0

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
PyPI package Publisher: vboussot
18 Stars
3 Forks
2 Versions
238 Downloads
Python Repo language

Scan summary

impact-reg-konfai was last scanned on 26 Nov 2026 at version 1.9.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions; the latest was published on 26 Nov 2026.
  • Findings: No rules fired in version 1.9.0.
  • Downloads: 238 downloads.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.9.0 LATEST 26 Nov 2026 No rules fired
1.8.8 3 Nov 2026 No rules fired

No rules fired in 1.9.0

Findings

Findings for v1.9.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.9.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

License PyPI version Python CI Paper

IMPACT-Reg-KonfAI

Fast and lightweight CLI for multimodal medical image registration using IMPACT-Reg presets within the KonfAI framework.


🧩 Overview

IMPACT-Reg-KonfAI is the command-line interface (CLI) for running IMPACT-Reg registration presets published in the VBoussot/ImpactReg Hugging Face repository, through the KonfAI deep learning framework.

IMPACT-Reg introduces a semantic similarity metric for multimodal registration, driven by deep features extracted from large pretrained segmentation and foundation models (TotalSegmentator, MIND, anatomix). The presets run it in three registration engines, elastix, ConvexAdam (through itk-impact) and FireANTs, beside intensity-based presets for pairs of the same modality.

A registration run combines:

  • fixed and moving images
  • one or more registration presets resolved from the published preset database (each preset is a KonfAI app)
  • optional image, segmentation, or landmark references (with an optional mask) for evaluation

🧠 Features

  • ⚡ Fast registration powered by KonfAI
  • 🤗 Automatic preset, parameter-map, and model download from Hugging Face
  • 🧩 Multi-preset ensembling (transforms averaged into a single displacement field)
  • 📏 Large images: a pair too large for the memory is registered whole on a grid sized to fit, then refined on native tiles by the presets that declare a tile pass; the outputs are on the native fixed grid
  • 🧠 Semantic IMPACT metric on deep features from pretrained segmentation / foundation models
  • 📐 Evaluation workflows against image, segmentation, and landmark references
  • 🧾 Multi-format compatibility: every format ITK reads, DICOM series, and OME-Zarr stores (the moved image comes back in the moving image's own format)

🗂️ Available presets

Each preset is a KonfAI app on VBoussot/ImpactReg, downloaded with its parameters and models on first use, and passed to register by name. List them with:

impact-reg-konfai list
Preset Pair Engine What it does
Elastix#rigid any elastix Rigid alignment, mutual information, multi-resolution
Elastix#rigid_bspline any elastix Rigid, then B-spline deformable refinement
Elastix#impact_static MRI / CT elastix + IMPACT Rigid, then a B-spline driven by TotalSegmentator (decoder, then segmentation head) and MIND, features extracted once
Elastix#impact_jacobian CT / CBCT elastix + IMPACT Rigid, then a B-spline driven by early TotalSegmentator layers, differentiated through the network
ConvexAdam#coarse any itk-impact The global coarse coupled-convex initialisation on MIND features
ConvexAdam#composite any itk-impact The same coarse pass followed by the Adam instance-optimisation refinement
ConvexAdam#impact_cbct CT / CBCT itk-impact The same pipeline on the second layer of TotalSegmentator MR
ConvexAdam#impact_mrct MRI / CT itk-impact The coarse initialisation alone, on the segmentation head of TotalSegmentator MR and MIND
FireANTs#syn any FireANTs Rigid, affine, then SyN diffeomorphic registration on the GPU
FireANTs#impact CT / CBCT FireANTs + IMPACT Rigid, affine, then SyN driven by IMPACT on early TotalSegmentator layers
FireANTs#anatomix any FireANTs + IMPACT anatomix and MIND features extracted once and registered as feature volumes
FireANTs#impact_mrct MRI / CT FireANTs + IMPACT Rigid, affine, then SyN on the last decoder layer of TotalSegmentator MR and MIND, extracted once

Every elastix and FireANTs deformable preset aligns the pair rigidly or affinely first, so a pair that starts centimetres apart needs no separate rigid run; the ConvexAdam presets have no such stage, their coarse search covering a few centimetres, and moments_init starts them from the translation between the centres. impact-reg-konfai show NAME says what a preset runs, needs and tunes, and the presets page which one suits which pair, with the benchmark behind that advice.

Give the CT a body mask (--fixed-mask) whenever it shows what the other image does not: a table, a head rest, a field of view past the MRI's. A deformable stage otherwise pulls the moving image onto them.


🚀 Installation

From PyPI:

python -m pip install impact-reg-konfai

The ConvexAdam presets run on itk-impact, whose wheels are built against torch 2.12: install that torch alongside, python -m pip install impact-reg-konfai "torch==2.12.*". A preset's requirements never replace the torch you have. The first elastix preset downloads the elastix-IMPACT binary (and, when your torch is another version than the one it was built with, the matching LibTorch), the first FireANTs preset installs fireants; see Installation, caches and troubleshooting.

From source:

git clone https://github.com/fideus-labs/KonfAI.git
cd KonfAI
# konfai and konfai-apps must come from the same checkout: this app pins both to its own
# setuptools_scm version, which only exists on PyPI at a release tag.
python -m pip install -e . -e konfai-apps -e apps/impact_reg

⚙️ Usage

The CLI is organised into sub-commands, matching the registration workflow:

Sub-command Purpose
list, show List the presets; say what one runs, needs, costs and tunes (show NAME).
register Register a moving image onto a fixed image with one or more presets. Several presets are ensembled (their displacement fields are averaged). Writes the transform, the moved image derived from it, a record of the run (register.json) and, with --uncertainty, the ensemble's stack (every preset's field, InferenceStack.mha).
eval Evaluate a registration on any subset of modalities: image (MAE), segmentation (Dice), landmarks (TRE), and for a displacement field its Jacobian (the fraction of folded voxels).
apply Warp more moving-side images through a transform: another sequence, or a label map (--labels, nearest neighbour).
uncertainty How an ensemble's registrations disagree, from its stack: the spread of the displacement vectors (a map, its mean and 95th percentile); with landmarks, their spread through every member and its calibration against the TRE; with a moving segmentation, how its propagations disagree.

Register a moving image onto a fixed image (ensemble several presets by listing them):

impact-reg-konfai register <PRESET> [<PRESET_2> ...] -f fixed.nii.gz -m moving.nii.gz -o ./Output --gpu 0
# an MRI onto a CT, with the CT's body mask:
impact-reg-konfai register Elastix#impact_static -f ct.nii.gz -m mr.nii.gz --fixed-mask ct_body.nii.gz -o ./Output --gpu 0

Each case gets its transform, Output/P000/Transform.h5 (an ITK transform mapping a fixed point to its moving partner, in mm) in the form the preset found: an affine for linear maps (Elastix#rigid), elastix's rigid then B-spline as such (kilobytes), a displacement field on the fixed grid for what is dense (ConvexAdam, FireANTs SyN). An ensemble, a TTA or a tiled run writes the field whatever the form, and --set transform_type=field forces it. The moving image resampled through it is Output/P000/Moved.<ext>. OME-Zarr stores go in and come out the same way:

impact-reg-konfai register FireANTs#syn -f fixed.ome.zarr -m moving.ome.zarr -o ./Output --gpu 0

The transform too: the preset's output dataset says where it goes, and Transform:omezarr writes Output/P000/Transform.ome.zarr, an NGFF RFC-5 displacements field in the images' unit, in place of the .h5. RFC-5 places a field by a scale and a translation: on an oblique grid, the store has no displacements entry, and its rotation stays in a sidecar only KonfAI reads.

impact-reg-konfai register FireANTs#syn -f fixed.ome.zarr -m moving.ome.zarr -o ./Output --gpu 0 \
  --set Predictor.outputs_dataset.DisplacementField.OutputDataset.dataset_filename=Transform:omezarr

Evaluate a registration on any subset of modalities, always from the original moving data (the transform warps it); without --transform it scores the pair as it came:

impact-reg-konfai eval \
  --transform ./Output/P000/Transform.h5 \
  -f fixed.nii.gz -m moving.nii.gz --mask roi.nii.gz \
  --gt-fixed-seg fixed_seg.nii.gz --gt-moving-seg moving_seg.nii.gz \
  --gt-fixed-fid fixed.fcsv --gt-moving-fid moving.fcsv \
  -o ./Output --gpu 0

Warp a label map of the moving image onto the fixed one:

impact-reg-konfai apply --transform ./Output/P000/Transform.h5 -f fixed.nii.gz -i moving_labels.nii.gz --labels -o ./Output/P000

Measure how an ensemble's registrations disagree, from the stack register --uncertainty keeps:

impact-reg-konfai register <PRESET_1> <PRESET_2> -f fixed.nii.gz -m moving.nii.gz -o ./Output --gpu 0 --uncertainty
impact-reg-konfai uncertainty -i ./Output/P000/InferenceStack.mha --gt-fixed-fid fixed.fcsv -o ./Uncertainty
register arguments

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases impact-reg-konfai

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229