Aorta Health Reference

Aorta Health Help

Use this static guide to understand local versus cloud mode, serial versus parallel execution, case selection, segmentation choices, rerun rules, reports, and common failures.

Quick Start

For most users, the simplest workflow is best. Choose the dataset, keep the default settings, run the full pipeline, and review the generated previews and reports.

Choose the dataset and CT folder.

The dataset name organizes outputs. The CT folder should point to the selected CT dataset or its parent folder. Local CT files commonly end in _0000.nrrd.

Keep Run All Stages for a complete first pass.

Run All Stages performs segmentation and downstream phenotype extraction. If you already have masks, switch Segmentation Input to Supply My Own Segmentations.

Use one case first when testing.

A single de-identified case is the safest way to verify paths, segmentation quality, report rendering, and runtime before starting a larger batch.

Review visuals before trusting measurements.

The final labeled visualization, segmentation preview, and case report help confirm that the numbers are connected to plausible anatomy.

Aorta Health supports quantitative image analysis and review. It does not diagnose patients or replace review by qualified clinicians.

Local vs Cloud

The same overall workflow can run on the local machine or through the hosted cloud workflow. The right choice depends on data handling, compute needs, and cost tolerance.

Local mode

Runs on the machine you control.

  • Uses local folders for CTs, segmentations, outputs, reports, and logs.
  • A good fit for development, small batches, and data that should stay local.
  • Performance depends on the workstation and local environment.
  • No cloud worker runtime cost, but the local computer is occupied during processing.
Cloud mode

Uploads selected files and runs a remote worker.

  • Uploads selected CTs and segmentations to Google Cloud Storage.
  • Starts a Cloud Run worker job for heavier processing.
  • Writes progress, reports, logs, and outputs back to the configured cloud bucket.
  • Can use parallel workers, but cost accumulates faster when more workers run.
Current documented cloud setup: project aorta-health, region us-central1, bucket aorta_health_storage, web service aorta-health-web, and worker job aorta-health-worker. The app knows the configured region, but it does not expose the exact physical Google data center behind that region.

Serial vs Parallel

Serial and parallel are cloud execution choices. They are different from the local Per Case versus Per Stage processing mode.

Serial cloud execution

Runs one case at a time. This is the safer default for early testing because it is easier to debug and easier to control cost.

Parallel cloud execution

Runs multiple cases at once on separate cloud workers. It can finish a batch sooner, but uses more simultaneous CPU and memory and can hit quota or budget limits.

Practical recommendation

Start with Serial or parallelism 2. Increase only after a small test run succeeds and the team is comfortable with runtime, logs, and cost behavior.

Interactive serial session

In cloud Serial mode, keeping one worker alive can make repeated jobs feel closer to local development. It avoids repeated warmup delay, but the worker keeps billing until End Session or the inactivity timeout stops it.

Setting What it changes Best use
Serial One cloud worker processes one case at a time. Cost-safe testing, debugging, first run on a dataset.
Parallel Multiple cloud workers process cases at the same time. Larger batches where wall-clock time matters and cost/quota are acceptable.
Per Case Completes all selected stages for one case before moving to the next. Review finished case outputs as soon as possible.
Per Stage Runs one selected stage across all cases, then moves to the next stage. Refreshing one stage across a dataset or debugging a stage-specific issue.

Stages

The stage labels are visible in the app. You do not need to understand the internal notebooks to use Aorta Health, but the stage sequence explains why earlier outputs matter.

1.0 Segmentation

Creates an anatomy mask using nnU-Net or prepares supplied masks for downstream analysis.

2.1 Orientation Review

Checks the basic orientation and prepares the anatomy for spatial reasoning.

2.2 Skeleton and Bifurcation

Finds the aortic backbone and the aortic bifurcation, using redundant signals so the downstream analysis has a stable landmark.

2.3 Posterior-Anterior Labeling

Adds anatomical context so the pipeline can reason about front-back relationships instead of treating the aorta as a simple tube.

2.4 Branch Analysis

Identifies branch candidates and named branch relationships that help make neck, renal, and abdominal measurements more interpretable.

2.5 Centerline and Cross-Sections

Builds centerline and cross-sectional geometry used for diameter, area, tortuosity, and quality-control views.

2.6 Phenotype Extraction

Extracts structured quantitative outputs such as maximum transverse diameter, aneurysm volume, thrombus burden, calcium burden, tortuosity, and related morphology.

2.7 Final Visualization

Creates the labeled visual review artifacts that connect the measurements back to anatomy.

Settings

Advanced Configuration changes what runs, which cases are included, and whether old outputs are reused.

Segmentation Input

Inference Segmentations means Aorta Health creates masks. Supply My Own Segmentations means phenotype extraction uses masks you already have.

Segmentation Quality

Fast is the usual first choice. High Quality is slower and more conservative, useful for smaller batches or cases needing closer review.

Run Scope

All Cases runs every matched case, subject to filters. One Case is best for testing, troubleshooting, or inspecting a specific case.

Subset Filter

Use a case number range, name pattern, or both. Example: range 2-50 plus pattern ^AVT includes AVT_02 and excludes SBUH_10.

Case Order

Run alphanumerically, by segmentation size, or by oldest selected output. Sorting by last completed output is useful when refreshing stale or missing work.

Stage Rerun Rule

Always Run regenerates outputs. Only If Missing saves time. Notebook Changed reruns updated analysis logic. Older Than Threshold refreshes stale outputs.

Reports and Outputs

Aorta Health writes structured outputs so users can review individual cases and whole datasets without manually tracking every file.

Dataset report

The full report summarizes the latest known result for the dataset. It may include outputs generated by different runs if some cases were refreshed later.

Case report

The case report focuses on one case and is usually the best place to inspect case-level outputs and links.

Metrics report

The metrics report gives table-style quantitative outputs, useful for screening plausibility and comparing cases.

Visual previews

Interactive visualizations help identify whether segmentation, branch labels, centerline geometry, and final measurements look reasonable.

Aorta Health Assistant

The chatbot is helpful for workflow questions and troubleshooting, but it is separate from CT processing.

What it can use

  • Your current question and a short recent chat history.
  • Safe app context such as local/cloud mode, selected settings, current run state, selected case, and visible errors.
  • RAG documentation from the Aorta Health vector store when project-specific facts are needed.

What it should not receive

  • Raw CT images.
  • Segmentation masks.
  • Full generated reports by default.
  • Patient identifiers or protected health information.
Use the chatbot for current-state questions like "Why did this case fail?" Use this help page for stable reference material that should not depend on the current app state.

Troubleshooting

Open the relevant item below. Most failures come from path mismatch, missing segmentation, reused stale output, or an interrupted run.

Case failed because segmentation is missing

This usually means phenotype extraction was started for a case that does not have a paired segmentation mask.

  • If starting from CTs, run Stage 1 Segmentation first.
  • If masks already exist, choose Supply My Own Segmentations and select the correct segmentation folder.
  • Check that CT and segmentation case IDs match exactly.
  • For a quick test, switch Scope to One Case and use a case you know is paired.
Segmentation fails or looks wrong
  • Confirm CT naming, usually like CASE_0000.nrrd.
  • Confirm the CT folder points to the intended dataset.
  • Confirm model weights and environment setup completed.
  • Try one case first, then inspect the segmentation preview before running a large batch.
Report looks stale
  • Refresh the app page and open the report from the current app link.
  • Check the Stage Rerun Rule. Only If Output Missing may intentionally reuse existing outputs.
  • If you need fresh results, use Always Run for the selected stages.
Resume is confusing
  • Resume Pipeline continues a currently paused local run.
  • Resume Incomplete finds an interrupted or ended local run from saved metadata.
  • Resume is stage-based. If a run stopped halfway through a stage, that case and stage restart from the beginning.
  • In cloud interactive Serial mode, Pause stops the active stage and Resume can continue from the saved run state. End Run stops the current job but leaves the warm session alive; End Session stops the worker.
  • For non-interactive or failed cloud runs, starting a new run is usually clearer than trying to recover the old one.
Cloud run is slow or expensive
  • Start with Serial or a low parallelism setting.
  • Run one or two cases first to estimate time and cost.
  • Use the interactive Serial session only when you plan to run several jobs close together.
  • Remember that segmentation is usually heavier than phenotype-only runs.
  • Large CTs, high-quality segmentation, more workers, and large visual outputs can all increase runtime and cost.