EchoNet Cardiac Analysis Tutorial

Left-ventricle segmentation and ejection-fraction prediction from echocardiograms β€” from setup to results.

Welcome to this tutorial on automated echocardiography analysis. It walks you through two ready-to-run scripts built on top of the EchoNet-Dynamic deep-learning models:

  • PredictSegmentation.py β€” segments the left ventricle (LV) in ultrasound videos and .npy images, measures LV area and detects systolic frames.

  • PredictEF.py β€” predicts the ejection fraction (EF) of the heart directly from an apical-4-chamber ultrasound video.

  • CalculateStats.py β€” (optional) computes the per-channel MEAN/STD used to normalise inputs, so you can retune the models for your own dataset.

Note

Both scripts run on Windows or Linux, with or without an NVIDIA GPU. A GPU is strongly recommended for video processing but not required.




Tutorial Overview

#

Chapter

What you will learn

1

Introduction

The two tools, EchoNet-Dynamic background, the workflow

2

Installation

Conda environment, dependencies, model weights

3

Data Preparation

Accepted input formats (videos and .npy), folder layout

4

Normalization Statistics

Computing MEAN/STD for your own data with CalculateStats.py

5

LV Segmentation

Running PredictSegmentation.py, reading its outputs

6

EF Prediction

Running PredictEF.py, interpreting EF values

7

Results & Troubleshooting

Output files, common errors and how to fix them

8

Downloads

The three scripts and two pretrained weights, ready to download


Indices and tables