A series of functions to import, transform, manipulate, and plot DICOM medical imaging files. This repository uses MRIs of the heart and isolates the left ventrical to calculate ejection fraction, but the functions are generalized enough to other manual image segmentation processes for working with time series images.
Data was sourced from the Biomedical Image Analysis in Python course on DataCamp, which consisted of a single patient's data from the Cardiac Atlas Project. Follow data camp link to access specific data used in this script, or download the zip file directly here. Most of the workflow was also adapted from that tutorial, though combined into more generalized functions.
Examples of output plots for one of the time series images is shown below:
Figure 1: High contrast gif of echocardiogram
Figure 2: Segment overlay gif of echocardiogram highlighting regions within the heart
The left ventircal is the light blue region near the middle