<< Chapter < Page
  Iris recognition   Page 1 / 1
Chapter >> Page >
Gabor wavelets, filtering and Hamming distance

Gabor wavelets

To understand the concept of Gabor filtering, we must first start with Gabor wavelets. Gabor wavelets are formed from two components, a complex sinusoidal carrier and a Gaussian envelope. g ( x , y ) = s ( x , y ) w r ( x , y ) The complex carrier takes the form: s ( x , y ) = e j ( 2 ( u 0 x + v 0 y ) + P ) We can visualize the real and imaginary parts of this function seperately as shown in this figure.

Real Part
Imaginary Part
Image Source
The real part of the function is given by: R e ( s ( x , y ) ) = cos ( 2 ( u 0 x + v 0 y ) + P ) and the imaginary: I m ( s ( x , y ) ) = sin ( 2 ( u 0 x + v 0 y ) + P ) The parameters u 0 and v 0 represent the frequency of the horizontal and vertical sinusoids respectively. P respresents an arbitrary phase shift.

The second component of a gabor wavelet is its envelope. The resulting wavelet is the product of the sinusoidal carrier and this envelope. The envelope has a gaussian profile and is described by the following equation:

Gaussian Envelope
g ( x , y ) = K e - ( a 2 ( x - x 0 ) r 2 + b 2 ( y - y 0 ) r 2 ) where: ( x - x 0 ) r = ( x - x 0 ) cos ( ) + ( y - y 0 ) sin ( ) ( y - y 0 ) r = - ( x - x 0 ) sin ( ) + ( y - y 0 ) cos ( ) The parameters used above are K - a scaling constant ( a , b ) - envelope axis scaling constants, - envelope rotation constant, ( x 0 , y 0 ) - Gausian envelope peak.

To put it all together, we multiply s ( x , y ) by w r ( x , y ) . This produces a wavelet like this one:

1D Gabor Wavelet

Generating an iris code

Now that we have Gabor wavelets, lets do something interesting with them. Lets start with an image of an eye and then unroll it (map it to cartesian coordinates) so we have something like the following:

Image of Eye
"Unrolled" Iris
What we want to do is somehow extract a set of unique features from this iris and then store them. That way if we are presented with an unknown iris, we can compare the stored features to thefeatures in the unknown iris to see if they are the same. We'll call this set of features an "Iris Code."

Any given iris has a unique texture that is generated through a random process before birth. Filters based on Gabor wavelets turn out to be very goodat detecting patterns in images. We'll use a fixed frequency 1D Gabor filter to look for patterns in our unrolled image. First, we'll take a one pixel widecolumn from our unrolled image and convolve it with a 1D Gabor wavelet. Because the Gabor filter is complex, the result will have a real and imaginary partwhich are treated seperately. We only want to store a small number of bits for each iris code, so the real and imaginary parts are each quantized. If a givenvalue in the result vector is greater than zero, a one is stored; otherwise zero is stored. Once all the columns of the image have been filtered and quantized,we can form a new black and white image by putting all of the columns side by side. The real and imaginary parts of this image (a matrix), the iris code, areshown here:

Real Part of Iris Code
Imaginary Part of Iris Code
Now that we have an iris code, we can store it in a database, file or even on a card. What happens though if we want to compare two iris codes and decide how similar they are?

Comparing iris codes

The problem of comparing iris codes arises when we want to authenticate a new user. The user's eye is photographed and the iris code produced from the image. It would be nice to be able to compare the new codeto a database stored codes to see if this user is allowed or to see who they are. To perform this task, we'll attempt to measure the Hamming distance between two iris codes. The Hamming distance between any twoequal length binary vectors is simply the number of bit positions in which they differ divided by the length of the vectors. This way, two identical vectors have distance 0 while two completely different vectors havedistance 1. Its worth noting that on average two random vectors will differ in half their bits giving a Hamming distance of 0.5. The Hamming distance is mathematically defined in this equation: D = A B length(A)

In theory, two iris codes independently generated from the same iris will be exactly the same. In reality though, this doesn't happen vary often for reasons such as imperfect cameras, lighting or small rotationalerrors. To account for these slight inconsistencies, two iris codes are compared and if the distance between them is below a certain threshold we'll call them a match. This is based on the idea of statisticalindependance. The iris is random enough such that iris codes from different eyes will be statistically independent (ie: have a distance larger than the threshold) and therefore only iris codes of the same eyewill fail the test of statisical independance. Empirical studies with millions of images have supported this assertion. In fact, when these studies used the threshold used in our method (.3) false positive ratesfell below 1 in 10 million.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Iris recognition. OpenStax CNX. Dec 18, 2004 Download for free at http://cnx.org/content/col10256/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Iris recognition' conversation and receive update notifications?

Ask