A kind of multi-stage regulating switch opened based on iris identification
Technical field
The present invention relates to multi-stage regulating switch design field, be specifically related to a kind of multistage regulation opened based on iris identification
Switch.
Background technology
In correlation technique, the multi-stage regulating switch with identification verification function generally uses basic LBP (local binary mould
Formula) iris image feature extracted and encodes by operator, and LBP operator is a kind of to describe textural characteristics in the range of gradation of image
Method, has the strongest robustness for illumination variation, thus is widely used in the texture feature extraction of image.
Basic LBP operator is commonly defined as: by central point n in 3 × 3 windowsc8 neighborhood n about0,...n7Group
Becoming, defined in it, texture T is: T=(n0-nc,n1-nc,...,n7-nc), it is carried out binary conversion treatment, with ncFor threshold value, neighborhood
8 points and ncRelatively, if being labeled as 1 more than the value of central point, 0 otherwise it is labeled as.Texture T after binaryzation is: T=(sgn
(n0-nc),sgn(n1-nc),...,sgn(n7-nc)), whereinThrough calculating, will obtain with ncCentered by
8 binary numbers, then be weighted different pixels position suing for peace just obtaining the LBP value of central point, the wherein meter of LBP value
Calculation formula is:Pixel each in image is carried out LBP computing, just can obtain figure
The LBP texture description of picture.
But, owing to basic LBP operator cover only 8 neighborhood territory pixels of central point so that it is with other neighborhood of surrounding
Relatedness is the most comprehensive, it is impossible to meet the image texture of different scale and frequency.
Summary of the invention
For the problems referred to above, the present invention provides the one that a kind of recognition speed is fast, identification range is wide to open based on iris identification
The multi-stage regulating switch opened, solves to use basic LBP operator that iris image feature is extracted and encoded in correlation technique
The problem that multi-stage regulating switch system can not process the image texture of different scale and frequency.
The purpose of the present invention realizes by the following technical solutions:
A kind of based on iris identification open multi-stage regulating switch, including multi-stage regulating switch and with multi-stage regulating switch electricity
The iris identification device that signal connects, described multi-stage regulating switch includes:
Housing, this housing has hole, and this shell inner surface is formed the multiple resistances being intervally installed around this hole
Spacer block, the end face of each barrier blocks is being gradually lowered to the other end from one end on a specific direction in this hole;
Button, this button is positioned at this housing, including body and multiple support blocks of being formed around this body, this body from
This hole reaches outside this housing, and the plurality of support block lays respectively in the gap between the plurality of barrier blocks, each support block
End face is being gradually lowered to the other end from one end on this specific direction in this hole, the height etc. of the most significant end of the plurality of support block
In or less than the height of least significant end of the plurality of barrier blocks;
Organizing conducting strip, the corresponding the plurality of support block of this many groups conducting strip is arranged in this housing more;
Revolving part, this revolving part includes elastic conduction portion and support column, and this support column is pivotally mounted in this housing, should
Two ends, elastic conduction portion respectively with one of which conducting strip Elastic Contact connect this group conducting strip;
First elastic component, this first elastic component orders about this elastic conduction portion and contacts this top of this support block in this button
Face, and then order about this button and conflict this housing.
Preferably, it is characterized in that, this elastic conduction portion includes sleeve, the second elastic component and conductive head, and this conductive head is installed
In these sleeve two ends, this second elastic component is installed in this sleeve and connects this conductive head.
Preferably, it is characterized in that, described tensioning spring two ends connect for fixing.
Preferably, it is characterized in that, described iris identification device includes:
(1) sampling module, for obtaining, correcting iris image and gather the information of iris image, due to reality acquisition
In approximately the same plane, understand slightly deviation between iris image and the iris image of standard acquisition, need the iris that reality is obtained
Image carries out plane correction, sets image rectification submodule, and the updating formula that described image rectification submodule uses is:
Wherein, and I (x, y)AThe iris image that expression reality obtains, and I (x, y)BRepresent the iris image of standard acquisition, actual
Standard deviation between the iris image and each pixel point value of the iris image of standard acquisition that obtain;
(2) pretreatment module, for positioning the iris image obtained and normalized, it includes that light speckle is filled out
Filling submodule, described smooth speckle is filled submodule and is used for being filled with each hot spot point detected in iris image, fills
The gray value of four the envelope points up and down in the non-spot area that Shi Liyong is adjacent with light speckle calculates the ash of light speckle
Angle value, a light speckle in definition iris image is P0(x0,y0), described four envelope points are followed successively by P1(x1,y1)、P2(x2,
y2)、P3(x3,y3)、P4(x4,y4), the gray value computing formula of definition light speckle is:
Preferably, it is characterized in that, described iris identification device also includes:
(3) feature coding module, for the feature of iris image is extracted and is encoded, including:
A, for the first time LBP operator process submodule: for any point n in iris imagecWith the K in 5 × 5 windows
Pixel is compared to calculate LBP value, and described K pixel is with a ncCentered by be distributed in a ncPeriphery, if ncCoordinate be
(xc,yc), the computing formula of LBP value is:
Wherein, described K pixel is labeled as n0~nK, the span of K is [20,24], 1st-LBP (xc,yc) take
Value scope is [0, K];
B, for the second time LBP operator process submodule, for strengthening described some n on the premise of ensureing code lengthcWith week
Enclosing the relatedness of neighborhood, it is with a nc8 neighborhood territory pixel points as sub-center point, be denoted as nvc0,nvc1,...,nvc7, use 3
× 3 windows, by the average of entire pixels in windowReplace the value of sub-center point, re-use LBP operator to central point
ncCalculating, computing formula is:
C, for the third time LBP operator process submodule, process the square after submodule processes for shortening through second time LBP operator
The feature coding length of shape image, it is with a ncCentered by, according to self-defining function { n in the window of 3 × 3vcj,|nvcj-nc|
=rank4(|nvci-nc|, i=0,1 ..., 7), j=0,1,2,3} selects 4 sub-center points to calculate, and computing formula is:
Wherein, rank4(|nvci-nc|, i=0,1 ..., 7) represent 7 | nvci-nc| value arrange from small to large
After take front 4 numbers, nvcjRepresent 4 the sub-center points chosen;
D, the 4th LBP operator process submodule: on the basis of processing after submodule processes at third time LBP operator
Continuing to reduce code length, computing formula is:
After having calculated, output represents the coding of iris image feature;
(4) codes match module, for receiving the coding of described expression iris image feature and by itself and data base
Feature coding is compared, and completes the identification to identity.
Wherein, described pretreatment module also includes:
(1) coarse positioning submodule: fill submodule with light speckle and be connected, is used for carrying out iris image cutting and the most fixed
Position pupil position, during cutting centered by described pupil position, the iris image after filling hot spot cut by the radius of 5 times
Cut;
(2) fine positioning submodule: be connected with coarse positioning submodule, is used for being accurately positioned iris region;
(3) normalization submodule, for being launched into the iris image of fixed resolution by the iris region behind location.
Wherein, described fine positioning submodule includes the downsampling unit being sequentially connected with, first positioning unit and again positions
Unit, described downsampling unit is for carrying out down-sampling to the iris image after cutting, and described first positioning unit is used for passing through
Iris inside and outside circle is positioned by the Canny edge detection operator and the Hough loop truss that improve, and described positioning unit again is used for
It is accurately positioned on iris image with the parameter that first positioning unit positions.
Wherein, the Canny edge detection operator of described improvement is the suppression that vertical direction only carries out non-maximum
Canny edge detection operator.
Wherein, the Canny edge detection operator of described improvement is the Canny limit carrying out strong rim detection only with high threshold
Edge detective operators.
The invention have the benefit that
1, image rectification submodule is set, and defines updating formula, improve the precision of image procossing;
2, light speckle is set and fills submodule, and define the gray value computing formula of light speckle, remain rainbow well
The structural information of film image, the iris image after filling can position effectively;
3, the first positioning unit arranged, its Canny edge detection operator passing through improvement and Hough loop truss are to iris
Inside and outside circle positions, it is simple to the speed positioning and improve iris of iris;
4, the first time LBP operator arranged processes submodule, adds the relatedness of central point and other neighborhood of surrounding, energy
Enough meet the image texture of different scale and frequency;
5, the second time LBP operator arranged processes submodule, for the third time LBP operator and processes submodule and the 4th LBP calculation
Son processes submodule, under not affecting the central point relatedness with surrounding neighbors, constantly reduces code length, has saved storage sky
Between, decrease amount of calculation, improve recognition speed, enhance recognition accuracy, obtain higher robustness.
Accompanying drawing explanation
The invention will be further described to utilize accompanying drawing, but the embodiment in accompanying drawing does not constitute any limit to the present invention
System, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain according to the following drawings
Other accompanying drawing.
Fig. 1 is the iris identification device connection diagram of the present invention.
Fig. 2 is multi-stage regulating switch schematic diagram of the present invention.
Detailed description of the invention
The invention will be further described with the following Examples.
Embodiment 1
See Fig. 1, Fig. 2, a kind of multi-stage regulating switch opened based on iris identification of the present embodiment, open including multistage regulation
The iris identification device closed and be connected with the multi-stage regulating switch signal of telecommunication, described multi-stage regulating switch includes:
Housing, this housing has hole, and this shell inner surface is formed the multiple resistances being intervally installed around this hole
Spacer block, the end face of each barrier blocks is being gradually lowered to the other end from one end on a specific direction in this hole;
Button, this button is positioned at this housing, including body and multiple support blocks of being formed around this body, this body from
This hole reaches outside this housing, and the plurality of support block lays respectively in the gap between the plurality of barrier blocks, each support block
End face is being gradually lowered to the other end from one end on this specific direction in this hole, the height etc. of the most significant end of the plurality of support block
In or less than the height of least significant end of the plurality of barrier blocks;
Organizing conducting strip, the corresponding the plurality of support block of this many groups conducting strip is arranged in this housing more;
Revolving part, this revolving part includes elastic conduction portion and support column, and this support column is pivotally mounted in this housing, should
Two ends, elastic conduction portion respectively with one of which conducting strip Elastic Contact connect this group conducting strip;
First elastic component, this first elastic component orders about this elastic conduction portion and contacts this top of this support block in this button
Face, and then order about this button and conflict this housing.
Preferably, it is characterized in that, this elastic conduction portion includes sleeve, the second elastic component and conductive head, and this conductive head is installed
In these sleeve two ends, this second elastic component is installed in this sleeve and connects this conductive head.
Preferably, it is characterized in that, described tensioning spring two ends connect for fixing.
Preferably, it is characterized in that, described iris identification device includes:
(1) sampling module, for obtaining iris image and gathering the information of iris image;
(2) pretreatment module, for obtaining, correcting iris image and gather the information of iris image, owing to reality obtains
Iris image and the iris image of standard acquisition between in approximately the same plane can slightly deviation, need the rainbow that reality is obtained
Film image carries out plane correction, sets image rectification submodule, and the updating formula that described image rectification submodule uses is:
Wherein, and I (x, y)AThe iris image that expression reality obtains, and I (x, y)BRepresent the iris image of standard acquisition, actual
Standard deviation between the iris image and each pixel point value of the iris image of standard acquisition that obtain;
Preferably, it is characterized in that, described iris identification device also includes:
(3) feature coding module, for the feature of iris image is extracted and is encoded, including:
A, for the first time LBP operator process submodule: for any point n in iris imagecWith 20 in 5 × 5 windows
Individual pixel is compared to calculate LBP value, and described 20 pixels are with a ncCentered by be distributed in a ncPeriphery, if ncSeat
It is designated as (xc,yc), the computing formula of LBP value is:
Wherein, described 20 pixels are labeled as n0~n20, 1st-LBP (xc,yc) span be [0,20];
B, for the second time LBP operator process submodule, for strengthening described some n on the premise of ensureing code lengthcWith week
Enclosing the relatedness of neighborhood, it is with a nc8 neighborhood territory pixel points as sub-center point, be denoted as nvc0,nvc1,...,nvc7, use 3
× 3 windows, by the average of entire pixels in windowReplace the value of sub-center point, re-use LBP operator to central point
ncCalculating, computing formula is:
C, for the third time LBP operator process submodule, process the square after submodule processes for shortening through second time LBP operator
The feature coding length of shape image, it is with a ncCentered by, according to self-defining function { n in the window of 3 × 3vcj,|nvcj-nc|
=rank4(|nvci-nc|, i=0,1 ..., 7), j=0,1,2,3} selects 4 sub-center points to calculate, and computing formula is:
Wherein, rank4(|nvci-nc|, i=0,1 ..., 7) represent 7 | nvci-nc| value arrange from small to large
After take front 4 numbers, nvcjRepresent 4 the sub-center points chosen;
D, the 4th LBP operator process submodule: on the basis of processing after submodule processes at third time LBP operator
Continuing to reduce code length, computing formula is:
After having calculated, output represents the coding of iris image feature;
(4) codes match module, for receiving the coding of described expression iris image feature and by itself and data base
Feature coding is compared, and completes the identification to identity.
Wherein, described pretreatment module includes:
(1) light speckle fills submodule: for being filled with each hot spot point detected in iris image, during filling
The gray value utilizing four the envelope points up and down in the non-spot area adjacent with light speckle calculates the gray scale of light speckle
Value, a light speckle in definition iris image is P0(x0,y0), described four envelope points are followed successively by P1(x1,y1)、P2(x2,
y2)、P3(x3,y3)、P4(x4,y4), the gray value computing formula of definition light speckle is:
(2) coarse positioning submodule: fill submodule with light speckle and be connected, is used for carrying out iris image cutting and the most fixed
Position pupil position, during cutting centered by described pupil position, the iris image after filling hot spot cut by the radius of 5 times
Cut;
(3) fine positioning submodule: be connected with coarse positioning submodule, is used for being accurately positioned iris region;
(4) normalization submodule, for being launched into the iris image of fixed resolution by the iris region behind location.
Wherein, described fine positioning submodule includes the downsampling unit being sequentially connected with, first positioning unit and again positions
Unit, described downsampling unit is for carrying out down-sampling to the iris image after cutting, and described first positioning unit is used for passing through
Iris inside and outside circle is positioned by the Canny edge detection operator and the Hough loop truss that improve, and described positioning unit again is used for
It is accurately positioned on iris image with the parameter that first positioning unit positions.
Wherein, the Canny edge detection operator of described improvement is the suppression that vertical direction only carries out non-maximum
Canny edge detection operator.
Wherein, the Canny edge detection operator of described improvement is the Canny limit carrying out strong rim detection only with high threshold
Edge detective operators.
The present embodiment arranges light speckle and fills submodule, remains the structural information of iris image well, after filling
Iris image can position effectively;Arrange first positioning unit, its by improve Canny edge detection operator and
Iris inside and outside circle is positioned by Hough loop truss, it is simple to the speed positioning and improve iris of iris;The first time arranged
LBP operator processes submodule, adds the relatedness of central point and other neighborhood of surrounding, it is possible to meet different scale and frequency
Image texture;The second time LBP operator arranged processes submodule, for the third time LBP operator and processes submodule and the 4th LBP operator
Process submodule, under not affecting the central point relatedness with surrounding neighbors, constantly reduce code length, save storage sky
Between, decrease amount of calculation, improve recognition speed, enhance recognition accuracy, obtained higher robustness, use CASIA
When V1.0 iris storehouse is tested, result is as follows:
Embodiment 2
See Fig. 1, Fig. 2, a kind of multi-stage regulating switch opened based on iris identification of the present embodiment, open including multistage regulation
The iris identification device closed and be connected with the multi-stage regulating switch signal of telecommunication, described multi-stage regulating switch includes:
Housing, this housing has hole, and this shell inner surface is formed the multiple resistances being intervally installed around this hole
Spacer block, the end face of each barrier blocks is being gradually lowered to the other end from one end on a specific direction in this hole;
Button, this button is positioned at this housing, including body and multiple support blocks of being formed around this body, this body from
This hole reaches outside this housing, and the plurality of support block lays respectively in the gap between the plurality of barrier blocks, each support block
End face is being gradually lowered to the other end from one end on this specific direction in this hole, the height etc. of the most significant end of the plurality of support block
In or less than the height of least significant end of the plurality of barrier blocks;
Organizing conducting strip, the corresponding the plurality of support block of this many groups conducting strip is arranged in this housing more;
Revolving part, this revolving part includes elastic conduction portion and support column, and this support column is pivotally mounted in this housing, should
Two ends, elastic conduction portion respectively with one of which conducting strip Elastic Contact connect this group conducting strip;
First elastic component, this first elastic component orders about this elastic conduction portion and contacts this top of this support block in this button
Face, and then order about this button and conflict this housing.
Preferably, it is characterized in that, this elastic conduction portion includes sleeve, the second elastic component and conductive head, and this conductive head is installed
In these sleeve two ends, this second elastic component is installed in this sleeve and connects this conductive head.
Preferably, it is characterized in that, described tensioning spring two ends connect for fixing.
Preferably, it is characterized in that, described iris identification device includes:
(1) sampling module, for obtaining iris image and gathering the information of iris image;
(2) pretreatment module, for obtaining, correcting iris image and gather the information of iris image, owing to reality obtains
Iris image and the iris image of standard acquisition between in approximately the same plane can slightly deviation, need the rainbow that reality is obtained
Film image carries out plane correction, sets image rectification submodule, and the updating formula that described image rectification submodule uses is:
Wherein, and I (x, y)AThe iris image that expression reality obtains, and I (x, y)BRepresent the iris image of standard acquisition, actual
Standard deviation between the iris image and each pixel point value of the iris image of standard acquisition that obtain;
Preferably, it is characterized in that, described iris identification device also includes:
(3) feature coding module, for the feature of iris image is extracted and is encoded, including:
A, for the first time LBP operator process submodule: for any point n in iris imagecWith 21 in 5 × 5 windows
Individual pixel is compared to calculate LBP value, and described 21 pixels are with a ncCentered by be distributed in a ncPeriphery, if ncSeat
It is designated as (xc,yc), the computing formula of LBP value is:
Wherein, described 21 pixels are labeled as n0~n21, 1st-LBP (xc,yc) span be [0,21];
B, for the second time LBP operator process submodule, for strengthening described some n on the premise of ensureing code lengthcWith week
Enclosing the relatedness of neighborhood, it is with a nc8 neighborhood territory pixel points as sub-center point, be denoted as nvc0,nvc1,...,nvc7, use 3
× 3 windows, by the average of entire pixels in windowReplace the value of sub-center point, re-use LBP operator to central point
ncCalculating, computing formula is:
C, for the third time LBP operator process submodule, process the square after submodule processes for shortening through second time LBP operator
The feature coding length of shape image, it is with a ncCentered by, according to self-defining function { n in the window of 3 × 3vcj,|nvcj-nc|
=rank4(|nvci-nc|, i=0,1 ..., 7), j=0,1,2,3} selects 4 sub-center points to calculate, and computing formula is:
Wherein, rank4(|nvci-nc|, i=0,1 ..., 7) represent 7 | nvci-nc| value arrange from small to large
After take front 4 numbers, nvcjRepresent 4 the sub-center points chosen;
D, the 4th LBP operator process submodule: on the basis of processing after submodule processes at third time LBP operator
Continuing to reduce code length, computing formula is:
After having calculated, output represents the coding of iris image feature;
(4) codes match module, for receiving the coding of described expression iris image feature and by itself and data base
Feature coding is compared, and completes the identification to identity.
Wherein, described pretreatment module includes:
(1) light speckle fills submodule: for being filled with each hot spot point detected in iris image, during filling
The gray value utilizing four the envelope points up and down in the non-spot area adjacent with light speckle calculates the gray scale of light speckle
Value, a light speckle in definition iris image is P0(x0,y0), described four envelope points are followed successively by P1(x1,y1)、P2(x2,
y2)、P3(x3,y3)、P4(x4,y4), the gray value computing formula of definition light speckle is:
(2) coarse positioning submodule: fill submodule with light speckle and be connected, is used for carrying out iris image cutting and the most fixed
Position pupil position, during cutting centered by described pupil position, the iris image after filling hot spot cut by the radius of 5 times
Cut;
(3) fine positioning submodule: be connected with coarse positioning submodule, is used for being accurately positioned iris region;
(4) normalization submodule, for being launched into the iris image of fixed resolution by the iris region behind location.
Wherein, described fine positioning submodule includes the downsampling unit being sequentially connected with, first positioning unit and again positions
Unit, described downsampling unit is for carrying out down-sampling to the iris image after cutting, and described first positioning unit is used for passing through
Iris inside and outside circle is positioned by the Canny edge detection operator and the Hough loop truss that improve, and described positioning unit again is used for
It is accurately positioned on iris image with the parameter that first positioning unit positions.
Wherein, the Canny edge detection operator of described improvement is the suppression that vertical direction only carries out non-maximum
Canny edge detection operator.
Wherein, the Canny edge detection operator of described improvement is the Canny limit carrying out strong rim detection only with high threshold
Edge detective operators.
The present embodiment arranges light speckle and fills submodule, remains the structural information of iris image well, after filling
Iris image can position effectively;Arrange first positioning unit, its by improve Canny edge detection operator and
Iris inside and outside circle is positioned by Hough loop truss, it is simple to the speed positioning and improve iris of iris;The first time arranged
LBP operator processes submodule, adds the relatedness of central point and other neighborhood of surrounding, it is possible to meet different scale and frequency
Image texture;The second time LBP operator arranged processes submodule, for the third time LBP operator and processes submodule and the 4th LBP operator
Process submodule, under not affecting the central point relatedness with surrounding neighbors, constantly reduce code length, save storage sky
Between, decrease amount of calculation, improve recognition speed, enhance recognition accuracy, obtained higher robustness, use CASIA
When V1.0 iris storehouse is tested, result is as follows:
Embodiment 3
See Fig. 1, Fig. 2, a kind of multi-stage regulating switch opened based on iris identification of the present embodiment, open including multistage regulation
The iris identification device closed and be connected with the multi-stage regulating switch signal of telecommunication, described multi-stage regulating switch includes:
Housing, this housing has hole, and this shell inner surface is formed the multiple resistances being intervally installed around this hole
Spacer block, the end face of each barrier blocks is being gradually lowered to the other end from one end on a specific direction in this hole;
Button, this button is positioned at this housing, including body and multiple support blocks of being formed around this body, this body from
This hole reaches outside this housing, and the plurality of support block lays respectively in the gap between the plurality of barrier blocks, each support block
End face is being gradually lowered to the other end from one end on this specific direction in this hole, the height etc. of the most significant end of the plurality of support block
In or less than the height of least significant end of the plurality of barrier blocks;
Organizing conducting strip, the corresponding the plurality of support block of this many groups conducting strip is arranged in this housing more;
Revolving part, this revolving part includes elastic conduction portion and support column, and this support column is pivotally mounted in this housing, should
Two ends, elastic conduction portion respectively with one of which conducting strip Elastic Contact connect this group conducting strip;
First elastic component, this first elastic component orders about this elastic conduction portion and contacts this top of this support block in this button
Face, and then order about this button and conflict this housing.
Preferably, it is characterized in that, this elastic conduction portion includes sleeve, the second elastic component and conductive head, and this conductive head is installed
In these sleeve two ends, this second elastic component is installed in this sleeve and connects this conductive head.
Preferably, it is characterized in that, described tensioning spring two ends connect for fixing.
Preferably, it is characterized in that, described iris identification device includes:
(1) sampling module, for obtaining, correcting iris image and gather the information of iris image, due to reality acquisition
In approximately the same plane, understand slightly deviation between iris image and the iris image of standard acquisition, need the iris that reality is obtained
Image carries out plane correction, sets image rectification submodule, and the updating formula that described image rectification submodule uses is:
Wherein, and I (x, y)AThe iris image that expression reality obtains, and I (x, y)BRepresent the iris image of standard acquisition, actual
Standard deviation between the iris image and each pixel point value of the iris image of standard acquisition that obtain;
(2) pretreatment module, for positioning and normalized the iris image obtained;
Preferably, it is characterized in that, described iris identification device also includes:
(3) feature coding module, for the feature of iris image is extracted and is encoded, including:
A, for the first time LBP operator process submodule: for any point n in iris imagecWith 22 in 5 × 5 windows
Individual pixel is compared to calculate LBP value, and described 22 pixels are with a ncCentered by be distributed in a ncPeriphery, if ncSeat
It is designated as (xc,yc), the computing formula of LBP value is:
Wherein, described 22 pixels are labeled as n0~n21, 1st-LBP (xc,yc) span be [0,22];
B, for the second time LBP operator process submodule, for strengthening described some n on the premise of ensureing code lengthcWith week
Enclosing the relatedness of neighborhood, it is with a nc8 neighborhood territory pixel points as sub-center point, be denoted as nvc0,nvc1,...,nvc7, use 3
× 3 windows, by the average of entire pixels in windowReplace the value of sub-center point, re-use LBP operator to central point
ncCalculating, computing formula is:
C, for the third time LBP operator process submodule, process the square after submodule processes for shortening through second time LBP operator
The feature coding length of shape image, it is with a ncCentered by, according to self-defining function { n in the window of 3 × 3vcj,|nvcj-nc|
=rank4(|nvci-nc|, i=0,1 ..., 7), j=0,1,2,3} selects 4 sub-center points to calculate, and computing formula is:
Wherein, rank4(|nvci-nc|, i=0,1 ..., 7) represent 7 | nvci-nc| value arrange from small to large
After take front 4 numbers, nvcjRepresent 4 the sub-center points chosen;
D, the 4th LBP operator process submodule: on the basis of processing after submodule processes at third time LBP operator
Continuing to reduce code length, computing formula is:
After having calculated, output represents the coding of iris image feature;
(4) codes match module, for receiving the coding of described expression iris image feature and by itself and data base
Feature coding is compared, and completes the identification to identity.
Wherein, described pretreatment module includes:
(1) light speckle fills submodule: for being filled with each hot spot point detected in iris image, during filling
The gray value utilizing four the envelope points up and down in the non-spot area adjacent with light speckle calculates the gray scale of light speckle
Value, a light speckle in definition iris image is P0(x0,y0), described four envelope points are followed successively by P1(x1,y1)、P2(x2,
y2)、P3(x3,y3)、P4(x4,y4), the gray value computing formula of definition light speckle is:
(2) coarse positioning submodule: fill submodule with light speckle and be connected, is used for carrying out iris image cutting and the most fixed
Position pupil position, during cutting centered by described pupil position, the iris image after filling hot spot cut by the radius of 5 times
Cut;
(3) fine positioning submodule: be connected with coarse positioning submodule, is used for being accurately positioned iris region;
(4) normalization submodule, for being launched into the iris image of fixed resolution by the iris region behind location.
Wherein, described fine positioning submodule includes the downsampling unit being sequentially connected with, first positioning unit and again positions
Unit, described downsampling unit is for carrying out down-sampling to the iris image after cutting, and described first positioning unit is used for passing through
Iris inside and outside circle is positioned by the Canny edge detection operator and the Hough loop truss that improve, and described positioning unit again is used for
It is accurately positioned on iris image with the parameter that first positioning unit positions.
Wherein, the Canny edge detection operator of described improvement is the suppression that vertical direction only carries out non-maximum
Canny edge detection operator.
Wherein, the Canny edge detection operator of described improvement is the Canny limit carrying out strong rim detection only with high threshold
Edge detective operators.
The present embodiment arranges light speckle and fills submodule, remains the structural information of iris image well, after filling
Iris image can position effectively;Arrange first positioning unit, its by improve Canny edge detection operator and
Iris inside and outside circle is positioned by Hough loop truss, it is simple to the speed positioning and improve iris of iris;The first time arranged
LBP operator processes submodule, adds the relatedness of central point and other neighborhood of surrounding, it is possible to meet different scale and frequency
Image texture;The second time LBP operator arranged processes submodule, for the third time LBP operator and processes submodule and the 4th LBP operator
Process submodule, under not affecting the central point relatedness with surrounding neighbors, constantly reduce code length, save storage sky
Between, decrease amount of calculation, improve recognition speed, enhance recognition accuracy, obtained higher robustness, use CASIA
When V1.0 iris storehouse is tested, result is as follows:
Embodiment 4
See Fig. 1, Fig. 2, a kind of multi-stage regulating switch opened based on iris identification of the present embodiment, open including multistage regulation
The iris identification device closed and be connected with the multi-stage regulating switch signal of telecommunication, described multi-stage regulating switch includes:
Housing, this housing has hole, and this shell inner surface is formed the multiple resistances being intervally installed around this hole
Spacer block, the end face of each barrier blocks is being gradually lowered to the other end from one end on a specific direction in this hole;
Button, this button is positioned at this housing, including body and multiple support blocks of being formed around this body, this body from
This hole reaches outside this housing, and the plurality of support block lays respectively in the gap between the plurality of barrier blocks, each support block
End face is being gradually lowered to the other end from one end on this specific direction in this hole, the height etc. of the most significant end of the plurality of support block
In or less than the height of least significant end of the plurality of barrier blocks;
Organizing conducting strip, the corresponding the plurality of support block of this many groups conducting strip is arranged in this housing more;
Revolving part, this revolving part includes elastic conduction portion and support column, and this support column is pivotally mounted in this housing, should
Two ends, elastic conduction portion respectively with one of which conducting strip Elastic Contact connect this group conducting strip;
First elastic component, this first elastic component orders about this elastic conduction portion and contacts this top of this support block in this button
Face, and then order about this button and conflict this housing.
Preferably, it is characterized in that, this elastic conduction portion includes sleeve, the second elastic component and conductive head, and this conductive head is installed
In these sleeve two ends, this second elastic component is installed in this sleeve and connects this conductive head.
Preferably, it is characterized in that, described tensioning spring two ends connect for fixing.
Preferably, it is characterized in that, described iris identification device includes:
(1) sampling module, for obtaining, correcting iris image and gather the information of iris image, due to reality acquisition
In approximately the same plane, understand slightly deviation between iris image and the iris image of standard acquisition, need the iris that reality is obtained
Image carries out plane correction, sets image rectification submodule, and the updating formula that described image rectification submodule uses is:
Wherein, and I (x, y)AThe iris image that expression reality obtains, and I (x, y)BRepresent the iris image of standard acquisition, actual
Standard deviation between the iris image and each pixel point value of the iris image of standard acquisition that obtain;
(2) pretreatment module, for positioning and normalized the iris image obtained;
Preferably, it is characterized in that, described iris identification device also includes:
(3) feature coding module, for the feature of iris image is extracted and is encoded, including:
A, for the first time LBP operator process submodule: for any point n in iris imagecWith 23 in 5 × 5 windows
Individual pixel is compared to calculate LBP value, and described 23 pixels are with a ncCentered by be distributed in a ncPeriphery, if ncSeat
It is designated as (xc,yc), the computing formula of LBP value is:
Wherein, described 23 pixels are labeled as n0~n21, 1st-LBP (xc,yc) span be [0,23];
B, for the second time LBP operator process submodule, for strengthening described some n on the premise of ensureing code lengthcWith week
Enclosing the relatedness of neighborhood, it is with a nc8 neighborhood territory pixel points as sub-center point, be denoted as nvc0,nvc1,...,nvc7, use 3
× 3 windows, by the average of entire pixels in windowReplace the value of sub-center point, re-use LBP operator to central point
ncCalculating, computing formula is:
C, for the third time LBP operator process submodule, process the square after submodule processes for shortening through second time LBP operator
The feature coding length of shape image, it is with a ncCentered by, according to self-defining function { n in the window of 3 × 3vcj,|nvcj-nc|
=rank4(|nvci-nc|, i=0,1 ..., 7), j=0,1,2,3} selects 4 sub-center points to calculate, and computing formula is:
Wherein, rank4(|nvci-nc|, i=0,1 ..., 7) represent 7 | nvci-nc| value arrange from small to large
After take front 4 numbers, nvcjRepresent 4 the sub-center points chosen;
D, the 4th LBP operator process submodule: on the basis of processing after submodule processes at third time LBP operator
Continuing to reduce code length, computing formula is:
After having calculated, output represents the coding of iris image feature;
(4) codes match module, for receiving the coding of described expression iris image feature and by itself and data base
Feature coding is compared, and completes the identification to identity.
Wherein, described pretreatment module includes:
(1) light speckle fills submodule: for being filled with each hot spot point detected in iris image, during filling
The gray value utilizing four the envelope points up and down in the non-spot area adjacent with light speckle calculates the gray scale of light speckle
Value, a light speckle in definition iris image is P0(x0,y0), described four envelope points are followed successively by P1(x1,y1)、P2(x2,
y2)、P3(x3,y3)、P4(x4,y4), the gray value computing formula of definition light speckle is:
(2) coarse positioning submodule: fill submodule with light speckle and be connected, is used for carrying out iris image cutting and the most fixed
Position pupil position, during cutting centered by described pupil position, the iris image after filling hot spot cut by the radius of 5 times
Cut;
(3) fine positioning submodule: be connected with coarse positioning submodule, is used for being accurately positioned iris region;
(4) normalization submodule, for being launched into the iris image of fixed resolution by the iris region behind location.
Wherein, described fine positioning submodule includes the downsampling unit being sequentially connected with, first positioning unit and again positions
Unit, described downsampling unit is for carrying out down-sampling to the iris image after cutting, and described first positioning unit is used for passing through
Iris inside and outside circle is positioned by the Canny edge detection operator and the Hough loop truss that improve, and described positioning unit again is used for
It is accurately positioned on iris image with the parameter that first positioning unit positions.
Wherein, the Canny edge detection operator of described improvement is the suppression that vertical direction only carries out non-maximum
Canny edge detection operator.
Wherein, the Canny edge detection operator of described improvement is the Canny limit carrying out strong rim detection only with high threshold
Edge detective operators.
The present embodiment arranges light speckle and fills submodule, remains the structural information of iris image well, after filling
Iris image can position effectively;Arrange first positioning unit, its by improve Canny edge detection operator and
Iris inside and outside circle is positioned by Hough loop truss, it is simple to the speed positioning and improve iris of iris;The first time arranged
LBP operator processes submodule, adds the relatedness of central point and other neighborhood of surrounding, it is possible to meet different scale and frequency
Image texture;The second time LBP operator arranged processes submodule, for the third time LBP operator and processes submodule and the 4th LBP operator
Process submodule, under not affecting the central point relatedness with surrounding neighbors, constantly reduce code length, save storage sky
Between, decrease amount of calculation, improve recognition speed, enhance recognition accuracy, obtained higher robustness, use CASIA
When V1.0 iris storehouse is tested, result is as follows:
Embodiment 5
See Fig. 1, Fig. 2, a kind of multi-stage regulating switch opened based on iris identification of the present embodiment, open including multistage regulation
The iris identification device closed and be connected with the multi-stage regulating switch signal of telecommunication, described multi-stage regulating switch includes:
Housing, this housing has hole, and this shell inner surface is formed the multiple resistances being intervally installed around this hole
Spacer block, the end face of each barrier blocks is being gradually lowered to the other end from one end on a specific direction in this hole;
Button, this button is positioned at this housing, including body and multiple support blocks of being formed around this body, this body from
This hole reaches outside this housing, and the plurality of support block lays respectively in the gap between the plurality of barrier blocks, each support block
End face is being gradually lowered to the other end from one end on this specific direction in this hole, the height etc. of the most significant end of the plurality of support block
In or less than the height of least significant end of the plurality of barrier blocks;
Organizing conducting strip, the corresponding the plurality of support block of this many groups conducting strip is arranged in this housing more;
Revolving part, this revolving part includes elastic conduction portion and support column, and this support column is pivotally mounted in this housing, should
Two ends, elastic conduction portion respectively with one of which conducting strip Elastic Contact connect this group conducting strip;
First elastic component, this first elastic component orders about this elastic conduction portion and contacts this top of this support block in this button
Face, and then order about this button and conflict this housing.
Preferably, it is characterized in that, this elastic conduction portion includes sleeve, the second elastic component and conductive head, and this conductive head is installed
In these sleeve two ends, this second elastic component is installed in this sleeve and connects this conductive head.
Preferably, it is characterized in that, described tensioning spring two ends connect for fixing.
Preferably, it is characterized in that, described iris identification device includes:
(1) sampling module, for obtaining, correcting iris image and gather the information of iris image, due to reality acquisition
In approximately the same plane, understand slightly deviation between iris image and the iris image of standard acquisition, need the iris that reality is obtained
Image carries out plane correction, sets image rectification submodule, and the updating formula that described image rectification submodule uses is:
Wherein, and I (x, y)AThe iris image that expression reality obtains, and I (x, y)BRepresent the iris image of standard acquisition, actual
Standard deviation between the iris image and each pixel point value of the iris image of standard acquisition that obtain;
(2) pretreatment module, for positioning and normalized the iris image obtained;
Preferably, it is characterized in that, described iris identification device also includes:
(3) feature coding module, for the feature of iris image is extracted and is encoded, including:
A, for the first time LBP operator process submodule: for any point n in iris imagecWith 24 in 5 × 5 windows
Individual pixel is compared to calculate LBP value, and described 24 pixels are with a ncCentered by be distributed in a ncPeriphery, if ncSeat
It is designated as (xc,yc), the computing formula of LBP value is:
Wherein, described 24 pixels are labeled as n0~n21, 1st-LBP (xc,yc) span be [0,24];
B, for the second time LBP operator process submodule, for strengthening described some n on the premise of ensureing code lengthcWith week
Enclosing the relatedness of neighborhood, it is with a nc8 neighborhood territory pixel points as sub-center point, be denoted as nvc0,nvc1,...,nvc7, use 3
× 3 windows, by the average of entire pixels in windowReplace the value of sub-center point, re-use LBP operator to central point
ncCalculating, computing formula is:
C, for the third time LBP operator process submodule, process the square after submodule processes for shortening through second time LBP operator
The feature coding length of shape image, it is with a ncCentered by, according to self-defining function { n in the window of 3 × 3vcj,|nvcj-nc|
=rank4(|nvci-nc|, i=0,1 ..., 7), j=0,1,2,3} selects 4 sub-center points to calculate, and computing formula is:
Wherein, rank4(|nvci-nc|, i=0,1 ..., 7) represent 7 | nvci-nc| value arrange from small to large
After take front 4 numbers, nvcjRepresent 4 the sub-center points chosen;
D, the 4th LBP operator process submodule: on the basis of processing after submodule processes at third time LBP operator
Continuing to reduce code length, computing formula is:
After having calculated, output represents the coding of iris image feature;
(4) codes match module, for receiving the coding of described expression iris image feature and by itself and data base
Feature coding is compared, and completes the identification to identity.
Wherein, described pretreatment module includes:
(1) light speckle fills submodule: for being filled with each hot spot point detected in iris image, during filling
The gray value utilizing four the envelope points up and down in the non-spot area adjacent with light speckle calculates the gray scale of light speckle
Value, a light speckle in definition iris image is P0(x0,y0), described four envelope points are followed successively by P1(x1,y1)、P2(x2,
y2)、P3(x3,y3)、P4(x4,y4), the gray value computing formula of definition light speckle is:
(2) coarse positioning submodule: fill submodule with light speckle and be connected, is used for carrying out iris image cutting and the most fixed
Position pupil position, during cutting centered by described pupil position, the iris image after filling hot spot cut by the radius of 5 times
Cut;
(3) fine positioning submodule: be connected with coarse positioning submodule, is used for being accurately positioned iris region;
(4) normalization submodule, for being launched into the iris image of fixed resolution by the iris region behind location.
Wherein, described fine positioning submodule includes the downsampling unit being sequentially connected with, first positioning unit and again positions
Unit, described downsampling unit is for carrying out down-sampling to the iris image after cutting, and described first positioning unit is used for passing through
Iris inside and outside circle is positioned by the Canny edge detection operator and the Hough loop truss that improve, and described positioning unit again is used for
It is accurately positioned on iris image with the parameter that first positioning unit positions.
Wherein, the Canny edge detection operator of described improvement is the suppression that vertical direction only carries out non-maximum
Canny edge detection operator.
Wherein, the Canny edge detection operator of described improvement is the Canny limit carrying out strong rim detection only with high threshold
Edge detective operators.
The present embodiment arranges light speckle and fills submodule, remains the structural information of iris image well, after filling
Iris image can position effectively;Arrange first positioning unit, its by improve Canny edge detection operator and
Iris inside and outside circle is positioned by Hough loop truss, it is simple to the speed positioning and improve iris of iris;The first time arranged
LBP operator processes submodule, adds the relatedness of central point and other neighborhood of surrounding, it is possible to meet different scale and frequency
Image texture;The second time LBP operator arranged processes submodule, for the third time LBP operator and processes submodule and the 4th LBP operator
Process submodule, under not affecting the central point relatedness with surrounding neighbors, constantly reduce code length, save storage sky
Between, decrease amount of calculation, improve recognition speed, enhance recognition accuracy, obtained higher robustness, use CASIA
When V1.0 iris storehouse is tested, result is as follows:
Last it should be noted that, above example is only in order to illustrate technical scheme, rather than the present invention is protected
Protecting the restriction of scope, although having made to explain to the present invention with reference to preferred embodiment, those of ordinary skill in the art should
Work as understanding, technical scheme can be modified or equivalent, without deviating from the reality of technical solution of the present invention
Matter and scope.