Corresponding points through mdl in matlab

The following Matlab project contains the source code and Matlab examples used for corresponding points through mdl. An Active Shape Model (ASM) can only be trained if we have a set of corresponding points between object contours (2D) or object surfaces(3D).

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
CircleMDL2D.m 8314
fminlbfgs.m 32282
imgaussian.m 2416
NormalizePoints.m 4542
PCA.m 704
SVD_DL.m 2326
SVD_MD.m 2124
transformvertices.m 636
AlphaGradient1D.m 818
Map2Line.m 110
MapLine2Object.m 1481
MapLine2ObjectUpdate.m 552
MapObject2Line.m 907
UniformLine.m 73
UpdateMapping1D.m 1100
AffineGradient2D.m 506
AlphaGradient2D.m 2116
ContourNormals2D.m 592
getArea.m 205
getExampleImageContour.m 642
LineCurvature2D.m 4176
LineLineIntersect.m 1493
Map2Circle.m 2347
MapCircle2Object.m 1791
MapCircle2ObjectUpdate.m 572
MapObject2Circle.m 1004
UniformCircle.m 208
UpdateMapping2D.m 1989
AlphaGradient3D.m 1100
BarycentricCoordinatesTriangle.m 884
BaryCentricCorrection.m 1655
CheckMeshFoldingSphere.m 470
ErrorMesh.m 103
FaceNormals.m 999
getAngle.m 206
getArea.m 475
GetImageSurface.m 542
GreatCircleDistance.m 335
imresize3d.m 1239
LongLatGradient.m 586
Map2Sphere.m 6573
MapObject2Sphere.m 1642
MapSphere2Object.m 4014
MapSphere2ObjectUpdate.m 796
compile_c_files.m 643
example_jaw.mat 3016
example_sphere.mat 1846
BoundaryCollapse3D.m 3344
DelaunayInside3D.m 3270
BarycentricCoordinatesTetrahedron.c 816
BarycentricCoordinatesTriangle.c 703
CheckInsideFace.c 974
CheckPointOutInside.c 1655
CheckVolumeFaceMesh.c 1542
CheckVolumeTetraMesh.c 1776
func_BarycentricCoordinatesTetrahedron.c 1644
func_BarycentricCoordinatesTriangle.c 1130
func_CheckInsideFace.c 635
func_cross.c 130
func_Determinant.c 809
func_LineLineIntersect.c 1999
func_LineTriangleIntersection.c 2546
func_SphereFrom4Points.c 2058
func_TriangleTriangleIntersection.c 1802
LineLineIntersect.c 1331
LineTriangleIntersection.c 1593
SphereFrom4Points.c 921
TriangleTriangleIntersection.c 1168
BarycentricCoordinatesTetrahedron.m 642
BarycentricCoordinatesTriangle.m 884
CheckFaceOrientations.m 379
CheckInputMesh.m 856
CheckInsideFace.m 409
CheckInsideTetrahedron.m 404
CheckMeshInterSections.m 795
CheckMoveInside3D.m 709
CheckPointOutInside3D.m 1073
CheckPointsInsideTetrahedron.m 777
CheckVisiblePoint3D.m 694
CheckVolumeFaceMesh.m 393
CheckVolumeTetraMesh.m 448
collapse_edge.m 2423
GetRemainingFaces.m 536
InsidePoints3D.m 501
LineTriangleIntersection.m 1050
make_left_vertice_list.m 783
PointToClosestPointOnLine.m 414
PointToClosestPointOnPlane.m 528
process.m 890
RemoveInvalidTetrahedrons.m 1521
retry_remove_tetrahedrons.m 1923
ReturnSepparateFaceObjects.m 960
solveInterSections.m 2426
TriangleTriangleIntersection.m 590
visibility_matrix_3D.m 250
VolumeCheck.m 240
VolumeCheckNew.m 300
Mesh2Tetra.m 5128
OptimalSphere.m 615
OptimizeSphere.m 1748
patchnormals.m 2071
patchnormals_double.c 5340
patchnormals_double.m 1355
patchnormals_double.mexw64 10240
PointToClosestPointOnPlane.m 528
RelaxMesh.m 1874
RotationMatrixTransform.m 189
Sphere2XYZ.m 198
SphereData.m 959
test.m 1282
testdata3d.mat 211013
testdata3dsmall.mat 23707
testmap2sphere.m 2002
triangle_angles.m 1555
triangle_area.m 1272
uniformspherefv.mat 1363931
UniformSphere_old.m 214
UpdateMapping3D.m 823
UpdateSphere.m 582
VectorRotationMatrix.m 373
vertex_neighbours.m 299
vertex_neighbours_double.c 7467
vertex_neighbours_double.m 2237
vertex_neighbours_double.mexw64 9216
XYZ2Sphere.m 174
land001.mat 358
land002.mat 358
land003.mat 355
land004.mat 355
land005.mat 359
land006.mat 356
land007.mat 357
land008.mat 358
land009.mat 356
land010.mat 357
segm001.png 6550
segm002.png 6980
segm003.png 7740
segm004.png 8256
segm005.png 7204
segm006.png 5714
segm007.png 9097
segm008.png 5596
segm009.png 9915
segm010.png 6561
train001.jpg 21022
train002.jpg 32785
train003.jpg 25816
train004.jpg 31684
train005.jpg 32044
train006.jpg 22160
train007.jpg 21454
train008.jpg 24265
train009.jpg 22379
train010.jpg 22093
land001.mat 464
land002.mat 460
land003.mat 475
land004.mat 464
land005.mat 475
land006.mat 463
land007.mat 474
land008.mat 470
land009.mat 478
land010.mat 470
segm001.mat 295777
segm002.mat 256501
segm003.mat 279033
segm004.mat 278983
segm005.mat 254255
segm006.mat 271473
segm007.mat 264581
segm008.mat 260779
segm009.mat 282365
segm010.mat 287248
surface001.mat 310319
surface002.mat 397389
surface003.mat 423412
surface004.mat 428440
surface005.mat 393678
surface006.mat 404080
surface007.mat 398322
surface008.mat 403436
surface009.mat 422648
surface010.mat 433548
license.txt 1314
LineMDL.m 8328
SphereMDL3D.m 8499