Code covered by the BSD License  

Highlights from
Morphological Shared-Weight Neural Network for Face Recognition

image thumbnail

Morphological Shared-Weight Neural Network for Face Recognition

by

 

31 Dec 2004 (Updated )

MSNN has the ability to learn feature extraction and perform classification at the same time.

tansigfx(t);
function [sig] = tansigfx(t);

% USAGE: y = tansigfx(x)
% tansigfx gives back the Boltzmann/logistic/Fermi function:
% y = 2*(((1+exp(-x)).^-1)-0.5);
% t is the face matrix of the system
% t can be a scalar or a matrix with
% the same dimension as x 

[ni,nj]=size(t);
un=ones(ni,nj);

sig=2*(((un+exp(-t)).^-1)-0.5);

Contact us