Code covered by the BSD License  

Highlights from
Shape Context Based Corresponding Point Models

4.75

4.8 | 4 ratings Rate this file 134 Downloads (last 30 days) File Size: 18.45 MB File ID: #30845
image thumbnail

Shape Context Based Corresponding Point Models

by Dirk-Jan Kroon

 

24 Mar 2011 (Updated 26 Jan 2012)

Shape Context based nonrigid registration of 2D/3D objects, to build Active Shape Models

| Watch this File

File Information
Description

Shape Context is a method to get an unique descriptor (feature vector) for every point of an object contour or surface. This descriptor is used in combination with a b-spline free form deformation grid, for fully automatic creation of point mappings between surfaces of patient datasets (2D/3D).

The 2D Example will create a corresponding point model (PCM) for a set of 10 2D hand contours.

The 3D Example will create a PCM for a set of 10 3D jaw triangulated surfaces.

There are also examples using the PCM's to train and use 2D/3D Active Shape Models (ASM) and Active Appearance Models (AAM). (folder "ActiveModels_version7")

The 2D example takes a couple of minutes. The 3D-example about 7 hours, and requires 64bit Matlab.

The non-rigid mapping between datasets is kept Diffeomorphic to prevent mesh folding. But the optimizer doesn't succeeded in all cases of the 3D-example (maybe in next update)

Notes:
- The examples, will compile some c-coded functions into MEX files. In case of failure slower Matlab coded functions will be used.
- Most functions in this zip-archive are also available as standalone files on the File-Exchange, and can be newer/updated.

MATLAB release MATLAB 7.11 (2010b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (8)
24 Mar 2011 Sebastien PARIS

A master piece ...

10 May 2011 wang

why I can not download it?

10 Jun 2011 M M

how long should the 2D example take to run?

23 Sep 2011 l.l.

Hi! I don't understand how to set landmarks on my 3D dataset. I have to manually fix them on each image?
Thanks in advance and I apologize if the claim proves foolish.
L.

18 Feb 2012 Li Cheng

I found MATLAB code for active contours model in 1998 for a long time. Then found it. Really a good job!

24 Apr 2012 Birgit  
24 Apr 2012 Birgit

When I run BuildingModels\Example3D the function createns(), knnsearch() and maybe others called by Horn_Align_ICP are missing. Could the deliver be incomplete?

24 Apr 2012 Dirk-Jan Kroon

*Birgit
Knnsearch is part of the "Statistics Toolbox" of Matlab. Maybe you can find a similar but free implementation on the File Exchange

Please login to add a comment or rating.
Updates
26 Jan 2012

Many bugs solved. Less memory usage.

Tag Activity for this File
Tag Applied By Date/Time
shape context Dirk-Jan Kroon 24 Mar 2011 10:11:40
corresponding point models Dirk-Jan Kroon 24 Mar 2011 10:11:40
corresponding points Dirk-Jan Kroon 24 Mar 2011 10:11:40
asm Dirk-Jan Kroon 24 Mar 2011 10:11:40
aam Dirk-Jan Kroon 24 Mar 2011 10:11:40
active shape model Dirk-Jan Kroon 24 Mar 2011 10:11:40
registration Dirk-Jan Kroon 24 Mar 2011 10:11:40
nonrigid Dirk-Jan Kroon 24 Mar 2011 10:11:40
bspline Dirk-Jan Kroon 24 Mar 2011 10:11:40
deformation Dirk-Jan Kroon 24 Mar 2011 10:11:40
point matching Dirk-Jan Kroon 24 Mar 2011 10:11:40
surface reg Dirk-Jan Kroon 24 Mar 2011 10:11:40
icp Dirk-Jan Kroon 24 Mar 2011 10:11:40
2d Dirk-Jan Kroon 24 Mar 2011 10:11:40
3d Dirk-Jan Kroon 24 Mar 2011 10:11:40
training Dirk-Jan Kroon 24 Mar 2011 10:11:40
building Dirk-Jan Kroon 24 Mar 2011 10:11:40
mapping Dirk-Jan Kroon 24 Mar 2011 10:11:40
surface Dirk-Jan Kroon 24 Mar 2011 10:11:40
contour Dirk-Jan Kroon 24 Mar 2011 10:11:40
closest point Dirk-Jan Kroon 24 Mar 2011 10:11:40
icp Agata 28 Jan 2012 16:27:56
3d chahhou 27 Feb 2012 12:20:30

Contact us at files@mathworks.com