WO2019033386A1 - 获取指纹图像的方法、装置和终端设备 - Google Patents

获取指纹图像的方法、装置和终端设备 Download PDF

Info

Publication number
WO2019033386A1
WO2019033386A1 PCT/CN2017/098001 CN2017098001W WO2019033386A1 WO 2019033386 A1 WO2019033386 A1 WO 2019033386A1 CN 2017098001 W CN2017098001 W CN 2017098001W WO 2019033386 A1 WO2019033386 A1 WO 2019033386A1
Authority
WO
WIPO (PCT)
Prior art keywords
fingerprint
light
fingerprint image
pixel value
optical
Prior art date
Application number
PCT/CN2017/098001
Other languages
English (en)
French (fr)
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 KR1020177030422A priority Critical patent/KR20190031416A/ko
Priority to EP17791913.1A priority patent/EP3462374A4/en
Priority to CN201780000865.XA priority patent/CN107690653B/zh
Priority to PCT/CN2017/098001 priority patent/WO2019033386A1/zh
Priority to US15/793,972 priority patent/US10579853B2/en
Publication of WO2019033386A1 publication Critical patent/WO2019033386A1/zh

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/12Fingerprints or palmprints
    • G06V40/13Sensors therefor
    • 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/12Fingerprints or palmprints
    • G06V40/13Sensors therefor
    • G06V40/1318Sensors therefor using electro-optical elements or layers, e.g. electroluminescent sensing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/10Image acquisition
    • G06V10/17Image acquisition using hand-held instruments
    • 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/12Fingerprints or palmprints
    • G06V40/1341Sensing with light passing through the finger
    • 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/12Fingerprints or palmprints
    • G06V40/1347Preprocessing; Feature extraction
    • G06V40/1359Extracting features related to ridge properties; Determining the fingerprint type, e.g. whorl or loop
    • 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/12Fingerprints or palmprints
    • G06V40/1365Matching; Classification
    • G06V40/1376Matching features related to ridge properties or fingerprint texture

Definitions

  • the present application relates to the field of biometrics, and in particular, to a method, an apparatus, and a terminal device for acquiring a fingerprint image.
  • the optical fingerprint device under the screen of the terminal device presses the finger on the illuminated screen, and the fingerprint image is constructed by the strong signal of the light reflected from the valley and the ridge of the finger.
  • the optical fingerprint device is susceptible to environmental influences during fingerprint collection. For example, when the terminal device is in a relatively strong environment, the signal may exceed the range of the fingerprint device, and effective fingerprint image data cannot be obtained; when the terminal device is in a darker state In the environment, it is possible to make the light intensity reflected by the valleys and ridges consistent, which also makes it impossible to obtain effective fingerprint image data.
  • the present application provides a method, device and terminal device for acquiring a fingerprint image, which can effectively acquire fingerprint image data.
  • a first aspect provides a method for acquiring a fingerprint image, the method comprising: determining target optical information of a light environment in which a fingerprint to be identified is currently located; and determining, according to a correspondence between the optical information and the working parameter, determining the target optical information
  • the target working parameter is a parameter used when fingerprinting the fingerprint image is obtained; and the first fingerprint image of the fingerprint to be recognized is obtained according to the target working parameter.
  • the method for obtaining a fingerprint image in the embodiment of the present application may determine a corresponding working parameter according to the optical information of the light environment in which the fingerprint is to be identified, and obtain a fingerprint image of the fingerprint to be recognized according to the working parameter, so as to continue to execute the fingerprint image.
  • Identification which can dynamically adjust the relevant working parameters when acquiring the fingerprint image of the fingerprint to be identified according to different light environments, thereby achieving the expected result of adapting the optical fingerprint requirement in different environments without increasing the hardware cost.
  • the method may be performed by a device for acquiring a fingerprint image
  • the device may be a terminal device, and the device may include a light source device and an optical fingerprint module.
  • the method may be performed by an optical fingerprint module.
  • the group may also be used for fingerprint recognition of the fingerprint to be recognized, for example, fingerprint recognition according to the first fingerprint image; the light source device may be used for the optical fingerprint
  • the module provides a light source for fingerprint recognition.
  • the light in the light environment may include natural light in the environment in which the fingerprint is to be identified, and may also include a light source provided by the light source device in the optical fingerprinting device.
  • the target optical information can characterize the intensity of light in the light environment in which the fingerprint to be identified is currently located.
  • the target light information can include any parameter that characterizes the intensity of light in the light environment in which the fingerprint to be identified is currently located.
  • the target light information includes pixel values of the image.
  • the determining the target optical information of the light environment in which the fingerprint is to be identified includes: acquiring the current exposure time according to the preset exposure time Determining a second fingerprint image of the fingerprint; determining a pixel value of the second fingerprint image; determining the target optical information, the target optical information including a pixel value of the second fingerprint image.
  • the preset exposure time may be set to any length of time, for example, 10 ms, and the standard may be set such that the pixel value of the second fingerprint image is less than or equal to the second preset pixel value.
  • determining the pixel value of the second fingerprint image includes: determining a pixel value of all pixel points in the second fingerprint image; The average pixel value of the entire pixel is determined as the pixel value of the second fingerprint image.
  • determining the pixel value of the second fingerprint image may include: determining a pixel value of each pixel point of all the pixel points of the second fingerprint image, and determining an average value of the pixel values of the all pixel points as the second The pixel value of the fingerprint image, or the pixel value of the second fingerprint image is calculated by other algorithms.
  • the pixel value of the second fingerprint image may also be determined by determining a pixel value of the local region of the second fingerprint image.
  • the acquiring the second fingerprint image of the fingerprint to be recognized includes: acquiring an image of the partial fingerprint of the fingerprint to be recognized as the second Fingerprint image.
  • the second fingerprint image of the fingerprint to be identified may be an image of all fingerprints of the fingerprint to be identified, or may be a partial fingerprint image of the fingerprint to be identified.
  • the method further includes: determining optical information and corresponding working parameters of each optical environment in the multiple light environments; Corresponding relationship between the optical information of the light environment and the working parameter.
  • the correspondence between optical information and operational parameters may be stored in the optical fingerprinting device.
  • the optical fingerprint identification device may be a terminal device, and the corresponding relationship between the optical information and the working parameter may be saved in the memory of the terminal device, or the light is set in the fingerprint module in the optical fingerprint identification device.
  • the correspondence between information and working parameters may be stored in the optical fingerprinting device.
  • the plurality of light environments are different intensities that simulate the light in the light environment in which the user may be fingerprinting.
  • the light source device in the optical fingerprint recognition device may or may not emit light.
  • the light in the first light environment simulates the light including the natural light of the outside and the light source device; when the light source device does not emit light, the light in the first light environment only simulates the external natural light pair fingerprint The impact of the test.
  • the light information may include at least one of intensity, brightness, and illuminance of the light in the first light environment, or the light information may further include other first light that can be displayed
  • the parameter of the intensity of the light in the environment may also be calculated by collecting an initial fingerprint image of the test fingerprint, the optical information including the pixel value of the initial fingerprint image.
  • the operational parameter includes an exposure time
  • the target operational parameter includes a target exposure time
  • determining the optical information and corresponding working parameters of each optical environment in the multiple optical environments including: in multiple optical environments Determining, in a first light environment, a pixel value of an initial fingerprint image of the test fingerprint according to a preset exposure time; determining optical information of the first light environment, where the light information of the first light environment includes a pixel value of the initial fingerprint image Determining, in the first light environment, pixel values of the plurality of fingerprint images corresponding to the test fingerprint according to different exposure times; corresponding to the fingerprint images of the plurality of fingerprint images having pixel values equal to the first preset pixel values
  • the exposure time is determined as the exposure time in the first light environment; the correspondence between the optical information and the working parameter of each of the light environments is established, including: establishing optical information of the first light environment and the The correspondence between exposure times.
  • the preset exposure time can be set to any length of time, for example, 10 ms, and the set standard can be any light environment in a plurality of light environments, and the pixel value of the initial fingerprint image of the test fingerprint obtained by using the preset exposure time is less than or Equal to the second preset pixel value.
  • the initial fingerprint image of the test fingerprint may be an image of all the fingerprints of the test fingerprint, or may be a partial fingerprint image of the test fingerprint.
  • determining the pixel value of the initial fingerprint image may include: determining a pixel value of each pixel point of all the pixel points of the initial fingerprint image, and determining an average value of the pixel values of the all pixel points as the initial fingerprint image. Pixel values.
  • the pixel value of the initial fingerprint image may also be determined by determining the pixel value of the local region of the initial fingerprint image. For example, an initial fingerprint image is acquired, and a partial region in the initial fingerprint image is taken. For example, the partial region is selected by a correlation algorithm, and then the pixel value of the partial region is calculated as a pixel value of the initial fingerprint image.
  • the first preset pixel value is greater than or equal to 700, and the first preset pixel value is less than or equal to 800.
  • the pixel value of the initial fingerprint image is less than or equal to the second preset pixel value.
  • the second preset pixel value is 1024.
  • the target optical information includes light intensity and/or brightness of light in the current light environment.
  • the method for acquiring a fingerprint image in the embodiment of the present application may determine target light information of a light environment in which the fingerprint to be identified is currently located, for example, the target light information may include a pixel value of the fingerprint image, and the pixel value of the fingerprint image may be based on Determining the pixel value of the fingerprint image of the fingerprint to be recognized by the preset exposure time, thereby determining the target working parameter corresponding to the target light information, and acquiring the fingerprint image of the fingerprint to be recognized according to the target working parameter, so as to continue to perform fingerprint image recognition, so that According to different light environments, dynamically adjust the working parameters when acquiring the fingerprint image of the fingerprint to be identified, and the working parameter may be any parameter in the process of acquiring the fingerprint image and performing fingerprint identification, for example, the working parameter may be an exposure time, thereby achieving The expected result of adapting to the needs of optical fingerprinting in different environments without increasing hardware costs.
  • a device for acquiring a fingerprint image comprising a light source device and an optical fingerprint module, wherein the optical fingerprint module is used for fingerprint recognition of a fingerprint to be recognized; the light source device is used for the optical fingerprint module
  • the process of performing fingerprint recognition provides a light source; the optical fingerprint module is further configured to perform the method of any of the first aspect or the first aspect of the first aspect. .
  • a third aspect of the present invention provides a terminal device, including a self-luminous display panel and an optical fingerprint module, the optical fingerprint module is located below the self-luminous display panel, and the optical fingerprint module is configured to execute the first Aspect or method of any of the possible implementations of the first aspect;
  • the light emitting display panel is used to provide a light source for the optical fingerprint module.
  • the terminal device is the device for acquiring a fingerprint image according to the second aspect, wherein the self-luminous display panel in the terminal device is the light source in the device of the second aspect.
  • the optical fingerprint module in the terminal device is the optical fingerprint module in the device of the second aspect.
  • FIG. 1 is a schematic diagram of a terminal device according to an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a method for acquiring a fingerprint image according to an embodiment of the present application.
  • FIG. 3 is a schematic block diagram of an apparatus for acquiring a fingerprint image according to an embodiment of the present application.
  • FIG. 1 shows a schematic diagram of a terminal device according to an embodiment of the present application.
  • the terminal device may include, but is not limited to, a mobile terminal, a mobile phone, a user equipment (UE), a handset, and a portable device.
  • the terminal device may be mobile phone.
  • the terminal device includes an optical fingerprint module for performing optical fingerprint recognition and a panel, wherein the optical fingerprint module can be disposed under the panel, and the panel can be a light-emitting touch screen of the terminal device, and the panel It can be used to display an image for a user, and can also be used to provide a light source for fingerprint recognition of the optical fingerprint module of the terminal device; the optical fingerprint module can include a fingerprint chip for fingerprint recognition, and the optical fingerprint module further An optical fingerprint sensor can be included.
  • the panel of the terminal device may be a display screen having illuminated display pixels without using a backlight, wherein each pixel generates light for forming a display image on the screen, for example, an organic light-emitting diode (organic light-emitting diode). OLED) display or electroluminescent display.
  • the panel of the terminal device may be regarded as a light source device, and the light source device may include a plurality of self-luminous display units, for example, the self-luminous display unit may be a light-emitting display pixel.
  • the light source device O can be used to display an image for a user, so that the user can operate the terminal device according to the display image.
  • the light source device O can also be used to provide a light source for acquiring a fingerprint image of the fingerprint to be recognized, that is, In the fingerprint identification process, the light source device O is used to illuminate the fingerprint to be recognized, thereby acquiring the fingerprint image of the fingerprint to be recognized for fingerprint recognition.
  • the direct light L2 of the light source in Figure 1 is light.
  • an exposure area D may be further included on the panel, and the exposure area D may be used to collect fingerprint images of the fingerprint to be identified for fingerprint recognition.
  • the optical fingerprint module of the terminal device may be located in the exposure area D, that is, when the user performs fingerprint recognition, the finger presses the area, and the fingerprint to be recognized that needs to be identified is overlaid on the exposure area D, and the exposed area D is The optical fingerprint module acquires and identifies a fingerprint image of the fingerprint to be identified.
  • the optical fingerprint module included in the terminal device may include an optical fingerprint sensor, which may include a photodiode (PD) array, and the PD array may be regarded as including a plurality of signal converters, for example,
  • the signal converter C1 and signal converter C2 shown in Fig. 1 are any two signal converters in the PD array.
  • the optical fingerprint sensor is used to collect fingerprint data of the fingerprint to be identified. Taking the signal converter C1 and the signal converter C2 in FIG. 1 as an example, the signal converter C1 and the signal converter C2 can be used to input the light. The signal is converted into a digital signal.
  • the direct light L2 of the light source illuminates the fingerprint to be recognized of the user's finger, and the reflected light L3 is obtained by reflection.
  • the signal converter C1 and the signal converter C2 can collect the reflected light L3 reflected by the fingerprint to be recognized.
  • the optical signal is converted into a digital signal, thereby acquiring a fingerprint image for fingerprint image recognition.
  • the light source device O of the terminal device provides the direct light L2 of the light source, and is reflected by the fingerprint ridge and the fingerprint valley of the fingerprint to be recognized to obtain the reflected light L3, wherein the fingerprint ridge is opposite to the fingerprint.
  • the valley is closer to the light source device, so the fingerprint ridge has stronger reflected light, and then the signal signal is converted into data information by the signal converter.
  • the difference of the reflected light can be expressed as a difference in the fingerprint image, that is, Obtain a fingerprint image corresponding to the fingerprint to be identified.
  • the ambient light L1 whose intensity is uncontrollable, such as the intensity of the sunlight, affects the reflected light reflected by the fingerprint.
  • the embodiment of the present application proposes a method for acquiring a fingerprint image.
  • the working parameters such as the exposure time can be dynamically adjusted, thereby reducing the influence of the ambient light on the fingerprint collection during the fingerprint detection process.
  • FIG. 2 is a schematic flowchart of a method 100 for acquiring a fingerprint image according to an embodiment of the present application.
  • the method 100 may be performed by a device for acquiring a fingerprint image, and the device for acquiring a fingerprint image may be an optical fingerprint module.
  • the method 100 can be used for the terminal device shown in FIG. 1 , and specifically, can be performed by an optical fingerprint module in the terminal device, and the optical fingerprint module can be located at the exposure of the terminal device as shown in FIG. 1 .
  • Area D is a schematic flowchart of a method 100 for acquiring a fingerprint image according to an embodiment of the present application.
  • the method 100 may be performed by a device for acquiring a fingerprint image, and the device for acquiring a fingerprint image may be an optical fingerprint module.
  • the method 100 can be used for the terminal device shown in FIG. 1 , and specifically, can be performed by an optical fingerprint module in the terminal device, and the optical fingerprint module can be located at the exposure of the terminal device as shown in FIG. 1 .
  • the method 100 includes: S110, determining target optical information of a light environment in which the fingerprint to be identified is currently located; S120, determining a target working parameter corresponding to the target optical information according to a correspondence between the optical information and the working parameter, where The working parameter is a parameter used when fingerprinting the fingerprint image is acquired; S130, and acquiring a first fingerprint image of the fingerprint to be recognized according to the target working parameter.
  • the method for obtaining a fingerprint image in the embodiment of the present application may determine a corresponding working parameter according to the optical information of the optical environment in which the fingerprint is to be identified, and obtain a fingerprint image of the fingerprint to be recognized according to the working parameter, so as to continue to perform the fingerprint.
  • Image recognition which can dynamically adjust the working parameters of the fingerprint image of the fingerprint to be identified according to different light environments, thereby achieving the expected result of adapting the optical fingerprint requirement in different environments without increasing the hardware cost.
  • target light information of a light environment in which the fingerprint to be identified is currently located is determined, and the target light information can represent the intensity of light in the light environment in which the fingerprint to be identified is currently located.
  • the light environment may include one or more types of light, for example, a scene in which a fingerprint to be recognized is fingerprinted, and the light environment in which the fingerprint to be recognized is currently may include surrounding natural light.
  • the sunlight in the outdoor fingerprinting in addition, the light environment in which the light environment is located may further include light on the screen of the terminal device performing the fingerprint recognition operation, for example, the direct light L2 emitted from the light source device O as shown in FIG.
  • the light emitted by the light source device O can be used to illuminate the fingerprint to be recognized, thereby obtaining a clearer fingerprint image for fingerprint recognition.
  • light in the light environment may be characterized by optical information, and specifically, the light information may include at least one of intensity, brightness, and illuminance of light in the light environment, or the light information may also Includes other parameters that characterize light.
  • the target light information for representing the light of the current light environment may be acquired, and the target light information may include the intensity, brightness, and brightness of the light acquired by detecting the current light environment. At least one of the illuminances, or other parameters may also be included.
  • the target optical information includes a pixel value of the image, and according to the target optical information, a process of collecting and identifying a fingerprint image of the fingerprint to be recognized is performed.
  • the fingerprint to be recognized presses the collection area.
  • the fingerprint to be recognized is pressed in the exposure area D as shown in FIG. 1 , and an arbitrary fingerprint image of the fingerprint to be recognized is collected.
  • a fingerprint image wherein the pixel value of the second fingerprint image is obtained, and the pixel value of the second fingerprint image is used to represent the light in the light environment where the fingerprint is to be identified, that is, the
  • the target light information includes a pixel value of the second fingerprint image
  • the fingerprint recognition process of the fingerprint to be recognized is performed according to the target light information including the pixel value of the second fingerprint image, and optionally, the fingerprint recognition process may be re-acquired again.
  • the fingerprint image of the fingerprint is recognized, and the embodiment of the present application is not limited thereto.
  • the collection and calculation may be performed by various techniques or algorithms, and details are not described herein again.
  • the pixel value of the second fingerprint image of the target optical information including the fingerprint to be identified is used as an example, that is, the target optical information corresponding to the light environment in which the fingerprint to be identified is currently located includes the fingerprint to be recognized.
  • the pixel value of the second fingerprint image Specifically, in the light environment where the fingerprint to be identified is currently located, the fingerprint presses the collection area (for example, the exposure area D shown in FIG. 1 ), and collects a second fingerprint image of the fingerprint to be recognized according to the preset exposure time, and calculates the first a pixel value of the fingerprint image, the target light information including a pixel value of the second fingerprint image.
  • the preset exposure time may be set to an arbitrary duration according to an actual application, for example, 10 ms, and the set standard may be such that the pixel value of the second fingerprint image is less than or equal to a second preset pixel value, wherein the second pre- The pixel value can be set according to the actual application.
  • the second preset pixel value can be set to 1024, and the corresponding preset exposure time can be set, so that the pixel value of the second fingerprint image should be less than or equal to 1024, that is, The pixel points in the second fingerprint image are made unsaturated.
  • the second fingerprint image of the fingerprint to be identified may be an image of all fingerprints of the fingerprint to be identified, or may be a partial fingerprint image of the fingerprint to be identified.
  • the fingerprint to be identified contacts the collection area, for example, the exposure area D shown in FIG. 1 , and the fingerprint module can collect the fingerprint image in all the areas touched as the second fingerprint image, or the fingerprint module can also collect.
  • the fingerprint image of the partial area that is in contact is the second fingerprint image.
  • the fingerprint image corresponding to the area of the preset size of the central area may be collected as the second fingerprint image, but the embodiment of the present application is not limited thereto.
  • determining the pixel value of the second fingerprint image may include: determining a pixel value of each pixel point of all the pixel points of the second fingerprint image, and determining an average value of the pixel values of the all pixel points as the second
  • the pixel value of the fingerprint image, or the pixel value of the second fingerprint image is calculated by other algorithms, but the embodiment of the present application is not limited thereto.
  • the pixel value of the second fingerprint image may also be determined by determining a pixel value of the local region of the second fingerprint image. For example, collecting a second fingerprint image, taking a partial region in the second fingerprint image, such as by using a correlation algorithm, selecting a better performing portion The sub-area, and then the pixel value of the partial area is calculated as the pixel value of the second fingerprint image, but the embodiment of the present application is not limited thereto.
  • the target optical information corresponding to the light environment in which the fingerprint is to be identified may further include other parameters, such as a pixel value of an image including the current light environment, and the pixel value of the image is not a fingerprint image, but the pixel of the image
  • the process of obtaining and calculating the value may be similar to the second fingerprint image of the fingerprint to be identified, and details are not described herein again.
  • a target operating parameter corresponding to the target optical information is determined according to a correspondence between the optical information and the working parameter, wherein the working parameter is a parameter used when acquiring the fingerprint image for fingerprint recognition.
  • the working parameter may refer to various parameters that may be involved in performing the fingerprint identification process, for example, an exposure time used when the fingerprint image of the fingerprint to be recognized is collected by the optical fingerprint module; or, for example, optical fingerprint recognition of the terminal device The intensity of the light provided by the device light source device for the fingerprint to be recognized; or the size of the fingerprint image of the fingerprint module to be recognized by the fingerprint module.
  • the correspondence between the optical information corresponding to the various optical environments and the working parameters may be stored in the optical fingerprinting device of the terminal device, for example, the memory of the terminal device may be saved.
  • Corresponding relationship between the optical information and the working parameter, or storing the correspondence between the optical information and the working parameter in the optical fingerprint module in the terminal device, the corresponding target work may be determined according to the target optical information. parameter.
  • the method 100 further includes determining optical information of each of the plurality of light environments and corresponding operating parameters, establishing a correspondence between optical information and operating parameters of each of the optical environments.
  • the plurality of light environments are different intensities that simulate the light in the light environment in which the user may be fingerprinting.
  • the following description will be made by taking a first light environment as an example, and the first light environment is any one of a plurality of light environments.
  • the optical information corresponding to the first light environment is determined, and the light information may include at least one of intensity, brightness, and illuminance of the light in the first light environment, or may also include other representations of the first The parameters of the light of the light environment. For example, collecting an arbitrary image of the first light environment, the image may be a non-fingerprint image, calculating a pixel value of the image, and expressing the light in the first light environment by the pixel value of the image, that is, the corresponding first light environment
  • the light information includes the pixel values of the image.
  • the arbitrary fingerprint is set as the test fingerprint
  • the pixel value of the initial fingerprint image is calculated by collecting the initial fingerprint image of the test fingerprint
  • the optical information of the first light environment includes the pixel value of the initial fingerprint image.
  • the light source device in the optical fingerprint recognition device of the terminal device may or may not emit light.
  • the light in the first light environment simulates the light including the external natural light and the light source device; when the light source device does not emit light, the first light environment only simulates the influence of the external natural light on the fingerprint detection. .
  • the light source device when determining the light information of the plurality of light environments, the light source device does not emit light, and when determining the target light information of the fingerprint to be recognized, the light source device also does not emit light; similarly, when determining light of multiple light environments In the case of information, when the light source device emits light, the light source device also emits light when determining the target light information of the fingerprint to be recognized, but the embodiment of the present application is not limited thereto.
  • the parameter types included in the optical information are relative to the parameters in the target optical information corresponding to the fingerprint to be identified, for example, may include to be identified.
  • the parameter in the target light information corresponding to the fingerprint For example, when the light information of the light environment stored in the terminal device includes brightness and illuminance, brightness and/or illumination may be included in the target light information determining the light environment in which the fingerprint to be recognized is currently located.
  • the light information of the light environment saved in the terminal device includes only the pixel value of the image, for example, the pixel value of the initial fingerprint including the test fingerprint, in determining the target light information of the light environment in which the fingerprint to be identified is currently located.
  • the light information corresponding to the light environment includes the pixel value of the initial fingerprint image of the test fingerprint. Specifically, taking the light information of the first light environment as an example, correspondingly, the target light acquired in S110 The information then includes the pixel value of the second fingerprint image of the fingerprint to be identified.
  • an initial fingerprint image of the test fingerprint is acquired according to a preset exposure time, and a pixel value of the initial fingerprint image is calculated, and the optical information of the first light environment includes a pixel value of the initial fingerprint image.
  • the preset exposure time may be set to an arbitrary duration according to an actual application, for example, 10 ms, and the set standard may be a pixel value of a fingerprint image obtained by using the preset exposure time for any light environment in a plurality of light environments. Less than or equal to the second preset pixel value.
  • the second preset pixel value may be set to 1024, that is, the pixel points in each fingerprint image may be made unsaturated, that is, the exposure time of each image obtained in any light environment is less than 1024. For this preset exposure time.
  • the second fingerprint image of the fingerprint to be recognized is acquired in S110, the second fingerprint image is acquired by using the same preset exposure time.
  • the initial fingerprint image of the test fingerprint may be an image of all the fingerprints of the test fingerprint, or may be a partial fingerprint image of the test fingerprint.
  • the acquisition is performed in S110.
  • the collection area of the second fingerprint image is consistent with the collection area of the initial fingerprint image.
  • determining the pixel value of the initial fingerprint image may include: determining a pixel value of each pixel point of all the pixel points of the initial fingerprint image, and determining an average value of the pixel values of the all pixel points as the initial fingerprint image.
  • the pixel value is calculated, or the pixel value of the initial fingerprint image is calculated by other algorithms, but the embodiment of the present application is not limited thereto.
  • the pixel value of the initial fingerprint image may also be determined by determining the pixel value of the local region of the initial fingerprint image. For example, the initial fingerprint image is acquired, and a partial region in the initial fingerprint image is taken, and the partial region is selected by using a correlation algorithm, and then the pixel value of the partial region is calculated as a pixel value of the initial fingerprint image, but the embodiment of the present application Not limited to this.
  • the pixel value of the second fingerprint image is determined by using the same algorithm.
  • the optical information of the first light environment is determined, the light information includes the pixel value of the initial fingerprint image, and similarly, a similar algorithm is adopted for each of the plurality of light environments to determine the light information of each light environment. .
  • the working parameter corresponding to each optical information is determined, and the working parameter may be an optimal working parameter in the corresponding optical environment, that is, the fingerprint to be identified may be
  • the working parameter includes an exposure time for acquiring a fingerprint image as an example, that is, determining an exposure time corresponding to light information of each light environment, the exposure time may be an optimal exposure time, and establishing optical information of each light environment and The correspondence between the optimal exposure times.
  • an example is to determine an optimal exposure time of the first light environment. Specifically, in the first light environment, a plurality of fingerprint images of the test fingerprint are respectively acquired by using different exposure times, and pixel values of each fingerprint image are determined. When the pixel value of one of the plurality of fingerprint images satisfies a preset condition, determining an exposure time corresponding to the fingerprint image as an optimal exposure time of the first light environment, thereby establishing light of the first light environment The correspondence between information and exposure time.
  • the preset condition may be that the pixel value of the fingerprint image is less than or equal to the first preset pixel value, and the first preset pixel value may be set according to the sharpness of the image, for example, in order to enable The obtained fingerprint image reaches the clearest state, and the first preset pixel value can be set within the range of [700, 800].
  • the exposure time in each light environment is determined according to the manner of determining the exposure time of the first light environment, and thus the correspondence between the light information of various light environments and the exposure time can be established.
  • the exposure time corresponding to the target light information may be determined according to the correspondence between the light information and the exposure time.
  • the corresponding exposure time is short, and when the light environment in which the fingerprint is to be identified is weak, the corresponding exposure time is longer.
  • a correspondence relationship between optical information and working parameters of a plurality of optical environments may be established, for example, a correspondence relationship between optical information of multiple light environments and an optimal exposure time, so as to facilitate
  • the target working parameter corresponding to the target light information of the fingerprint to be identified is determined, for example, the target exposure time corresponding to the target light information of the fingerprint to be identified is acquired.
  • a first fingerprint image of the fingerprint to be identified is acquired according to the target working parameter, wherein the first fingerprint image may be used for fingerprint recognition.
  • the fingerprint recognition may be performed by means of the existing optical fingerprint identification.
  • the collected first fingerprint image it may be obtained for collecting all the images of the fingerprint to be exposed to the exposed area D, or may be obtained for collecting part of the image. of.
  • the first fingerprint image may be directly restored to the data of the fingerprint image for fingerprint recognition, or the fingerprint data may be acquired by other calculation processes for fingerprint identification.
  • the embodiment of the present application is not limited thereto.
  • the light source device of the optical fingerprint identification device provides a light source for the collection and recognition process of the fingerprint module, for example, the terminal device shown in FIG.
  • the light source device O provides a light source for the fingerprint to be identified.
  • the target operational parameter may include any parameters involved in the process of acquiring and identifying the first fingerprint image of the fingerprint to be identified.
  • the target working parameter may include a target exposure time, and the target exposure time may be used to collect a first fingerprint image of the fingerprint to be identified, and the fingerprint to be recognized contacts the collection area, for example, the exposure area D shown in FIG. The duration of the target exposure time is exposed to obtain the first fingerprint image.
  • the method for acquiring a fingerprint image in the embodiment of the present application may determine target light information of a light environment in which the fingerprint to be identified is located, for example, the target light information may include a pixel value of the fingerprint image, and the pixel value of the fingerprint image may be based on Set the fingerprint image of the fingerprint to be recognized obtained by the exposure time The pixel value, thereby determining the target working parameter corresponding to the target light information, and acquiring the fingerprint image of the fingerprint to be identified according to the target working parameter, so as to continue to perform fingerprint image authentication and recognition, so that the optical image can be dynamically adjusted according to different light environments.
  • the operating parameters, such as the exposure time, when identifying the fingerprint image of the fingerprint thereby achieving the desired result of adapting to the optical fingerprinting requirements of different environments without increasing hardware costs.
  • the size of the sequence numbers of the foregoing processes does not mean the order of execution sequence, and the order of execution of each process should be determined by its function and internal logic, and should not be applied to the embodiment of the present application.
  • the implementation process constitutes any limitation.
  • the method for acquiring a fingerprint image according to an embodiment of the present application is described in detail above with reference to FIG. 1 to FIG. 2 .
  • a fingerprint image capturing apparatus according to an embodiment of the present application will be described with reference to FIG. 3 .
  • the apparatus 200 for acquiring a fingerprint image includes: a light source device 210 and an optical fingerprint module 220, wherein the optical fingerprint module 220 is used for fingerprint recognition of a fingerprint to be recognized; A light source is provided for the process of fingerprinting the optical fingerprint module 220.
  • the optical fingerprint module 220 is further configured to: determine target optical information of a light environment in which the fingerprint to be identified is currently located; and determine a target working parameter corresponding to the target optical information according to a correspondence between the optical information and the working parameter,
  • the working parameter is a parameter used when fingerprinting the fingerprint image is obtained; and the first fingerprint image of the fingerprint to be recognized is obtained according to the target working parameter.
  • the device for acquiring a fingerprint image may determine a corresponding working parameter according to the optical information of the light environment in which the fingerprint to be identified is currently located, and obtain a fingerprint image of the fingerprint to be recognized according to the working parameter, so as to continue to perform the fingerprint.
  • Image recognition which can dynamically adjust the working parameters when acquiring the fingerprint image of the fingerprint to be identified according to different light environments, thereby achieving the expected result of adapting to the use of optical fingerprints in different environments without increasing the hardware cost.
  • the optical fingerprint module 220 is configured to: acquire, in the current light environment, a second fingerprint image of the fingerprint to be recognized according to a preset exposure time; and determine a pixel value of the second fingerprint image; The light information is determined, the light information including a pixel value of the second fingerprint image.
  • the optical fingerprint module 220 is specifically configured to: determine a pixel value of all the pixels in the second fingerprint image; determine an average pixel value of the all pixel points as a pixel value of the second fingerprint image.
  • the optical fingerprint module 220 is specifically configured to: acquire an image of the local fingerprint of the fingerprint to be identified as the second fingerprint image.
  • the optical fingerprint module 220 is further configured to: determine optical information of each of the plurality of light environments and corresponding operating parameters; establish an optical information between the optical environment and the operating parameter Correspondence relationship.
  • the operating parameter includes an exposure time
  • the target operating parameter includes a target exposure time
  • the optical fingerprint module 220 is configured to: determine, in a first light environment in a plurality of light environments, a pixel value of an initial fingerprint image of the test fingerprint according to a preset exposure time; and determine the first light environment.
  • the light information of the first light environment includes a pixel value of the initial fingerprint image; in the first light environment, determining pixel values of the plurality of fingerprint images of the corresponding test fingerprint according to different exposure times; Determining an exposure time corresponding to the fingerprint image in which the pixel value is equal to the first preset pixel value in the plurality of fingerprint images as an exposure time in the first light environment; establishing optical information of the first light environment and the exposure time Correspondence between the two.
  • the first preset pixel value is greater than or equal to 700, and the first preset pixel value is less than or equal to 800.
  • the pixel value of the initial fingerprint image is less than or equal to the second preset pixel value.
  • the second preset pixel value is 1024.
  • the target light information includes light intensity and/or brightness of light in the current light environment.
  • the apparatus 200 for acquiring a fingerprint image may correspond to performing the method 100 in the embodiment of the present application, and the above operations and/or functions of the respective units in the apparatus 200 for acquiring a fingerprint image are respectively
  • the corresponding processes of the various methods in FIG. 2 are implemented, and are not described herein for brevity.
  • the apparatus 200 for acquiring a fingerprint image in the embodiment of the present application may correspond to the terminal device shown in FIG. 1.
  • the terminal device as shown in FIG. 1 may include the device 200, or the terminal device may be the device 200.
  • the light source device O included in the terminal device corresponds to the light source device 210 in the device 200
  • the optical fingerprint module in the terminal device corresponds to the optical fingerprint module 220 in the device 200.
  • the light source device O in the terminal device may be a self-luminous display panel, and the optical fingerprint module of the terminal device may be located under the self-luminous display panel, for example, the optical fingerprint module may be located.
  • the exposure area D the embodiment of the present application is not limited thereto.
  • the device for acquiring a fingerprint image in the embodiment of the present application may determine target light information of a light environment in which the fingerprint to be identified is located, for example, the target light information may include a pixel value of the fingerprint image, and the pixel value of the fingerprint image may be based on Set the fingerprint image of the fingerprint to be recognized obtained by the exposure time
  • the pixel value is further determined by the target working parameter corresponding to the target light information, and the fingerprint image of the fingerprint to be recognized is obtained according to the target working parameter, so as to continue to perform fingerprint image recognition, so that the fingerprint to be recognized can be dynamically adjusted according to different light environments.
  • the working parameter of the fingerprint image, the working parameter may be any parameter in the process of acquiring the fingerprint image and performing fingerprint identification, for example, the working parameter may be an exposure time, thereby achieving adaptation to different environments using optical without increasing hardware cost. The expected result of fingerprint demand.
  • the disclosed systems, devices, and methods 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 application 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 functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the technical solution of the present application is essentially or a part contributing to the prior art or a part of the technical solution.
  • the points may be embodied in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform various embodiments of the present application. All or part of the steps of the method.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

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

Abstract

一种获取指纹图像的方法、装置和终端设备。该方法包括确定待识别指纹所在的光环境的目标光信息(S110);根据光信息与工作参数之间的对应关系,确定该目标光信息对应的目标工作参数,该工作参数为在获取指纹图像进行指纹识别时使用的参数(S120);根据该目标工作参数,获取该待识别指纹的第一指纹图像(S130)。该获取指纹图像的方法、装置和终端设备,可以根据不同的光环境,动态调整获取待识别指纹的指纹图像时的工作参数,进而达到在不增加硬件成本的情况下适应不同环境使用光学指纹需求的预期结果。

Description

获取指纹图像的方法、装置和终端设备 技术领域
本申请涉及生物识别技术领域,尤其涉及获取指纹图像的方法、装置和终端设备。
背景技术
目前终端设备的屏幕下的光学指纹设备,利用手指按压在发光的屏幕上,由手指的谷和脊反射光的强弱信号来构建指纹图像。但是光学指纹设备在指纹采集时容易受到环境影响,例如,当终端设备处于光照比较强的环境中,可能使信号超过指纹设备的量程,而无法得到有效的指纹图像数据;当终端设备处于比较暗的环境中,又可能使谷和脊反射的光强度趋于一致,同样导致无法获得有效的指纹图像数据。
发明内容
本申请提供了一种获取指纹图像的方法、装置和终端设备,能够有效的获取指纹图像数据。
第一方面,提供了一种获取指纹图像的方法,该方法包括:确定待识别指纹当前所在的光环境的目标光信息;根据光信息与工作参数之间的对应关系,确定该目标光信息对应的目标工作参数,该工作参数为在获取指纹图像进行指纹识别时使用的参数;根据该目标工作参数,获取该待识别指纹的第一指纹图像。
因此,本申请实施例的获取指纹图像的方法,可以根据待识别指纹所在的光环境的光信息,确定对应的工作参数,根据该工作参数获取待识别指纹的指纹图像,以便于继续执行指纹图像识别,这样可以根据不同的光环境,动态调整获取待识别指纹的指纹图像时的相关工作参数,进而达到在不增加硬件成本的情况下适应不同环境使用光学指纹需求的预期结果。
应理解,该方法可以由获取指纹图像的装置执行,该装置可以为终端设备,该装置可以包括光源器件和光学指纹模组,具体地,该方法可以由光学指纹模组执行,该光学指纹模组还可以用于对待识别指纹进行指纹识别,例如,根据该第一指纹图像进行指纹识别;该光源器件可以用于为该光学指纹 模组进行指纹识别时提供光源。
应理解,该光环境中的光可以包括待识别指纹所在的环境中的自然光,也可以包括该光学指纹识别设备中光源器件提供的光源。
应理解,该目标光信息能够表征该待识别指纹当前所在的光环境中的光的强度。该目标光信息可以包括表征该待识别指纹当前所在的光环境中的光的强度的任意参数。
例如,在待识别指纹进行指纹识别之前,先采集当前所在光环境的任意图像,该图像为非指纹图像,计算获得该图像的像素值,通过该图像的像素值表征当前的光环境中的光,即该目标光信息包括该图像的像素值。
结合第一方面,在第一方面的一种实现方式中,该确定待识别指纹当前所在的光环境的目标光信息,包括:在该当前所在的光环境中,根据预设曝光时间,获取该待识别指纹的第二指纹图像;确定该第二指纹图像的像素值;确定该目标光信息,该目标光信息包括该第二指纹图像的像素值。
应理解,该预设曝光时间可以设置为任意时长,例如10ms,设置的标准可以为使得该第二指纹图像的像素值小于或者等于第二预设像素值。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该确定该第二指纹图像的像素值,包括:确定该第二指纹图像中全部像素点的像素值;将该全部像素点的平均像素值确定为该第二指纹图像的像素值。
应理解,确定第二指纹图像的像素值,可以包括:确定该第二指纹图像的全部像素点中每个像素点的像素值,将该全部像素点的像素值的平均值确定为该第二指纹图像的像素值,或者通过其他算法计算该第二指纹图像的像素值。
可选地,考虑第二指纹图像的效果,也可以通过确定该第二指纹图像的局部区域的像素值来确定该第二指纹图像的像素值。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该获取该待识别指纹的第二指纹图像,包括:获取该待识别指纹的局部指纹的图像为该第二指纹图像。
应理解,该待识别指纹的第二指纹图像可以为该待识别指纹的全部指纹的图像,也可以为该待识别指纹的局部指纹图像。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该方法还包括:确定多种光环境中每种光环境的光信息和对应的工作参数;建 立该每种光环境的该光信息与该工作参数之间的对应关系。
应理解,可以在光学指纹识别设备中保存有光信息与工作参数之间的对应关系。例如,该光学指纹识别设备可以为终端设备,则在该终端设备的存储器中可以保存该光信息与工作参数之间的对应关系,或者在该光学指纹识别设备中的指纹模组中设置该光信息与工作参数之间的对应关系。
应理解,该多种光环境为模拟用户在进行指纹识别时可能所处的光环境中的光的不同强度。并且,确定第一光环境时,光学指纹识别设备中的光源器件可以发光,也可以不发光。当光源器件发光时,则第一光环境中的光模拟了包括外界的自然光和光源器件的光;当光源器件不发光时,则该第一光环境中的光仅仅模拟了外界的自然光对指纹检测的影响。
可选地,确定第一光环境的光信息,该光信息可以包括该第一光环境中的光的强度、亮度和照度中的至少一个,或者该光信息还可以包括其它可以表针第一光环境中的光的强度的参数,例如也可以通过采集测试指纹的初始指纹图像,计算该初始指纹图像的像素值,该光信息包括该初始指纹图像的像素值。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该工作参数包括曝光时间,该目标工作参数包括目标曝光时间。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该确定多种光环境中每种光环境的光信息和对应的工作参数,包括:在多种光环境中的第一光环境中,根据预设曝光时间,确定测试指纹的初始指纹图像的像素值;确定该第一光环境的光信息,该第一光环境的光信息包括该初始指纹图像的像素值;在该第一光环境中,根据不同的曝光时间,确定对应的该测试指纹的多个指纹图像的像素值;将该多个指纹图像中像素值等于第一预设像素值的指纹图像对应的曝光时间,确定为该第一光环境下的曝光时间;该建立该每种光环境的该光信息与该工作参数之间的对应关系,包括:建立该第一光环境的光信息与该曝光时间之间的对应关系。
该预设曝光时间可以设置为任意时长,例如10ms,设置的标准可以为对于多种光环境中的任意光环境,采用该预设曝光时间获得的测试指纹的初始指纹图像的像素值均小于或者等于第二预设像素值。
应理解,该测试指纹的初始指纹图像可以为该测试指纹的全部指纹的图像,也可以为该测试指纹的局部指纹图像。
应理解,确定初始指纹图像的像素值,可以包括:确定该初始指纹图像的全部像素点中每个像素点的像素值,将该全部像素点的像素值的平均值确定为该初始指纹图像的像素值。
可选地,考虑到指纹图像的效果,也可以通过确定该初始指纹图像的局部区域的像素值来确定该初始指纹图像的像素值。例如,采集初始指纹图像,取该初始指纹图像中的部分区域,如通过相关算法,选择该部分区域,进而计算该部分区域的像素值为该初始指纹图像的像素值。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该第一预设像素值大于或者等于700,且该第一预设像素值小于或者等于800。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该初始指纹图像的像素值小于或等于第二预设像素值。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该第二预设像素值为1024。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该目标光信息包括该当前所在的光环境中光的光强和/或亮度。
因此,本申请实施例的获取指纹图像的方法,可以确定待识别指纹当前所在的光环境的目标光信息,例如该目标光信息可以包括指纹图像的像素值,该指纹图像的像素值可以为根据预设曝光时间获取的待识别指纹的指纹图像的像素值,进而确定目标光信息对应的目标工作参数,根据该目标工作参数获取待识别指纹的指纹图像,以便于继续执行指纹图像识别,这样可以根据不同的光环境,动态调整获取待识别指纹的指纹图像时的工作参数,该工作参数可以为获取指纹图像以及进行指纹识别过程中的任意参数,例如该工作参数可以为曝光时间,进而达到在不增加硬件成本的情况下适应不同环境使用光学指纹需求的预期结果。
第二方面,提供了一种获取指纹图像的装置,该装置包括光源器件和光学指纹模组,该光学指纹模组用于对待识别指纹进行指纹识别;该光源器件用于为该光学指纹模组进行指纹识别的过程提供光源;该光学指纹模组还用于执行上述第一方面或第一方面的任意可能的实现方式中的方法。。
第三方面,提供了一种终端设备,该终端设备包括自发光显示面板和光学指纹模组,该光学指纹模组位于该自发光显示面板的下方,该光学指纹模组用于执行上述第一方面或第一方面的任意可能的实现方式中的方法;该自 发光显示面板用于为该光学指纹模组提供光源。
结合第三方面,在第三方面的一种实现方式中,该终端设备为上述第二方面的获取指纹图像的装置,该终端设备中的自发光显示面板为上述第二方面的装置中的光源器件,该终端设备中的光学指纹模组为上述第二方面的装置中的光学指纹模组。
附图说明
图1是根据本申请实施例的终端设备的示意图。
图2是根据本申请实施例的获取指纹图像的方法的示意性流程图。
图3是根据本申请实施例的获取指纹图像的装置的示意性框图。
具体实施方式
下面将结合附图,对本申请实施例中的技术方案进行描述。
应理解,图1示出了根据本申请实施例的终端设备的示意图。该终端设备可以包括但不限于移动终端(Mobile Terminal)、移动电话(Mobile Telephone)、用户设备(User Equipment,UE)、手机(handset)及便携设备(portable equipment)等,例如,终端设备可以是移动电话。
如图1所示,该终端设备包括用于进行光学指纹识别的光学指纹模组以及面板,其中,该光学指纹模组可以设置在面板下方,该面板可以为该终端设备的发光触摸屏,该面板可以用于为用户显示图像,还可以用于为该终端设备的光学指纹模组进行指纹识别时提供光源;该光学指纹模组可以包括用于进行指纹识别的指纹芯片,该光学指纹模组还可以包括光学指纹传感器。
应理解,该终端设备的面板可以为具有发光显示像素而无需使用背光的显示屏,其中每个像素产生用于在屏幕上形成显示图像的光,例如,有机发光二极管(organic light-emitting diode,OLED)显示屏或电致发光显示屏。具体地,该终端设备的面板可以看作光源器件,该光源器件可以包括多个自发光显示单元,例如,该自发光显示单元可以为发光显示像素。如图1所示,光源器件O可以用于为用户显示图像,以便于用户根据显示图像操作该终端设备,另外,该光源器件O还可以用于为获取待识别指纹的指纹图像提供光源,即在指纹识别过程,该光源器件O用于照亮待识别指纹,从而获取该待识别指纹的指纹图像进行指纹识别。例如,图1中的光源直射光L2即为光 源器件O产生的,用于照亮待识别指纹,即为获取待识别指纹的指纹图像提供的光源。
另外,在该面板上还可以包括曝光区域D,该曝光区域D可以用于采集待识别指纹的指纹图像进行指纹识别。可选地,该终端设备的光学指纹模组可以位于该曝光区域D,即用户进行指纹识别时,手指按压该区域,将需要识别的待识别指纹覆盖在该曝光区域D,通过曝光区域D的光学指纹模组获取并识别该待识别指纹的指纹图像。
应理解,该终端设备包括的光学指纹模组可以包括光学指纹传感器,该光学指纹传感器可以包括光电二极管(Photo-Diode,PD)阵列,该PD阵列可以看作包括多个信号转换器,例如如图1所示出的信号转换器C1和信号转换器C2为PD阵列中的任意两个信号转换器。具体地,光学指纹传感器用于采集待识别指纹的指纹数据,以图1中的信号转换器C1和信号转换器C2为例,该信号转换器C1和信号转换器C2可以用于将输入的光信号转换为数字信号,例如,光源直射光L2照射用户手指的待识别指纹,经过反射得到反射光L3,信号转换器C1和信号转换器C2可以将采集到的经过待识别指纹反射的反射光L3的光信号转换为数字信号,从而获取指纹图像进行指纹图像的识别。
在本申请实施例中,如图1所示,终端设备的光源器件O提供光源直射光L2,经过待识别指纹的指纹脊和指纹谷反射,获取反射光L3,其中,由于指纹脊相对于指纹谷更靠近光源器件,因此指纹脊有更强的反射光,再经过信号转换器将采集的光信号转换为数据信息,这种反射光的差异,则可以表现为指纹图像中的差异,即可以获取待识别指纹对应的指纹图像。但是由于待识别指纹所在的光环境有强度不可控的环境光L1,例如阳光的强弱等,会影响经过指纹反射的反射光,因此,本申请实施例提出了一种获取指纹图像的方法,在采集待识别指纹的指纹图像时,可以动态调整曝光时间等工作参数,进而减少环境光对指纹检测过程中指纹采集的影响。
具体地,图2示出了根据本申请实施例的获取指纹图像的方法100的示意性流程图,该方法100可以由获取指纹图像的装置执行,该获取指纹图像的装置可以为光学指纹模组,例如,该方法100可以用于如图1所示的终端设备,具体地,可以由终端设备中的光学指纹模组执行,该光学指纹模组可以位于如图1所示的终端设备的曝光区域D。
具体地,该方法100包括:S110,确定待识别指纹当前所在的光环境的目标光信息;S120,根据光信息与工作参数之间的对应关系,确定该目标光信息对应的目标工作参数,该工作参数为在获取指纹图像进行指纹识别时使用的参数;S130,根据该目标工作参数,获取该待识别指纹的第一指纹图像。
因此,本申请实施例的获取指纹图像的方法,可以根据待识别指纹所在的光环境的光信息,确定对应的工作参数,根据该工作参数获取该待识别指纹的指纹图像,以便于继续执行指纹图像识别,这样可以根据不同的光环境,动态调整获取待识别指纹的指纹图像的工作参数,进而达到在不增加硬件成本的情况下适应不同环境使用光学指纹需求的预期结果。
在S110中,确定待识别指纹当前所在的光环境的目标光信息,该目标光信息能够表征该待识别指纹当前所在的光环境中的光的强度。应理解,对于任意光环境,该光环境可以包括一种或多种类型的光,例如以对待识别指纹进行指纹识别的场景为例,该待识别指纹当前所在的光环境可以包括周围的自然光,例如在室外进行指纹识别时的阳光;另外,所在的光环境还可以包括执行指纹识别操作的终端设备的屏幕上的光,例如如图1所示的光源器件O发射的光源直射光L2,该光源器件O发射的光可以用于照亮该待识别指纹,从而获得更清晰的指纹图像进行指纹识别。
应理解,对于任意光环境,可以通过光信息表征该光环境中的光,具体地,该光信息可以包括光环境中的光的强度、亮度和照度中的至少一个,或者该光信息也可以包括其它表征光的参数。具体地,以对待识别指纹进行指纹识别的场景为例,可以获取用于表征该当前光环境的光的目标光信息,该目标光信息可以包括检测当前光环境而获取的光的强度、亮度和照度中的至少一个,或者还可以包括其它参数。
例如,在待识别指纹进行指纹识别之前,先采集当前所在光环境的任意图像,该图像为非指纹图像,计算获得该图像的像素值,通过该图像的像素值表征当前的光环境中的光,即该目标光信息包括该图像的像素值,根据该目标光信息,再进行待识别指纹的指纹图像的采集和识别等过程。
再例如,在待识别指纹进行指纹识别时,待识别指纹按压采集区域,例如,待识别指纹按压如图1所示的曝光区域D,通过采集该待识别指纹的任意指纹图像,这里称为第二指纹图像,可以计算获得该第二指纹图像的像素值,通过该第二指纹图像的像素值表征待识别指纹所在光环境中的光,即该 目标光信息包括该第二指纹图像的像素值,根据该包括第二指纹图像像素值的目标光信息,再进行待识别指纹的指纹识别过程,可选地,在指纹识别过程可以再次重新采集待识别指纹的指纹图像,本申请实施例并不限于此。
在本申请实施例中,当目标光信息包括当前光环境的光的强度、亮度和照度中的至少一个时,可以通过各种技术或算法进行采集和计算,在此不再赘述。
可选地,本申请实施例以该目标光信息包括待识别指纹的第二指纹图像的像素值为例进行说明,即该待识别指纹当前所在的光环境对应的目标光信息包括待识别指纹的第二指纹图像的像素值。具体地,在待识别指纹当前所在的光环境中,指纹按压采集区域(例如图1所示的曝光区域D),根据预设曝光时间,采集该待识别指纹的第二指纹图像,计算该第二指纹图像的像素值,该目标光信息包括该第二指纹图像的像素值。
应理解,该预设曝光时间可以根据实际应用设置为任意时长,例如10ms,设置的标准可以为使得该第二指纹图像的像素值小于或者等于第二预设像素值,其中,该第二预设像素值可以根据实际应用进行设置,例如,该第二预设像素值可以设置为1024,则对应的可以设置预设曝光时间,使得第二指纹图像的像素值应小于或者等于1024,即可以使得第二指纹图像中的像素点不饱和。
应理解,该待识别指纹的第二指纹图像可以为该待识别指纹的全部指纹的图像,也可以为该待识别指纹的局部指纹图像。具体地,待识别指纹接触采集区域,例如如图1所示的曝光区域D,指纹模组可以采集接触到的全部区域内的指纹图像为第二指纹图像,或者,该指纹模组也可以采集接触到的部分区域的指纹图像为第二指纹图像,例如,可以仅采集中心区域的预设大小的区域对应的指纹图像为第二指纹图像,但本申请实施例并不限于此。
应理解,确定第二指纹图像的像素值,可以包括:确定该第二指纹图像的全部像素点中每个像素点的像素值,将该全部像素点的像素值的平均值确定为该第二指纹图像的像素值,或者通过其他算法计算该第二指纹图像的像素值,但本申请实施例并不限于此。
可选地,考虑第二指纹图像的效果,也可以通过确定该第二指纹图像的局部区域的像素值来确定该第二指纹图像的像素值。例如,采集第二指纹图像,取该第二指纹图像中的部分区域,如通过相关算法,选择效果较好的部 分区域,进而计算该部分区域的像素值为该第二指纹图像的像素值,但本申请实施例并不限于此。
类似的,待识别指纹当前所在的光环境对应的该目标光信息中还可以包括其它参数,例如包括当前所在光环境的图像的像素值,该图像的像素值不是指纹图像,但该图像的像素值的获取及计算过程可以类似待识别指纹的第二指纹图像,在此不再赘述。
在S120中,根据光信息与工作参数之间的对应关系,确定与该目标光信息对应的目标工作参数,其中,该工作参数为在获取指纹图像进行指纹识别时使用的参数。具体地,该工作参数可以指在进行指纹识别过程中可能涉及的各种参数,例如,通过光学指纹模组采集待识别指纹的指纹图像时采用的曝光时间;或者,例如终端设备的光学指纹识别设备光源器件为待识别指纹提供的光的强度;或者,指纹模组采集待识别指纹的指纹图像的面积大小等。
在本申请实施例中,可以在该例如终端设备的光学指纹识别设备中保存有各种光环境对应的光信息与工作参数之间的对应关系,例如,在该终端设备的存储器中可以保存该光信息与工作参数之间的对应关系,或者,在该终端设备中的光学指纹模组中保存该光信息与工作参数之间的对应关系,则可以根据该目标光信息,确定对应的目标工作参数。
应理解,该方法100还包括:确定多种光环境中每种光环境的光信息和对应的工作参数,建立每种光环境的光信息和工作参数之间的对应关系。应理解,该多种光环境为模拟用户在进行指纹识别时可能所处的光环境中的光的不同强度。另外,为了便于描述,下面以第一光环境为例进行说明,该第一光环境为多种光环境中的任意一种光环境。
在本申请实施例中,确定第一光环境对应的光信息,该光信息可以包括该第一光环境中的光的强度、亮度和照度中的至少一个,或者也可以包括其它表征该第一光环境的光的参数。例如,采集第一光环境的任意图像,该图像可以为非指纹图像,计算获得该图像的像素值,通过该图像的像素值表征第一光环境中的光,即该第一光环境对应的光信息包括该图像的像素值。再例如,设置任意指纹为测试指纹,通过采集测试指纹的初始指纹图像,计算该初始指纹图像的像素值,该第一光环境的光信息包括该初始指纹图像的像素值。
应理解,确定第一光环境时,例如终端设备的光学指纹识别设备中的光源器件可以发光,也可以不发光。当光源器件发光时,则第一光环境中的光模拟了包括外界的自然光和光源器件的光;当光源器件不发光时,则该第一光环境仅仅模拟了外界的自然光对指纹检测的影响。
可选地,当确定多种光环境的光信息时,光源器件不发光,则在确定待识别指纹的目标光信息时,光源器件同样也不发光;同样的,当确定多种光环境的光信息时,光源器件发光,则在确定待识别指纹的目标光信息时,光源器件同样也发光,但本申请实施例并不限于此。
应理解,对于确定的多种光环境的光信息与工作参数之间的对应关系,该光信息中包括的参数种类与待识别指纹对应的目标光信息中的参数相对于,例如可以包括待识别指纹对应的目标光信息中的参数。例如,当终端设备中保存的光环境的光信息包括亮度和照度时,在确定待识别指纹当前所在的光环境的目标光信息中可以包括亮度和/或照。再例如,当终端设备中保存的光环境的光信息仅包括图像的像素值时,例如包括测试指纹的初始指纹图的像素值,则在确定待识别指纹当前所在的光环境的目标光信息中包括该待识别指纹的指纹图的像素值。
下面以各种光环境对应的该光信息包括测试指纹的初始指纹图像的像素值为例进行说明,具体地,以第一光环境的光信息为例,对应的,在S110中获取的目标光信息则包括待识别指纹的第二指纹图像的像素值。
具体地,在第一光环境中,根据预设曝光时间,采集测试指纹的初始指纹图像,计算初始指纹图像的像素值,该第一光环境的光信息包括该初始指纹图像的像素值。
应理解,该预设曝光时间可以根据实际应用设置为任意时长,例如10ms,设置的标准可以为对于多种光环境中的任意光环境,采用该预设曝光时间获得的指纹图像的像素值均小于或者等于第二预设像素值。例如,该第二预设像素值可以设置为1024,即可以使得每个指纹图像中的像素点均不饱和,即在任何光环境下获取的各个图像的像素值均小于1024时的曝光时间则为该预设曝光时间。确定该预设曝光时间后,在S110中进行获取待识别指纹的第二指纹图像时,采用相同的预设曝光时间获取该第二指纹图像。
应理解,该测试指纹的初始指纹图像可以为该测试指纹的全部指纹的图像,也可以为该测试指纹的局部指纹图像。对应的,在S110中进行获取待 识别指纹的第二指纹图像时,该第二指纹图像的采集区域与该初始指纹图像的采集区域保持一致。
应理解,确定初始指纹图像的像素值,可以包括:确定该初始指纹图像的全部像素点中每个像素点的像素值,将该全部像素点的像素值的平均值确定为该初始指纹图像的像素值,或者通过其他算法计算该初始指纹图像的像素值,但本申请实施例并不限于此。
可选地,考虑到指纹图像的效果,也可以通过确定该初始指纹图像的局部区域的像素值来确定该初始指纹图像的像素值。例如,采集初始指纹图像,取该初始指纹图像中的部分区域,如通过相关算法,选择该部分区域,进而计算该部分区域的像素值为该初始指纹图像的像素值,但本申请实施例并不限于此。
对应的,在S110中进行获取待识别指纹的第二指纹图像后,采用相同的算法确定该第二指纹图像的像素值。
应理解,确定第一光环境的光信息,该光信息包括初始指纹图像的像素值,类似的,对多种光环境中的每种光环境采用类似的算法,确定每种光环境的光信息。
在本申请实施例中,确定每种光环境的光信息后,还确定各个光信息对应的工作参数,该工作参数可以为在对应光环境中的最优工作参数,即可以使得待识别指纹的指纹识别过程达到较好的效果。这里以该工作参数包括采集指纹图像的曝光时间为例进行说明,即确定每种光环境的光信息对应的曝光时间,该曝光时间可以为最优曝光时间,建立每种光环境的光信息与最优曝光时间之间的对应关系。
可选地,以确定第一光环境的最优曝光时间为例。具体地,在第一光环境中,采用不同的曝光时间,分别获取测试指纹的多个指纹图像,并确定每个指纹图像的像素值。当多个指纹图像中的某一指纹图像的像素值满足预设条件时,将该指纹图像对应的曝光时间确定为该第一光环境的最优曝光时间,进而建立该第一光环境的光信息和曝光时间之间的对应关系。
应理解,在第一光环境中获得不同曝光时间对应的多个指纹图像,采用相同的算法计算获得每个指纹图像的像素值。
应理解,该预设条件可以为该指纹图像的像素值小于或者等于第一预设像素值,该第一预设像素值可以根据图像的清晰度设置,例如,为了能够使 获得的指纹图像达到最清晰的状态,该第一预设像素值可以设置在[700,800]的范围内。
应理解,根据确定第一光环境的曝光时间的方式,确定每种光环境下的曝光时间,进而可以建立多种光环境的光信息和曝光时间之间的对应关系。当确定待识别指纹当前所在的光环境对应的目标光信息后,可以根据该光信息和曝光时间之间的对应关系,确定与目标光信息对应的曝光时间。一般地,当待识别指纹所在的光环境光较强时,则对应的曝光时间较短,当待识别指纹所在的光环境较弱时,则对应的曝光时间较长。
在本申请实施例中,类似的,还可以建立多种光环境的光信息与工作参数之间的对应关系,例如多种光环境的光信息与最优曝光时间之间的对应关系,以便于根据该对应关系在获取了待识别指纹的目标光信息后,确定与该待识别指纹的目标光信息对应的目标工作参数,例如,获取该待识别指纹的目标光信息对应的目标曝光时间。
在S130中,根据该目标工作参数,获取该待识别指纹的第一指纹图像,其中,该第一指纹图像可以用于进行指纹识别。具体地,可以通过现有光学指纹识别的方式进行指纹识别,例如,对于采集的第一指纹图图像,可以为采集待识别指纹接触曝光区域D的全部图像获得的,也可以为采集部分图像获得的。再例如,获取该第一指纹图像可以直接还原为指纹图像的数据进行指纹识别,或者,也可以通过其他计算过程获取指纹数据进行指纹识别,本申请实施例并不限于此。
应理解,根据目标工作参数获取待识别指纹的第一指纹图像,此时光学指纹识别设备的光源器件会为该指纹模组的采集和识别过程提供光源,例如如图1所示的终端设备的光源器件O为待识别指纹提供光源。
应理解,该目标工作参数可以包括在采集和识别待识别指纹的第一指纹图像的过程中涉及的任意参数。例如,该目标工作参数可以包括目标曝光时间,该目标曝光时间可以用于采集待识别指纹的第一指纹图像的过程,待识别指纹接触采集区域,例如如图1所示的曝光区域D,采用目标曝光时间的时长进行曝光,进而获取第一指纹图像。
因此,本申请实施例的获取指纹图像的方法,可以确定待识别指纹所在的光环境的目标光信息,例如该目标光信息可以包括指纹图像的像素值,该指纹图像的像素值可以为根据预设曝光时间获取的待识别指纹的指纹图像 的像素值,进而确定目标光信息对应的目标工作参数,根据该目标工作参数获取待识别指纹的指纹图像,以便于继续执行指纹图像认证和识别,这样可以根据不同的光环境,动态调整获取待识别指纹的指纹图像时的工作参数,例如曝光时间,进而达到在不增加硬件成本的情况下适应不同环境使用光学指纹需求的预期结果。
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
上文中结合图1至图2,详细描述了根据本申请实施例的获取指纹图像的方法,下面将结合图3,描述根据本申请实施例的获取指纹图像装置。
如图3所示,根据本申请实施例的获取指纹图像的装置200包括:光源器件210和光学指纹模组220,该光学指纹模组220用于对待识别指纹进行指纹识别;该光源器件210用于为该光学指纹模组220进行指纹识别的过程提供光源。
具体地,该光学指纹模组220还用于:确定待识别指纹当前所在的光环境的目标光信息;根据光信息与工作参数之间的对应关系,确定该目标光信息对应的目标工作参数,该工作参数为在获取指纹图像进行指纹识别时使用的参数;根据该目标工作参数,获取该待识别指纹的第一指纹图像。
因此,本申请实施例的获取指纹图像的装置,可以根据待识别指纹当前所在的光环境的光信息,确定对应的工作参数,根据该工作参数获取待识别指纹的指纹图像,以便于继续执行指纹图像识别,这样可以根据不同的光环境,动态调整获取待识别指纹的指纹图像时的工作参数,进而达到在不增加硬件成本的情况下适应不同环境使用光学指纹需求的预期结果。
可选地,该光学指纹模组220具体用于:在该当前所在的光环境中,根据预设曝光时间,获取该待识别指纹的第二指纹图像;确定该第二指纹图像的像素值;确定该光信息,该光信息包括该第二指纹图像的像素值。
可选地,该光学指纹模组220具体用于:确定该第二指纹图像中全部像素点的像素值;将该全部像素点的平均像素值确定为该第二指纹图像的像素值。
可选地,该光学指纹模组220具体用于:获取该待识别指纹的局部指纹的图像为该第二指纹图像。
可选地,该光学指纹模组220还用于:确定多种光环境中每种光环境的光信息和对应的工作参数;建立该每种光环境的该光信息与该工作参数之间的对应关系。
可选地,该工作参数包括曝光时间,该目标工作参数包括目标曝光时间。
可选地,该光学指纹模组220具体用于:在多种光环境中的第一光环境中,根据预设曝光时间,确定测试指纹的初始指纹图像的像素值;确定该第一光环境的光信息,该第一光环境的光信息包括该初始指纹图像的像素值;在该第一光环境中,根据不同的曝光时间,确定对应的该测试指纹的多个指纹图像的像素值;将该多个指纹图像中像素值等于第一预设像素值的指纹图像对应的曝光时间,确定为该第一光环境下的曝光时间;建立该第一光环境的光信息与该曝光时间之间的对应关系。
可选地,该第一预设像素值大于或者等于700,且该第一预设像素值小于或者等于800。
可选地,该初始指纹图像的像素值小于或等于第二预设像素值。
可选地,该第二预设像素值为1024。
可选地,该目标光信息包括该当前所在的光环境中光的光强和/或亮度。
应理解,根据本申请实施例的获取指纹图像的装置200可对应于执行本申请实施例中的方法100,并且获取指纹图像的装置200中的各个单元的上述和其它操作和/或功能分别为了实现图2中的各个方法的相应流程,为了简洁,在此不再赘述。
应理解,本申请实施例的获取指纹图像的装置200可以对应于图1所示的终端设备。具体地,如图1所示的该终端设备可以包括该装置200,或者该终端设备可以为该装置200。该终端设备包括的光源器件O对应装置200中的光源器件210,该终端设备中的光学指纹模组对应装置200中的光学指纹模组220。
可选地,如图1所示,该终端设备中的光源器件O可以为自发光显示面板,该终端设备的光学指纹模组可以位于自发光显示面板之下,例如该光学指纹模组可以位于曝光区域D,本申请实施例并不限于此。
因此,本申请实施例的获取指纹图像的装置,可以确定待识别指纹所在的光环境的目标光信息,例如该目标光信息可以包括指纹图像的像素值,该指纹图像的像素值可以为根据预设曝光时间获取的待识别指纹的指纹图像 的像素值,进而确定目标光信息对应的目标工作参数,根据该目标工作参数获取待识别指纹的指纹图像,以便于继续执行指纹图像识别,这样可以根据不同的光环境,动态调整获取待识别指纹的指纹图像时的工作参数,该工作参数可以为获取指纹图像以及进行指纹识别过程中的任意参数,例如该工作参数可以为曝光时间,进而达到在不增加硬件成本的情况下适应不同环境使用光学指纹需求的预期结果。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部 分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (24)

  1. 一种获取指纹图像的方法,其特征在于,包括:
    确定待识别指纹当前所在的光环境的目标光信息;
    根据光信息与工作参数之间的对应关系,确定与所述目标光信息对应的目标工作参数,所述工作参数为在获取指纹图像进行指纹识别时使用的参数;
    根据所述目标工作参数,获取所述待识别指纹的第一指纹图像。
  2. 根据权利要求1所述的方法,其特征在于,所述确定待识别指纹当前所在的光环境的目标光信息,包括:
    在所述当前所在的光环境中,根据预设曝光时间,获取所述待识别指纹的第二指纹图像;
    确定所述第二指纹图像的像素值;
    确定所述光信息,所述光信息包括所述第二指纹图像的像素值。
  3. 根据权利要求2所述的方法,其特征在于,所述确定所述第二指纹图像的像素值,包括:
    确定所述第二指纹图像中全部像素点的像素值;
    将所述全部像素点的平均像素值确定为所述第二指纹图像的像素值。
  4. 根据权利要求2或3所述的方法,其特征在于,所述获取所述待识别指纹的第二指纹图像,包括:
    获取所述待识别指纹的局部指纹的图像为所述第二指纹图像。
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述方法还包括:
    确定多种光环境中每种光环境的光信息和对应的工作参数;
    建立所述每种光环境的所述光信息与所述工作参数之间的对应关系。
  6. 根据权利要求5所述的方法,其特征在于,所述工作参数包括曝光时间,所述目标工作参数包括目标曝光时间。
  7. 根据权利要求6所述的方法,其特征在于,所述确定多种光环境中每种光环境的光信息和对应的工作参数,包括:
    在多种光环境中的第一光环境中,根据预设曝光时间,确定测试指纹的初始指纹图像的像素值;
    确定所述第一光环境的光信息,所述第一光环境的光信息包括所述初始 指纹图像的像素值;
    在所述第一光环境中,根据不同的曝光时间,确定对应的所述测试指纹的多个指纹图像的像素值;
    将所述多个指纹图像中像素值等于第一预设像素值的指纹图像对应的曝光时间,确定为所述第一光环境下的曝光时间;
    所述建立所述每种光环境的所述光信息与所述工作参数之间的对应关系,包括:
    建立所述第一光环境的光信息与所述曝光时间之间的对应关系。
  8. 根据权利要求7所述的方法,其特征在于,所述第一预设像素值大于或者等于700,且所述第一预设像素值小于或者等于800。
  9. 根据权利要求7或8所述的方法,其特征在于,所述初始指纹图像的像素值小于或等于第二预设像素值。
  10. 根据权利要求9所述的方法,其特征在于,所述第二预设像素值为1024。
  11. 根据权利要求1所述的方法,其特征在于,所述目标光信息包括所述当前所在的光环境中光的光强和/或亮度。
  12. 一种获取指纹图像的装置,其特征在于,包括:光源器件和光学指纹模组,
    所述光学指纹模组用于对待识别指纹进行指纹识别;
    所述光源器件用于为所述光学指纹模组进行指纹识别的过程提供光源;
    其中,所述光学指纹模组还用于:
    确定所述待识别指纹当前所在的光环境的目标光信息,
    根据光信息与工作参数之间的对应关系,确定与所述目标光信息对应的目标工作参数,所述工作参数为在获取指纹图像进行指纹识别时使用的参数,
    根据所述目标工作参数,获取所述待识别指纹的第一指纹图像。
  13. 根据权利要求12所述的装置,其特征在于,所述光学指纹模组具体用于:
    在所述当前所在的光环境中,根据预设曝光时间,获取所述待识别指纹的第二指纹图像;
    确定所述第二指纹图像的像素值;
    确定所述光信息,所述光信息包括所述第二指纹图像的像素值。
  14. 根据权利要求13所述的装置,其特征在于,所述光学指纹模组具体用于:
    确定所述第二指纹图像中全部像素点的像素值;
    将所述全部像素点的平均像素值确定为所述第二指纹图像的像素值。
  15. 根据权利要求13或14所述的装置,其特征在于,所述光学指纹模组具体用于:
    获取所述待识别指纹的局部指纹的图像为所述第二指纹图像。
  16. 根据权利要求12至15中任一项所述的装置,其特征在于,所述光学指纹模组还用于:
    确定多种光环境中每种光环境的光信息和对应的工作参数;
    建立所述每种光环境的所述光信息与所述工作参数之间的对应关系。
  17. 根据权利要求16所述的装置,其特征在于,所述工作参数包括曝光时间,所述目标工作参数包括目标曝光时间。
  18. 根据权利要求17所述的装置,其特征在于,所述光学指纹模组具体用于:
    在多种光环境中的第一光环境中,根据预设曝光时间,确定测试指纹的初始指纹图像的像素值;
    确定所述第一光环境的光信息,所述第一光环境的光信息包括所述初始指纹图像的像素值;
    在所述第一光环境中,根据不同的曝光时间,确定对应的所述测试指纹的多个指纹图像的像素值;
    将所述多个指纹图像中像素值等于第一预设像素值的指纹图像对应的曝光时间,确定为所述第一光环境下的曝光时间;
    建立所述第一光环境的光信息与所述曝光时间之间的对应关系。
  19. 根据权利要求18所述的装置,其特征在于,所述第一预设像素值大于或者等于700,且所述第一预设像素值小于或者等于800。
  20. 根据权利要求18或19所述的装置,其特征在于,所述初始指纹图像的像素值小于或等于第二预设像素值。
  21. 根据权利要求20所述的装置,其特征在于,所述第二预设像素值为1024。
  22. 根据权利要求12所述的装置,其特征在于,所述目标光信息包括所述当前所在的光环境中光的光强和/或亮度。
  23. 一种终端设备,其特征在于,包括:自发光显示面板和光学指纹模组,所述光学指纹模组位于所述自发光显示面板的下方,
    所述光学指纹模组用于执行如权利要求1至11中任一项所述的获取指纹图像的方法;
    所述自发光显示面板用于为所述光学指纹模组提供光源。
  24. 根据权利要求23所述的终端设备,其特征在于,所述终端设备为如权利要求12至22中任一项所述的获取指纹图像的装置,所述自发光显示面板为所述装置中的光源器件,所述光学指纹模组为所述装置中的光学指纹模组。
PCT/CN2017/098001 2017-08-18 2017-08-18 获取指纹图像的方法、装置和终端设备 WO2019033386A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
KR1020177030422A KR20190031416A (ko) 2017-08-18 2017-08-18 지문 이미지 획득 방법, 장치 및 단말 장치
EP17791913.1A EP3462374A4 (en) 2017-08-18 2017-08-18 METHOD AND DEVICE FOR DETECTING A FINGERPRINT IMAGE AND DEVICE DEVICE
CN201780000865.XA CN107690653B (zh) 2017-08-18 2017-08-18 获取指纹图像的方法、装置和终端设备
PCT/CN2017/098001 WO2019033386A1 (zh) 2017-08-18 2017-08-18 获取指纹图像的方法、装置和终端设备
US15/793,972 US10579853B2 (en) 2017-08-18 2017-10-25 Method and apparatus for acquiring fingerprint image and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/098001 WO2019033386A1 (zh) 2017-08-18 2017-08-18 获取指纹图像的方法、装置和终端设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/793,972 Continuation US10579853B2 (en) 2017-08-18 2017-10-25 Method and apparatus for acquiring fingerprint image and terminal device

Publications (1)

Publication Number Publication Date
WO2019033386A1 true WO2019033386A1 (zh) 2019-02-21

Family

ID=61154837

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/098001 WO2019033386A1 (zh) 2017-08-18 2017-08-18 获取指纹图像的方法、装置和终端设备

Country Status (5)

Country Link
US (1) US10579853B2 (zh)
EP (1) EP3462374A4 (zh)
KR (1) KR20190031416A (zh)
CN (1) CN107690653B (zh)
WO (1) WO2019033386A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110503011A (zh) * 2019-08-06 2019-11-26 Oppo广东移动通信有限公司 数据校准方法、电子设备及非易失性计算机可读存储介质
CN111209898A (zh) * 2020-03-12 2020-05-29 敦泰电子(深圳)有限公司 一种光学指纹图像背景的去除方法及装置

Families Citing this family (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102535177B1 (ko) * 2017-12-21 2023-05-23 엘지디스플레이 주식회사 지문 인식 장치와 이를 포함한 표시장치와 모바일 단말기
CN108496184B (zh) * 2018-04-17 2022-06-21 深圳市汇顶科技股份有限公司 图像处理方法、装置和电子设备
CN108513667B (zh) * 2018-04-17 2021-07-09 深圳市汇顶科技股份有限公司 图像处理方法、装置、电子设备和存储介质
CN110457976A (zh) * 2018-05-08 2019-11-15 上海箩箕技术有限公司 指纹成像方法和指纹成像系统
CN109376630B (zh) * 2018-10-12 2020-12-22 Oppo(重庆)智能科技有限公司 指纹识别方法、电子装置及计算机可读取介质
CN109564629B (zh) * 2018-10-15 2023-07-11 深圳市汇顶科技股份有限公司 指纹检测装置及具有指纹识别功能的终端设备
CN109409310B (zh) * 2018-11-05 2021-08-17 Oppo(重庆)智能科技有限公司 显示屏组件、电子设备及指纹识别方法
CN109711255A (zh) * 2018-11-26 2019-05-03 Oppo广东移动通信有限公司 指纹采集方法及相关装置
US10984216B2 (en) * 2018-12-12 2021-04-20 Novatek Microelectronics Corp. Optical fingerprint recognition system and fingerprint image capturing method
CN111476071B (zh) * 2019-01-24 2023-09-29 北京小米移动软件有限公司 指纹识别方法及装置
CN109858423B (zh) * 2019-01-25 2021-08-06 上海思立微电子科技有限公司 指纹图像获取方法和设备
CN109901754B (zh) * 2019-02-20 2021-04-13 Oppo广东移动通信有限公司 数据自校准方法及相关装置
CN110268418B (zh) * 2019-05-06 2021-04-27 深圳市汇顶科技股份有限公司 指纹检测的方法、装置和电子设备
WO2020227986A1 (zh) * 2019-05-15 2020-11-19 深圳市汇顶科技股份有限公司 图像采集的装置、方法和电子设备
US20200394380A1 (en) * 2019-06-12 2020-12-17 Novatek Microelectronics Corp. Optical fingerprint sensing device and operation method thereof
WO2021077393A1 (zh) * 2019-10-25 2021-04-29 深圳市汇顶科技股份有限公司 屏下指纹采集方法、装置、电子设备及存储介质
CN111325163B (zh) * 2020-02-25 2024-04-26 维沃移动通信有限公司 一种指纹识别方法及电子设备
CN111989690A (zh) 2020-03-18 2020-11-24 深圳市汇顶科技股份有限公司 指纹识别装置和电子设备
EP3920087A4 (en) * 2020-04-08 2022-03-02 Shenzhen Goodix Technology Co., Ltd. FINGERPRINT IDENTIFICATION METHOD AND EQUIPMENT AND ELECTRONIC DEVICE
CN111611881B (zh) * 2020-04-30 2023-10-27 深圳阜时科技有限公司 生物特征采集装置和电子设备
CN111950436A (zh) * 2020-08-07 2020-11-17 中国农业大学 一种玉米果穗表型测量方法及系统
CN112674746B (zh) * 2020-12-18 2024-01-19 深圳市汇顶科技股份有限公司 心率检测装置及方法、电子设备
CN114863494A (zh) * 2021-01-20 2022-08-05 华为技术有限公司 屏幕亮度的调整方法、装置和终端设备
CN112949600A (zh) * 2021-04-07 2021-06-11 Oppo广东移动通信有限公司 屏下指纹采集方法、装置、终端及存储介质
WO2022213382A1 (zh) * 2021-04-09 2022-10-13 深圳市汇顶科技股份有限公司 指纹识别的方法、装置和电子设备
CN113065487B (zh) * 2021-04-09 2023-01-31 深圳市汇顶科技股份有限公司 指纹识别的方法、装置和电子设备
WO2022246666A1 (zh) * 2021-05-25 2022-12-01 深圳市汇顶科技股份有限公司 生物特征采集方法、芯片及计算机可读存储介质
CN113792587A (zh) * 2021-08-04 2021-12-14 北京旷视科技有限公司 一种获取及识别图像的方法、装置、存储介质及电子设备
CN115620346B (zh) * 2021-09-30 2023-09-19 荣耀终端有限公司 屏下指纹采集方法和电子设备
CN117616478A (zh) * 2022-06-20 2024-02-27 北京小米移动软件有限公司 一种传感器模组、电子设备、感应识别方法及存储介质
WO2024039050A1 (ko) * 2022-08-18 2024-02-22 삼성전자 주식회사 지문 센서의 성능 검출 방법 및 이를 지원하는 전자 장치

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1608157A2 (en) * 2004-06-16 2005-12-21 Microsoft Corporation Method and system for reducing effects of undesired signals in an infrared imaging system
CN104598899A (zh) * 2015-02-16 2015-05-06 上海箩箕技术有限公司 指纹成像方法和指纹成像系统
CN104680136A (zh) * 2015-02-06 2015-06-03 广东光阵光电科技有限公司 直拍式指纹采集方法及其构造
CN105959592A (zh) * 2016-05-30 2016-09-21 东莞市中控电子技术有限公司 一种自适应光线的生物计量信息采集装置和方法

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003296715A (ja) * 2002-03-29 2003-10-17 Hitachi Eng Co Ltd 指掌紋採取画像自動濃度調整方法及びそれを用いた指掌紋採取装置
JP2005004718A (ja) * 2003-05-16 2005-01-06 Canon Inc 信号処理装置及び制御方法
US7623689B2 (en) * 2003-11-18 2009-11-24 Canon Kabushiki Kaisha Image pick-up apparatus including luminance control of irradiation devices arranged in a main scan direction
CN1317671C (zh) * 2003-11-26 2007-05-23 佳能株式会社 信号处理设备和控制方法
CN101472076B (zh) * 2007-12-28 2010-09-29 鸿富锦精密工业(深圳)有限公司 影像拍摄装置及其拍摄控制方法
US8339506B2 (en) * 2009-04-24 2012-12-25 Qualcomm Incorporated Image capture parameter adjustment using face brightness information
CN103842036B (zh) * 2011-09-23 2016-05-11 可利爱驰有限公司 获取被拍摄体的实际移动轨迹的方法及系统
CN103856823A (zh) * 2012-12-06 2014-06-11 腾讯科技(深圳)有限公司 界面调整方法、装置及终端
KR101444063B1 (ko) * 2013-03-22 2014-09-26 주식회사 슈프리마 다중 노출을 이용한 광학식 지문 인식 방법 및 장치
US9525811B2 (en) * 2013-07-01 2016-12-20 Qualcomm Incorporated Display device configured as an illumination source
CN103414834B (zh) * 2013-07-26 2016-01-20 深圳市顶星数码网络技术有限公司 一种屏幕节电方法、装置及移动终端
US8917387B1 (en) * 2014-06-05 2014-12-23 Secugen Corporation Fingerprint sensing apparatus
WO2016104712A1 (ja) * 2014-12-26 2016-06-30 Necソリューションイノベータ株式会社 画像処理装置、画像処理方法及びプログラム
CN105094443A (zh) * 2015-08-21 2015-11-25 深圳市汇顶科技股份有限公司 触摸压力检测装置和方法
CN105227858B (zh) * 2015-10-30 2019-03-05 维沃移动通信有限公司 一种图像处理方法及移动终端
CN106131445A (zh) * 2016-07-08 2016-11-16 深圳天珑无线科技有限公司 一种拍摄方法和装置
CN106650614B (zh) * 2016-11-07 2020-05-22 普道(上海)信息科技有限公司 一种动态校准方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1608157A2 (en) * 2004-06-16 2005-12-21 Microsoft Corporation Method and system for reducing effects of undesired signals in an infrared imaging system
CN104680136A (zh) * 2015-02-06 2015-06-03 广东光阵光电科技有限公司 直拍式指纹采集方法及其构造
CN104598899A (zh) * 2015-02-16 2015-05-06 上海箩箕技术有限公司 指纹成像方法和指纹成像系统
CN105959592A (zh) * 2016-05-30 2016-09-21 东莞市中控电子技术有限公司 一种自适应光线的生物计量信息采集装置和方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3462374A4 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110503011A (zh) * 2019-08-06 2019-11-26 Oppo广东移动通信有限公司 数据校准方法、电子设备及非易失性计算机可读存储介质
CN111209898A (zh) * 2020-03-12 2020-05-29 敦泰电子(深圳)有限公司 一种光学指纹图像背景的去除方法及装置
CN111209898B (zh) * 2020-03-12 2023-05-23 敦泰电子(深圳)有限公司 一种光学指纹图像背景的去除方法及装置

Also Published As

Publication number Publication date
US20190057237A1 (en) 2019-02-21
KR20190031416A (ko) 2019-03-26
EP3462374A1 (en) 2019-04-03
CN107690653A (zh) 2018-02-13
CN107690653B (zh) 2021-12-10
US10579853B2 (en) 2020-03-03
EP3462374A4 (en) 2019-04-03

Similar Documents

Publication Publication Date Title
WO2019033386A1 (zh) 获取指纹图像的方法、装置和终端设备
US20190102597A1 (en) Method and electronic device of performing fingerprint recognition
WO2017156964A1 (zh) 一种终端解锁的方法及终端
WO2018121428A1 (zh) 一种活体检测方法、装置及存储介质
US8754934B2 (en) Dual-camera face recognition device and method
WO2019033572A1 (zh) 人脸遮挡检测方法、装置及存储介质
CN111614908B (zh) 图像处理方法、装置、电子设备及存储介质
JP2010211324A (ja) 位置検出装置、制御方法、制御プログラムおよび記録媒体
CN109327691B (zh) 图像拍摄方法、装置、存储介质及移动终端
CN111310575B (zh) 一种人脸活体检测的方法、相关装置、设备及存储介质
WO2020216091A1 (zh) 图像处理方法及相关装置
CN111292504A (zh) 一种通过图像识别进行安全告警方法及系统
WO2019104551A1 (zh) 指纹识别方法及终端设备
CN107091704A (zh) 压力检测方法和装置
CN108765380A (zh) 图像处理方法、装置、存储介质及移动终端
CN110287842A (zh) 指纹扫描方法及相关产品
CN105245716A (zh) 防止电话误拨的方法及移动终端
US11189024B2 (en) Information processing apparatus and information processing method
CN107729833B (zh) 人脸检测方法及相关产品
CN108898126B (zh) 指纹识别方法及装置
CN112764659B (zh) 信息处理方法及装置、电子设备及存储介质
CN112507917A (zh) 一种光学指纹识别方法、装置、电子设备及存储介质
JP2015184906A (ja) 肌色検出条件決定装置、肌色検出条件決定方法及び肌色検出条件決定用コンピュータプログラム
US10963672B2 (en) Method for detecting the presence of a body part carrying an imprint on a imprint sensor
TW201419166A (zh) 防觸電凸紋印花掃描

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: 17791913

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE