Skip to content

Latest commit

 

History

History
47 lines (39 loc) · 2.47 KB

README.md

File metadata and controls

47 lines (39 loc) · 2.47 KB

How to Shape Model - A tutorial

The almost complete idiot guide to making your first shape model.

This repository contains the setup coding scripts and data used in the YouTube video series How to Shape Model.

In the video series, I go over all the practical design decisions when creating a statistical shape model (SSM).

Links to blog posts and videos of each tutorial

  1. Introduction/Overview and Point-correspondence
  2. Rigid Alignment
  3. Template design
  4. Deformable template / Kernel design
  5. Non-rigid registration/fitting
  6. Model evaluation
  7. Model visualization

The accompanying code can be found in the source folder. To generate all the output files as shown in the videos, execute each of the scala scripts in order.

If running from the command line, remember to include the project.scala file in the execution, e.g.:

// cd how-to-shape-model
scala-cli project.scala src/prepare_data/01_alignment.scala
scala-cli project.scala src/prepare_data/02_defineModel.scala
scala-cli project.scala src/prepare_data/03_registration.scala
scala-cli project.scala src/prepare_data/04_buildSSM.scala

Data is found in the data/ folder. Link to the original source of the data: