Author: Yousuf Abubakr (yousufabubakr123@berkeley.edu)
Lab: Grace O’Connell Biomechnics Lab (https://oconnell.berkeley.edu/)
Description: A toolkit for processing, analyzing, and visualizing morphological data from medical imaging datasets (e.g., STL meshes, MATLAB measurement files).
This repository contains scripts, data, and utilities for reconstructing, cleaning, and measuring vertebral and disc morphologies. It includes:
- Measurement extraction (MATLAB .mat files)
- Visualization scripts
- Reproducible workflows for morphological analysis
Morphological analysis of vertebrae and discs requires consistent, reproducible pipelines. This project organizes those pipelines into a structured, maintainable framework for personal research and future extensions.
Clone the repo
git clone https://github.com/YousufAbubakr/morphologies.git
📦morphoogies
┣ 📂data ← output files, figures, etc.
┃ ┣ 📂raw ← directory of subject data .mat files with raw geometry measurements
┃ ┃ ┣ 📜SubjectA.mat
┃ ┃ ┣ 📜SubjectB.mat
┃ ┃ ┣ ...
┃ ┣ 📂summary ← directory of summary morphology data for SPM analysis
┣ 📂docs ← helpful documentation
┣ 📂src ← utility, analysis, and pipeline codes
┃ ┣ 📂align-utils
┃ ┣ 📂analysis-utils
┃ ┣ 📂data-struct-utils
┃ ┣ ...
┃ ┣ 📜main.m ← end-to-end workflow program for processing vertebral and disc morphology data
┃ ┣ 📜setUtilPaths.m ← setting supplementary directory files into global MATLAB workspace
┣ 📂stl-geometries ← source .stl geometry data
┃ ┣ 📂disc-stls ← automated disc construction process in pipeline
┃ ┃ ┣ 📂Subject A
┃ ┃ ┃ ┣ 📜L1-L2.stl
┃ ┃ ┃ ┣ 📜L2-L3.stl
┃ ┃ ┃ ┣ ...
┃ ┣ 📂vertebra-stls ← imported from manual 3D slicer segmentations
┃ ┃ ┣ 📂Subject A
┃ ┃ ┃ ┣ 📜L1.stl
┃ ┃ ┃ ┣ 📜L2.stl
┃ ┃ ┃ ┣ ...
┣ 📜.gitattributes ← to ignore large / binary / generated files
┗ 📜README.md ← project overview, how to run, etc.
This repository is almost entirely self-contained in that all the files required for this workflow are located inside of these folders. The only files that aren't included are the 3D Slicer segmentation files that were used to develop the vertebrae geometry stls. These files are of considerable size and are stored elsewhere. Feel free to reach out to Yousuf Abubakr at yousufabubakr123@berkeley.edu if interested in obtaining these files.