WO2017113083A1 - Method and apparatus for iris recognition - Google Patents

Method and apparatus for iris recognition Download PDF

Info

Publication number
WO2017113083A1
WO2017113083A1 PCT/CN2015/099341 CN2015099341W WO2017113083A1 WO 2017113083 A1 WO2017113083 A1 WO 2017113083A1 CN 2015099341 W CN2015099341 W CN 2015099341W WO 2017113083 A1 WO2017113083 A1 WO 2017113083A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
iris
feature
key point
iris image
Prior art date
Application number
PCT/CN2015/099341
Other languages
French (fr)
Chinese (zh)
Inventor
车全宏
陈书楷
Original Assignee
厦门中控生物识别信息技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 厦门中控生物识别信息技术有限公司 filed Critical 厦门中控生物识别信息技术有限公司
Priority to CN201580001421.9A priority Critical patent/CN107408195B/en
Priority to PCT/CN2015/099341 priority patent/WO2017113083A1/en
Publication of WO2017113083A1 publication Critical patent/WO2017113083A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/18Eye characteristics, e.g. of the iris
    • G06V40/193Preprocessing; Feature extraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features

Definitions

  • the invention relates to a neighborhood of human biometrics technology, and particularly relates to an iris recognition method and device.
  • the iris is part of the eye structure and is unique to the finger print and can be used to confirm identity.
  • the iris recognition technology itself is just a simple technique for photographing and character comparison.
  • the iris recognition technology when the iris of the recognized person is photographed by the sensor, the recognized person may use a high-definition image, a fake iris image or even a 3D fake eyeball instead of the photographed photo to deceive the sensor, so that the criminals pass Iris recognition technology acquires important information from real users, resulting in loss of information or property.
  • iris recognition technology In order to improve the safety of iris recognition technology, iris recognition technology is constantly improving to reduce the risk of illegal molecules forging iris.
  • the embodiment of the invention provides an iris recognition method and device for improving the accuracy of iris recognition, so as to solve the problem that the iris recognition technology in the prior art is not high in safety.
  • a first aspect of the present invention provides an iris recognition method, which may include:
  • the pre-processed iris image is processed by using a local binary mode LBP algorithm to obtain a first set of feature vectors of the preprocessed iris image;
  • the iris calculation calculates that the feature vector is calculated in advance according to the iris of the identified person;
  • the ROI is first determined from the initial iris image, and then the ROI is preprocessed to obtain a preprocessed iris image, and the feature data in the preprocessed iris image is obtained by using two different methods.
  • the feature data of the pre-processed iris image is obtained by using 2D-Gabor filter.
  • the obtaining the initial iris image of the recognized person comprises: acquiring an initial iris image of the recognized person by using a near-infrared sensor.
  • determining the ROI of the ROI in the initial iris image includes: determining a plurality of key points in the initial iris image, and determining an ROI in the initial iris image according to the plurality of key points.
  • the above key points include six key points uniformly distributed on the boundary between the iris and the pupil, respectively being the first key point, the second key point, the third key point, the fourth key point, and the fifth key point.
  • the sixth key point also include four key points distributed on the above-mentioned iris and eye white boundary, which are the 7th key point, the 8th key point, the 9th key point and the 10th Key point; wherein the first key point, the fourth key point and the ninth key point are on a straight line, the second key point, the fifth key point, the seventh key point and the tenth
  • the key points are on a straight line, and the third key point, the sixth key point, and the eighth key point are on a straight line.
  • the pre-processing the ROI to obtain the pre-processed iris image comprises: performing polar coordinate transformation on the ROI to obtain a rectangular iris image; normalizing the rectangular iris image to obtain the pre-predetermined Handle the iris image.
  • the processing the first pre-processed iris image by using the 2D-Gabor filter to obtain the first set of feature data of the pre-processed iris image comprises: dividing the pre-processed iris image into M image regions; M is a positive integer greater than or equal to 2; using 2D-Gabor The filter convolves each of the M image regions to obtain a corresponding response amplitude; encodes the response amplitude, and combines the codes corresponding to the M image regions to obtain the first set of feature data.
  • each of the M image regions is convoluted by using a 2D-Gabor filter to obtain a corresponding response amplitude, including: using K frequency L direction 2D-Gabor filters, for the above M
  • Each image area in each image area is convoluted to obtain K ⁇ L response amplitude values corresponding to each image area;
  • the above-mentioned response amplitude is encoded, and combining the codes corresponding to the M image regions to obtain the feature data includes: binarizing and encoding L response amplitudes at each frequency in each image region to obtain Each of the two regions corresponding to each frequency of the image region, combining K frequencies in each image region to obtain K ⁇ 2 codes corresponding to each image region; combining the codes corresponding to the M image regions to obtain the first group
  • the feature data, the first set of feature data includes M ⁇ K ⁇ 2 codes.
  • the above-mentioned L response amplitude values at each frequency in each image region are binarized, and two codes corresponding to each frequency of each image region are obtained: when the above L response frames The nth response amplitude of the value is not greater than the n+1th response amplitude, and the nth response amplitude is correspondingly binarized to 1, when the nth response amplitude is greater than the n+1th In response to the amplitude, the nth response amplitude is correspondingly binarized to 0, wherein the n is a positive integer greater than or equal to 1; combining the codes corresponding to the L response amplitudes to obtain L binary values Encoding; obtaining two codes according to the above L binarization codes, and combining K codes of each of the image regions to obtain K ⁇ 2 codes.
  • the processing of the pre-processed iris image by using the local binary mode LBP algorithm to obtain the first set of feature vectors of the pre-processed iris image comprises: dividing the pre-processed iris image into N image regions, The N is a positive integer greater than or equal to 2; the LBP feature corresponding to each of the N image regions is obtained, and the LBP features corresponding to the N image regions are combined to obtain the first set of feature vectors.
  • the obtaining the LBP feature corresponding to each of the N image regions and combining the LBP features corresponding to the N image regions to obtain the first set of feature vectors includes: performing, for each pixel in each image region Binary coding to obtain the binary value corresponding to each pixel
  • the coding method is obtained according to the binarization coding corresponding to all the pixels in each image region, and the histogram corresponding to each of the image regions is obtained, and the first group of feature vectors is obtained by combining the histograms corresponding to the N image regions.
  • the above-mentioned binarization coding is performed on each pixel in each image region, and obtaining the binarization code corresponding to each pixel includes: acquiring gray values of each pixel in each image region, and sequentially comparing them.
  • the method before calculating the vector distance between the first set of feature vectors and the pre-stored feature vectors, the method further comprises: performing dimensionality reduction on the feature vectors, and normalizing the reduced-dimensional feature vectors to obtain Normalizing the feature vector; further, calculating the vector distance between the feature vector and the pre-stored feature vector includes: calculating a vector distance between the normalized feature vector and the pre-stored feature sequence.
  • the method before calculating the weighting value of the first Hamming distance and the first vector distance, comprises: dividing the pre-processed iris image into H image regions, using one frequency and J directions. 2D-Gabor processes the H image regions to obtain a second set of data features; calculates a second Hamming distance between the second set of data features and the pre-stored feature data; and further, calculating the Hamming distance and the vector
  • the weighted value of the distance includes: a weighting value for calculating the first Hamming distance, the second Hamming distance, and the first vector feature.
  • a second aspect of the present invention provides an iris recognition apparatus, which may include:
  • An obtaining module configured to acquire an initial iris image of the identified person
  • a determining module configured to determine a region of interest ROI in the initial iris image
  • a preprocessing module configured to preprocess the ROI to obtain a preprocessed iris image
  • a feature acquisition module configured to process the pre-processed iris image by using a 2D-Gabor filter to obtain a first set of feature data of the pre-processed iris image; and processing the pre-processed iris image by using a local binary mode LBP algorithm to obtain the pre-processing a first set of eigenvectors of the iris image;
  • An identification module configured to calculate a first Hamming distance of the first set of feature data and the pre-stored feature data, and calculate a first vector distance between the first set of feature vectors and the pre-stored feature vector, where the pre-stored
  • the stored feature data is calculated in advance according to the iris of the identified person, and the feature vector is calculated according to the iris of the recognized person in advance; calculating a weighting value of the distance between the first Hamming distance and the first vector, according to the weighting The value identifies the identified person.
  • the acquiring module is specifically configured to acquire an initial iris image of the identified person by using a near-infrared sensor.
  • the determining module is specifically configured to determine a plurality of key points in the initial iris image, and determine an ROI in the initial iris image according to the plurality of key points.
  • the above key points include six key points uniformly distributed on the boundary between the iris and the pupil, respectively being the first key point, the second key point, the third key point, the fourth key point, and the fifth key point.
  • the sixth key point also include four key points distributed on the above-mentioned iris and eye white boundary, which are the 7th key point, the 8th key point, the 9th key point and the 10th Key point; wherein the first key point, the fourth key point and the ninth key point are on a straight line, the second key point, the fifth key point, the seventh key point and the tenth
  • the key points are on a straight line, and the third key point, the sixth key point, and the eighth key point are on a straight line.
  • the pre-processing module is specifically configured to perform polar coordinate transformation on the ROI to obtain a rectangular iris image; and normalize the rectangular iris image to obtain the pre-processed iris image.
  • the feature acquiring module is further configured to: divide the pre-processed iris image into M image regions; the M is a positive integer greater than or equal to 2; and use the 2D-Gabor filter to Each of the image regions is convoluted to obtain a corresponding response amplitude; the response amplitude is encoded, and the first group of feature data is obtained by combining the codes corresponding to the M image regions.
  • the feature acquiring module is further specifically configured to perform convolution on each of the M image regions by using K frequency L direction 2D-Gabor filters to obtain each of the image regions.
  • K ⁇ L response amplitudes corresponding to image regions K ⁇ L response amplitudes corresponding to image regions; binarizing and encoding L response amplitudes at each frequency in each image region to obtain two codes corresponding to each frequency of each image region, Combining K frequencies in each image region to obtain K ⁇ 2 codes corresponding to each image region; combining the corresponding images of the M image regions to obtain the first group of feature data, wherein the first group of feature data includes M ⁇ K ⁇ 2 codes.
  • the feature acquiring module is further configured to: when the nth response amplitude of the L response amplitudes is not greater than the n+1th response amplitude, the nth response amplitude Corresponding to the binarization code is 1, when the nth response amplitude is greater than the n+1th response amplitude, the nth response amplitude is correspondingly binarized to 0, wherein the n is greater than Or a positive integer equal to 1; combining the codes corresponding to the L response amplitudes to obtain L binarized codes; obtaining 2 codes according to the L binarized codes, combining K frequencies in each image region The encoding yields K x 2 codes.
  • the feature acquiring module is further configured to divide the pre-processed iris image into N image regions, where the N is a positive integer greater than or equal to 2; and each of the N image regions is acquired.
  • the LBP feature corresponding to the image region combines the LBP features corresponding to the N image regions to obtain the first set of feature vectors.
  • the feature acquiring module is further configured to perform binarization coding on each pixel in each image region to obtain a binarized code corresponding to each pixel; according to all the image regions.
  • Binary coding corresponding to the pixel obtaining a histogram corresponding to each image region; combining the histogram corresponding to the N image regions to obtain the first group of feature vectors.
  • the feature acquiring module is further configured to: acquire gray values of each pixel in each image region, and sequentially compare gray values of each pixel with 8 neighbor pixels. Gray value; when the gray value of the pixel is greater than the gray value of the neighborhood pixel, the corresponding binarization code is 1; when the gray value of the pixel is less than or equal to the gray of 8 neighborhood pixels For the value, the corresponding binarization code is 0, and the binarized code of the 8-bit byte corresponding to each pixel is obtained.
  • the foregoing identification module is specifically configured to perform dimension reduction processing on the feature vector, and perform normalization processing on the reduced dimension feature vector to obtain a normalized feature vector; and calculate the normalization.
  • the feature acquiring module is further configured to divide the pre-processed iris image into H image regions, and process the H image regions by using 2D-Gabors with 1 frequency and J directions. a second set of data features; further, the identifying module is configured to calculate a second Hamming distance between the second set of data features and the pre-stored feature data; and calculate the first Hamming distance, the second Hamming distance, and The weighting value of the first vector feature described above.
  • a third aspect of the present invention provides an iris recognition apparatus, which may include:
  • the memory is used to store a program
  • the processor is configured to execute a program in the memory such that the iris recognition device performs the iris recognition method provided by the first aspect.
  • a fourth aspect of the invention provides a storage medium storing one or more programs, the one or more programs comprising instructions that are executed by an iris recognition device of a third aspect comprising one or more processors
  • the iris recognition device is caused to perform the iris recognition method provided by the first aspect.
  • FIG. 1 is a schematic flowchart of an iris recognition method according to an embodiment of the present invention.
  • FIG. 2a is a schematic diagram of key points provided by an embodiment of the present invention.
  • FIG. 2b is a schematic diagram of an ROI area according to an embodiment of the present invention.
  • 2c is a schematic diagram of a rectangular ROI according to an embodiment of the present invention.
  • 2d is a schematic diagram of a preprocessed iris image according to an embodiment of the present invention.
  • 2e is an effect diagram of a Gabor filter kernel function in different parameter configurations according to an embodiment of the present invention.
  • 2f is a diagram of relationship between a pixel point and eight neighboring pixel points according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of an iris recognition device according to an embodiment of the present invention.
  • FIG. 4 is another schematic structural diagram of an iris recognition device according to an embodiment of the present invention.
  • Embodiments of the present invention provide an iris recognition method for improving iris recognition rate and reducing the risk of illegal molecules forging iris.
  • the embodiment of the invention further provides an apparatus corresponding to the iris recognition method.
  • the iris is part of the eye structure, and the center of the iris has a circular opening called a through hole. Because everyone The irises are all different, so the iris can be used for identification.
  • the iris is different in color, and its color is different. It is mainly blue and brown, and other colors are mixed. Among them, the white iris is mostly blue, while the yellow iris is mostly brown. The blue iris is clear under visible light, but the brown iris is not clear under visible light, while the brown iris can be under near infrared. clear and distinct. Therefore, for the yellow iris of the yellow race, in the embodiment of the present invention, the near-infrared sensor is used to obtain a clear iris image.
  • the iris image can be taken directly from the eyes of the identified person, as well as illegal molecules to fake the identified image by forging the iris image.
  • the forged iris image can be an iris image printed by high-definition technology or an iris image obtained by photographing a 3D fake eyeball.
  • the forged iris image has a great similarity to the real iris image, and the iris recognition system can easily treat these forged iris images as real iris images.
  • FIG. 1 is a schematic flowchart diagram of an iris recognition method according to an embodiment of the present invention. As shown in FIG. 1, an iris recognition method may include:
  • the embodiment of the present invention can be preferably used to identify the identity of a yellow person. Therefore, it is important to target a brown iris.
  • the device for collecting the iris image may be a near-infrared sensor. Photographing through a near-infrared sensor to obtain an initial iris image of the identified person.
  • the ROI in the initial iris image is determined, and the identity is determined according to the features in the ROI, which can improve the accuracy of the recognition.
  • a number of key points may be determined in the initial iris image first. These key points can be on the pupil's pupil-iris boundary and on the dividing line between the iris and the white of the eye.
  • FIG. 2a is a schematic diagram of key points provided by an embodiment of the present invention.
  • 10 key points are determined in the initial iris image, wherein 6 key points are obtained at the boundary between the pupil and the iris.
  • 6 key points are obtained at the boundary between the pupil and the iris.
  • These six key points are respectively distributed at the boundary between the pupil and the iris, which are the first key point, the second key point, the third key point, the fourth key point, the fifth key point and the sixth key point.
  • the other four key points are at the boundary between the iris and the white of the eye, which are 7 key points, 8th key point, 9th key point and 10th key point.
  • the first key point, the fourth key point and the ninth key point are on a straight line
  • the second key point, the fifth key point, and the seventh key are on a straight line
  • the 3rd key point, the 6th key point, and the 8th key point are in a straight line.
  • an ROI area is determined.
  • the determined ROI is the iris area between the pupil and the white of the eye.
  • the white area in FIG. 2b it can be seen that The ROI determined from the initial iris image is an annular region.
  • the preprocessing of the ROI may include a polar coordinate transformation of the ROI. It can be understood that the iris surrounding the pupil is also an annular region.
  • the circular ROI needs to be transformed into a rectangular ROI.
  • the annular ROI may be cut at a diameter and then nonlinearly stretched such that the circular ROI transformation is referred to as a rectangular ROI, and as shown in Figure 2c, the ROI is stretched to obtain a rectangular region.
  • the rectangular ROI is transformed into a fixed-size rectangular ROI, and the localized grayscale contrast is normalized to the normalized rectangular ROI, as shown in FIG. 2d. Finally, a preprocessed iris image is obtained.
  • the preprocessed iris image is processed by using a 2D-Gabor filter to obtain a first set of feature data of the preprocessed iris image;
  • the Gabor filter can extract the image frequency and directional characteristics sensitive to the human visual system. Therefore, in the embodiment of the present invention, the Gabor filter can be used to filter the ROI to obtain better results. .
  • the iris image is divided into a plurality of iris sub-modules, and then the iris sub-module is processed to obtain a 2D Gabor filter.
  • FIG. 2e is an effect diagram of a Gabor filter kernel function in different parameter configurations according to an embodiment of the present invention.
  • Figure (b) is Image of the Gabor filter kernel function;
  • Figure (c) is Image of the Gabor filter kernel function;
  • Figure (d) is The image of the Gabor filter kernel function;
  • a 2DGabor filter is a Gaussian kernel function modulated by a sinusoidal plane wave.
  • the feature data corresponding to the ROI may be obtained.
  • One specific manner of filtering the ROI may be obtaining the feature data by a convolution operation.
  • the response amplitude is first obtained by a 2D Gabor filter, and then the response amplitude is encoded to obtain feature data.
  • the image area here may be an image area in which two adjacent image areas have partial overlap.
  • each region image is processed using a 2D Gabor filter with 6 frequencies and 16 directions.
  • the preprocessed image is filtered. From the upper left corner, an image block of the same size as the convolution window is convolved with each set of convolution windows, and the convolution window size is 10 ⁇ 6, thereby obtaining two sets of 16 response amplitude values.
  • Binary coding is performed on the response amplitude value to obtain binarized coding.
  • the 16-bit 0-1 binarization coding is composed of two bytes of data in a binary arrangement, that is, two binarization codes, and then 2 ⁇ 2 binarization codes can be obtained at two frequencies, that is, 4
  • the pre-processed iris image is processed by using a Local Binary Patterns (LBP) algorithm to obtain a first set of feature vectors of the pre-processed iris image;
  • LBP Local Binary Patterns
  • LBP is an effective texture description operator, which measures and extracts the local texture information of the image and has invariance to the illumination.
  • Unified LBP occupies the vast majority of all modes in the image. The different sampling radii and the number of surrounding pixels will be different. Therefore, Unified LBP has a better description effect on the local texture description.
  • the pre-processed iris image is processed using Unified LBP in the embodiment of the present invention to obtain a feature vector.
  • the pre-processed iris image is divided into 7 ⁇ 3 image regions, which may be image regions having no overlapping portions between adjacent two regions.
  • each pixel In each image region, as shown in Fig. 2f, for each pixel (as 0 in Fig. 2f), it is in the middle of its eight neighborhood pixels (1 to 8 in Fig. 2f, respectively). Compare the pixel points in turn The gray value and the gray value of the eight neighboring pixel points (1 to 8) can be compared in time or in a counterclockwise manner, when the gray value of the pixel is higher than the gray value of the neighboring pixel When large, the corresponding binary encoding is 1; conversely, when the gray value of the pixel is less than or equal to the gray value of the neighboring pixel, the corresponding binarized encoding is 0, and so on, the pixel is obtained.
  • the comparison is performed in the order of the pointer, the gray value of the pixel point 0 is larger than the gray value of the pixel point 1, and the corresponding code is one; the gray value of the pixel point 0 is larger than the gray value of the pixel point 2, corresponding to Encoding a 1; the gray value of pixel 0 is not greater than the gray value of pixel 3, corresponding to a 0; the gray value of pixel 0 is not greater than the gray value of pixel 4, corresponding to a 0; pixel The gray value of 0 is not greater than the gray value of pixel 5, corresponding to a code of 0; the gray value of pixel 0 is greater than the gray value of pixel 6, corresponding to a code of 1; the gray value of pixel 0 is not greater than The gray value of pixel 7 corresponds to a code of 0; the gray value of pixel 0 is greater than the gray value of
  • a histogram is obtained according to the binarization coding of all the pixel points, and the histograms of all image regions are concatenated to obtain a feature vector.
  • the feature data of the identified person is stored in the database, and when the identity of the identified person is recognized, the Hamming distance between the feature data and the pre-stored feature data is calculated, as follows:
  • x 1 is the above characteristic data
  • x 2 is pre-stored feature data stored in the database
  • S(x 1 , x 2 ) is the similarity between the feature data and the pre-stored feature data
  • H(x 1 , x 2 ) For the Hamming distance between x 1 and x 2 , F and B represent two constants, respectively.
  • the code distance also known as the Hamming distance.
  • the minimum Hamming distance of any two codewords is called the Hamming distance of the code set. For example: 10101 and 00110 have the first, fourth, and fifth positions from the first place, and the Hamming distance is 3.
  • F and B respectively represent two constants, which can be confirmed by experiments.
  • the specific measurement method can be to calculate the values of F and B by simulation.
  • the feature vector of the identified person is also stored in the database. Then, the similarity can be judged by calculating the vector distance between the above feature vector and the pre-stored feature vector.
  • the feature data acquired by 2D Gabor is different from the feature vector obtained by using Unified LBP.
  • the feature data and the feature vector acquired in the two modes are further weighted to obtain a weight value, and then the weighted value is used to identify the identity of the identified person.
  • the Hamming distance is 50 and the vector distance is 50.
  • the weighting value is calculated as follows:
  • the ROI is first determined from the initial iris image, and then the ROI is preprocessed to obtain a preprocessed iris image, and the feature data in the preprocessed iris image is obtained by using two different methods.
  • the first set of feature data is obtained by using a 2D-Gabor filter to obtain a preprocessed iris image.
  • One is to obtain a first set of feature vectors of the preprocessed iris image by using the LBP algorithm, and then calculate the first set of feature data and pre-stored feature data.
  • the Hamming distance is calculated by calculating the vector distance between the first set of feature vectors and the pre-stored feature vectors.
  • the pre-stored feature data and the pre-stored feature vectors are obtained from the real iris image of the recognized person.
  • the so-called real iris image refers to passing near The infrared sensor directly captures the iris image from the eyes of the identified person, rather than the forged iris image obtained by high-definition printed images or 3D fake eyeballs. Then, the weighted value of Hamming distance and vector distance is calculated. The weighted value can accurately identify the identified person and the combination of the two layers of feature data, which can improve the recognition rate and reduce the risk of illegal molecules forging iris.
  • the identity of the identified person is identified by the weighted value of the Hamming distance and the vector distance, and the feature of the initial iris image is more correctly reflected for the weighted value.
  • the identifier may further be further
  • the preprocessed iris image is divided into 13 ⁇ 5 image regions without overlapping portions according to 13 ⁇ 5, and then each image region of 13 ⁇ 5 image regions is processed by 2D Gabor, and the process can refer to the above steps.
  • the Hamming distance obtained in the middle is called Hamming distance A.
  • the weighted values of the Hamming distance A, the Hamming distance B, and the vector distance are calculated. Since a weight is added, the calculated weighting value can more accurately reflect the characteristics of the initial iris image, thereby improving the recognition accuracy.
  • the pre-processed iris image may be divided into different numbers of image regions multiple times, and the multiple division manners may be partially overlapped or overlapped, and then the above 2D Gabors are respectively utilized. Processing is performed to obtain a plurality of sets of feature data, thereby obtaining a corresponding number of Hamming distances. Similarly, the preprocessed iris image is again divided into different numbers of image regions, and then the divided image regions are processed by Unified LBP to obtain a plurality of feature vectors, thereby obtaining a corresponding number of vector distances. Finally, multiple Hamming distances and multiple vector distances are weighted to obtain a weighted value.
  • FIG. 3 is a schematic structural diagram of an iris recognition device according to an embodiment of the present invention. As shown in FIG. 3, an iris recognition device may include:
  • An obtaining module 310 configured to acquire an initial iris image of the identified person
  • a determining module 320 configured to determine a region of interest ROI in the initial iris image
  • a preprocessing module 330 configured to preprocess the ROI to obtain a preprocessed iris image
  • a feature acquiring module 340 configured to process the preprocessed iris image by using a 2D-Gabor filter to obtain a first set of feature data of the preprocessed iris image; and process the preprocessed iris image by using a local binary mode LBP algorithm, Obtaining a first set of feature vectors of the preprocessed iris image;
  • the identification module 350 is configured to calculate the first set of feature data and the first sea of pre-stored feature data a clear distance, and calculating a first vector distance between the first set of feature vectors and a pre-stored feature vector, the pre-stored feature data being calculated in advance according to an iris of the recognized person, the feature vector being previously according to the Calculating the iris of the identified person; calculating a weighting value of the distance between the first Hamming distance and the first vector, and identifying the identified person according to the weighting value.
  • the initial iris image of the recognized person is acquired by the obtaining module 310, and then the determining module 320 obtains the ROI from the initial iris image acquired by the obtaining module 310, and the pre-processing module 330 firstly compares the ROI.
  • the recognition module 350 calculates the first set by The Hamming distance of the feature data and the pre-stored feature data and the vector distance between the first set of feature vectors and the pre-stored feature vector, and further weighting the Hamming distance and the vector distance to obtain a weight value, and identifying the identity of the identified person by the weighted value .
  • the acquiring module 310 is specifically configured to acquire an initial iris image of the identified person by using a near-infrared sensor.
  • the determining module 320 is specifically configured to determine a plurality of key points in the initial iris image, and determine an ROI in the initial iris image according to the plurality of key points.
  • the above key points include six key points uniformly distributed on the boundary between the iris and the pupil, respectively being the first key point, the second key point, the third key point, the fourth key point, and the fifth key point.
  • the sixth key point also include four key points distributed on the above-mentioned iris and eye white boundary, which are the 7th key point, the 8th key point, the 9th key point and the 10th Key point; wherein the first key point, the fourth key point and the ninth key point are on a straight line, the second key point, the fifth key point, the seventh key point and the tenth
  • the key points are on a straight line, and the third key point, the sixth key point, and the eighth key point are on a straight line.
  • the pre-processing module 330 is specifically configured to perform polar coordinate transformation on the ROI to obtain a rectangular iris image; normalize the rectangular iris image to obtain the pre-processed iris image.
  • the feature acquiring module 340 is further specifically configured to divide the preprocessed iris image into M image regions; the M is a positive integer greater than or equal to 2; and the 2D-Gabor filter is used to Each of the M image regions is convoluted to obtain a corresponding response amplitude; the response amplitude is encoded to combine the M image regions corresponding to The first set of feature data is obtained by encoding.
  • the feature acquiring module 340 is further specifically configured to perform convolution on each of the M image regions by using K frequency L direction 2D-Gabor filters.
  • K ⁇ L response amplitudes corresponding to one image region binarizing the L response amplitudes at each frequency in each image region to obtain two codes corresponding to each frequency of each image region
  • K frequencies in each image region to obtain K ⁇ 2 codes corresponding to each image region
  • combining corresponding M image regions to obtain the first group of feature data, wherein the first group of feature data includes M ⁇ K ⁇ 2 codes.
  • the feature acquiring module 340 is further configured to: when the nth response amplitude of the L response amplitudes is not greater than the n+1th response amplitude, the nth response amplitude The value corresponding to the binarization code is 1, and when the nth response amplitude is greater than the n+1th response amplitude, the nth response amplitude is correspondingly binarized to 0, wherein the n is a positive integer greater than or equal to 1; combining the codes corresponding to the L response magnitudes to obtain L binarized codes; obtaining 2 codes according to the L binarized codes, combining K frequencies in each image region The encoding gives K x 2 encodings.
  • the feature acquiring module 340 is further configured to divide the pre-processed iris image into N image regions, where the N is a positive integer greater than or equal to 2; and each of the N image regions is acquired.
  • the LBP feature corresponding to one image region combines the LBP features corresponding to the N image regions to obtain the first set of feature vectors.
  • the feature acquiring module 340 is further specifically configured to perform binarization coding on each pixel in each image region to obtain a binarized code corresponding to each pixel; according to each image region.
  • the feature acquiring module 340 is further configured to acquire gray values of each pixel in each image region, and sequentially compare gray values of each pixel with eight neighbor pixels.
  • the corresponding binarization code is 0, and the binarized code of the 8-bit byte corresponding to each pixel point is obtained.
  • the foregoing identification module 350 is specifically configured to perform dimensionality reduction processing on the feature vector, and normalize the reduced-dimensional feature vector to obtain a normalized feature vector; The vector distance between the feature vector and the pre-stored feature sequence.
  • the feature acquiring module 340 is further configured to divide the pre-processed iris image into H image regions, and process the H image regions by using 2D-Gabors of one frequency and J directions. Obtaining a second set of data features; further, the identifying module 350 is configured to calculate a second Hamming distance between the second set of data features and the pre-stored feature data; and calculate the first Hamming distance and the second Hamming The distance and the weighting value of the first vector feature described above.
  • FIG. 4 is another schematic structural diagram of an iris recognition apparatus according to an embodiment of the present invention, which may include at least one processor 401 (for example, a CPU, Central Processing Unit), at least one network interface or other communication interface, a memory 402, and at least one A communication bus for implementing connection communication between these devices.
  • the processor 401 is configured to execute an executable module, such as a computer program, stored in a memory.
  • the memory 402 may include a high speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory.
  • the communication connection between the system gateway and at least one other network element is implemented by at least one network interface (which may be wired or wireless), and an Internet, a wide area network, a local network, a metropolitan area network, etc. may be used.
  • program instructions are stored in the memory 402, and the program instructions may be executed by the processor 401.
  • the processor 401 specifically performs the following steps: acquiring an initial iris image of the identified person; Determining a region of interest ROI in the initial iris image; preprocessing the ROI to obtain a preprocessed iris image; processing the preprocessed iris image with a 2D-Gabor filter to obtain a preprocessed iris image a set of feature data; processing the preprocessed iris image by using a local binary mode LBP algorithm to obtain a first set of feature vectors of the preprocessed iris image; and calculating a first set of feature data and pre-stored feature data a Hamming distance, and calculating a first vector distance between the first set of feature vectors and a pre-stored feature vector, the pre-stored feature data being calculated in advance according to an iris of the recognized person, the feature vector being a prior basis Calculating the iris of the identified person;
  • the processor 401 can also perform the following steps: passing near infrared rays a sensor that acquires an initial iris image of the identified person.
  • the processor 401 can also perform the steps of determining a number of key points in the initial iris image, and determining an ROI in the initial iris image based on the plurality of key points.
  • the processor 401 may further perform the following steps: performing polar coordinate transformation on the ROI to obtain a rectangular iris image; normalizing the rectangular iris image to obtain the preprocessed iris image .
  • the processor 401 may further perform the steps of: dividing the pre-processed iris image into M image regions; the M is a positive integer greater than or equal to 2; using a 2D-Gabor filter pair Each of the M image regions is convoluted to obtain a corresponding response amplitude; the response amplitude is encoded, and the code corresponding to the M image regions is combined to obtain the first set of feature data. .
  • the processor 401 may further perform the following steps: convolving each of the M image regions by using K frequency L direction 2D-Gabor filters to obtain each Corresponding K ⁇ L response amplitudes of the image region; the encoding the amplitude of the response, and combining the encoding corresponding to the M image regions to obtain the feature data comprises: for each frequency in each image region The lower L response amplitudes are binarized to obtain two codes corresponding to each frequency of each image region, and K frequencies in each image region are combined to obtain K ⁇ 2 codes corresponding to each image region. Combining the codes corresponding to the M image regions to obtain the first set of feature data, the first set of feature data including M ⁇ K ⁇ 2 codes.
  • the processor 401 may further perform the step of: when the nth response amplitude of the L response amplitudes is not greater than the n+1th response amplitude, the nth response The amplitude corresponding to the binarization code is 1, and when the nth response amplitude is greater than the n+1th response amplitude, the nth response amplitude is correspondingly binarized to 0, wherein And n is a positive integer greater than or equal to 1; combining the codes corresponding to the L response amplitudes to obtain L binarized codes; and obtaining 2 codes according to the L binarized codes, combining each The encoding of the K frequencies in the image region yields K x 2 codes.
  • the processor 401 may further perform the step of dividing the pre-processed iris image into N image regions, the N being a positive integer greater than or equal to 2;
  • the LBP features corresponding to each of the N image regions are combined with the LBP features corresponding to the N image regions to obtain the first set of feature vectors.
  • the processor 401 may further perform the following steps: performing binarization coding on each pixel in each image region to obtain a binarization code corresponding to each pixel; according to all the image regions Binary coding corresponding to the pixel, obtaining a histogram corresponding to each image region; combining the histogram corresponding to the N image regions to obtain the first group of feature vectors.
  • the processor 401 may further perform the steps of: acquiring gray values of each pixel in each image region, and sequentially comparing gray values of each pixel with 8 neighborhood pixels. Gray value; when the gray value of the pixel is greater than the gray value of the neighborhood pixel, the corresponding binarization code is 1; when the gray value of the pixel is less than or equal to the gray of 8 neighborhood pixels For the value, the corresponding binarization code is 0, and the binarized code of the 8-bit byte corresponding to each pixel is obtained.
  • the processor 401 may further perform the following steps: performing dimension reduction processing on the feature vector, and normalizing the reduced-dimensional feature vector to obtain a normalized feature vector.
  • the processor 401 can also perform the step of calculating a vector distance of the normalized feature vector from the pre-stored feature sequence.
  • the processor 401 may further perform the steps of: dividing the pre-processed iris image into H image regions, and performing the H image regions by using 2D-Gabors of 1 frequency and J directions; Processing, obtaining a second set of data features; calculating a second Hamming distance of the second set of data features and the pre-stored feature data; the calculating a weighted value of the Hamming distance and the vector distance comprises: calculating a weighted value of the first Hamming distance, the second Hamming distance, and the first vector feature.
  • the plurality of key points include six key points uniformly distributed on the boundary between the iris and the pupil, respectively being the first key point, the second key point, the third key point, and the fourth point The key points, the fifth key point and the sixth key point; the key points further include four key points distributed on the boundary between the iris and the white of the eye, respectively being the seventh key point, the eighth key point, The ninth key point and the tenth key point; wherein the first key point, the fourth key point, and the ninth key point are in a straight line, the second key point, the fifth key point The point, the 7th key point and the 10th key point are on a straight line, the 3rd key point, the 6th key point and the 8th key Point in a straight line.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Ophthalmology & Optometry (AREA)
  • Human Computer Interaction (AREA)
  • Collating Specific Patterns (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

A method and an apparatus for iris recognition for improvement of iris recognition rate. The method in the embodiments of the present invention comprises: obtaining an initial iris image of a subject; determining a Region of Interest (ROI) of the initial iris image; pre-processing the ROI to obtain a pre-processed iris image; processing the pre-processed iris image by using a 2D-Gabor filter to obtain a first set of feature data of the pre-processed iris image; processing the pre-processed iris image by using a Local Binary Pattern (LBP) algorithm to obtain a first set of feature vectors of the pre-processed iris image; calculating a first Hamming distance between the first set of feature data and prestored feature data, and calculating a first vector distance between the first set of feature vectors and prestored feature vectors; calculating weighted values of the first Hamming distance and the first vector distance, and recognizing ID of the subject according to the weighted values.

Description

一种虹膜识别方法及装置Iris recognition method and device 技术领域Technical field
本发明涉及人体生物识别技术邻域,具体涉及一种虹膜识别方法及装置。The invention relates to a neighborhood of human biometrics technology, and particularly relates to an iris recognition method and device.
背景技术Background technique
虹膜是眼睛构造的一部分,和手指指纹一样是独一无二的,能够用于确认身份。虽然虹膜本身具有很强的防伪特征,但是虹膜识别技术本身只是一种简单拍照和特征对比的技术。在虹膜识别技术中,通过传感器对被识别者的虹膜进行拍照获取的,被识别者可能使用高清图像、伪造的虹膜图像甚至是3D假眼球代替拍照的照片等方式来欺骗传感器,使得不法分子通过虹膜识别技术获取真实用户的重要信息,造成信息或者财产的损失。The iris is part of the eye structure and is unique to the finger print and can be used to confirm identity. Although the iris itself has strong anti-counterfeiting features, the iris recognition technology itself is just a simple technique for photographing and character comparison. In the iris recognition technology, when the iris of the recognized person is photographed by the sensor, the recognized person may use a high-definition image, a fake iris image or even a 3D fake eyeball instead of the photographed photo to deceive the sensor, so that the criminals pass Iris recognition technology acquires important information from real users, resulting in loss of information or property.
为了提高虹膜识别技术的安全性,虹膜识别技术在不断地改进,以降低不法分子伪造虹膜的风险。In order to improve the safety of iris recognition technology, iris recognition technology is constantly improving to reduce the risk of illegal molecules forging iris.
发明内容Summary of the invention
本发明实施例提供了一种虹膜识别方法及装置,用于提高虹膜识别的正确率,以解决现有技术中虹膜识别技术安全性不高的问题。The embodiment of the invention provides an iris recognition method and device for improving the accuracy of iris recognition, so as to solve the problem that the iris recognition technology in the prior art is not high in safety.
本发明第一方面提供了一种虹膜识别方法,可包括:A first aspect of the present invention provides an iris recognition method, which may include:
获取被识别者的初始虹膜图像;Obtaining an initial iris image of the identified person;
确定上述初始虹膜图像中的感兴趣区域ROI;Determining a region of interest ROI in the initial iris image;
对上述ROI进行预处理,得到预处理虹膜图像;Pre-processing the above ROI to obtain a pre-processed iris image;
采用2D-Gabor滤波器处理上述预处理虹膜图像,得到上述预处理虹膜图像的第1组特征数据;Processing the pre-processed iris image by using a 2D-Gabor filter to obtain a first set of feature data of the pre-processed iris image;
采用局部二值模式LBP算法处理上述预处理虹膜图像,得到上述预处理虹膜图像的第1组特征向量;The pre-processed iris image is processed by using a local binary mode LBP algorithm to obtain a first set of feature vectors of the preprocessed iris image;
计算上述第1组特征数据与预存储特征数据的第一海明距离,以及计算上述第1组特征向量与预存特征向量的第一向量距离,上述预存储特征数据为事先根据上述被识别者的虹膜计算得到,上述特征向量为事先根据上述被识别者的虹膜计算得到;Calculating a first Hamming distance of the first set of feature data and the pre-stored feature data, and calculating a first vector distance of the first set of feature vectors and the pre-stored feature vector, wherein the pre-stored feature data is previously determined according to the identified person The iris calculation calculates that the feature vector is calculated in advance according to the iris of the identified person;
计算上述第一海明距离与上述第一向量距离的加权值,根据上述加权值对 上述被识别者进行身份识别。Calculating a weighting value of the first Hamming distance and the first vector distance, according to the weighting value pair The identified person is identified.
可以看出,本发明实施例中先从初始虹膜图像中确定出ROI,然后对ROI进行预处理,得到预处理虹膜图像,并利用两种不同方式来获取预处理虹膜图像中的特征数据,一种是采用2D-Gabor滤波器获取预处理虹膜图像的特征数据,一种是采用LBP算法获取预处理虹膜图像的特征向量,然后计算特征数据与预存储特征数据的海明距离,计算特征向量与预存特征向量的向量距离,预存储特征数据和预存特征向量都是从该被识别者的真实虹膜图像中获取得到,所谓真实虹膜图像是指通过近红外传感器直接从被识别者的眼睛获取到的虹膜图像,而不是通过高清打印的图像或者3D假眼球获得的伪造虹膜图像。然后计算海明距离与向量距离的加权值,通过加权值能够准确地识别出被识别者,二层特征数据的联合,能够提高识别率,降低不法分子伪造虹膜的风险。It can be seen that in the embodiment of the present invention, the ROI is first determined from the initial iris image, and then the ROI is preprocessed to obtain a preprocessed iris image, and the feature data in the preprocessed iris image is obtained by using two different methods. The feature data of the pre-processed iris image is obtained by using 2D-Gabor filter. One is to obtain the feature vector of the pre-processed iris image by LBP algorithm, and then calculate the Hamming distance between the feature data and the pre-stored feature data, and calculate the feature vector and The vector distance of the pre-stored feature vector, the pre-stored feature data and the pre-stored feature vector are obtained from the real iris image of the recognized person, and the so-called real iris image is obtained directly from the eyes of the recognized person through the near-infrared sensor. Iris image, not a forged iris image obtained by high-definition printed images or 3D fake eyeballs. Then, the weighted value of Hamming distance and vector distance is calculated. The weighted value can accurately identify the identified person and the combination of the two layers of feature data, which can improve the recognition rate and reduce the risk of illegal molecules forging iris.
在本发明一些实施例中,上述获取被识别者的初始虹膜图像包括:通过近红外线传感器,获取上述被识别者的初始虹膜图像。In some embodiments of the present invention, the obtaining the initial iris image of the recognized person comprises: acquiring an initial iris image of the recognized person by using a near-infrared sensor.
在本发明一些实施例中,上述确定上述初始虹膜图像中的感兴趣区域ROI包括:在上述初始虹膜图像中确定若干关键点,根据上述若干关键点确定上述初始虹膜图像中的ROI。In some embodiments of the present invention, determining the ROI of the ROI in the initial iris image includes: determining a plurality of key points in the initial iris image, and determining an ROI in the initial iris image according to the plurality of key points.
可选地,上述若干关键点包括均匀分布在虹膜与瞳孔分界线上的六个关键点,分别为第1关键点、第2关键点、第3关键点、第4关键点、第5关键点和第6关键点;上述若干关键点还包括分布在上述虹膜与眼白分界线上的四个关键点,分别为第7个关键点、第8个关键点、第9个关键点和第10个关键点;其中,上述第1个关键点、第4个关键点和第9个关键点在一条直线上,上述第2个关键点、第5个关键点、第7个关键点和第10个关键点在一条直线上,上述第3个关键点、第6个关键点和第8个关键点在一条直线上。Optionally, the above key points include six key points uniformly distributed on the boundary between the iris and the pupil, respectively being the first key point, the second key point, the third key point, the fourth key point, and the fifth key point. And the sixth key point; the above key points also include four key points distributed on the above-mentioned iris and eye white boundary, which are the 7th key point, the 8th key point, the 9th key point and the 10th Key point; wherein the first key point, the fourth key point and the ninth key point are on a straight line, the second key point, the fifth key point, the seventh key point and the tenth The key points are on a straight line, and the third key point, the sixth key point, and the eighth key point are on a straight line.
在本发明一些实施例中,上述对上述ROI进行预处理,得到预处理虹膜图像包括:对上述ROI进行极坐标变换,得到矩形虹膜图像;对上述矩形虹膜图像进行归一化处理,得到上述预处理虹膜图像。In some embodiments of the present invention, the pre-processing the ROI to obtain the pre-processed iris image comprises: performing polar coordinate transformation on the ROI to obtain a rectangular iris image; normalizing the rectangular iris image to obtain the pre-predetermined Handle the iris image.
在本发明一些实施例中,上述采用2D-Gabor滤波器处理上述预处理虹膜图像,得到上述预处理虹膜图像的第1组特征数据包括:将上述预处理虹膜图像划分成M个图像区域;上述M为大于或等于2的正整数;采用2D-Gabor 滤波器对上述M个图像区域中的每一个图像区域进行卷积,得到对应的响应幅值;对上述响应幅值进行编码,组合上述M个图像区域对应的编码得到上述第1组特征数据。In some embodiments of the present invention, the processing the first pre-processed iris image by using the 2D-Gabor filter to obtain the first set of feature data of the pre-processed iris image comprises: dividing the pre-processed iris image into M image regions; M is a positive integer greater than or equal to 2; using 2D-Gabor The filter convolves each of the M image regions to obtain a corresponding response amplitude; encodes the response amplitude, and combines the codes corresponding to the M image regions to obtain the first set of feature data.
进一步地,上述采用2D-Gabor滤波器对上述M个图像区域中的每一个图像区域进行卷积,得到对应的响应幅值包括:采用K个频率L个方向2D-Gabor滤波器,对上述M个图像区域中的每一个图像区域进行卷积,得到每一个图像区域对应的K×L个响应幅值;Further, the above-mentioned image region of each of the M image regions is convoluted by using a 2D-Gabor filter to obtain a corresponding response amplitude, including: using K frequency L direction 2D-Gabor filters, for the above M Each image area in each image area is convoluted to obtain K×L response amplitude values corresponding to each image area;
同时,上述对上述响应幅值进行编码,组合上述M个图像区域对应的编码得到上述特征数据包括:对每一个图像区域中的每一个频率下的L个响应幅值进行二值化编码,得到每一个图像区域的每一个频率对应的两个编码,组合每一个图像区域中的K个频率得到每一个图像区域对应的K×2个编码;组合M个图像区域对应的编码得到上述第1组特征数据,上述第1组特征数据包括M×K×2个编码。At the same time, the above-mentioned response amplitude is encoded, and combining the codes corresponding to the M image regions to obtain the feature data includes: binarizing and encoding L response amplitudes at each frequency in each image region to obtain Each of the two regions corresponding to each frequency of the image region, combining K frequencies in each image region to obtain K×2 codes corresponding to each image region; combining the codes corresponding to the M image regions to obtain the first group The feature data, the first set of feature data includes M × K × 2 codes.
更进一步地,上述对每一个图像区域中的每一个频率下的L个响应幅值进行二值化编码,得到每一个图像区域的每一个频率对应的两个编码包括:当上述L个响应幅值的第n个响应幅值不大于第n+1个响应幅值,将上述第n个响应幅值对应二值化编码为1,当上述第n个响应幅值大于上述第n+1个响应幅值时,将上述第n个响应幅值对应二值化编码为0,其中,上述n为大于或等于1的正整数;组合上述L个响应幅值对应的编码,得到L个二值化编码;根据上述L个二值化编码得到2个编码,组合每一个图像区域中的K个频率的编码得到K×2个编码。Further, the above-mentioned L response amplitude values at each frequency in each image region are binarized, and two codes corresponding to each frequency of each image region are obtained: when the above L response frames The nth response amplitude of the value is not greater than the n+1th response amplitude, and the nth response amplitude is correspondingly binarized to 1, when the nth response amplitude is greater than the n+1th In response to the amplitude, the nth response amplitude is correspondingly binarized to 0, wherein the n is a positive integer greater than or equal to 1; combining the codes corresponding to the L response amplitudes to obtain L binary values Encoding; obtaining two codes according to the above L binarization codes, and combining K codes of each of the image regions to obtain K×2 codes.
在本发明一些实施例中,上述采用局部二值模式LBP算法处理上述预处理虹膜图像,得到上述预处理虹膜图像的第1组特征向量包括:将上述预处理虹膜图像划分成N个图像区域,上述N为大于或等于2的正整数;获取上述N个图像区域中每一个图像区域对应的LBP特征,组合上述N个图像区域对应的LBP特征,得到上述第1组特征向量。In some embodiments of the present invention, the processing of the pre-processed iris image by using the local binary mode LBP algorithm to obtain the first set of feature vectors of the pre-processed iris image comprises: dividing the pre-processed iris image into N image regions, The N is a positive integer greater than or equal to 2; the LBP feature corresponding to each of the N image regions is obtained, and the LBP features corresponding to the N image regions are combined to obtain the first set of feature vectors.
进一步地,上述获取上述N个图像区域中每一个图像区域对应的LBP特征,组合上述N个图像区域对应的LBP特征,得到上述第1组特征向量包括:对每一个图像区域中每一个像素进行二值化编码,得到每一个像素对应的二值 化编码;根据每一个图像区域中所有像素对应的二值化编码,得到每一个图像区域对应的直方图;组合上述N个图像区域对应的直方图,得到上述第1组特征向量。Further, the obtaining the LBP feature corresponding to each of the N image regions and combining the LBP features corresponding to the N image regions to obtain the first set of feature vectors includes: performing, for each pixel in each image region Binary coding to obtain the binary value corresponding to each pixel The coding method is obtained according to the binarization coding corresponding to all the pixels in each image region, and the histogram corresponding to each of the image regions is obtained, and the first group of feature vectors is obtained by combining the histograms corresponding to the N image regions.
更进一步地,上述对每一个图像区域中每一个像素进行二值化编码,得到每一个像素对应的二值化编码包括:获取每一个图像区域中的每一个像素点的灰度值,依次比较每一个像素点的灰度值与8个邻域像素点的灰度值;当像素点的灰度值大于邻域像素点的灰度值时,对应二值化编码为1;当像素点的灰度值小于或等于8个邻域像素点的灰度值时,对应二值化编码为0,得到每一个像素点对应的8位字节的二值化编码。Further, the above-mentioned binarization coding is performed on each pixel in each image region, and obtaining the binarization code corresponding to each pixel includes: acquiring gray values of each pixel in each image region, and sequentially comparing them. The gray value of each pixel and the gray value of 8 neighborhood pixels; when the gray value of the pixel is greater than the gray value of the neighborhood pixel, the corresponding binarization code is 1; when the pixel is When the gray value is less than or equal to the gray value of the eight neighboring pixel points, the corresponding binarized code is 0, and the binarized code of the 8-bit byte corresponding to each pixel point is obtained.
在本发明一些实施例中,上述计算上述第1组特征向量与预存特征向量的向量距离之前包括:对上述特征向量进行降维处理,并对降维后的特征向量进行归一化处理,得到归一化特征向量;进而,上述计算上述特征向量与预存特征向量的向量距离包括:计算上述归一化特征向量与上述预存特征序列的向量距离。In some embodiments of the present invention, before calculating the vector distance between the first set of feature vectors and the pre-stored feature vectors, the method further comprises: performing dimensionality reduction on the feature vectors, and normalizing the reduced-dimensional feature vectors to obtain Normalizing the feature vector; further, calculating the vector distance between the feature vector and the pre-stored feature vector includes: calculating a vector distance between the normalized feature vector and the pre-stored feature sequence.
在本发明一些实施例中,在上述计算上述第一海明距离与上述第一向量距离的加权值之前包括:将上述预处理虹膜图像划分成H个图像区域,采用I个频率J个方向的2D-Gabor对上述H个图像区域进行处理,得到第2组数据特征;计算上述第2组数据特征与上述预存储特征数据的第二海明距离;进而,上述计算上述海明距离与上述向量距离的加权值包括:计算上述第一海明距离、上述第二海明距离和上述第一向量特征的加权值。In some embodiments of the present invention, before calculating the weighting value of the first Hamming distance and the first vector distance, the method comprises: dividing the pre-processed iris image into H image regions, using one frequency and J directions. 2D-Gabor processes the H image regions to obtain a second set of data features; calculates a second Hamming distance between the second set of data features and the pre-stored feature data; and further, calculating the Hamming distance and the vector The weighted value of the distance includes: a weighting value for calculating the first Hamming distance, the second Hamming distance, and the first vector feature.
本发明第二方面提供了一种虹膜识别装置,可包括:A second aspect of the present invention provides an iris recognition apparatus, which may include:
获取模块,用于获取被识别者的初始虹膜图像;An obtaining module, configured to acquire an initial iris image of the identified person;
确定模块,用于确定上述初始虹膜图像中的感兴趣区域ROI;a determining module, configured to determine a region of interest ROI in the initial iris image;
预处理模块,用于对上述ROI进行预处理,得到预处理虹膜图像;a preprocessing module, configured to preprocess the ROI to obtain a preprocessed iris image;
特征获取模块,用于采用2D-Gabor滤波器处理上述预处理虹膜图像,得到上述预处理虹膜图像的第1组特征数据;采用局部二值模式LBP算法处理上述预处理虹膜图像,得到上述预处理虹膜图像的第1组特征向量;a feature acquisition module, configured to process the pre-processed iris image by using a 2D-Gabor filter to obtain a first set of feature data of the pre-processed iris image; and processing the pre-processed iris image by using a local binary mode LBP algorithm to obtain the pre-processing a first set of eigenvectors of the iris image;
识别模块,用于计算上述第1组特征数据与预存储特征数据的第一海明距离,以及计算上述第1组特征向量与预存特征向量的第一向量距离,上述预存 储特征数据为事先根据上述被识别者的虹膜计算得到,上述特征向量为事先根据上述被识别者的虹膜计算得到;计算上述第一海明距离与上述第一向量距离的加权值,根据上述加权值对上述被识别者进行身份识别。An identification module, configured to calculate a first Hamming distance of the first set of feature data and the pre-stored feature data, and calculate a first vector distance between the first set of feature vectors and the pre-stored feature vector, where the pre-stored The stored feature data is calculated in advance according to the iris of the identified person, and the feature vector is calculated according to the iris of the recognized person in advance; calculating a weighting value of the distance between the first Hamming distance and the first vector, according to the weighting The value identifies the identified person.
在本发明一些实施例中,上述获取模块具体用于,通过近红外线传感器,获取上述被识别者的初始虹膜图像。In some embodiments of the present invention, the acquiring module is specifically configured to acquire an initial iris image of the identified person by using a near-infrared sensor.
在本发明一些实施例中,上述确定模块具体用于,在上述初始虹膜图像中确定若干关键点,根据上述若干关键点确定上述初始虹膜图像中的ROI。In some embodiments of the present invention, the determining module is specifically configured to determine a plurality of key points in the initial iris image, and determine an ROI in the initial iris image according to the plurality of key points.
可选地,上述若干关键点包括均匀分布在虹膜与瞳孔分界线上的六个关键点,分别为第1关键点、第2关键点、第3关键点、第4关键点、第5关键点和第6关键点;上述若干关键点还包括分布在上述虹膜与眼白分界线上的四个关键点,分别为第7个关键点、第8个关键点、第9个关键点和第10个关键点;其中,上述第1个关键点、第4个关键点和第9个关键点在一条直线上,上述第2个关键点、第5个关键点、第7个关键点和第10个关键点在一条直线上,上述第3个关键点、第6个关键点和第8个关键点在一条直线上。Optionally, the above key points include six key points uniformly distributed on the boundary between the iris and the pupil, respectively being the first key point, the second key point, the third key point, the fourth key point, and the fifth key point. And the sixth key point; the above key points also include four key points distributed on the above-mentioned iris and eye white boundary, which are the 7th key point, the 8th key point, the 9th key point and the 10th Key point; wherein the first key point, the fourth key point and the ninth key point are on a straight line, the second key point, the fifth key point, the seventh key point and the tenth The key points are on a straight line, and the third key point, the sixth key point, and the eighth key point are on a straight line.
在本发明一些实施例中,上述预处理模块具体用于,对上述ROI进行极坐标变换,得到矩形虹膜图像;对上述矩形虹膜图像进行归一化处理,得到上述预处理虹膜图像。In some embodiments of the present invention, the pre-processing module is specifically configured to perform polar coordinate transformation on the ROI to obtain a rectangular iris image; and normalize the rectangular iris image to obtain the pre-processed iris image.
在本发明一些实施例中,上述特征获取模块进一步具体用于,将上述预处理虹膜图像划分成M个图像区域;上述M为大于或等于2的正整数;采用2D-Gabor滤波器对上述M个图像区域中的每一个图像区域进行卷积,得到对应的响应幅值;对上述响应幅值进行编码,组合上述M个图像区域对应的编码得到上述第1组特征数据。In some embodiments of the present invention, the feature acquiring module is further configured to: divide the pre-processed iris image into M image regions; the M is a positive integer greater than or equal to 2; and use the 2D-Gabor filter to Each of the image regions is convoluted to obtain a corresponding response amplitude; the response amplitude is encoded, and the first group of feature data is obtained by combining the codes corresponding to the M image regions.
在本发明一些实施例中,上述特征获取模块更进一步具体用于,采用K个频率L个方向2D-Gabor滤波器,对上述M个图像区域中的每一个图像区域进行卷积,得到每一个图像区域对应的K×L个响应幅值;对每一个图像区域中的每一个频率下的L个响应幅值进行二值化编码,得到每一个图像区域的每一个频率对应的两个编码,组合每一个图像区域中的K个频率得到每一个图像区域对应的K×2个编码;组合M个图像区域对应的编码得到上述第1组特征数据,上述第1组特征数据包括M×K×2个编码。 In some embodiments of the present invention, the feature acquiring module is further specifically configured to perform convolution on each of the M image regions by using K frequency L direction 2D-Gabor filters to obtain each of the image regions. K×L response amplitudes corresponding to image regions; binarizing and encoding L response amplitudes at each frequency in each image region to obtain two codes corresponding to each frequency of each image region, Combining K frequencies in each image region to obtain K×2 codes corresponding to each image region; combining the corresponding images of the M image regions to obtain the first group of feature data, wherein the first group of feature data includes M×K× 2 codes.
在本发明一些实施例中,上述特征获取模块进一步具体用于,当上述L个响应幅值的第n个响应幅值不大于第n+1个响应幅值,将上述第n个响应幅值对应二值化编码为1,当上述第n个响应幅值大于上述第n+1个响应幅值时,将上述第n个响应幅值对应二值化编码为0,其中,上述n为大于或等于1的正整数;组合上述L个响应幅值对应的编码,得到L个二值化编码;根据上述L个二值化编码得到2个编码,组合每一个图像区域中的K个频率的编码得到K×2个编码。In some embodiments of the present invention, the feature acquiring module is further configured to: when the nth response amplitude of the L response amplitudes is not greater than the n+1th response amplitude, the nth response amplitude Corresponding to the binarization code is 1, when the nth response amplitude is greater than the n+1th response amplitude, the nth response amplitude is correspondingly binarized to 0, wherein the n is greater than Or a positive integer equal to 1; combining the codes corresponding to the L response amplitudes to obtain L binarized codes; obtaining 2 codes according to the L binarized codes, combining K frequencies in each image region The encoding yields K x 2 codes.
在本发明一些实施例中,上述特征获取模块还具体用于,将上述预处理虹膜图像划分成N个图像区域,上述N为大于或等于2的正整数;获取上述N个图像区域中每一个图像区域对应的LBP特征,组合上述N个图像区域对应的LBP特征,得到上述第1组特征向量。In some embodiments of the present invention, the feature acquiring module is further configured to divide the pre-processed iris image into N image regions, where the N is a positive integer greater than or equal to 2; and each of the N image regions is acquired. The LBP feature corresponding to the image region combines the LBP features corresponding to the N image regions to obtain the first set of feature vectors.
在本发明一些实施例中,上述特征获取模块进一步具体用于,对每一个图像区域中每一个像素进行二值化编码,得到每一个像素对应的二值化编码;根据每一个图像区域中所有像素对应的二值化编码,得到每一个图像区域对应的直方图;组合上述N个图像区域对应的直方图,得到上述第1组特征向量。In some embodiments of the present invention, the feature acquiring module is further configured to perform binarization coding on each pixel in each image region to obtain a binarized code corresponding to each pixel; according to all the image regions. Binary coding corresponding to the pixel, obtaining a histogram corresponding to each image region; combining the histogram corresponding to the N image regions to obtain the first group of feature vectors.
在本发明一些实施例中,上述特征获取模块进一步具体用于,获取每一个图像区域中的每一个像素点的灰度值,依次比较每一个像素点的灰度值与8个邻域像素点的灰度值;当像素点的灰度值大于邻域像素点的灰度值时,对应二值化编码为1;当像素点的灰度值小于或等于8个邻域像素点的灰度值时,对应二值化编码为0,得到每一个像素点对应的8位字节的二值化编码。In some embodiments of the present invention, the feature acquiring module is further configured to: acquire gray values of each pixel in each image region, and sequentially compare gray values of each pixel with 8 neighbor pixels. Gray value; when the gray value of the pixel is greater than the gray value of the neighborhood pixel, the corresponding binarization code is 1; when the gray value of the pixel is less than or equal to the gray of 8 neighborhood pixels For the value, the corresponding binarization code is 0, and the binarized code of the 8-bit byte corresponding to each pixel is obtained.
在本发明一些实施例中,上述识别模块具体用于,对上述特征向量进行降维处理,并对降维后的特征向量进行归一化处理,得到归一化特征向量;计算上述归一化特征向量与上述预存特征序列的向量距离。In some embodiments of the present invention, the foregoing identification module is specifically configured to perform dimension reduction processing on the feature vector, and perform normalization processing on the reduced dimension feature vector to obtain a normalized feature vector; and calculate the normalization. The vector distance of the feature vector from the pre-stored feature sequence described above.
在本发明一些实施例中,上述特征获取模块还用于,将上述预处理虹膜图像划分成H个图像区域,采用I个频率J个方向的2D-Gabor对上述H个图像区域进行处理,得到第2组数据特征;进而,上述识别模块具体用于,计算上述第2组数据特征与上述预存储特征数据的第二海明距离;计算上述第一海明距离、上述第二海明距离和上述第一向量特征的加权值。In some embodiments of the present invention, the feature acquiring module is further configured to divide the pre-processed iris image into H image regions, and process the H image regions by using 2D-Gabors with 1 frequency and J directions. a second set of data features; further, the identifying module is configured to calculate a second Hamming distance between the second set of data features and the pre-stored feature data; and calculate the first Hamming distance, the second Hamming distance, and The weighting value of the first vector feature described above.
本发明第三方面提供了一种虹膜识别装置,可包括: A third aspect of the present invention provides an iris recognition apparatus, which may include:
处理器以及存储器;Processor and memory;
所述存储器用于存储程序;The memory is used to store a program;
所述处理器用于执行所述存储器中的程序,使得所述虹膜识别装置执行第一方面提供的虹膜识别方法。The processor is configured to execute a program in the memory such that the iris recognition device performs the iris recognition method provided by the first aspect.
本发明第四方面提供了一种存储一个或多个程序的存储介质,所述一个或多个程序包括指令,所述指令当被包括一个或多个处理器的第三方面的虹膜识别装置执行时,使所述虹膜识别装置执行第一方面提供的虹膜识别方法。A fourth aspect of the invention provides a storage medium storing one or more programs, the one or more programs comprising instructions that are executed by an iris recognition device of a third aspect comprising one or more processors The iris recognition device is caused to perform the iris recognition method provided by the first aspect.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following description of the embodiments will be briefly described. It is obvious that the drawings in the following description are only some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1为本发明实施例提供的虹膜识别方法的流程示意图;1 is a schematic flowchart of an iris recognition method according to an embodiment of the present invention;
图2a为本发明实施例提供的关键点的示意图;2a is a schematic diagram of key points provided by an embodiment of the present invention;
图2b为本发明实施例提供的ROI区域的示意图;2b is a schematic diagram of an ROI area according to an embodiment of the present invention;
图2c为本发明实施例提供的矩形ROI示意图;2c is a schematic diagram of a rectangular ROI according to an embodiment of the present invention;
图2d为本发明实施例提供的预处理虹膜图像的示意图;2d is a schematic diagram of a preprocessed iris image according to an embodiment of the present invention;
图2e为本发明实施例中不同参数配置下Gabor滤波器核函数的效果图;2e is an effect diagram of a Gabor filter kernel function in different parameter configurations according to an embodiment of the present invention;
图2f为本发明实施例提供的像素点与8个邻域像素点的关系图;2f is a diagram of relationship between a pixel point and eight neighboring pixel points according to an embodiment of the present invention;
图3为本发明实施例提供的虹膜识别装置的结构示意图;3 is a schematic structural diagram of an iris recognition device according to an embodiment of the present invention;
图4为本发明实施例提供的虹膜识别装置的另一结构示意图。FIG. 4 is another schematic structural diagram of an iris recognition device according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本邻域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
本发明实施例提供了一种虹膜识别方法,用于提高虹膜识别率,降低不法分子伪造虹膜的风险。本发明实施例还提供了一种虹膜识别方法对应的装置。Embodiments of the present invention provide an iris recognition method for improving iris recognition rate and reducing the risk of illegal molecules forging iris. The embodiment of the invention further provides an apparatus corresponding to the iris recognition method.
虹膜是眼睛构造的一部分,虹膜中心有一圆形开口,称为通孔。因每个人 的虹膜都是不同的,所以虹膜可以用于身份识别。虹膜因人种不一样,其颜色也不一样,主要有蓝色和褐色,其它颜色都是混合而成。其中,白种人的虹膜多为蓝色,而黄种人的虹膜多为褐色,蓝色虹膜在可见光下比较清晰,但是褐色虹膜在可见光下就不太清楚,而褐色虹膜在近红外线下反而能够清晰可见。因此,针对黄种人的褐色虹膜,在本发明实施例中采用近红外传感器照射,以获得清晰的虹膜图像。The iris is part of the eye structure, and the center of the iris has a circular opening called a through hole. Because everyone The irises are all different, so the iris can be used for identification. The iris is different in color, and its color is different. It is mainly blue and brown, and other colors are mixed. Among them, the white iris is mostly blue, while the yellow iris is mostly brown. The blue iris is clear under visible light, but the brown iris is not clear under visible light, while the brown iris can be under near infrared. clear and distinct. Therefore, for the yellow iris of the yellow race, in the embodiment of the present invention, the near-infrared sensor is used to obtain a clear iris image.
在通过虹膜识别身份时,主要是通过分析虹膜图像。而虹膜图像可以是直接从被识别者眼睛拍照得到,同样也有非法分子通过伪造虹膜图像,去假冒被识别者。伪造的虹膜图像可以是通过高清技术打印出来的虹膜图像,或者是拍照3D假眼球得到的虹膜图像。伪造的虹膜图像与真实的虹膜图像有着很大的相似性,虹膜识别系统容易将这些伪造虹膜图像当成真实虹膜图像。When identifying an identity through the iris, it is mainly by analyzing the iris image. The iris image can be taken directly from the eyes of the identified person, as well as illegal molecules to fake the identified image by forging the iris image. The forged iris image can be an iris image printed by high-definition technology or an iris image obtained by photographing a 3D fake eyeball. The forged iris image has a great similarity to the real iris image, and the iris recognition system can easily treat these forged iris images as real iris images.
但是,由于通过使用喷墨打印机打印的高清彩色虹膜图像,由于各种颜色的打印墨水对近红外光谱的吸收率是一样的,因此在近红外光感应的摄像头下,则难以拍摄出眼睛中的虹膜图像。而采用硅胶或者其它材料制作出来的3D假眼睛,制作材料与真实眼睛存在很大区别,具体体现在一些特征的细微差别上,因此,在进行虹膜识别时可以加强对特征数据地处理,以提高虹膜识别的准确率,减少被伪造的风险。However, due to the high-resolution color iris image printed by using an inkjet printer, since the absorption of the near-infrared spectrum is the same for the printing inks of various colors, it is difficult to photograph the eyes in the near-infrared light-sensing camera. Iris image. The 3D fake eyes made of silica gel or other materials have a great difference between the materials and the real eyes, which are embodied in the nuances of some features. Therefore, the processing of the feature data can be enhanced when the iris recognition is performed to improve The accuracy of iris recognition reduces the risk of being forged.
基于上述论述,请参阅图1,图1为本发明实施例提供的虹膜识别方法的流程示意图;如图1所示,一种虹膜识别方法可包括:Based on the above discussion, please refer to FIG. 1. FIG. 1 is a schematic flowchart diagram of an iris recognition method according to an embodiment of the present invention; as shown in FIG. 1, an iris recognition method may include:
101、获取被识别者的初始虹膜图像;101. Acquire an initial iris image of the identified person;
本发明实施例可以优选用于识别黄种人的身份,因此,重要针对的是褐色的虹膜,为了能够获得更加清晰的虹膜图像,在本发明实施例中,采集虹膜图像的设备可以为近红外传感器,通过近红外传感器拍照以获得被识别者的初始虹膜图像。The embodiment of the present invention can be preferably used to identify the identity of a yellow person. Therefore, it is important to target a brown iris. In order to obtain a clearer iris image, in the embodiment of the present invention, the device for collecting the iris image may be a near-infrared sensor. Photographing through a near-infrared sensor to obtain an initial iris image of the identified person.
102、确定上述初始虹膜图像中的感兴趣区域(Region of Interest,简称ROI);102. Determine a Region of Interest (ROI) in the initial iris image.
先确定初始虹膜图像中的ROI,根据ROI中的特征来进行身份识别,能够提高识别的准确率。Firstly, the ROI in the initial iris image is determined, and the identity is determined according to the features in the ROI, which can improve the accuracy of the recognition.
在本发明一些实施例中,可以先在初始虹膜图像中确定出若干关键点,这 些关键点可以在眼睛的瞳孔与虹膜分界线上以及在虹膜与眼白的分界线上。请参阅图2a,图2a为本发明实施例提供的关键点的示意图,在图2a中,初始虹膜图像中共确定出10个关键点,其中,6个关键点在瞳孔与虹膜的分界线处获取,这6个关键点分别分布在瞳孔与虹膜的分界线处,分别为第1关键点、第2关键点、第3关键点、第4关键点、第5关键点和第6关键点。另外4个关键点在虹膜与眼白的分界线处,分别为7个关键点、第8个关键点、第9个关键点和第10个关键点。在图2a中可以看出,其中,上述第1个关键点、第4个关键点和第9个关键点在一条直线上,上述第2个关键点、第5个关键点、第7个关键点和第10个关键点在一条直线上,上述第3个关键点、第6个关键点和第8个关键点在一条直线上。In some embodiments of the invention, a number of key points may be determined in the initial iris image first. These key points can be on the pupil's pupil-iris boundary and on the dividing line between the iris and the white of the eye. Referring to FIG. 2a, FIG. 2a is a schematic diagram of key points provided by an embodiment of the present invention. In FIG. 2a, 10 key points are determined in the initial iris image, wherein 6 key points are obtained at the boundary between the pupil and the iris. These six key points are respectively distributed at the boundary between the pupil and the iris, which are the first key point, the second key point, the third key point, the fourth key point, the fifth key point and the sixth key point. The other four key points are at the boundary between the iris and the white of the eye, which are 7 key points, 8th key point, 9th key point and 10th key point. As can be seen in Figure 2a, the first key point, the fourth key point and the ninth key point are on a straight line, the second key point, the fifth key point, and the seventh key. The point and the 10th key point are on a straight line, and the 3rd key point, the 6th key point, and the 8th key point are in a straight line.
根据上述10个关键点,确定出一个ROI区域,具体如图2b所示,确定出来的ROI也就是瞳孔与眼白之间的虹膜区域,具体如图2b中的白色区域所示,可以看出,从初始虹膜图像确定出来的ROI是一个环形区域。According to the above 10 key points, an ROI area is determined. As shown in FIG. 2b, the determined ROI is the iris area between the pupil and the white of the eye. As shown in the white area in FIG. 2b, it can be seen that The ROI determined from the initial iris image is an annular region.
103、对所述ROI进行预处理,得到预处理虹膜图像;103. Perform pre-processing on the ROI to obtain a pre-processed iris image;
对ROI的预处理,可以包括对ROI的极坐标变换。可以理解,虹膜围绕在瞳孔四周,确定出来的ROI也是一个环形区域,在预处理时,需要将环形的ROI变换成矩形的ROI。具体地,可以在环形ROI以一直径将环形切断,然后进行非线性拉伸,使得环形的ROI变换称为矩形的ROI,如图2c所示,将ROI拉伸得到一个矩形区域。The preprocessing of the ROI may include a polar coordinate transformation of the ROI. It can be understood that the iris surrounding the pupil is also an annular region. In the preprocessing, the circular ROI needs to be transformed into a rectangular ROI. Specifically, the annular ROI may be cut at a diameter and then nonlinearly stretched such that the circular ROI transformation is referred to as a rectangular ROI, and as shown in Figure 2c, the ROI is stretched to obtain a rectangular region.
进一步地,对矩形的ROI进行归一化处理,使得矩形ROI变换成为固定大小的矩形ROI,并且对归一化大小后的矩形ROI进行局部灰度对比度进行归一化,如图2d所示,最后得到预处理虹膜图像。Further, normalizing the rectangular ROI, the rectangular ROI is transformed into a fixed-size rectangular ROI, and the localized grayscale contrast is normalized to the normalized rectangular ROI, as shown in FIG. 2d. Finally, a preprocessed iris image is obtained.
104、采用2D-Gabor滤波器处理所述预处理虹膜图像,得到所述预处理虹膜图像的第1组特征数据;104. The preprocessed iris image is processed by using a 2D-Gabor filter to obtain a first set of feature data of the preprocessed iris image;
需要说明,加伯转换(Gabor)滤波器能够较好的提取出人类视觉系统敏感的图像频率和方向特征,因此,在本发明实施例中采用Gabor滤波器对ROI进行滤波可以得到更好的效果。It should be noted that the Gabor filter can extract the image frequency and directional characteristics sensitive to the human visual system. Therefore, in the embodiment of the present invention, the Gabor filter can be used to filter the ROI to obtain better results. .
在本发明实施例中,通过采样若干虹膜图像,将虹膜图像划分成多个虹膜子模块,然后对虹膜子模块进行处理,从而得到一个2D Gabor滤波器。 In the embodiment of the present invention, by sampling a plurality of iris images, the iris image is divided into a plurality of iris sub-modules, and then the iris sub-module is processed to obtain a 2D Gabor filter.
该2D Gabor滤波器的计算公式如下:The calculation formula of the 2D Gabor filter is as follows:
Figure PCTCN2015099341-appb-000001
Figure PCTCN2015099341-appb-000001
u=x cosθ+y sinθu=x cosθ+y sinθ
v=y cosθ-x sinθv=y cosθ-x sinθ
其中,θ是滤波器的方向,δu是高斯包络在平行于θ方向上的标准差,δv是高斯包括在垂直于θ方向上的标准差,在这里可以取值为1,ω为复正弦函数的频率。请参阅图2e,图2e为本发明实施例中不同参数配置下Gabor滤波器核函数的效果图。Where θ is the direction of the filter, δ u is the standard deviation of the Gaussian envelope parallel to the θ direction, and δ v is the standard deviation of Gaussian included in the direction perpendicular to θ, where the value can be 1, ω The frequency of the complex sine function. Referring to FIG. 2e, FIG. 2e is an effect diagram of a Gabor filter kernel function in different parameter configurations according to an embodiment of the present invention.
如图2e所示,图(a)为θ=0时Gabor滤波器核函数的图像;图(b)为
Figure PCTCN2015099341-appb-000002
时Gabor滤波器核函数的图像;图(c)为
Figure PCTCN2015099341-appb-000003
时Gabor滤波器核函数的图像;图(d)为
Figure PCTCN2015099341-appb-000004
时Gabor滤波器核函数的图像;图(e)为θ=π时Gabor滤波器核函数的图像;图(f)为π=0.1时Gabor滤波器核函数的图像;图(g)为π=0.3时Gabor滤波器核函数的图像;图(h)为θ=0时Gabor滤波器核函数的图像。
As shown in Figure 2e, Figure (a) is an image of the Gabor filter kernel function at θ = 0; Figure (b) is
Figure PCTCN2015099341-appb-000002
Image of the Gabor filter kernel function; Figure (c) is
Figure PCTCN2015099341-appb-000003
Image of the Gabor filter kernel function; Figure (d) is
Figure PCTCN2015099341-appb-000004
The image of the Gabor filter kernel function; Fig. (e) is the image of the Gabor filter kernel function when θ = π; Fig. (f) is the image of the Gabor filter kernel function when π = 0.1; Fig. (g) is π = The image of the Gabor filter kernel function at 0.3°; and (h) is the image of the Gabor filter kernel function at θ=0.
研究发现,Gabor滤波器十分适合纹理表达和分离。在空间域中,一个2DGabor滤波器是一个由正弦平面波调制的高斯核函数。对ROI进行滤波处理后可以得到该ROI对应的特征数据,其中,对ROI进行滤波处理的一种具体方式可以是通过卷积运算来获取特征数据。The study found that Gabor filters are well suited for texture expression and separation. In the spatial domain, a 2DGabor filter is a Gaussian kernel function modulated by a sinusoidal plane wave. After the ROI is filtered, the feature data corresponding to the ROI may be obtained. One specific manner of filtering the ROI may be obtaining the feature data by a convolution operation.
在本发明实施例中先通过2D Gabor滤波器获取响应幅值,然后对响应幅值进行编码,以获得特征数据。In the embodiment of the present invention, the response amplitude is first obtained by a 2D Gabor filter, and then the response amplitude is encoded to obtain feature data.
经过多次试验证明,当一组Gabor滤波器复正弦函数的频率为ω1=4.0,另一组Gabor滤波器复正弦函数的频率为ω2=4.5时,可以取得较好的效果,特征数据的识别性更强。其中,这里的图像区域可以是相邻两个图像区域具有部分重叠的图像区域。After many experiments, when the frequency of the complex sinusoid function of a set of Gabor filters is ω 1 =4.0, and the frequency of the complex sinusoidal function of another set of Gabor filters is ω 2 =4.5, better results can be obtained. More recognizable. Wherein, the image area here may be an image area in which two adjacent image areas have partial overlap.
举例来说,根据上述对2D Gabor滤波器的介绍,采用2个频率16个方向的2D Gabor滤波器对每个区域图像进行处理。首先,可以先计算出两个频率,每个频率16个方向的Gabor滤波器所得到的两组数据。假设使用出两个频率,每个频率16个方向的Gabor滤波器进行滤波后,取有效部分为10×6大小的卷积窗口,然后把这些数据按照频率不同分为两组,分别为: For example, according to the above description of the 2D Gabor filter, each region image is processed using a 2D Gabor filter with 6 frequencies and 16 directions. First, you can first calculate two sets of data from two frequencies, the Gabor filter of 16 directions for each frequency. Assuming that two frequencies are used, the Gabor filter of each direction is filtered, and the effective part is a convolution window of 10×6 size. Then the data is divided into two groups according to the frequency, which are:
Figure PCTCN2015099341-appb-000005
Figure PCTCN2015099341-appb-000005
Figure PCTCN2015099341-appb-000006
Figure PCTCN2015099341-appb-000006
对预处理图像进行滤波。从左上角开始取一个同卷积窗口大小一致的图像块与每组卷积窗口进行卷积,且卷积窗口大小为10×6,由此将得到两组16个响应幅度值
Figure PCTCN2015099341-appb-000007
对响应幅度值进行二值化编码获得二值化编码。对响应幅度值进行二值化编码获取一个16位的0-1编码
The preprocessed image is filtered. From the upper left corner, an image block of the same size as the convolution window is convolved with each set of convolution windows, and the convolution window size is 10×6, thereby obtaining two sets of 16 response amplitude values.
Figure PCTCN2015099341-appb-000007
Binary coding is performed on the response amplitude value to obtain binarized coding. Binary encoding the response amplitude value to obtain a 16-bit 0-1 code
Figure PCTCN2015099341-appb-000008
Figure PCTCN2015099341-appb-000008
Figure PCTCN2015099341-appb-000009
Figure PCTCN2015099341-appb-000009
其中,1()表示括号内表达式为“真”时,取值为1,否则取值为0。上式中的整数
Figure PCTCN2015099341-appb-000010
其实是小于216的。因此都可以表达为2个字节的特征数据,这样的话,一个图像块就表示为4个字节的特征数据。
Where 1 () indicates that the expression in parentheses is "true", the value is 1; otherwise, the value is 0. Integer in the above formula
Figure PCTCN2015099341-appb-000010
In fact, it is less than 216. Therefore, it can be expressed as 2 bytes of feature data, in which case an image block is represented as 4 bytes of feature data.
之后,将16位0-1二值化编码按照二进制排列方式组成两个字节数据,即两个二值化编码,那么两个频率下能够得到2×2个二值化编码,也就是4个字节的特征数据,若M为10×6个相互重叠或者不重叠的图像区域,那么将会得到60×4=240字节的特征数据,也就是第1组特征数据。After that, the 16-bit 0-1 binarization coding is composed of two bytes of data in a binary arrangement, that is, two binarization codes, and then 2×2 binarization codes can be obtained at two frequencies, that is, 4 The feature data of the bytes, if M is 10×6 overlapping or overlapping image areas, then 60×4=240 bytes of feature data, that is, the first set of feature data, will be obtained.
105、采用局部二值模式(Local Binary Patterns,简称LBP)算法处理所述预处理虹膜图像,得到所述预处理虹膜图像的第1组特征向量;105. The pre-processed iris image is processed by using a Local Binary Patterns (LBP) algorithm to obtain a first set of feature vectors of the pre-processed iris image;
可以理解,LBP是一种有效的纹理描述算子,度量和提取图像局部的纹理信息,对光照具有不变性。二值化(Unified)LBP占据了图像中所有模式的绝大多数,不同采样半径和周围像素点个数会不同,因此,Unified LBP在局部纹理描述上取得了较好的描述效果。It can be understood that LBP is an effective texture description operator, which measures and extracts the local texture information of the image and has invariance to the illumination. The Unified LBP occupies the vast majority of all modes in the image. The different sampling radii and the number of surrounding pixels will be different. Therefore, Unified LBP has a better description effect on the local texture description.
基于Unified LBP的优势,在本发明实施例中采用Unified LBP对预处理虹膜图像进行处理,以获得特征向量。Based on the advantages of Unified LBP, the pre-processed iris image is processed using Unified LBP in the embodiment of the present invention to obtain a feature vector.
举例来说,将预处理虹膜图像划分成7×3个图像区域,这些图像区域可以是相邻两个区域之间不具有重叠部分的图像区域。For example, the pre-processed iris image is divided into 7×3 image regions, which may be image regions having no overlapping portions between adjacent two regions.
在每一个图像区域中,如图2f所示,对于每一个像素点(如图2f中的0),处于其8个邻域像素点(分别为图2f中的1~8)的中间。依次比较该像素点0 的灰度值与其8个邻域像素点(1~8)的灰度值的大小,可以顺时间依次比较或者逆时针依次比较,当该像素点的灰度值比邻域像素点的灰度值大时,对应二值化编码为1,反之,在该像素点的灰度值小于或等于邻域像素点的灰度值时,对应二值化编码为0,依次类推,将得到该像素点对应的1个8位字节的二值化编码。比如,图2f中按照顺指针顺序进行比较,像素点0的灰度值大于像素点1的灰度值,对应编码一个1;像素点0的灰度值大于像素点2的灰度值,对应编码一个1;像素点0的灰度值不大于像素点3的灰度值,对应编码一个0;像素点0的灰度值不大于像素点4的灰度值,对应编码一个0;像素点0的灰度值不大于像素点5的灰度值,对应编码一个0;像素点0的灰度值大于像素点6的灰度值,对应编码一个1;像素点0的灰度值不大于像素点7的灰度值,对应编码一个0;像素点0的灰度值大于像素点8的灰度值,对应编码一个1,那么像素点将得到对应的一个8字节的二值化编码为:11000101。In each image region, as shown in Fig. 2f, for each pixel (as 0 in Fig. 2f), it is in the middle of its eight neighborhood pixels (1 to 8 in Fig. 2f, respectively). Compare the pixel points in turn The gray value and the gray value of the eight neighboring pixel points (1 to 8) can be compared in time or in a counterclockwise manner, when the gray value of the pixel is higher than the gray value of the neighboring pixel When large, the corresponding binary encoding is 1; conversely, when the gray value of the pixel is less than or equal to the gray value of the neighboring pixel, the corresponding binarized encoding is 0, and so on, the pixel is obtained. Corresponding binabyte encoding of 1 octet. For example, in FIG. 2f, the comparison is performed in the order of the pointer, the gray value of the pixel point 0 is larger than the gray value of the pixel point 1, and the corresponding code is one; the gray value of the pixel point 0 is larger than the gray value of the pixel point 2, corresponding to Encoding a 1; the gray value of pixel 0 is not greater than the gray value of pixel 3, corresponding to a 0; the gray value of pixel 0 is not greater than the gray value of pixel 4, corresponding to a 0; pixel The gray value of 0 is not greater than the gray value of pixel 5, corresponding to a code of 0; the gray value of pixel 0 is greater than the gray value of pixel 6, corresponding to a code of 1; the gray value of pixel 0 is not greater than The gray value of pixel 7 corresponds to a code of 0; the gray value of pixel 0 is greater than the gray value of pixel 8, and the corresponding code encodes a 1, then the pixel will get a corresponding 8-byte binary code. For: 11000101.
对每一个图像区域中的所有像素点进行二值化编码后,根据所有像素点的二值化编码得到一个直方图,串联所有图像区域的直方图,得到一个特征向量。After binarizing and encoding all the pixels in each image region, a histogram is obtained according to the binarization coding of all the pixel points, and the histograms of all image regions are concatenated to obtain a feature vector.
根据上述划分为7×3个图像区域,可以得到21×58=1218字节的特征向量,然后对1218字节的特征向量进行降维处理,得到20维的特征向量,然后将其归一化到0~255之间。According to the above division into 7×3 image regions, a feature vector of 21×58=1218 bytes can be obtained, and then the feature vector of 1218 bytes is subjected to dimensionality reduction processing to obtain a 20-dimensional feature vector, which is then normalized. It is between 0 and 255.
106、计算所述第1组特征数据与预存储特征数据的第一海明距离,以及计算所述第1组特征向量与预存特征向量的第一向量距离,所述预存储特征数据为事先根据所述被识别者的虹膜计算得到,所述特征向量为事先根据所述被识别者的虹膜计算得到;106. Calculate a first Hamming distance of the first set of feature data and pre-stored feature data, and calculate a first vector distance between the first set of feature vectors and a pre-stored feature vector, where the pre-stored feature data is based on Calculated by the iris of the identified person, the feature vector is calculated in advance according to the iris of the identified person;
当然,在数据库中保存了被识别者的特征数据,在识别被识别者身份时,通过计算上述特征数据与预存储特征数据的海明距离,具体方式如下:Of course, the feature data of the identified person is stored in the database, and when the identity of the identified person is recognized, the Hamming distance between the feature data and the pre-stored feature data is calculated, as follows:
采用如下公式计算特征数据与预存储特征数据的相似度:The similarity between the feature data and the pre-stored feature data is calculated by the following formula:
Figure PCTCN2015099341-appb-000011
Figure PCTCN2015099341-appb-000011
其中,x1为上述特征数据,x2为数据库中存储的预存储特征数据,S(x1,x2)为上述特征数据与预存储特征数据的相似度,H(x1,x2)为x1与x2的海明距离, F与B分别表示两个常数。Where x 1 is the above characteristic data, x 2 is pre-stored feature data stored in the database, and S(x 1 , x 2 ) is the similarity between the feature data and the pre-stored feature data, H(x 1 , x 2 ) For the Hamming distance between x 1 and x 2 , F and B represent two constants, respectively.
在信息编码中,两个合法代码对应位上编码不同的位数称为码距,又称海明距离。在一个有效编码集中,任意两个码字的海明距离的最小值称为该编码集的海明距离。举例如下:10101和00110从第一位开始依次有第一位、第四、第五位不同,则海明距离为3。In information coding, the number of bits encoded on the corresponding bits of two legal codes is called the code distance, also known as the Hamming distance. In a valid coding set, the minimum Hamming distance of any two codewords is called the Hamming distance of the code set. For example: 10101 and 00110 have the first, fourth, and fifth positions from the first place, and the Hamming distance is 3.
F与B分别表示两个常数,可以通过实验来确认这两个常数,具体测定的方法可以是通过仿真计算F和B的值。F and B respectively represent two constants, which can be confirmed by experiments. The specific measurement method can be to calculate the values of F and B by simulation.
另外,在数据库中还保存了被识别者的特征向量。那么可以通过计算上述特征向量与预存特征向量的向量距离来判断其相似度。In addition, the feature vector of the identified person is also stored in the database. Then, the similarity can be judged by calculating the vector distance between the above feature vector and the pre-stored feature vector.
107、计算所述第一海明距离与所述第一向量距离的加权值,根据所述加权值对所述被识别者进行身份识别。107. Calculate a weighting value of the first Hamming distance and the first vector distance, and identify the identified person according to the weighting value.
为了提高其识别效率,而且采用2D Gabor获取特征数据的侧重点与采用Unified LBP获取特征向量的侧重点不同,因此,采用2D Gabor获取到的特征数据与采用Unified LBP获取到的特征向量也会不同。在本发明实施例中,进一步对两种方式下获取到的特征数据和特征向量进行加权处理,得到一个加权值,然后利用该加权值来识别被识别者的身份。In order to improve the recognition efficiency, and the focus of acquiring feature data by 2D Gabor is different from that of using Unified LBP to acquire feature vectors, the feature data acquired by 2D Gabor is different from the feature vector obtained by using Unified LBP. . In the embodiment of the present invention, the feature data and the feature vector acquired in the two modes are further weighted to obtain a weight value, and then the weighted value is used to identify the identity of the identified person.
比如,海明距离为50,向量距离也为50,加权值的计算公式如下:For example, the Hamming distance is 50 and the vector distance is 50. The weighting value is calculated as follows:
50×2/2=5050×2/2=50
可以看出,本发明实施例中先从初始虹膜图像中确定出ROI,然后对ROI进行预处理,得到预处理虹膜图像,并利用两种不同方式来获取预处理虹膜图像中的特征数据,一种是采用2D-Gabor滤波器获取预处理虹膜图像的第1组特征数据,一种是采用LBP算法获取预处理虹膜图像的第1组特征向量,然后计算第1组特征数据与预存储特征数据的海明距离,计算第1组特征向量与预存特征向量的向量距离,预存储特征数据和预存特征向量都是从该被识别者的真实虹膜图像中获取得到,所谓真实虹膜图像是指通过近红外传感器直接从被识别者的眼睛获取到的虹膜图像,而不是通过高清打印的图像或者3D假眼球获得的伪造虹膜图像。然后计算海明距离与向量距离的加权值,通过加权值能够准确地识别出被识别者,二层特征数据的联合,能够提高识别率,降低不法分子伪造虹膜的风险。 It can be seen that in the embodiment of the present invention, the ROI is first determined from the initial iris image, and then the ROI is preprocessed to obtain a preprocessed iris image, and the feature data in the preprocessed iris image is obtained by using two different methods. The first set of feature data is obtained by using a 2D-Gabor filter to obtain a preprocessed iris image. One is to obtain a first set of feature vectors of the preprocessed iris image by using the LBP algorithm, and then calculate the first set of feature data and pre-stored feature data. The Hamming distance is calculated by calculating the vector distance between the first set of feature vectors and the pre-stored feature vectors. The pre-stored feature data and the pre-stored feature vectors are obtained from the real iris image of the recognized person. The so-called real iris image refers to passing near The infrared sensor directly captures the iris image from the eyes of the identified person, rather than the forged iris image obtained by high-definition printed images or 3D fake eyeballs. Then, the weighted value of Hamming distance and vector distance is calculated. The weighted value can accurately identify the identified person and the combination of the two layers of feature data, which can improve the recognition rate and reduce the risk of illegal molecules forging iris.
另外说明,上述实施例中是通过海明距离与向量距离的加权值来识别被识别者的身份,为了加权值更加正确地反映出初始虹膜图像的特征,在本发明实施例中,还可以进一步地将预处理虹膜图像按照13×5划分成不具有重叠部分的13×5个图像区域,然后采用2D Gabor对13×5个图像区域中的每一个图像区域进行处理,处理过程可以参阅上述步骤104中的具体介绍,从而得到65×4=260字节的第2组特征数据。In addition, in the foregoing embodiment, the identity of the identified person is identified by the weighted value of the Hamming distance and the vector distance, and the feature of the initial iris image is more correctly reflected for the weighted value. In the embodiment of the present invention, the identifier may further be further The preprocessed iris image is divided into 13×5 image regions without overlapping portions according to 13×5, and then each image region of 13×5 image regions is processed by 2D Gabor, and the process can refer to the above steps. The specific description in 104 results in a second set of feature data of 65 x 4 = 260 bytes.
那么在步骤106中还需要计算65×4=260字节的第2组特征数据与预存储特征数据的海明距离,在此将这一个海明距离称为海明距离B,而上述实施例中获取得到的海明距离称为海明距离A。进而在步骤中计算海明距离A、海明距离B和向量距离的加权值。由于增加了一个权数,因此,计算得到的加权值能够更加准确地体现初始虹膜图像的特征,从而提高识别准确率。Then, in step 106, it is also required to calculate a Hamming distance between the second set of feature data of 65×4=260 bytes and the pre-stored feature data, where the Hamming distance is referred to as the Hamming distance B, and the above embodiment The Hamming distance obtained in the middle is called Hamming distance A. Further, in the step, the weighted values of the Hamming distance A, the Hamming distance B, and the vector distance are calculated. Since a weight is added, the calculated weighting value can more accurately reflect the characteristics of the initial iris image, thereby improving the recognition accuracy.
更进一步地,在本发明实施例中,还可以将预处理虹膜图像多次划分成不同数量的图像区域,多次划分方式中可以有部分重叠的,也有不重叠的,然后分别利用上述2D Gabor进行处理,以获得多组特征数据,从而得到对应数量的海明距离。同样,再将预处理虹膜图像重新多次划分成不同数量的图像区域,然后采用Unified LBP对每次划分的图像区域进行处理,得到多个特征向量,进而得到对应数量的向量距离。最后,对多个海明距离和多个向量距离进行加权,从而得到一个加权值。Further, in the embodiment of the present invention, the pre-processed iris image may be divided into different numbers of image regions multiple times, and the multiple division manners may be partially overlapped or overlapped, and then the above 2D Gabors are respectively utilized. Processing is performed to obtain a plurality of sets of feature data, thereby obtaining a corresponding number of Hamming distances. Similarly, the preprocessed iris image is again divided into different numbers of image regions, and then the divided image regions are processed by Unified LBP to obtain a plurality of feature vectors, thereby obtaining a corresponding number of vector distances. Finally, multiple Hamming distances and multiple vector distances are weighted to obtain a weighted value.
可以看出,在加权时,权数越多得到的加权值更加精确,也就是需要采用2D Gabor或者Unified LBP多次对预处理虹膜图像进行处理。It can be seen that in weighting, the more weights are obtained, the more accurate the weighting value is, that is, the pre-processed iris image needs to be processed multiple times using 2D Gabor or Unified LBP.
请参阅图3,图3为本发明实施例提供的虹膜识别装置的结构示意图;如图3所示,一种虹膜识别装置可包括:Referring to FIG. 3, FIG. 3 is a schematic structural diagram of an iris recognition device according to an embodiment of the present invention; as shown in FIG. 3, an iris recognition device may include:
获取模块310,用于获取被识别者的初始虹膜图像;An obtaining module 310, configured to acquire an initial iris image of the identified person;
确定模块320,用于确定所述初始虹膜图像中的感兴趣区域ROI;a determining module 320, configured to determine a region of interest ROI in the initial iris image;
预处理模块330,用于对所述ROI进行预处理,得到预处理虹膜图像;a preprocessing module 330, configured to preprocess the ROI to obtain a preprocessed iris image;
特征获取模块340,用于采用2D-Gabor滤波器处理所述预处理虹膜图像,得到所述预处理虹膜图像的第1组特征数据;采用局部二值模式LBP算法处理所述预处理虹膜图像,得到所述预处理虹膜图像的第1组特征向量;a feature acquiring module 340, configured to process the preprocessed iris image by using a 2D-Gabor filter to obtain a first set of feature data of the preprocessed iris image; and process the preprocessed iris image by using a local binary mode LBP algorithm, Obtaining a first set of feature vectors of the preprocessed iris image;
识别模块350,用于计算所述第1组特征数据与预存储特征数据的第一海 明距离,以及计算所述第1组特征向量与预存特征向量的第一向量距离,所述预存储特征数据为事先根据所述被识别者的虹膜计算得到,所述特征向量为事先根据所述被识别者的虹膜计算得到;计算所述第一海明距离与所述第一向量距离的加权值,根据所述加权值对所述被识别者进行身份识别。The identification module 350 is configured to calculate the first set of feature data and the first sea of pre-stored feature data a clear distance, and calculating a first vector distance between the first set of feature vectors and a pre-stored feature vector, the pre-stored feature data being calculated in advance according to an iris of the recognized person, the feature vector being previously according to the Calculating the iris of the identified person; calculating a weighting value of the distance between the first Hamming distance and the first vector, and identifying the identified person according to the weighting value.
可以看出,在本发明实施例中,通过获取模块310获取到被识别者的初始虹膜图像,然后确定模块320从获取模块310获取的初始虹膜图像中获取到ROI,预处理模块330先对ROI进行预处理,得到预处理虹膜图像,然后由特征获取模块340采用2D-Gabor滤波器获取到第1组特征数据,和采用LBP算法获取到第1组特征向量,识别模块350通过计算第1组特征数据与预存储特征数据的海明距离和第1组特征向量和预存特征向量的向量距离,并进一步加权海明距离和向量距离,得到一个加权值,通过加权值来识别被识别者的身份。It can be seen that, in the embodiment of the present invention, the initial iris image of the recognized person is acquired by the obtaining module 310, and then the determining module 320 obtains the ROI from the initial iris image acquired by the obtaining module 310, and the pre-processing module 330 firstly compares the ROI. Performing pre-processing to obtain a pre-processed iris image, and then acquiring the first set of feature data by the feature acquisition module 340 using the 2D-Gabor filter, and acquiring the first set of feature vectors by using the LBP algorithm, and the recognition module 350 calculates the first set by The Hamming distance of the feature data and the pre-stored feature data and the vector distance between the first set of feature vectors and the pre-stored feature vector, and further weighting the Hamming distance and the vector distance to obtain a weight value, and identifying the identity of the identified person by the weighted value .
在本发明一些实施例中,上述获取模块310具体用于,通过近红外线传感器,获取所述被识别者的初始虹膜图像。In some embodiments of the present invention, the acquiring module 310 is specifically configured to acquire an initial iris image of the identified person by using a near-infrared sensor.
在本发明一些实施例中,上述确定模块320具体用于,在所述初始虹膜图像中确定若干关键点,根据所述若干关键点确定所述初始虹膜图像中的ROI。In some embodiments of the present invention, the determining module 320 is specifically configured to determine a plurality of key points in the initial iris image, and determine an ROI in the initial iris image according to the plurality of key points.
可选地,上述若干关键点包括均匀分布在虹膜与瞳孔分界线上的六个关键点,分别为第1关键点、第2关键点、第3关键点、第4关键点、第5关键点和第6关键点;上述若干关键点还包括分布在上述虹膜与眼白分界线上的四个关键点,分别为第7个关键点、第8个关键点、第9个关键点和第10个关键点;其中,上述第1个关键点、第4个关键点和第9个关键点在一条直线上,上述第2个关键点、第5个关键点、第7个关键点和第10个关键点在一条直线上,上述第3个关键点、第6个关键点和第8个关键点在一条直线上。Optionally, the above key points include six key points uniformly distributed on the boundary between the iris and the pupil, respectively being the first key point, the second key point, the third key point, the fourth key point, and the fifth key point. And the sixth key point; the above key points also include four key points distributed on the above-mentioned iris and eye white boundary, which are the 7th key point, the 8th key point, the 9th key point and the 10th Key point; wherein the first key point, the fourth key point and the ninth key point are on a straight line, the second key point, the fifth key point, the seventh key point and the tenth The key points are on a straight line, and the third key point, the sixth key point, and the eighth key point are on a straight line.
在本发明一些实施例中,上述预处理模块330具体用于,对上述ROI进行极坐标变换,得到矩形虹膜图像;对上述矩形虹膜图像进行归一化处理,得到上述预处理虹膜图像。In some embodiments of the present invention, the pre-processing module 330 is specifically configured to perform polar coordinate transformation on the ROI to obtain a rectangular iris image; normalize the rectangular iris image to obtain the pre-processed iris image.
在本发明一些实施例中,上述特征获取模块340进一步具体用于,将上述预处理虹膜图像划分成M个图像区域;上述M为大于或等于2的正整数;采用2D-Gabor滤波器对上述M个图像区域中的每一个图像区域进行卷积,得到对应的响应幅值;对上述响应幅值进行编码,组合上述M个图像区域对应的 编码得到上述第1组特征数据。In some embodiments of the present invention, the feature acquiring module 340 is further specifically configured to divide the preprocessed iris image into M image regions; the M is a positive integer greater than or equal to 2; and the 2D-Gabor filter is used to Each of the M image regions is convoluted to obtain a corresponding response amplitude; the response amplitude is encoded to combine the M image regions corresponding to The first set of feature data is obtained by encoding.
在本发明一些实施例中,上述特征获取模块340更进一步具体用于,采用K个频率L个方向2D-Gabor滤波器,对上述M个图像区域中的每一个图像区域进行卷积,得到每一个图像区域对应的K×L个响应幅值;对每一个图像区域中的每一个频率下的L个响应幅值进行二值化编码,得到每一个图像区域的每一个频率对应的两个编码,组合每一个图像区域中的K个频率得到每一个图像区域对应的K×2个编码;组合M个图像区域对应的编码得到上述第1组特征数据,上述第1组特征数据包括M×K×2个编码。In some embodiments of the present invention, the feature acquiring module 340 is further specifically configured to perform convolution on each of the M image regions by using K frequency L direction 2D-Gabor filters. K × L response amplitudes corresponding to one image region; binarizing the L response amplitudes at each frequency in each image region to obtain two codes corresponding to each frequency of each image region Combining K frequencies in each image region to obtain K×2 codes corresponding to each image region; combining corresponding M image regions to obtain the first group of feature data, wherein the first group of feature data includes M×K × 2 codes.
在本发明一些实施例中,上述特征获取模块340进一步具体用于,当上述L个响应幅值的第n个响应幅值不大于第n+1个响应幅值,将上述第n个响应幅值对应二值化编码为1,当上述第n个响应幅值大于上述第n+1个响应幅值时,将上述第n个响应幅值对应二值化编码为0,其中,上述n为大于或等于1的正整数;组合上述L个响应幅值对应的编码,得到L个二值化编码;根据上述L个二值化编码得到2个编码,组合每一个图像区域中的K个频率的编码得到K×2个编码。In some embodiments of the present invention, the feature acquiring module 340 is further configured to: when the nth response amplitude of the L response amplitudes is not greater than the n+1th response amplitude, the nth response amplitude The value corresponding to the binarization code is 1, and when the nth response amplitude is greater than the n+1th response amplitude, the nth response amplitude is correspondingly binarized to 0, wherein the n is a positive integer greater than or equal to 1; combining the codes corresponding to the L response magnitudes to obtain L binarized codes; obtaining 2 codes according to the L binarized codes, combining K frequencies in each image region The encoding gives K x 2 encodings.
在本发明一些实施例中,上述特征获取模块340还具体用于,将上述预处理虹膜图像划分成N个图像区域,上述N为大于或等于2的正整数;获取上述N个图像区域中每一个图像区域对应的LBP特征,组合上述N个图像区域对应的LBP特征,得到上述第1组特征向量。In some embodiments of the present invention, the feature acquiring module 340 is further configured to divide the pre-processed iris image into N image regions, where the N is a positive integer greater than or equal to 2; and each of the N image regions is acquired. The LBP feature corresponding to one image region combines the LBP features corresponding to the N image regions to obtain the first set of feature vectors.
在本发明一些实施例中,上述特征获取模块340进一步具体用于,对每一个图像区域中每一个像素进行二值化编码,得到每一个像素对应的二值化编码;根据每一个图像区域中所有像素对应的二值化编码,得到每一个图像区域对应的直方图;组合上述N个图像区域对应的直方图,得到上述第1组特征向量。In some embodiments of the present invention, the feature acquiring module 340 is further specifically configured to perform binarization coding on each pixel in each image region to obtain a binarized code corresponding to each pixel; according to each image region. Binary coding corresponding to all pixels, obtaining a histogram corresponding to each image region; combining the histograms corresponding to the N image regions to obtain the first group of feature vectors.
在本发明一些实施例中,上述特征获取模块340进一步具体用于,获取每一个图像区域中的每一个像素点的灰度值,依次比较每一个像素点的灰度值与8个邻域像素点的灰度值;当像素点的灰度值大于邻域像素点的灰度值时,对应二值化编码为1;当像素点的灰度值小于或等于8个邻域像素点的灰度值时,对应二值化编码为0,得到每一个像素点对应的8位字节的二值化编码。 In some embodiments of the present invention, the feature acquiring module 340 is further configured to acquire gray values of each pixel in each image region, and sequentially compare gray values of each pixel with eight neighbor pixels. The gray value of the point; when the gray value of the pixel is greater than the gray value of the neighborhood pixel, the corresponding binarization code is 1; when the gray value of the pixel is less than or equal to the gray of the 8 neighborhood pixels In the case of the degree value, the corresponding binarization code is 0, and the binarized code of the 8-bit byte corresponding to each pixel point is obtained.
在本发明一些实施例中,上述识别模块350具体用于,对上述特征向量进行降维处理,并对降维后的特征向量进行归一化处理,得到归一化特征向量;计算上述归一化特征向量与上述预存特征序列的向量距离。In some embodiments of the present invention, the foregoing identification module 350 is specifically configured to perform dimensionality reduction processing on the feature vector, and normalize the reduced-dimensional feature vector to obtain a normalized feature vector; The vector distance between the feature vector and the pre-stored feature sequence.
在本发明一些实施例中,上述特征获取模块340还用于,将上述预处理虹膜图像划分成H个图像区域,采用I个频率J个方向的2D-Gabor对上述H个图像区域进行处理,得到第2组数据特征;进而,上述识别模块350具体用于,计算上述第2组数据特征与上述预存储特征数据的第二海明距离;计算上述第一海明距离、上述第二海明距离和上述第一向量特征的加权值。In some embodiments of the present invention, the feature acquiring module 340 is further configured to divide the pre-processed iris image into H image regions, and process the H image regions by using 2D-Gabors of one frequency and J directions. Obtaining a second set of data features; further, the identifying module 350 is configured to calculate a second Hamming distance between the second set of data features and the pre-stored feature data; and calculate the first Hamming distance and the second Hamming The distance and the weighting value of the first vector feature described above.
图4为本发明实施例提供的虹膜识别装置另一结构示意图,其中,可包括至少一个处理器401(例如CPU,Central Processing Unit),至少一个网络接口或者其它通信接口,存储器402,和至少一个通信总线,用于实现这些装置之间的连接通信。所述处理器401用于执行存储器中存储的可执行模块,例如计算机程序。所述存储器402可能包含高速随机存取存储器(RAM,Random Access Memory),也可能还包括非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。通过至少一个网络接口(可以是有线或者无线)实现该系统网关与至少一个其它网元之间的通信连接,可以使用互联网,广域网,本地网,城域网等。4 is another schematic structural diagram of an iris recognition apparatus according to an embodiment of the present invention, which may include at least one processor 401 (for example, a CPU, Central Processing Unit), at least one network interface or other communication interface, a memory 402, and at least one A communication bus for implementing connection communication between these devices. The processor 401 is configured to execute an executable module, such as a computer program, stored in a memory. The memory 402 may include a high speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system gateway and at least one other network element is implemented by at least one network interface (which may be wired or wireless), and an Internet, a wide area network, a local network, a metropolitan area network, etc. may be used.
如图4所示,在一些实施方式中,所述存储器402中存储了程序指令,程序指令可以被处理器401执行,所述处理器401具体执行以下步骤:获取被识别者的初始虹膜图像;确定所述初始虹膜图像中的感兴趣区域ROI;对所述ROI进行预处理,得到预处理虹膜图像;采用2D-Gabor滤波器处理所述预处理虹膜图像,得到所述预处理虹膜图像的第1组特征数据;采用局部二值模式LBP算法处理所述预处理虹膜图像,得到所述预处理虹膜图像的第1组特征向量;计算所述第1组特征数据与预存储特征数据的第一海明距离,以及计算所述第1组特征向量与预存特征向量的第一向量距离,所述预存储特征数据为事先根据所述被识别者的虹膜计算得到,所述特征向量为事先根据所述被识别者的虹膜计算得到;计算所述第一海明距离与所述第一向量距离的加权值,根据所述加权值对所述被识别者进行身份识别。As shown in FIG. 4, in some embodiments, program instructions are stored in the memory 402, and the program instructions may be executed by the processor 401. The processor 401 specifically performs the following steps: acquiring an initial iris image of the identified person; Determining a region of interest ROI in the initial iris image; preprocessing the ROI to obtain a preprocessed iris image; processing the preprocessed iris image with a 2D-Gabor filter to obtain a preprocessed iris image a set of feature data; processing the preprocessed iris image by using a local binary mode LBP algorithm to obtain a first set of feature vectors of the preprocessed iris image; and calculating a first set of feature data and pre-stored feature data a Hamming distance, and calculating a first vector distance between the first set of feature vectors and a pre-stored feature vector, the pre-stored feature data being calculated in advance according to an iris of the recognized person, the feature vector being a prior basis Calculating the iris of the identified person; calculating a weighting value of the distance between the first Hamming distance and the first vector, according to the weighting value The identified person is identified.
在一些实施方式中,所述处理器401还可以执行以下步骤:通过近红外线 传感器,获取所述被识别者的初始虹膜图像。In some embodiments, the processor 401 can also perform the following steps: passing near infrared rays a sensor that acquires an initial iris image of the identified person.
在一些实施方式中,所述处理器401还可以执行以下步骤:在所述初始虹膜图像中确定若干关键点,根据所述若干关键点确定所述初始虹膜图像中的ROI。In some embodiments, the processor 401 can also perform the steps of determining a number of key points in the initial iris image, and determining an ROI in the initial iris image based on the plurality of key points.
在一些实施方式中,所述处理器401还可以执行以下步骤:对所述ROI进行极坐标变换,得到矩形虹膜图像;对所述矩形虹膜图像进行归一化处理,得到所述预处理虹膜图像。In some embodiments, the processor 401 may further perform the following steps: performing polar coordinate transformation on the ROI to obtain a rectangular iris image; normalizing the rectangular iris image to obtain the preprocessed iris image .
在一些实施方式中,所述处理器401还可以执行以下步骤:将所述预处理虹膜图像划分成M个图像区域;所述M为大于或等于2的正整数;采用2D-Gabor滤波器对所述M个图像区域中的每一个图像区域进行卷积,得到对应的响应幅值;对所述响应幅值进行编码,组合所述M个图像区域对应的编码得到所述第1组特征数据。In some embodiments, the processor 401 may further perform the steps of: dividing the pre-processed iris image into M image regions; the M is a positive integer greater than or equal to 2; using a 2D-Gabor filter pair Each of the M image regions is convoluted to obtain a corresponding response amplitude; the response amplitude is encoded, and the code corresponding to the M image regions is combined to obtain the first set of feature data. .
在一些实施方式中,所述处理器401还可以执行以下步骤:采用K个频率L个方向2D-Gabor滤波器,对所述M个图像区域中的每一个图像区域进行卷积,得到每一个图像区域对应的K×L个响应幅值;所述对所述响应幅值进行编码,组合所述M个图像区域对应的编码得到所述特征数据包括:对每一个图像区域中的每一个频率下的L个响应幅值进行二值化编码,得到每一个图像区域的每一个频率对应的两个编码,组合每一个图像区域中的K个频率得到每一个图像区域对应的K×2个编码;组合M个图像区域对应的编码得到所述第1组特征数据,所述第1组特征数据包括M×K×2个编码。In some embodiments, the processor 401 may further perform the following steps: convolving each of the M image regions by using K frequency L direction 2D-Gabor filters to obtain each Corresponding K×L response amplitudes of the image region; the encoding the amplitude of the response, and combining the encoding corresponding to the M image regions to obtain the feature data comprises: for each frequency in each image region The lower L response amplitudes are binarized to obtain two codes corresponding to each frequency of each image region, and K frequencies in each image region are combined to obtain K×2 codes corresponding to each image region. Combining the codes corresponding to the M image regions to obtain the first set of feature data, the first set of feature data including M×K×2 codes.
在一些实施方式中,所述处理器401还可以执行以下步骤:当所述L个响应幅值的第n个响应幅值不大于第n+1个响应幅值,将所述第n个响应幅值对应二值化编码为1,当所述第n个响应幅值大于所述第n+1个响应幅值时,将所述第n个响应幅值对应二值化编码为0,其中,所述n为大于或等于1的正整数;组合所述L个响应幅值对应的编码,得到L个二值化编码;根据所述L个二值化编码得到2个编码,组合每一个图像区域中的K个频率的编码得到K×2个编码。In some embodiments, the processor 401 may further perform the step of: when the nth response amplitude of the L response amplitudes is not greater than the n+1th response amplitude, the nth response The amplitude corresponding to the binarization code is 1, and when the nth response amplitude is greater than the n+1th response amplitude, the nth response amplitude is correspondingly binarized to 0, wherein And n is a positive integer greater than or equal to 1; combining the codes corresponding to the L response amplitudes to obtain L binarized codes; and obtaining 2 codes according to the L binarized codes, combining each The encoding of the K frequencies in the image region yields K x 2 codes.
在一些实施方式中,所述处理器401还可以执行以下步骤:将所述预处理虹膜图像划分成N个图像区域,所述N为大于或等于2的正整数;获取所述 N个图像区域中每一个图像区域对应的LBP特征,组合所述N个图像区域对应的LBP特征,得到所述第1组特征向量。In some embodiments, the processor 401 may further perform the step of dividing the pre-processed iris image into N image regions, the N being a positive integer greater than or equal to 2; The LBP features corresponding to each of the N image regions are combined with the LBP features corresponding to the N image regions to obtain the first set of feature vectors.
在一些实施方式中,所述处理器401还可以执行以下步骤:对每一个图像区域中每一个像素进行二值化编码,得到每一个像素对应的二值化编码;根据每一个图像区域中所有像素对应的二值化编码,得到每一个图像区域对应的直方图;组合所述N个图像区域对应的直方图,得到所述第1组特征向量。In some embodiments, the processor 401 may further perform the following steps: performing binarization coding on each pixel in each image region to obtain a binarization code corresponding to each pixel; according to all the image regions Binary coding corresponding to the pixel, obtaining a histogram corresponding to each image region; combining the histogram corresponding to the N image regions to obtain the first group of feature vectors.
在一些实施方式中,所述处理器401还可以执行以下步骤:获取每一个图像区域中的每一个像素点的灰度值,依次比较每一个像素点的灰度值与8个邻域像素点的灰度值;当像素点的灰度值大于邻域像素点的灰度值时,对应二值化编码为1;当像素点的灰度值小于或等于8个邻域像素点的灰度值时,对应二值化编码为0,得到每一个像素点对应的8位字节的二值化编码。In some embodiments, the processor 401 may further perform the steps of: acquiring gray values of each pixel in each image region, and sequentially comparing gray values of each pixel with 8 neighborhood pixels. Gray value; when the gray value of the pixel is greater than the gray value of the neighborhood pixel, the corresponding binarization code is 1; when the gray value of the pixel is less than or equal to the gray of 8 neighborhood pixels For the value, the corresponding binarization code is 0, and the binarized code of the 8-bit byte corresponding to each pixel is obtained.
在一些实施方式中,所述处理器401还可以执行以下步骤:对所述特征向量进行降维处理,并对降维后的特征向量进行归一化处理,得到归一化特征向量。In some embodiments, the processor 401 may further perform the following steps: performing dimension reduction processing on the feature vector, and normalizing the reduced-dimensional feature vector to obtain a normalized feature vector.
在一些实施方式中,所述处理器401还可以执行以下步骤:计算所述归一化特征向量与所述预存特征序列的向量距离。In some embodiments, the processor 401 can also perform the step of calculating a vector distance of the normalized feature vector from the pre-stored feature sequence.
在一些实施方式中,所述处理器401还可以执行以下步骤:将所述预处理虹膜图像划分成H个图像区域,采用I个频率J个方向的2D-Gabor对所述H个图像区域进行处理,得到第2组数据特征;计算所述第2组数据特征与所述预存储特征数据的第二海明距离;所述计算所述海明距离与所述向量距离的加权值包括:计算所述第一海明距离、所述第二海明距离和所述第一向量特征的加权值。In some embodiments, the processor 401 may further perform the steps of: dividing the pre-processed iris image into H image regions, and performing the H image regions by using 2D-Gabors of 1 frequency and J directions; Processing, obtaining a second set of data features; calculating a second Hamming distance of the second set of data features and the pre-stored feature data; the calculating a weighted value of the Hamming distance and the vector distance comprises: calculating a weighted value of the first Hamming distance, the second Hamming distance, and the first vector feature.
可选地,在一些实施方式中,所述若干关键点包括均匀分布在虹膜与瞳孔分界线上的六个关键点,分别为第1关键点、第2关键点、第3关键点、第4关键点、第5关键点和第6关键点;所述若干关键点还包括分布在所述虹膜与眼白分界线上的四个关键点,分别为第7个关键点、第8个关键点、第9个关键点和第10个关键点;其中,所述第1个关键点、第4个关键点和第9个关键点在一条直线上,所述第2个关键点、第5个关键点、第7个关键点和第10个关键点在一条直线上,所述第3个关键点、第6个关键点和第8个关键 点在一条直线上。Optionally, in some embodiments, the plurality of key points include six key points uniformly distributed on the boundary between the iris and the pupil, respectively being the first key point, the second key point, the third key point, and the fourth point The key points, the fifth key point and the sixth key point; the key points further include four key points distributed on the boundary between the iris and the white of the eye, respectively being the seventh key point, the eighth key point, The ninth key point and the tenth key point; wherein the first key point, the fourth key point, and the ninth key point are in a straight line, the second key point, the fifth key point The point, the 7th key point and the 10th key point are on a straight line, the 3rd key point, the 6th key point and the 8th key Point in a straight line.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
所属邻域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以 存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. The medium in which the program code is stored.
以上对本发明所提供的一种虹膜识别方法及装置进行了详细介绍,对于本邻域的一般技术人员,依据本发明实施例的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 The method and device for identifying an iris provided by the present invention are described in detail above. For the general technical personnel in the neighborhood, according to the idea of the embodiment of the present invention, there are changes in the specific implementation manner and application scope. In summary, the content of the specification should not be construed as limiting the invention.

Claims (28)

  1. 一种虹膜识别方法,其特征在于,包括:An iris recognition method, comprising:
    获取被识别者的初始虹膜图像;Obtaining an initial iris image of the identified person;
    确定所述初始虹膜图像中的感兴趣区域ROI;Determining a region of interest ROI in the initial iris image;
    对所述ROI进行预处理,得到预处理虹膜图像;Pre-processing the ROI to obtain a pre-processed iris image;
    采用2D-Gabor滤波器处理所述预处理虹膜图像,得到所述预处理虹膜图像的第1组特征数据;Processing the pre-processed iris image with a 2D-Gabor filter to obtain a first set of feature data of the pre-processed iris image;
    采用局部二值模式LBP算法处理所述预处理虹膜图像,得到所述预处理虹膜图像的第1组特征向量;Processing the preprocessed iris image by using a local binary mode LBP algorithm to obtain a first set of feature vectors of the preprocessed iris image;
    计算所述第1组特征数据与预存储特征数据的第一海明距离,以及计算所述第1组特征向量与预存特征向量的第一向量距离,所述预存储特征数据为事先根据所述被识别者的虹膜计算得到,所述特征向量为事先根据所述被识别者的虹膜计算得到;Calculating a first Hamming distance of the first set of feature data and pre-stored feature data, and calculating a first vector distance of the first set of feature vectors and a pre-stored feature vector, wherein the pre-stored feature data is according to the foregoing Calculated by the iris of the identified person, the feature vector is calculated in advance according to the iris of the identified person;
    计算所述第一海明距离与所述第一向量距离的加权值,根据所述加权值对所述被识别者进行身份识别。Calculating a weighting value of the first Hamming distance and the first vector distance, and identifying the identified person according to the weighting value.
  2. 根据权利要求1所述的方法,其特征在于,所述获取被识别者的初始虹膜图像包括:The method of claim 1 wherein said obtaining an initial iris image of the identified person comprises:
    通过近红外线传感器,获取所述被识别者的初始虹膜图像。The initial iris image of the identified person is acquired by a near-infrared sensor.
  3. 根据权利要求1或2所述的方法,其特征在于,所述确定所述初始虹膜图像中的感兴趣区域ROI包括:The method according to claim 1 or 2, wherein the determining the region of interest ROI in the initial iris image comprises:
    在所述初始虹膜图像中确定若干关键点,根据所述若干关键点确定所述初始虹膜图像中的ROI。A plurality of key points are determined in the initial iris image, and an ROI in the initial iris image is determined based on the plurality of key points.
  4. 根据权利要求3所述的方法,其特征在于,The method of claim 3 wherein:
    所述若干关键点包括均匀分布在虹膜与瞳孔分界线上的六个关键点,分别为第1关键点、第2关键点、第3关键点、第4关键点、第5关键点和第6关键点;The key points include six key points uniformly distributed on the boundary between the iris and the pupil, which are the first key point, the second key point, the third key point, the fourth key point, the fifth key point, and the sixth point. key point;
    所述若干关键点还包括分布在所述虹膜与眼白分界线上的四个关键点,分别为第7个关键点、第8个关键点、第9个关键点和第10个关键点;The key points further include four key points distributed on the boundary between the iris and the white of the eye, which are the seventh key point, the eighth key point, the ninth key point and the tenth key point;
    其中,所述第1个关键点、第4个关键点和第9个关键点在一条直线上, 所述第2个关键点、第5个关键点、第7个关键点和第10个关键点在一条直线上,所述第3个关键点、第6个关键点和第8个关键点在一条直线上。Wherein the first key point, the fourth key point and the ninth key point are on a straight line, The second key point, the fifth key point, the seventh key point, and the tenth key point are on a straight line, and the third key point, the sixth key point, and the eighth key point are On a straight line.
  5. 根据权利要求1~4任一项所述的方法,其特征在于,所述对所述ROI进行预处理,得到预处理虹膜图像包括:The method according to any one of claims 1 to 4, wherein the preprocessing the ROI to obtain a preprocessed iris image comprises:
    对所述ROI进行极坐标变换,得到矩形虹膜图像;Performing a polar coordinate transformation on the ROI to obtain a rectangular iris image;
    对所述矩形虹膜图像进行归一化处理,得到所述预处理虹膜图像。The rectangular iris image is normalized to obtain the preprocessed iris image.
  6. 根据权利要求1所述的方法,其特征在于,所述采用2D-Gabor滤波器处理所述预处理虹膜图像,得到所述预处理虹膜图像的第1组特征数据包括:The method according to claim 1, wherein the processing the pre-processed iris image by using a 2D-Gabor filter to obtain the first set of feature data of the pre-processed iris image comprises:
    将所述预处理虹膜图像划分成M个图像区域;所述M为大于或等于2的正整数;Dividing the preprocessed iris image into M image regions; the M is a positive integer greater than or equal to 2;
    采用2D-Gabor滤波器对所述M个图像区域中的每一个图像区域进行卷积,得到对应的响应幅值;A 2D-Gabor filter is used to convolve each of the M image regions to obtain a corresponding response amplitude;
    对所述响应幅值进行编码,组合所述M个图像区域对应的编码得到所述第1组特征数据。The response amplitude is encoded, and the code corresponding to the M image regions is combined to obtain the first set of feature data.
  7. 根据权利要求6所述的方法,其特征在于,所述采用2D-Gabor滤波器对所述M个图像区域中的每一个图像区域进行卷积,得到对应的响应幅值,包括:The method according to claim 6, wherein the convolving each of the M image regions by using a 2D-Gabor filter to obtain a corresponding response amplitude comprises:
    采用K个频率L个方向2D-Gabor滤波器,对所述M个图像区域中的每一个图像区域进行卷积,得到每一个图像区域对应的K×L个响应幅值;Using K frequency L direction 2D-Gabor filters, convolving each of the M image regions to obtain K×L response amplitude values corresponding to each image region;
    所述对所述响应幅值进行编码,组合所述M个图像区域对应的编码得到所述特征数据包括:The encoding the amplitude of the response, and combining the encoding corresponding to the M image regions to obtain the feature data includes:
    对每一个图像区域中的每一个频率下的L个响应幅值进行二值化编码,得到每一个图像区域的每一个频率对应的两个编码,组合每一个图像区域中的K个频率得到每一个图像区域对应的K×2个编码;The L response amplitudes at each frequency in each image region are binarized to obtain two codes corresponding to each frequency of each image region, and the K frequencies in each image region are combined to obtain each K × 2 codes corresponding to one image region;
    组合M个图像区域对应的编码得到所述第1组特征数据,所述第1组特征数据包括M×K×2个编码。The first set of feature data is obtained by combining codes corresponding to the M image regions, and the first set of feature data includes M×K×2 codes.
  8. 根据权利要求7所述的方法,其特征在于,所述对每一个图像区域中的每一个频率下的L个响应幅值进行二值化编码,得到每一个图像区域的每一个频率对应的两个编码包括: The method according to claim 7, wherein said L response amplitudes at each frequency in each image region are binarized to obtain two corresponding to each frequency of each image region. The codes include:
    当所述L个响应幅值的第n个响应幅值不大于第n+1个响应幅值,将所述第n个响应幅值对应二值化编码为1,当所述第n个响应幅值大于所述第n+1个响应幅值时,将所述第n个响应幅值对应二值化编码为0,其中,所述n为大于或等于1的正整数;When the nth response amplitude of the L response amplitudes is not greater than the n+1th response amplitude, the nth response amplitude is correspondingly binarized to 1 when the nth response When the amplitude is greater than the n+1th response amplitude, the nth response amplitude is correspondingly binarized to 0, where n is a positive integer greater than or equal to 1;
    组合所述L个响应幅值对应的编码,得到L个二值化编码;Combining the codes corresponding to the L response amplitudes to obtain L binarization codes;
    根据所述L个二值化编码得到2个编码,组合每一个图像区域中的K个频率的编码得到K×2个编码。Two codes are obtained according to the L binarization codes, and K×2 codes are obtained by combining the codes of K frequencies in each image region.
  9. 根据权利要求1所述的方法,其特征在于,所述采用局部二值模式LBP算法处理所述预处理虹膜图像,得到所述预处理虹膜图像的第1组特征向量包括:The method according to claim 1, wherein the processing the pre-processed iris image by using a local binary mode LBP algorithm, and obtaining the first set of feature vectors of the pre-processed iris image comprises:
    将所述预处理虹膜图像划分成N个图像区域,所述N为大于或等于2的正整数;Dividing the preprocessed iris image into N image regions, wherein N is a positive integer greater than or equal to 2;
    获取所述N个图像区域中每一个图像区域对应的LBP特征,组合所述N个图像区域对应的LBP特征,得到所述第1组特征向量。And acquiring an LBP feature corresponding to each of the N image regions, and combining the LBP features corresponding to the N image regions to obtain the first group feature vector.
  10. 根据权利要求9所述的方法,其特征在于,所述获取所述N个图像区域中每一个图像区域对应的LBP特征,组合所述N个图像区域对应的LBP特征,得到所述第1组特征向量包括:The method according to claim 9, wherein the acquiring an LBP feature corresponding to each of the N image regions, combining the LBP features corresponding to the N image regions, to obtain the first group Feature vectors include:
    对每一个图像区域中每一个像素进行二值化编码,得到每一个像素对应的二值化编码;Binarizing each pixel in each image region to obtain a binarized code corresponding to each pixel;
    根据每一个图像区域中所有像素对应的二值化编码,得到每一个图像区域对应的直方图;Obtaining a histogram corresponding to each image region according to the binarization code corresponding to all the pixels in each image region;
    组合所述N个图像区域对应的直方图,得到所述第1组特征向量。Combining the histograms corresponding to the N image regions, the first set of feature vectors is obtained.
  11. 根据权利要求10所述的方法,其特征在于,所述对每一个图像区域中每一个像素进行二值化编码,得到每一个像素对应的二值化编码包括:The method according to claim 10, wherein the binarization coding is performed for each pixel in each image region, and the binarization code corresponding to each pixel is obtained:
    获取每一个图像区域中的每一个像素点的灰度值,依次比较每一个像素点的灰度值与8个邻域像素点的灰度值;Obtaining a gray value of each pixel in each image region, and sequentially comparing the gray value of each pixel with the gray value of eight neighbor pixels;
    当像素点的灰度值大于邻域像素点的灰度值时,对应二值化编码为1;当像素点的灰度值小于或等于8个邻域像素点的灰度值时,对应二值化编码为0,得到每一个像素点对应的8位字节的二值化编码。 When the gray value of the pixel point is greater than the gray value of the neighboring pixel point, the corresponding binarization code is 1; when the gray value of the pixel point is less than or equal to the gray value of the 8 neighborhood pixels, the corresponding two The valued code is 0, and the binarized code of the 8-bit byte corresponding to each pixel is obtained.
  12. 根据权利要求1或9或10或11所述的方法,其特征在于,所述计算所述第1组特征向量与预存特征向量的向量距离之前包括:The method according to claim 1 or 9 or 10 or 11, wherein the calculating the vector distance between the first set of feature vectors and the pre-stored feature vectors comprises:
    对所述特征向量进行降维处理,并对降维后的特征向量进行归一化处理,得到归一化特征向量;Performing dimensionality reduction processing on the feature vector, and normalizing the reduced dimension feature vector to obtain a normalized feature vector;
    所述计算所述特征向量与预存特征向量的向量距离包括:The calculating a vector distance between the feature vector and the pre-stored feature vector includes:
    计算所述归一化特征向量与所述预存特征序列的向量距离。Calculating a vector distance of the normalized feature vector from the pre-stored feature sequence.
  13. 根据权利要求1所述的方法,其特征在于,所述计算所述第一海明距离与所述第一向量距离的加权值之前包括:The method according to claim 1, wherein said calculating a weighting value of said first Hamming distance and said first vector distance comprises:
    将所述预处理虹膜图像划分成H个图像区域,采用I个频率J个方向的2D-Gabor对所述H个图像区域进行处理,得到第2组数据特征;Dividing the pre-processed iris image into H image regions, and processing the H image regions by using 2D-Gabors of 1 frequency and J directions to obtain a second set of data features;
    计算所述第2组数据特征与所述预存储特征数据的第二海明距离;Calculating a second Hamming distance of the second set of data features and the pre-stored feature data;
    所述计算所述海明距离与所述向量距离的加权值包括:The calculating weighting values of the Hamming distance and the vector distance includes:
    计算所述第一海明距离、所述第二海明距离和所述第一向量特征的加权值。A weighting value of the first Hamming distance, the second Hamming distance, and the first vector feature is calculated.
  14. 一种虹膜识别装置,其特征在于,包括:An iris recognition device, comprising:
    获取模块,用于获取被识别者的初始虹膜图像;An obtaining module, configured to acquire an initial iris image of the identified person;
    确定模块,用于确定所述初始虹膜图像中的感兴趣区域ROI;a determining module, configured to determine a region of interest ROI in the initial iris image;
    预处理模块,用于对所述ROI进行预处理,得到预处理虹膜图像;a preprocessing module, configured to preprocess the ROI to obtain a preprocessed iris image;
    特征获取模块,用于采用2D-Gabor滤波器处理所述预处理虹膜图像,得到所述预处理虹膜图像的第1组特征数据;采用局部二值模式LBP算法处理所述预处理虹膜图像,得到所述预处理虹膜图像的第1组特征向量;a feature acquiring module, configured to process the preprocessed iris image by using a 2D-Gabor filter to obtain a first set of feature data of the preprocessed iris image; and process the preprocessed iris image by using a local binary mode LBP algorithm to obtain a first set of feature vectors of the preprocessed iris image;
    识别模块,用于计算所述第1组特征数据与预存储特征数据的第一海明距离,以及计算所述第1组特征向量与预存特征向量的第一向量距离,所述预存储特征数据为事先根据所述被识别者的虹膜计算得到,所述特征向量为事先根据所述被识别者的虹膜计算得到;计算所述第一海明距离与所述第一向量距离的加权值,根据所述加权值对所述被识别者进行身份识别。An identification module, configured to calculate a first Hamming distance of the first set of feature data and pre-stored feature data, and calculate a first vector distance between the first set of feature vectors and a pre-stored feature vector, the pre-stored feature data Calculated in advance according to the iris of the identified person, the feature vector is calculated according to the iris of the identified person in advance; calculating a weighted value of the distance between the first Hamming distance and the first vector, according to The weighting value identifies the identified person.
  15. 根据权利要求14所述的虹膜识别装置,其特征在于,The iris recognition device according to claim 14, wherein
    所述获取模块具体用于,通过近红外线传感器,获取所述被识别者的初始虹膜图像。 The acquiring module is specifically configured to acquire an initial iris image of the identified person by using a near-infrared sensor.
  16. 根据权利要求14或15所述的虹膜识别装置,其特征在于,The iris recognition device according to claim 14 or 15, wherein
    所述确定模块具体用于,在所述初始虹膜图像中确定若干关键点,根据所述若干关键点确定所述初始虹膜图像中的ROI。The determining module is specifically configured to determine a plurality of key points in the initial iris image, and determine an ROI in the initial iris image according to the plurality of key points.
  17. 根据权利要求16所述的虹膜识别装置,其特征在于,The iris recognition device according to claim 16, wherein
    所述若干关键点包括均匀分布在虹膜与瞳孔分界线上的六个关键点,分别为第1关键点、第2关键点、第3关键点、第4关键点、第5关键点和第6关键点;所述若干关键点还包括分布在所述虹膜与眼白分界线上的四个关键点,分别为第7个关键点、第8个关键点、第9个关键点和第10个关键点;其中,所述第1个关键点、第4个关键点和第9个关键点在一条直线上,所述第2个关键点、第5个关键点、第7个关键点和第10个关键点在一条直线上,所述第3个关键点、第6个关键点和第8个关键点在一条直线上。The key points include six key points uniformly distributed on the boundary between the iris and the pupil, which are the first key point, the second key point, the third key point, the fourth key point, the fifth key point, and the sixth point. Key points; the key points also include four key points distributed on the boundary between the iris and the white of the eye, namely the 7th key point, the 8th key point, the 9th key point and the 10th key a point; wherein the first key point, the fourth key point, and the ninth key point are on a straight line, the second key point, the fifth key point, the seventh key point, and the tenth point The key points are on a straight line, and the third key point, the sixth key point, and the eighth key point are on a straight line.
  18. 根据权利要求14~17任一项所述的虹膜识别装置,其特征在于,The iris recognition device according to any one of claims 14 to 17, wherein
    所述预处理模块具体用于,对所述ROI进行极坐标变换,得到矩形虹膜图像;对所述矩形虹膜图像进行归一化处理,得到所述预处理虹膜图像。The pre-processing module is specifically configured to perform polar coordinate transformation on the ROI to obtain a rectangular iris image; normalize the rectangular iris image to obtain the pre-processed iris image.
  19. 根据权利要求14所述的虹膜识别装置,其特征在于,The iris recognition device according to claim 14, wherein
    所述特征获取模块具体用于,将所述预处理虹膜图像划分成M个图像区域;所述M为大于或等于2的正整数;采用2D-Gabor滤波器对所述M个图像区域中的每一个图像区域进行卷积,得到对应的响应幅值;对所述响应幅值进行编码,组合所述M个图像区域对应的编码得到所述第1组特征数据。The feature acquiring module is specifically configured to divide the preprocessed iris image into M image regions; the M is a positive integer greater than or equal to 2; and the 2D-Gabor filter is used in the M image regions. Each image area is convoluted to obtain a corresponding response amplitude; the response amplitude is encoded, and the code corresponding to the M image regions is combined to obtain the first set of feature data.
  20. 根据权利要求19所述的虹膜识别装置,其特征在于,The iris recognition device according to claim 19, wherein
    所述特征获取模块进一步具体用于,采用K个频率L个方向2D-Gabor滤波器,对所述M个图像区域中的每一个图像区域进行卷积,得到每一个图像区域对应的K×L个响应幅值;对每一个图像区域中的每一个频率下的L个响应幅值进行二值化编码,得到每一个图像区域的每一个频率对应的两个编码,组合每一个图像区域中的K个频率得到每一个图像区域对应的K×2个编码;组合M个图像区域对应的编码得到所述第1组特征数据,所述第1组特征数据包括M×K×2个编码。The feature acquiring module is further specifically configured to perform convolution on each of the M image regions by using K frequency L direction 2D-Gabor filters to obtain K×L corresponding to each image region. Response amplitudes; binarizing the L response amplitudes at each frequency in each image region to obtain two codes corresponding to each frequency of each image region, combining each image region The K frequency obtains K×2 codes corresponding to each image region; and the code corresponding to the M image regions is combined to obtain the first group feature data, and the first group feature data includes M×K×2 codes.
  21. 根据权利要求20所述的虹膜识别装置,其特征在于,The iris recognition device according to claim 20, wherein
    所述特征获取模块进一步具体用于,当所述L个响应幅值的第n个响应幅 值不大于第n+1个响应幅值,将所述第n个响应幅值对应二值化编码为1,当所述第n个响应幅值大于所述第n+1个响应幅值时,将所述第n个响应幅值对应二值化编码为0,其中,所述n为大于或等于1的正整数;组合所述L个响应幅值对应的编码,得到L个二值化编码;根据所述L个二值化编码得到2个编码,组合每一个图像区域中的K个频率的编码得到K×2个编码。The feature acquisition module is further specifically configured to: when the nth response amplitude of the nth response amplitude The value is not greater than the n+1th response amplitude, the nth response amplitude is correspondingly binarized to 1, and when the nth response amplitude is greater than the n+1th response amplitude And the nth response amplitude is correspondingly binarized to 0, wherein the n is a positive integer greater than or equal to 1; combining the codes corresponding to the L response amplitudes to obtain L binarizations Encoding; obtaining two codes according to the L binarization codes, and combining K codes of each of the image regions to obtain K×2 codes.
  22. 根据权利要求14所述的虹膜识别装置,其特征在于,The iris recognition device according to claim 14, wherein
    所述特征获取模块还具体用于,将所述预处理虹膜图像划分成N个图像区域,所述N为大于或等于2的正整数;获取所述N个图像区域中每一个图像区域对应的LBP特征,组合所述N个图像区域对应的LBP特征,得到所述第1组特征向量。The feature acquiring module is further configured to divide the pre-processed iris image into N image regions, where N is a positive integer greater than or equal to 2; and acquiring each image region corresponding to the N image regions The LBP feature combines the LBP features corresponding to the N image regions to obtain the first set of feature vectors.
  23. 根据权利要求22所述的虹膜识别装置,其特征在于,The iris recognition device according to claim 22, wherein
    所述特征获取模块进一步具体用于,对每一个图像区域中每一个像素进行二值化编码,得到每一个像素对应的二值化编码;根据每一个图像区域中所有像素对应的二值化编码,得到每一个图像区域对应的直方图;组合所述N个图像区域对应的直方图,得到所述第1组特征向量。The feature acquiring module is further specifically configured to perform binarization coding on each pixel in each image region to obtain a binarization code corresponding to each pixel; and according to the binarization code corresponding to all pixels in each image region. Obtaining a histogram corresponding to each image region; combining the histograms corresponding to the N image regions to obtain the first group of feature vectors.
  24. 根据权利要求23所述的虹膜识别装置,其特征在于,The iris recognition device according to claim 23, wherein
    所述特征获取模块进一步具体用于,获取每一个图像区域中的每一个像素点的灰度值,依次比较每一个像素点的灰度值与8个邻域像素点的灰度值;The feature acquiring module is further configured to: obtain a gray value of each pixel in each image region, and sequentially compare a gray value of each pixel with a gray value of eight neighbor pixels;
    当像素点的灰度值大于邻域像素点的灰度值时,对应二值化编码为1;当像素点的灰度值小于或等于8个邻域像素点的灰度值时,对应二值化编码为0,得到每一个像素点对应的8位字节的二值化编码。When the gray value of the pixel point is greater than the gray value of the neighboring pixel point, the corresponding binarization code is 1; when the gray value of the pixel point is less than or equal to the gray value of the 8 neighborhood pixels, the corresponding two The valued code is 0, and the binarized code of the 8-bit byte corresponding to each pixel is obtained.
  25. 根据权利要求14或22或23或24所述的虹膜识别装置,其特征在于,An iris recognition device according to claim 14 or 22 or 23 or 24, wherein
    所述识别模块具体用于,对所述特征向量进行降维处理,并对降维后的特征向量进行归一化处理,得到归一化特征向量;计算所述归一化特征向量与所述预存特征序列的向量距离。The identification module is specifically configured to perform dimension reduction processing on the feature vector, and normalize the reduced dimension feature vector to obtain a normalized feature vector; calculate the normalized feature vector and the The vector distance of the pre-stored feature sequence.
  26. 根据权利要求14所述的虹膜识别装置,其特征在于,The iris recognition device according to claim 14, wherein
    所述特征获取模块还用于,将所述预处理虹膜图像划分成H个图像区域,采用I个频率J个方向的2D-Gabor对所述H个图像区域进行处理,得到第2组数据特征; The feature acquisition module is further configured to divide the preprocessed iris image into H image regions, and process the H image regions by using 2D-Gabors of 1 frequency and J directions to obtain a second set of data features. ;
    所述识别模块具体用于,计算所述第2组数据特征与所述预存储特征数据的第二海明距离;计算所述第一海明距离、所述第二海明距离和所述第一向量特征的加权值。The identification module is specifically configured to calculate a second Hamming distance between the second set of data features and the pre-stored feature data; calculate the first Hamming distance, the second Hamming distance, and the first A weighted value of a vector feature.
  27. 一种虹膜识别装置,其特征在于,包括:An iris recognition device, comprising:
    处理器以及存储器;Processor and memory;
    所述存储器用于存储程序;The memory is used to store a program;
    所述处理器用于执行所述存储器中的程序,使得所述虹膜识别装置执行如权利要求1至13任一项所述的虹膜识别方法。The processor is configured to execute a program in the memory such that the iris recognition device performs the iris recognition method according to any one of claims 1 to 13.
  28. 一种存储一个或多个程序的存储介质,所述一个或多个程序包括指令,所述指令当被包括一个或多个处理器的所述虹膜识别装置执行时,使所述虹膜识别装置执行如权利要求1至13任一项所述的虹膜识别方法。 A storage medium storing one or more programs, the instructions including instructions that, when executed by the iris recognition device including one or more processors, cause the iris recognition device to perform The iris recognition method according to any one of claims 1 to 13.
PCT/CN2015/099341 2015-12-29 2015-12-29 Method and apparatus for iris recognition WO2017113083A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201580001421.9A CN107408195B (en) 2015-12-29 2015-12-29 Iris identification method and device
PCT/CN2015/099341 WO2017113083A1 (en) 2015-12-29 2015-12-29 Method and apparatus for iris recognition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/099341 WO2017113083A1 (en) 2015-12-29 2015-12-29 Method and apparatus for iris recognition

Publications (1)

Publication Number Publication Date
WO2017113083A1 true WO2017113083A1 (en) 2017-07-06

Family

ID=59224268

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/099341 WO2017113083A1 (en) 2015-12-29 2015-12-29 Method and apparatus for iris recognition

Country Status (2)

Country Link
CN (1) CN107408195B (en)
WO (1) WO2017113083A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107516088A (en) * 2017-09-02 2017-12-26 宜宾学院 A kind of more finger segments lines recognition methods
CN108509865A (en) * 2018-03-09 2018-09-07 贵州人和致远数据服务有限责任公司 A kind of industrial injury information input method and device
CN111353526A (en) * 2020-02-19 2020-06-30 上海小萌科技有限公司 Image matching method and device and related equipment

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109409387B (en) * 2018-11-06 2022-03-15 深圳增强现实技术有限公司 Acquisition direction determining method and device of image acquisition equipment and electronic equipment
CN111241951B (en) * 2020-01-03 2023-10-31 张杰辉 Iris image processing method and device
CN113033296A (en) * 2021-02-07 2021-06-25 广东奥珀智慧家居股份有限公司 Iris rapid identification method and system
CN113553908B (en) * 2021-06-23 2022-01-11 中国科学院自动化研究所 Heterogeneous iris identification method based on equipment unique perception
CN116994325B (en) * 2023-07-27 2024-02-20 山东睿芯半导体科技有限公司 Iris recognition method, chip and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011119117A1 (en) * 2010-03-26 2011-09-29 Agency For Science, Technology And Research Facial gender recognition
EP2551788A1 (en) * 2011-07-29 2013-01-30 Fachhochschule St. Pölten GmbH Method for biometric face recognition
CN103106401A (en) * 2013-02-06 2013-05-15 北京中科虹霸科技有限公司 Mobile terminal iris recognition device with human-computer interaction mechanism and method
CN103679151A (en) * 2013-12-19 2014-03-26 成都品果科技有限公司 LBP and Gabor characteristic fused face clustering method
CN104933344A (en) * 2015-07-06 2015-09-23 北京中科虹霸科技有限公司 Mobile terminal user identity authentication device and method based on multiple biological feature modals

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7076088B2 (en) * 1999-09-03 2006-07-11 Honeywell International Inc. Near-infrared disguise detection
CN1760887A (en) * 2004-10-11 2006-04-19 中国科学院自动化研究所 The robust features of iris image extracts and recognition methods
CN101266704B (en) * 2008-04-24 2010-11-10 张宏志 ATM secure authentication and pre-alarming method based on face recognition
CN101404060B (en) * 2008-11-10 2010-06-30 北京航空航天大学 Human face recognition method based on visible light and near-infrared Gabor information amalgamation
CN101894256B (en) * 2010-07-02 2012-07-18 西安理工大学 Iris identification method based on odd-symmetric 2D Log-Gabor filter
CN102456137B (en) * 2010-10-20 2013-11-13 上海青研信息技术有限公司 Sight line tracking preprocessing method based on near-infrared reflection point characteristic
CN102622588B (en) * 2012-03-08 2013-10-09 无锡中科奥森科技有限公司 Dual-certification face anti-counterfeit method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011119117A1 (en) * 2010-03-26 2011-09-29 Agency For Science, Technology And Research Facial gender recognition
EP2551788A1 (en) * 2011-07-29 2013-01-30 Fachhochschule St. Pölten GmbH Method for biometric face recognition
CN103106401A (en) * 2013-02-06 2013-05-15 北京中科虹霸科技有限公司 Mobile terminal iris recognition device with human-computer interaction mechanism and method
CN103679151A (en) * 2013-12-19 2014-03-26 成都品果科技有限公司 LBP and Gabor characteristic fused face clustering method
CN104933344A (en) * 2015-07-06 2015-09-23 北京中科虹霸科技有限公司 Mobile terminal user identity authentication device and method based on multiple biological feature modals

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107516088A (en) * 2017-09-02 2017-12-26 宜宾学院 A kind of more finger segments lines recognition methods
CN107516088B (en) * 2017-09-02 2020-05-22 宜宾学院 Multi-knuckle grain identification method
CN108509865A (en) * 2018-03-09 2018-09-07 贵州人和致远数据服务有限责任公司 A kind of industrial injury information input method and device
CN108509865B (en) * 2018-03-09 2021-02-26 贵州人和致远数据服务有限责任公司 Industrial injury information input method and device
CN111353526A (en) * 2020-02-19 2020-06-30 上海小萌科技有限公司 Image matching method and device and related equipment

Also Published As

Publication number Publication date
CN107408195A (en) 2017-11-28
CN107408195B (en) 2020-06-23

Similar Documents

Publication Publication Date Title
WO2017113083A1 (en) Method and apparatus for iris recognition
AU2019204639B2 (en) Image and feature quality, image enhancement and feature extraction for ocular-vascular and facial recognition, and fusing ocular-vascular with facial and/or sub-facial information for biometric systems
EP2883190B1 (en) Texture features for biometric authentication
Bounneche et al. Multi-spectral palmprint recognition based on oriented multiscale log-Gabor filters
WO2017088109A1 (en) Palm vein identification method and device
EP3047426B1 (en) Feature extraction and matching and template update for biometric authentication
CN108416291B (en) Face detection and recognition method, device and system
WO2017106996A1 (en) Human facial recognition method and human facial recognition device
Proença Ocular biometrics by score-level fusion of disparate experts
Vega et al. Biometric personal identification system based on patterns created by finger veins
Sun et al. Multispectral face spoofing detection using VIS–NIR imaging correlation
Chirchi et al. Feature extraction and pupil detection algorithm used for iris biometric authentication system
CN109697347B (en) User characteristic authentication method and device based on finger veins and finger-shaped characteristics
Jose et al. Towards building a better biometric system based on vein patterns in human beings
Aggithaya et al. A multimodal biometric authentication system based on 2D and 3D palmprint features
Patil et al. Multimodal biometric identification system: Fusion of Iris and fingerprint
De et al. Dual Authentication of a Human Being from Simultaneous Study of Palm Pattern and IRIS Recognition
KR20120042101A (en) Apparatus and method for extraction of face feature

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15911714

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 23/11/2018)

122 Ep: pct application non-entry in european phase

Ref document number: 15911714

Country of ref document: EP

Kind code of ref document: A1