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.

...
function [pack1,pack2] = ...
      split(image1,image2,image3,image4,image5,image6,image7,image8,image9,image10)

% USAGE: splits the image function x into half:
% y = x(rowstart:rowend,columnstart:columnend);
% Adjustable depending of nature of face image


u8 = image8(:,1:46);
v8 = image8(:,47:92);

u7 = image7(:,1:46);
v7 = image7(:,47:92);

u6 = image6(:,1:46);
v6 = image6(:,47:92);

u5 = image5(:,1:46);
v5 = image5(:,47:92);

%-----------------
u1 = image1(:,1:46); 
v1 = image1(:,47:92);

u3 = image3(:,1:46); 
v3 = image3(:,47:92);

u4 = image4(:,1:46); 
v4 = image4(:,47:92);

u9 = image9(:,1:46);
v9 = image9(:,47:92);

u10 = image10(:,1:46);
v10 = image10(:,47:92);

u2 = image2(:,1:46);
v2 = image2(:,47:92);

pack1 = {u1,u2,u3,u4,u5,u6,u7,u8,u9,u10};
pack2 = {v1,v2,v3,v4,v5,v6,v7,v8,v9,v10};


Contact us