/i4h-catheter-navigation-render-drr
Render a single DRR fluoroscopy frame from a CT cache or synthetic phantom. Use when asked to render DRR, generate a fluoro image, or smoke-test the Slang renderer.
$ npx -y skills add NVIDIA/skills --skill i4h-catheter-navigation-render-drr --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/i4h-catheter-navigation-render-drr
Context preview
The summary Claude sees to decide when to auto-load this skill.
Render a single DRR fluoroscopy frame from a CT cache or synthetic phantom. Use when asked to render DRR, generate a fluoro image, or smoke-test the Slang renderer.
SKILL.md
i4h-catheter-navigation-render-drr.SKILL.mdname: i4h-catheter-navigation-render-drr
version: "0.7.0"
description: Render a single DRR fluoroscopy frame from a CT cache or synthetic phantom. Use when asked to render DRR, generate a fluoro image, or smoke-test the Slang renderer.
license: Apache-2.0
metadata:
author: "Isaac for Healthcare Team <isaac-for-healthcare-support@nvidia.com>"
tags:
- isaac-for-healthcare
- i4h
- catheter-navigation
- drr
- fluoroscopyi4h Catheter Navigation - Render DRR
Purpose
Render a single digitally reconstructed radiograph (DRR) frame. Works with a preprocessed CT cache from [[i4h-catheter-navigation-digital-twin]], a direct NIfTI/DICOM path, or the built-in synthetic phantom (no data required).
Base Code
ROOT="${I4H_WORKFLOWS:-$(git rev-parse --show-toplevel 2>/dev/null)}"
if [ ! -d "$ROOT/workflows/catheter_navigation" ]; then
ROOT="${I4H_WORKFLOWS:-$HOME/i4h-workflows}"
[ -d "$ROOT/workflows/catheter_navigation" ] || git clone https://github.com/isaac-for-healthcare/i4h-workflows "$ROOT"
fi
export I4H_WORKFLOWS="$ROOT"; cd "$ROOT"Basics
- Default mode in `metadata.json`; self-contained with synthetic phantom when no `--cache` is given.
- GPU + slangpy required for actual rendering.
- Entry mode: `./i4h run catheter_navigation render_drr` (preferred).
Run
Run the steps below in order. Each step is a separate bash call; variables persist in the local agent's tmux session.
Step 1 - resolve run dir
REPO_ROOT="${I4H_WORKFLOWS:-$(git rev-parse --show-toplevel 2>/dev/null)}"; [ -d "$REPO_ROOT/workflows/catheter_navigation" ] || REPO_ROOT="$HOME/i4h-workflows"
WF_ROOT="${REPO_ROOT}/workflows/catheter_navigation"
RUN_DIR="${WF_ROOT}/runs/render_drr_$(date +%Y%m%d_%H%M%S)"
mkdir -p "${RUN_DIR}/logs"
ln -sfn "${RUN_DIR}" "${WF_ROOT}/runs/.latest"
OUTPUT="${RUN_DIR}/drr.png"
CACHE="${CACHE:-}"Step 2 - render (pick one variant)
**Synthetic phantom (fastest smoke, no data):**
"${REPO_ROOT}/i4h" run catheter_navigation render_drr --local \
--run-args="--output ${OUTPUT}" \
2>&1 | tee "${RUN_DIR}/logs/render_drr.log"**From preprocessed cache:**
if [ ! -d "${CACHE}" ] || [ ! -f "${CACHE}/mu_volume.npy" ]; then
echo "render-drr: set CACHE to a preprocess_ct output dir (missing mu_volume.npy)." >&2
exit 1
fi
"${REPO_ROOT}/i4h" run catheter_navigation render_drr --local \
--run-args="--cache ${CACHE} --output ${OUTPUT}" \
2>&1 | tee "${RUN_DIR}/logs/render_drr.log"Verify
test -f "${OUTPUT}"
file "${OUTPUT}"Prerequisites
- [[i4h-catheter-navigation-setup]] completed.
- NVIDIA GPU with slangpy for rendering (CPU smoke tests do not cover GPU render).
Limitations
- Single-frame render only; batch multi-env RL rendering uses the fluorosim Python API directly.
- Catheter compositing in DRR requires attaching a `CatheterProvider` in custom scripts (not the default example).
Troubleshooting
- **Error:** slangpy / CUDA failures - Fix: run without `--local` to use Docker, or verify GPU driver >= 570 and CUDA 12.8.
- **Error:** cache not found - Fix: run [[i4h-catheter-navigation-digital-twin]] first or use synthetic mode (no `--cache`).
Final Response
Report output PNG path, whether synthetic or patient cache was used, and log path. Recommend [[i4h-catheter-navigation-viewport]] for interactive navigation.
Read more
name: i4h-catheter-navigation-render-drr
version: "0.7.0"
description: Render a single DRR fluoroscopy frame from a CT cache or synthetic phantom. Use when asked to render DRR, generate a fluoro image, or smoke-test the Slang renderer.
license: Apache-2.0
metadata:
author: "Isaac for Healthcare Team <isaac-for-healthcare-support@nvidia.com>"
tags:
- isaac-for-healthcare
- i4h
- catheter-navigation
- drr
- fluoroscopyi4h Catheter Navigation - Render DRR
Purpose
Render a single digitally reconstructed radiograph (DRR) frame. Works with a preprocessed CT cache from [[i4h-catheter-navigation-digital-twin]], a direct NIfTI/DICOM path, or the built-in synthetic phantom (no data required).
Base Code
ROOT="${I4H_WORKFLOWS:-$(git rev-parse --show-toplevel 2>/dev/null)}"
if [ ! -d "$ROOT/workflows/catheter_navigation" ]; then
ROOT="${I4H_WORKFLOWS:-$HOME/i4h-workflows}"
[ -d "$ROOT/workflows/catheter_navigation" ] || git clone https://github.com/isaac-for-healthcare/i4h-workflows "$ROOT"
fi
export I4H_WORKFLOWS="$ROOT"; cd "$ROOT"Basics
- Default mode in `metadata.json`; self-contained with synthetic phantom when no `--cache` is given.
- GPU + slangpy required for actual rendering.
- Entry mode: `./i4h run catheter_navigation render_drr` (preferred).
Run
Run the steps below in order. Each step is a separate bash call; variables persist in the local agent's tmux session.
Step 1 - resolve run dir
REPO_ROOT="${I4H_WORKFLOWS:-$(git rev-parse --show-toplevel 2>/dev/null)}"; [ -d "$REPO_ROOT/workflows/catheter_navigation" ] || REPO_ROOT="$HOME/i4h-workflows"
WF_ROOT="${REPO_ROOT}/workflows/catheter_navigation"
RUN_DIR="${WF_ROOT}/runs/render_drr_$(date +%Y%m%d_%H%M%S)"
mkdir -p "${RUN_DIR}/logs"
ln -sfn "${RUN_DIR}" "${WF_ROOT}/runs/.latest"
OUTPUT="${RUN_DIR}/drr.png"
CACHE="${CACHE:-}"Step 2 - render (pick one variant)
**Synthetic phantom (fastest smoke, no data):**
"${REPO_ROOT}/i4h" run catheter_navigation render_drr --local \
--run-args="--output ${OUTPUT}" \
2>&1 | tee "${RUN_DIR}/logs/render_drr.log"**From preprocessed cache:**
if [ ! -d "${CACHE}" ] || [ ! -f "${CACHE}/mu_volume.npy" ]; then
echo "render-drr: set CACHE to a preprocess_ct output dir (missing mu_volume.npy)." >&2
exit 1
fi
"${REPO_ROOT}/i4h" run catheter_navigation render_drr --local \
--run-args="--cache ${CACHE} --output ${OUTPUT}" \
2>&1 | tee "${RUN_DIR}/logs/render_drr.log"Verify
test -f "${OUTPUT}"
file "${OUTPUT}"Prerequisites
- [[i4h-catheter-navigation-setup]] completed.
- NVIDIA GPU with slangpy for rendering (CPU smoke tests do not cover GPU render).
Limitations
- Single-frame render only; batch multi-env RL rendering uses the fluorosim Python API directly.
- Catheter compositing in DRR requires attaching a `CatheterProvider` in custom scripts (not the default example).
Troubleshooting
- **Error:** slangpy / CUDA failures - Fix: run without `--local` to use Docker, or verify GPU driver >= 570 and CUDA 12.8.
- **Error:** cache not found - Fix: run [[i4h-catheter-navigation-digital-twin]] first or use synthetic mode (no `--cache`).
Final Response
Report output PNG path, whether synthetic or patient cache was used, and log path. Recommend [[i4h-catheter-navigation-viewport]] for interactive navigation.
Official, NVIDIA-verified Agent Skills for Claude Code, Codex, and other coding agents.
Other skills on nvidia-skills.
- /nvidia-skill-finder
Use for NVIDIA-related requests where an NVIDIA skill might help, even if the user did not ask for a skill. Trigger on NVIDIA products, hardware, software, SDKs, GPUs, Jetson/JetPack/L4T/BSP/SDK Manager/driver/flashing/setup, CUDA, NIM, NeMo, Omniverse/OpenUSD/SimReady,
Open skill - /accelerated-computing-cudf
Official NVIDIA-authored guidance for NVIDIA cuDF GPU DataFrames, pandas acceleration, dask-cuDF, ETL, joins, groupby, CSV/Parquet I/O, nullable semantics, and multi-GPU DataFrame workloads.
Open skill - /aiq-deploy
Use when asked to install, deploy, run, validate, troubleshoot, or stop NVIDIA AI-Q Blueprint infrastructure.
Open skill - /aiq-research
Use when asked to run deep research or AI-Q research through a reachable NVIDIA AI-Q Blueprint backend.
Open skill - /amc-run-sample-calibration
Run end-to-end calibration on the shipped sample dataset (sdg_08_2_sample_data_010926.zip) against a running AMC microservice. Use when user says 'test sample dataset', 'run sample calibration', 'verify AMC install', or 'launch and test'.
Open skill - /amc-run-video-calibration
Calibrate a new dataset from pre-recorded video files via the AutoMagicCalib REST API. Use when user has local MP4s and says 'calibrate my videos', 'run AMC on these videos', or similar. For RTSP/live streams, use amc-run-rtsp-calibration instead.
Open skill

