Ear Recognition. By: Zeyangyi Wang

Similar documents
% Edit the above text to modify the response to help Video_Player. % Last Modified by GUIDE v May :38:12

Signal and Systems. Matlab GUI based analysis. XpertSolver.com

LAMPIRAN 1. Percobaan

1. Peralatan LAMPIRAN

% Edit the above text to modify the response to help Principal

GUI code for different sections is in following sections

Homeworks on FFT Instr. and Meas. for Communication Systems- Gianfranco Miele. Name Surname

LISTING PROGRAM. % Edit the above text to modify the response to help cover. % Last Modified by GUIDE v Jun :24:43

1.Matlab Image Encryption Code

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors

Supplementary Information

OMR Sheet Recognition

LISTING PROGRAM. % UIWAIT makes pertama wait for user response (see UIRESUME) % uiwait(handles.figure1);

LAMPIRAN A PROGRAM PELATIHAN DAN PENGUJIAN

A NEW MACHINING COST CALCULATOR (MC 2 )

MV 1:00 1:05 1:00 1:05

Lampiran 1. Script M-File Global Ridge

Lithium-Ion Battery Data. Management

Akkad Bakad Bambai Bo

Finding a Minimum Covering Circle Based on Infinity Norms

% --- Executes on button press in btn_gsn. function btn_gsn_callback(hobject, eventdata, handles) GaussianSpeckleNoise close AiSoftware;

LAMPIRAN A LISTINGPROGRAM

Solving Sudoku with MATLAB

ECE Fall 05. Undergraduate Research: Digital Signal Processing & Quantization Effects

LISTING PROGRAM. if nargout [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); else gui_mainfcn(gui_state, varargin{:}); end

Street Sign Detection With Template Matching and Edge Detection Methods. By: Patrick Breen Kristen Graber Lisa Anne Hendricks Joseph Vento

Contents INTERFACING MATLAB WITH EMBEDDED SYSTEMS

Main Form visual Studio

LAMPIRAN LISTING PROGRAM

Parallel-connected solar arrays

Airfoil Boundary Layer Separation Prediction

PROGRAMMING IN MATLAB

.., 7. References. [ 1] 1 mage Analysis and Mathematical Morphology:J.Serra. [2] Erosion, dilation and related operators,by Mariusz Jankowski

COMPLETELY AUTOMATED PUBLIC TURING TEST TO TELL COMPUTERS AND HUMANS APART

ALGORITHMS AND INTERFACE FOR OCEAN ACOUSTIC RAY-TRACING (Developed in MATLAB)

GUI Signal Analysis and Filtering Design

Accepted by... John H. Lienhard V

Implementation of a Motion Detection System

Special Topics II: Graphical User Interfaces (GUIs)

MATLAB. Creating Graphical User Interfaces Version 7. The Language of Technical Computing

IMAGE STEGANOGRAPHY USING DISCRETE COSINE TRNASFORM ALGORITHM

Real-Time IIR Digital Filters

TREBALL FINAL DE GRAU

Applied Finite Mathematics. Collection Editor: Rupinder Sekhon

LOK-Viewer : Graphical Interface Application for Geomagnetic Data in Observatory Geomagnetic Lombok

Java3018: Darkening, Brightening, and Tinting the Colors in a Picture *

USER S MANUAL. Thank you for purchasing portable DVR from our company. In order to help you operate it correctly. Please read this user s

Computer Aided Drafting, Design and Manufacturing Volume 26, Number 2, June 2016, Page 8. Face recognition attendance system based on PCA approach

Java4350: Form Processing with JSP

1. First open a web browser and search for "Bookr". 2. Click on the first link and it will lead you to

RELEASE NOTES. Epic Offline Client Messaging 3. My Account 11. Announcement 12. Discussion Board 13. Exam 14.

SAM Settings and Reports for System 44 Next Generation

WCS-7200 Programming Software for the Icom IC-7200

Flow Control and Functions

Elementary Technology Skills Scope and Sequence STANDARD. Grade Levels. 1. Basic Operations and concepts

DINO-LITE SOFTWARE FOTO SCHERM MET SOFTWARE DINO-LITE SOFTWARE

RPS-Q5 Programming Software for the Tonfa TF-Q5

Interactive Whiteboard Module ViewSync vtouch

e2020 ereader Student s Guide

CORE CONTENT ADOBE PHOTOSHOP ELEMENTS 11 & ADOBE PREMIERE ELEMENTS

Smart Student Attendance System Using Face Detection

ADMS-DX3000 Programming Software for the Yaesu FT-DX3000

ADMS-8100 Programming Software for the Yaesu FT-8100

A Survey on Feature Extraction Techniques for Palmprint Identification

Cybersecurity Essentials

Content Product Structure.. Begin to use traveling recorder Basic operations of the traveling recorder

Frequently Asked Questions

KRS-590 Programming Software for the Kenwood TS-590

Let s Review Lesson 2!

GENDER ESTIMATION BASED ON FACIAL IMAGE AZLIN BT YAJID UNIVERSITI TEKNOLOGI MALAYSIA

Lesson 2 page 1. ipad # 17 Font Size for Notepad (and other apps) Task: Program your default text to be smaller or larger for Notepad

WCS-R10 Programming Software for the Icom IC-R10

Thank you for choosing VSC_CD114 travelling recorder!

Nuance Licensing Opportunities: Power PDF and Dragon

Cisco Jabber IM for iphone

EdApp Certified. EdApp Certified. Managing ipads, ipods, and iphones in the classroom. Page 1

ParentVUE for Secondary Students

Java OOP: Java Documentation

Intel Quark microcontroller D2000 How to communicate with MATLAB over UART

Special Education Texas Certification Study Guide READ ONLINE

MEASURING INTERFACIAL TENSION WITH THE PENDANT DROP METHOD

ADMS-7900 Programming Software for the Yaesu FT-7900

COURSE OUTLINE. School of Engineering Technology and Applied Science PRE-REQUISITES/CO-REQUISITES: CNET201

1 Lab 3, Simulation of crank-piston system

RPS-7800 Programming Software for the TYT TH-7800

Construction and Application of Cloud Data Center in University

Adobe Certified Associate and Your School

Cisco Certified Entry Networking Technician (CCENT)

Foreword. Thank you for purchasing high resolution car video recorder. It realizes a full driving recording

CCNA Routing. & Switching (1-4) PT. CCNP Routing. & Switching (1-3) Networking Essentials

Matlab for Engineers

LECTURE ATTENDANCE SYSTEM WITH FACE RECOGNITION AND IMAGE PROCESSING

Car Camera. Content. 1 x dash cam 1 x car charger 1 x suction cup 1 x manual.

H. COUNCILL TRENHOLM STATE COMMUNITY COLLEGE TECHNOLOGY PLAN ACADEMIC YEAR

KRS-G71 Programming Software for the Kenwood TH-G71

KRS-G707 Programming Software for the Kenwood TM-G707

PCA and KPCA algorithms for Face Recognition A Survey

RPS-KGUV9D Programming Software for the Wouxun KG-UV9D

Face Recognition System Using PCA

KidBlog. Teacher Set Up. Control Panel/Dashboard

Transcription:

Ear Recognition By: Zeyangyi Wang

Ear Recognition By: Zeyangyi Wang Online: < http://cnx.org/content/col11604/1.3/ > C O N N E X I O N S Rice University, Houston, Texas

This selection and arrangement of content as a collection is copyrighted by Zeyangyi Wang. It is licensed under the Creative Commons Attribution License 3.0 (http://creativecommons.org/licenses/by/3.0/). Collection structure revised: December 18, 2013 PDF generated: December 18, 2013 For copyright and attribution information for the modules contained in this collection, see p. 18.

Table of Contents 1 Introduction....................................................................................... 1 2 Implementation.................................................................................... 3 3 Principle Component Analysis................................................................... 5 4 Limit and Solution................................................................................ 7 5 Experiment results................................................................................ 9 6 Codes and Library............................................................................... 13 Attributions.........................................................................................18

iv

Chapter 1 Introduction 1 Overview The ear recognition system takes specic images of human ears as input and provides individual identication based on a personal database. The input images will be rescaled in Matlab and transformed into grayscale matrices. We implemented PCA (Principle Component Analysis) on the stored data in order to recognize specic patterns of ears. Motivation Biometrics, the science of human physiological or behavorial characteristics, has been a great interest for a simplied identication techonology. However, there are many drawbacks of current biometrical solutions such as iris recognitions, ngerprint recognition and voice recognition. We would like to introduce a new biometrical technique that can overcome these drawbacks or assist some of them to be more accurate. As a new branch of biometrics, ear recognition oers a convenient individual identication compared to other ways such as ngerprint recognition, iris recognition, etc. It has unique advantages and great potential over other biometric methods for being a secure and accurate detecting procedure. It also has a good balance between technical complexity and robustness. 1 This content is available online at <http://cnx.org/content/m48402/1.1/>. 1

2 CHAPTER 1. INTRODUCTION

Chapter 2 Implementation 1 System Schematics Enrollment Process: Each sample takes several photographs of the same ear. Standarize the size of the photos, change them to grayscale, and get the mean image. Store the image to our database. Recognizing Process: Collect image Pre-processing Standarize the size of the input photo. Change it to grayscale. Feature extraction PCA processing. Compare with the image in our database. 1 This content is available online at <http://cnx.org/content/m48408/1.1/>. 3

4 CHAPTER 2. IMPLEMENTATION From the external anatomy gure above, we can see: external ear has enough details and complexities to help us recognize a particular ear. Based on statistics and researches, ears are unique for each human individual..

Chapter 3 Principle Component Analysis 1 Description Principal component analysis (PCA) is a statistical procedure that uses orthogonal transformation to convert a set of observations of possibly correlated variables into a set of values of linearly uncorrelated variables called principal components. 1 This content is available online at <http://cnx.org/content/m48456/1.1/>. 5

6 CHAPTER 3. PRINCIPLE COMPONENT ANALYSIS

Chapter 4 Limit and Solution 1 1.The result of our ear recognition is inuenced considerably by the angle of camera and the angle of the light source. 2.Now we need to cut the photo of ear to the standard size we want manually, which is time-consuming and inconvenient for use. solution to 1 To solve this problem in the future, we need to build a large database with photos of ears taken from all possible angles and all possible angles for light source in each case. Thus, it will be a comprehensive database. But now we did not have much time to build such a large database. solution to 2 We need to build an auto-detection system to nd the image of ear from the original photo. This system should detect the position of person in the photo and then detect the head, and then the ear. After all these detections, this system will cut the photo to get the standard image for further recognition. Future improvement (1)We can also apply PCA to face recognition or other recognitions, making a recognition system with both ear and other sort of recognitions. (2)We can build an auto-detection system which can nd the ear automatically in the future.(3)improve our algorithm or build a larger database to reduce the eect of light and hair, making our program more robust. 1 This content is available online at <http://cnx.org/content/m48465/1.1/>. 7

8 CHAPTER 4. LIMIT AND SOLUTION

Chapter 5 Experiment results 1 Results When we need to do recognizing. First, we standarize pictures in database and get the mean image. Then we calculate the dierence between each image and the mean image. After this, we build covariance matrix from that and get eigen value and vector from the covariance matrix and build an eigen ear space. Then we project every dierence vector between training ear and mean ear on to eigen ear space to get the eigen ear. 1 This content is available online at <http://cnx.org/content/m48458/1.1/>. 9

10 CHAPTER 5. EXPERIMENT RESULTS

11

12 CHAPTER 5. EXPERIMENT RESULTS

Chapter 6 Codes and Library 1 %%%%%%%%%%%ELEC 301 Final Project%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%Ear Recognition%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %Team: Zhenyu Guo, Zilong Liao, Xiangbang Sun, Zeyangyi Wang %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%Overview%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %We build a GUI for our ear recognition. This GUI has three %push buttons: choose a le, recognition and exit. %The rst button let the user to choose an input le(.bmp) %to compare with existing library. The second button processes %the input le and gives the result that whether this ear is %in our library or not. The last buttons closes this program. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %The following three functions are for generating an easy-to-use %GUI interface with three buttons. function varargout = Untitled(varargin) % UNTITLED MATLAB code for untitled.g % UNTITLED, by itself, creates a new UNTITLED or raises the existing % singleton*. % % H = UNTITLED returns the handle to a new UNTITLED or the handle to % the existing singleton*. % % UNTITLED('CALLBACK',hObject,eventData,handles,...) calls the local % function named CALLBACK in UNTITLED.M with the given input arguments. % % UNTITLED('Property','Value',...) creates a new UNTITLED or raises the % existing singleton*. Starting from the left, property value pairs are % applied to the GUI before untitled_openingfcn gets called. An % unrecognized property name or invalid value makes property application % stop. All inputs are passed to untitled_openingfcn via varargin. % % *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one % instance to run (singleton)". % 1 This content is available online at <http://cnx.org/content/m48477/1.1/>. 13

14 CHAPTER 6. CODES AND LIBRARY % See also: GUIDE, GUIDATA, GUIHANDLES % Edit the above text to modify the response to help untitled % Last Modied by GUIDE v2.5 04-Dec-2013 17:00:55 % Begin initialization code - DO NOT EDIT gui_singleton = 1; gui_state = struct('gui_name', mlename,... 'gui_singleton', gui_singleton,... 'gui_openingfcn', @untitled_openingfcn,... 'gui_outputfcn', @untitled_outputfcn,... 'gui_layoutfcn', [],... 'gui_callback', []); if nargin && ischar(varargin{1}) gui_state.gui_callback = str2func(varargin{1}); end if nargout [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); else gui_mainfcn(gui_state, varargin{:}); end % End initialization code - DO NOT EDIT % Executes just before untitled is made visible. function untitled_openingfcn(hobject, eventdata, handles, varargin) % This function has no output args, see OutputFcn. % hobject handle to gure % eventdata reserved - to be dened in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % varargin command line arguments to untitled (see VARARGIN) % Choose default command line output for untitled handles.output = hobject; % Update handles structure guidata(hobject, handles); % UIWAIT makes untitled wait for user response (see UIRESUME) % uiwait(handles.gure1); % Outputs from this function are returned to the command line. function varargout = untitled_outputfcn(hobject, eventdata, handles) % varargout cell array for returning output args (see VARARGOUT); % hobject handle to gure % eventdata reserved - to be dened in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Get default command line output from handles structure varargout{1} = handles.output; %The following three functions are about the functionalities of %the 3 buttons of our interface. %Button 1 let the user to choose the input le. %Then, it change the input le to gray picture for further %use. % Executes on button press in pushbutton1. function pushbutton1_callback(hobject, eventdata, handles) % hobject handle to pushbutton1 (see GCBO) % eventdata reserved - to be dened in a future version of MATLAB % handles structure with handles and user data (see GUIDATA)

15 global im; %get the path of the le, chosen by user [lename,pathname]=uigetle({'.bmp'},'choose a le'); str=[pathname,lename]; %read it im=imread(str); %change this picture to gray and show it to user in specic %frame. im=rgb2gray(im); axes(handles.axes1); imshow(im); % % Executes on button press in pushbutton2. function pushbutton2_callback(hobject, eventdata, handles) % hobject handle to pushbutton2 (see GCBO) % eventdata reserved - to be dened in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) global im; %get pictures in our library, change them to gray and store %them to imgdata imgdata=[]; for i=1:2 for j=1:5 a=imread(strcat('c:\newlib\p',num2str(i),'\',num2str(j),'.bmp')); %a=rgb2gray(a); %subplot(ceil(sqrt(5)),ceil(sqrt(5)),j) %imshow(a) %if i==2 % title('training set','fontsize',18) %end %drawnow; %standarize the size of each image. b=a(1:250*360); b=double(b); imgdata=[imgdata;b]; %imgdata is a m*n matrix. Each row of it stores an image. end end %get the mean image of images in imgdata imgdata=imgdata'; imgmean=mean(imgdata,2); %get minus, a m*n matrix. Each row of it stores %(each image)-(mean image) for i=1:10 minus(:,i)=imgdata(:,i)-imgmean; end %conve is a m*m matrix %get coecients from convex for later use. convex=minus'*minus; [coe,latent,explained]=pcacov(convex'); %get 95% power

16 CHAPTER 6. CODES AND LIBRARY i=1; proportion=0; while(proportion<95) proportion=proportion+explained(i); i=i+1; end p=i-1; i=1; %make a coordinate system for the traits of ears. while(i<=p&&latent(i)>0) base(:,i)=latent(i)^(-1/2)*minus*coe(:,i); i=i+1; end reference=base'*minus; %test and show a=im; b=a(1:90000); b=double(b); b=b'; object=base'*(b-imgmean); distance=10000; for k=1:10 temp=norm(object-reference(:,k)); if(distance>temp) which=k; distance=temp; end end if (which==10) title('the person is not in the lib'); end num1=ceil(which/5); num2=mod(which,5); if(num2==0) num2=5; end I=imread(strcat('C:\NewLib\P',num2str(num1),'\',num2str(num2),'.bmp')); axes(handles.axes2); switch num1 case 1 imshow(i); title('this is Gino'); case 2 imshow(i); title('this is Mark '); end %button 3 just close the program. % Executes on button press in pushbutton3. function pushbutton3_callback(hobject, eventdata, handles) % hobject handle to pushbutton3 (see GCBO) % eventdata reserved - to be dened in a future version of MATLAB

17 % handles structure with handles and user data (see GUIDATA) close(gcf);

18 ATTRIBUTIONS Attributions Collection: Ear Recognition Edited by: Zeyangyi Wang URL: http://cnx.org/content/col11604/1.3/ License: http://creativecommons.org/licenses/by/3.0/ Module: "Introduction" By: Zeyangyi Wang URL: http://cnx.org/content/m48402/1.1/ Pages: 1-2 Copyright: Zeyangyi Wang License: http://creativecommons.org/licenses/by/3.0/ Module: "Implementation" By: Zeyangyi Wang URL: http://cnx.org/content/m48408/1.1/ Pages: 3-4 Copyright: Zeyangyi Wang License: http://creativecommons.org/licenses/by/3.0/ Module: "Principle Component Analysis" By: Zeyangyi Wang URL: http://cnx.org/content/m48456/1.1/ Pages: 5-6 Copyright: Zeyangyi Wang License: http://creativecommons.org/licenses/by/3.0/ Module: "Limit and Solution" By: Zeyangyi Wang URL: http://cnx.org/content/m48465/1.1/ Page: 7 Copyright: Zeyangyi Wang License: http://creativecommons.org/licenses/by/3.0/ Module: "Experiment results" By: Zeyangyi Wang URL: http://cnx.org/content/m48458/1.1/ Pages: 9-11 Copyright: Zeyangyi Wang License: http://creativecommons.org/licenses/by/3.0/ Module: "Codes and Library" By: Zeyangyi Wang URL: http://cnx.org/content/m48477/1.1/ Pages: 13-17 Copyright: Zeyangyi Wang License: http://creativecommons.org/licenses/by/3.0/

Ear Recognition By Zeyangyi Wang,Zilong Liao,Zhenyu Guo,Xiangbang Sun About Connexions Since 1999, Connexions has been pioneering a global system where anyone can create course materials and make them fully accessible and easily reusable free of charge. We are a Web-based authoring, teaching and learning environment open to anyone interested in education, including students, teachers, professors and lifelong learners. We connect ideas and facilitate educational communities. Connexions's modular, interactive courses are in use worldwide by universities, community colleges, K-12 schools, distance learners, and lifelong learners. Connexions materials are in many languages, including English, Spanish, Chinese, Japanese, Italian, Vietnamese, French, Portuguese, and Thai. Connexions is part of an exciting new information distribution system that allows for Print on Demand Books. Connexions has partnered with innovative on-demand publisher QOOP to accelerate the delivery of printed course materials and textbooks into classrooms worldwide at lower prices than traditional academic publishers.