Code covered by the BSD License  

Highlights from
Active Shape Model (ASM) and Active Appearance Model (AAM)

image thumbnail

Active Shape Model (ASM) and Active Appearance Model (AAM)

by

Dirk-Jan Kroon (view profile)

 

16 Feb 2010 (Updated )

Cootes 2D/3D Active Shape & Appearance Model for automatic image object segmentation and recognition

g=AAM_NormalizeAppearance3D(gim,options)
function g=AAM_NormalizeAppearance3D(gim,options)
if(options.normalizeg)
	% Normalize appearance data grey values
	color(2)=mean(gim);
	color(1)=std(gim)+eps;
	g=(gim-(color(2)))/(color(1));
else
	g=gim;
end
g(isnan(g))=0;
g(~isfinite(g))=0;

Contact us