Shape Context Based Corresponding Point Models

Shape Context based nonrigid registration of 2D/3D objects, to build Active Shape Models
10.5K Downloads
Updated 26 Jan 2012

View License

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.

Cite As

Dirk-Jan Kroon (2024). Shape Context Based Corresponding Point Models (https://www.mathworks.com/matlabcentral/fileexchange/30845-shape-context-based-corresponding-point-models), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

ActiveModels_version7/

ActiveModels_version7/AAM Functions/

ActiveModels_version7/ASM Functions/

ActiveModels_version7/Functions/

ActiveModels_version7/InterpFast_version1/

ActiveModels_version7/PatchNormals_version1/

ActiveModels_version7/PieceWiseLinearWarp_version2/

ActiveModels_version7/PieceWiseLinearWarp_version2/functions/

ActiveModels_version7/polygon2voxel_version1j/

BuildingModels/

BuildingModels/DistanceFieldCP_version1/

BuildingModels/DistanceFieldCP_version1/functions/

BuildingModels/DistanceFieldCP_version1/polygon2voxel_version1j/

BuildingModels/ShapeContext_version2/

BuildingModels/ShapeContext_version2/functions/

BuildingModels/functions/

BuildingModels/isocontour_version2/

BuildingModels/nonrigid_version25/

BuildingModels/nonrigid_version25/functions/

BuildingModels/nonrigid_version25/functions_affine/

BuildingModels/nonrigid_version25/functions_nonrigid/

BuildingModels/nonrigid_version25/low_level_examples/

BuildingModels/polygon2voxel_version1j/

Version Published Release Notes
1.1.0.0

Many bugs solved. Less memory usage.

1.0.0.0