WO2019200533A1 - Image processing method and apparatus and electronic device - Google Patents
Image processing method and apparatus and electronic device Download PDFInfo
- Publication number
- WO2019200533A1 WO2019200533A1 PCT/CN2018/083387 CN2018083387W WO2019200533A1 WO 2019200533 A1 WO2019200533 A1 WO 2019200533A1 CN 2018083387 W CN2018083387 W CN 2018083387W WO 2019200533 A1 WO2019200533 A1 WO 2019200533A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- pixel value
- pattern
- pixel
- test
- fingerprint
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/12—Fingerprints or palmprints
- G06V40/13—Sensors therefor
Definitions
- the embodiments of the present application relate to identification technologies, and in particular, to an image processing method, apparatus, and electronic device.
- the display screen of electronic devices has gradually developed to a comprehensive screen, and the higher and higher screen ratio, which makes the current mainstream capacitive fingerprint module nowhere to be placed.
- the on-screen optical fingerprinting scheme can place the fingerprint sensor on the back of the display screen without occupying the area of the non-display area, thereby effectively increasing the screen ratio.
- the light with the fingerprint information needs to penetrate the display screen to reach the fingerprint sensor, form a fingerprint image on the surface of the fingerprint sensor, and then perform fingerprint recognition based on the fingerprint image.
- the light-transmitting display screen with fingerprint information necessarily carries the pattern information of each layer stack inside the display screen, and the pattern information interferes with the fingerprint image, thereby affecting the accuracy and accuracy of fingerprint recognition.
- the embodiment of the present application provides an image processing method, device, and electronic device to improve the definition of a target fingerprint image and improve the accuracy and accuracy of fingerprint recognition.
- the embodiment of the present application provides an image processing method, which is applied to an electronic device with fingerprint recognition, the electronic device includes: a display screen and a fingerprint sensor located under the display screen; the fingerprint sensor includes a plurality of pixel points, The method includes:
- the embodiment of the present application may further provide an image processing apparatus, which is applied to an electronic device having fingerprint identification, the electronic device including: a display screen and a fingerprint sensor located below the display screen; the fingerprint sensor includes multiple Pixels, the device includes:
- An acquisition module configured to collect a fingerprint pixel value output by each pixel of the fingerprint sensor at a preset light intensity when the finger is pressed;
- a determining module configured to determine a first linear relationship between an output pixel value of each pixel of the fingerprint sensor and an incident light intensity, and a second linearity between the test pixel value and the pattern depth of each pixel Relationship, and determining a pattern depth of the fingerprint pixel value;
- a calibration module configured to calibrate a pattern depth of the fingerprint pixel value according to the second linear relationship to obtain a reference pixel value; and to use the fingerprint pixel value according to the reference pixel value and the first linear relationship Calibrate to get a fingerprint image.
- the embodiment of the present application may further provide an electronic device, where the electronic device includes: a display screen and a fingerprint sensor located below the display screen; the fingerprint sensor includes a plurality of pixel points, and the electronic device further includes: a memory And a processor; the display screen, the fingerprint sensor, and the memory are respectively connected to the processor through a bus;
- the memory is configured to store program instructions
- the processor is configured to execute the image processing method when the program instruction stored in the memory is invoked
- the embodiment of the present application further provides a computer readable storage medium, where the storage medium stores a computer program, and the computer program is implemented by a processor to implement the image processing method.
- the image processing method, device and electronic device may determine a first linear relationship between an output pixel value of each pixel point of the fingerprint sensor and an incident light intensity, and determine a test pixel of each pixel point. a second linear relationship between the pattern depth of the value and the depth of the pattern.
- the fingerprint pixel value outputted by the pixel at the preset light intensity is also collected, and the pattern depth of the fingerprint pixel value is determined, and according to The second linear relationship calibrates the pattern depth of the fingerprint pixel value to obtain a reference pixel value, and then calibrates the fingerprint pixel value according to the reference pixel value and the first linear relationship to obtain a fingerprint image.
- the pattern depth of the fingerprint pixel value when the finger is pressed is calibrated to obtain a reference pixel value, and then based on the reference pixel value.
- the method further determines each The first linear relationship between the output pixel value of the pixel and the incident light intensity calibrates the fingerprint pixel value, effectively reducing the sensitivity difference and the optical path difference of each pixel of the fingerprint sensor, thereby effectively reducing the sensitivity of each pixel point. Differences in the difference between the difference and the optical path, such as interference with fingerprint pixels, improve the sharpness of the fingerprint image, and improve the accuracy and accuracy of fingerprint recognition.
- 1A is a schematic layer diagram of implementing an optical fingerprint on a screen in an AMOLED hard display provided by an embodiment of the present application;
- FIG. 1B is a schematic diagram of reflected light when a surface of an AMOLED hard display screen is not pressed by a finger according to an embodiment of the present application;
- 1C is a schematic diagram of reflected light when a surface of an AMOLED hard display screen is pressed by a finger according to an embodiment of the present application;
- FIG. 2A is a flowchart of an image processing method according to an embodiment of the present application.
- 2B is a schematic diagram of photographic performance and optical path difference of each pixel in a fingerprint sensor according to an embodiment of the present disclosure
- 2C is a schematic layer diagram of collecting pixels when a test unit is pressed in an AMOLED hard display according to an embodiment of the present disclosure
- 3A is a flowchart of another image processing method according to an embodiment of the present application.
- FIG. 3B is a schematic diagram of image information strength according to an embodiment of the present application.
- FIG. 4A is a flowchart of still another image processing method according to an embodiment of the present application.
- 4B is a schematic diagram of an image division area according to an embodiment of the present application.
- 4C is a schematic diagram of another image division area according to an embodiment of the present application.
- 4D is a schematic diagram of image segmentation according to an embodiment of the present application.
- FIG. 5 is a flowchart of still another image processing method according to an embodiment of the present application.
- FIG. 6 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present disclosure.
- FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
- the image processing method, device, electronic device and storage medium provided by the following embodiments of the present application can be applied to any electronic device having a screen optical fingerprint recognition function, such as a smart phone, a notebook computer, a wearable device, and a home appliance.
- the under-screen optical fingerprint can be partially implemented in the display area of the display screen or in full screen.
- the active-Matrix Organic Light Emitting Diode (AMOLED) hard display is taken as an example to illustrate the implementation of the optical fingerprint under the screen.
- Other types of displays such as organic light-emitting diodes (such as organic light-emitting diodes)
- OLED Organic Light-Emitting Diode
- LCD liquid crystal display
- FIG. 1A is a schematic stacked diagram of implementing an under-screen optical fingerprint in an AMOLED hard display according to an embodiment of the present application.
- the AMOLED hard display includes: a substrate glass, a display pixel, a sealing glass, a Touch Plane (TP) layer, and a cover glass.
- Various organic materials are distilled on the substrate glass to form display pixels, and then sealed by using sealing glass, and the substrate glass, the sealing glass and the laminated display driving circuit between them realize the display function of the display screen.
- the upper surface of the sealing glass is coated with a conductive material to form a TP layer.
- the conductive material may be, for example, Indium Tin Oxide (ITO), metal, or the like.
- the conductive material of the TP layer can also be applied to the surface of the film, which is attached to the surface of the sealing glass.
- the TP layer can also be other structural forms, and details are not described herein again.
- the TP layer cooperates with the touch driving circuit to realize the touch function of the display screen.
- the TP layer is etched into various patterns.
- the AMOLED hard display is also provided with a circular polarizer to suppress the reflection of the display screen to ambient light, achieving higher display contrast, and the circular polarizer is located between the TP layer and the cover glass.
- the TP layer is bonded to the circular polarizer by a transparent optical adhesive (OCA), and the circular polarizer is bonded to the cover glass through the OCA.
- OCA transparent optical adhesive
- FIG. 1A is only one example of the structure of each stack in the AMOLED hard display.
- the structure of each stack of the AMOLED hard display may be other forms. This will not be repeated here.
- the on-screen optical fingerprinting scheme can also be implemented in the AMOLED flexible display screen, and the laminated structure of the AMOLED flexible display screen is similar to the structure of FIG. 1A, except that in the AMOLED flexible display screen, flexible is available due to the folding requirement.
- the substrate glass shown in FIG. 1A above may be replaced with a substrate film
- the sealing glass may be replaced with a sealing film.
- a fingerprint sensor can be located below the substrate glass.
- the fingerprint sensor is also called an optical fingerprint sensor.
- the fingerprint sensor can be placed or attached to the lower surface of the substrate glass.
- the light source may be any display source such as a display pixel of an OLED display, a surface light source of an LCD display, or a light-emitting diode (LED) external to the display screen.
- the reflectivity of the interface is determined by the refractive index of the material laminated on both sides of the interface.
- the refractive index of glass is usually 1.5
- the refractive index of ITO is 1.8
- the refractive index of air is 1
- the refractive index of OCA, circular polarizer, and finger is about 1.4.
- the vertical reflectivity of the interface between the two media can be determined based on the vertical reflectivity formula at the interface of the two layers of media.
- the vertical reflectance formula at the interface of the two layers of media is as follows (1):
- R is the vertical reflectivity at the interface
- n 1 and n 2 represent the refractive indices of the media on both sides of the interface, respectively.
- the vertical reflectance of the interface between the glass and the air can be 4%
- the vertical reflectance of the interface between the glass and the finger can be 0.12%.
- the vertical reflectance of the interface between the glass and the air may be a first value due to the difference in the material of the glass, the individual difference of the fingers, etc., and the difference between the first value and 4% may be within a preset range.
- the vertical reflectivity of the interface between the glass and the finger may also be a second value, and the difference between the second value and 0.12% may be within a preset range.
- FIG. 1B is a schematic diagram of reflected light when a surface of an AMOLED hard display screen is not pressed by a finger according to an embodiment of the present invention
- FIG. 1C is a schematic diagram of reflected light when a surface of an AMOLED hard display screen is pressed by a finger according to an embodiment of the present disclosure
- the light can be reflected at the interface between the air and the glass, and the upper surface of the cover glass reflects light when the finger is not pressed.
- the vertical reflectance at the interface between air and glass can be 4%.
- the finger ridge line is in contact with the glass, but air remains in the finger valley line, and the light is both in the glass and the finger ridge line.
- the interface reflection can also be reflected at the interface between the glass and the finger valley line (air), wherein the vertical reflectivity of the interface between the glass and the finger ridge line can be 0.12%, and the interface between the glass and the finger valley line is vertical.
- the reflectance can be 4%. Since the upper surface of the cover glass has a difference in reflectance between the finger ridge line and the finger valley line, the fingerprint light is carried in the reflected light on the upper surface of the cover glass when the finger is pressed.
- a screen protector (not shown in the drawing) may be attached to the cover glass, such that when the finger is pressed, the reflected light on the upper surface of the protective film may carry fingerprint information.
- the specific implementation of the on-screen optical fingerprinting scheme is similar to the specific implementation of the under-screen optical fingerprinting scheme of the display screen without the screen protective film, and details are not described herein again.
- the reflected light on the upper surface of the cover glass and the reflected light from the finger carry fingerprint information.
- the stacks of light-transmitting display screens carrying fingerprint information are incident on the fingerprint sensor disposed on the lower layer of the substrate glass together with the reflected light inside the screen, and then the pixel values output by the fingerprint sensor are processed, thereby A fingerprint image is obtained, that is, fingerprint information to be extracted.
- the light carrying the fingerprint information penetrating the display screen necessarily carries the pattern information of each layer of the display screen, especially the display pixel layer, and the reflected light inside the display screen does not carry the fingerprint information but carries the stacks inside the display screen.
- the following embodiments of the present application can effectively reduce the interference of the pattern information in each layer of the display screen by calibrating the fingerprint pixel values output by the fingerprint sensor, so that the target is obtained.
- the image is more accurate and effectively improves the accuracy and accuracy of fingerprint recognition.
- the image processing method can be applied to an electronic device having fingerprint recognition, the electronic device comprising: a display screen and a fingerprint sensor.
- the fingerprint sensor can be located below the display screen, and the fingerprint sensor includes a plurality of pixel points.
- the method may be implemented by software of the electronic device by means of software and/or hardware, or by other processors connected to the fingerprint sensor, such as a calibration processor, by software and/or hardware.
- the image processing method can be performed during the process of calibrating the display module of the electronic device or the electronic device before the factory or the user uses the fingerprint application process. As shown in FIG. 2, the method can include:
- a linear fit is performed according to the test pixel value outputted by the pixel at each of the at least one light intensity, and a first linear relationship between the output pixel value of each pixel and the incident light intensity is obtained.
- FIG. 2B is a schematic diagram of photographic performance and optical path difference of each pixel in a fingerprint sensor according to an embodiment of the present disclosure.
- a uniform light source is placed above the fingerprint sensor, and each pixel receives light of the same light intensity, but the output raw data of the pixel is inconsistent, and the pixel raw data output by each pixel point is still linearly related to the received light intensity.
- the relationship between the pixel raw data outputted by the nth pixel and the received light intensity can be expressed as Where R n is the pixel raw data output by the nth pixel point, The linear slope of the pixel raw data and the received light intensity output for the nth pixel, The received light intensity for the nth pixel, The linear intercept of the pixel raw data and the received light intensity output for the nth pixel. with Can be used to characterize the difference in photographic performance of the nth pixel.
- the illuminating pixel points and the metal traces in the display pixel layer are not completely transparent, the light above the display pixel layer passes through the display pixel layer, and part of the light is blocked.
- a uniform light source is placed above the display pixel layer. After the display pixel layer is partially blocked, the light intensity received by each pixel of the fingerprint sensor is inconsistent, but each pixel of the fingerprint sensor is inconsistent.
- the received light intensity is still linear with the incident light intensity of each pixel, and the relationship between the received light intensity of the nth pixel and the incident light intensity can be expressed as among them,
- the received light intensity for the nth pixel Is the linear slope of the received light intensity and incident light intensity at the nth pixel point,
- the incident light intensity at the nth pixel point Is the linear slope of the received light intensity and incident light intensity at the nth pixel point.
- the incident light at each pixel point refers to light corresponding to each pixel point above the display pixel layer.
- the incident light intensity of each pixel of the fingerprint sensor is zero
- the received light intensity of each pixel of the fingerprint sensor is also zero. Therefore, the relationship between the pixel raw data outputted by the nth pixel and the incident light intensity can be expressed as among them,
- the linear slope of the original pixel data and the incident light intensity output for the nth pixel point, b n is the linear intercept of the original pixel data output from the nth pixel point and the incident light intensity.
- k n can be used to characterize the difference in photographic performance and optical path of the nth pixel
- b n can be used to characterize the difference in photographic performance of the nth pixel.
- determining the first linear relationship may be determining a difference in photographic performance of each pixel of the fingerprint sensor and optical path difference information, that is, the first linear relationship may include: each pixel of the fingerprint sensor Parameter information for differences in photographic performance and optical path differences.
- the pattern depth of the test pixel value may be determined first, and then the second linear relationship is determined according to the test pixel value and the pattern depth of the test pixel value.
- the intensity of the pattern information is also linear with the light intensity of the light source, so the pattern information The intensity is also linear with the reflected light inside the screen.
- a linear relationship between the test pixel value and the pattern depth that is, the second linear relationship, can be determined.
- S203 Collect a fingerprint pixel value output by the pixel at a preset light intensity when the finger is pressed.
- the preset light intensity may be the same as or different from the light intensity when the test pixel value is acquired.
- the pattern depth of the fingerprint pixel value may be the intensity of the pattern information carried in the fingerprint pixel value.
- the specific implementation of determining the pattern depth of the fingerprint pixel value in S204 in this embodiment may be similar to the specific implementation of determining the pattern depth of the test pixel value, and details are not described herein again.
- the preset light intensity may be different from the light intensity when the test pixel value is collected. Therefore, in order to effectively reduce the internal reflected light of the screen under the preset light intensity, the pattern information in the fingerprint pixel under the preset light intensity is reduced.
- the interference may be based on a linear correspondence between the test pixel value and the pattern information, that is, a second linear relationship, and the pattern depth of the fingerprint pixel value is calibrated to obtain a reference under a preset light intensity when the fingerprint pixel value is collected.
- a pixel value, the reference pixel value being a test pixel value outputted at a preset light intensity, which includes the internally reflected light of the screen under the preset light intensity.
- the fingerprint pixel value may be subtracted from the reference pixel value to eliminate the influence of reflected light inside the screen, and then the calibration is performed again by using the first linear relationship to reduce the sensitivity difference and optical path of each pixel of the fingerprint sensor. Differences, etc., effectively improve the clarity of the fingerprint image.
- the image processing method provided by the embodiment of the present application may determine a first linear relationship between an output pixel value of each pixel point of the fingerprint sensor and an incident light intensity, and determine a second linearity between the test pixel value and the pattern depth.
- a relationship when a finger is pressed, collecting a fingerprint pixel value output by the pixel at a preset light intensity, determining a pattern depth of the fingerprint pixel value, and pattern depth of the fingerprint pixel value according to the second linear relationship
- a calibration is performed to obtain a reference pixel value, and then the fingerprint pixel value is calibrated according to the reference pixel value and the first linear relationship to obtain a fingerprint image.
- the pattern depth of the fingerprint pixel value when the finger is pressed is calibrated to obtain a reference pixel value, and then the fingerprint pixel value is performed based on the reference pixel value.
- Calibration effectively reducing the interference of the pattern information carried in the reflected light inside the screen on the fingerprint image, improving the sharpness of the fingerprint image, improving the accuracy and accuracy of fingerprint recognition; meanwhile, the method is also based on determining the output pixel of each pixel.
- the first linear relationship between the value and the incident light intensity calibrates the fingerprint pixel value, effectively reducing the sensitivity difference and the optical path difference of each pixel of the fingerprint sensor, thereby effectively reducing the sensitivity difference and optical path difference of each pixel.
- the interference on the fingerprint image improves the sharpness of the fingerprint image and improves the accuracy and accuracy of fingerprint recognition.
- the test unit when the test unit is pressed, the test pixel value outputted by each pixel at at least one light intensity is collected, and then linearly fitted according to the test pixel value, thereby obtaining the A first linear relationship between the output pixel value of each pixel and the incident light intensity.
- test unit when the test unit is used for pressing, the test unit can be pressed on the upper surface of the display screen, such as the upper surface of the cover glass of the display screen, and each pixel of the fingerprint sensor is outputted under at least one light intensity. Test pixel value.
- the test pixel value output by each pixel at each light intensity can be represented by pixel raw data (Rawdata) output by each pixel at each light intensity.
- test unit as referred to above may be implemented by one test unit or by two or more test units. If the test unit includes a test unit, when the test unit is pressed, it is necessary to collect test pixel values outputted by each pixel at various light intensities. If the test unit comprises a plurality of test pixels, the test pixel value of each pixel at at least one light intensity is acquired when each test unit is pressed.
- each test unit needs to be able to uniformly reflect the outgoing light of the light source. That is to say, the surface of each test unit is flat, which can uniformly reflect light.
- the surface of the test unit when the test unit is pressed, can be hollowed out, so that the test unit faces the display screen with a concave surface to effectively prevent the test unit from being covered by the display screen. Pattern interference caused by uneven contact between the plates. Moreover, when the test unit is pressed on the cover glass of the display screen, the external ambient light outside the display screen can be effectively shielded.
- the test unit can include a first test unit and a second test unit.
- the first test unit may be a flat test head of flesh-colored or other colors.
- the reflectivity of the first test unit is better than that of most of the fingers.
- the material of the first test unit may be silica gel or glass. Film, metal, etc., and the first test unit needs to be able to shield ambient light.
- the second test unit may be a flat test head of black or other color, and the reflectivity of the second test unit is better than that of most of the fingers, since the reflectance of the first test unit may be greater than most of the fingers. The reflectivity, therefore, the reflectivity of the second test unit is also less than the reflectivity of the first test unit.
- the material of the second test unit may also be silica gel, glass, film, metal, etc., and the second test unit needs to be able to shield ambient light.
- the second test unit can be, for example, a black box, a black cover, or the like.
- test unit Since the test unit needs to shield the ambient light, it is a non-transparent test unit regardless of the first test unit or the second test unit.
- determining a first linear relationship between an output pixel value of each pixel of the fingerprint sensor and an incident light intensity in S201 as described above may include:
- the first test unit When the first test unit is pressed, the first test pixel value outputted by the pixel at at least one light intensity is acquired; and when the second test unit is pressed, the pixel is collected. a second test pixel value outputted by the at least one light intensity;
- test unit shown above may also be referred to as a test probe, a test head, a test tool, and the like.
- FIG. 2C is a schematic stacked diagram of collecting pixel values when a test unit is pressed in an AMOLED hard display provided by an embodiment of the present application. 2C differs from FIG. 1A described above in that, in the drawing shown in FIG. 2C, a test unit is pressed against the cover glass. When the test unit is pressed on the upper surface of the cover glass, when the light source is lit, the light emitted by the light source propagates upward, and is sequentially reflected by the laminate of sealing glass, TP layer, OCA glue, circular polarizer, cover glass, etc. to the test unit.
- the light source may be any display source such as a display pixel of an OLED display, a surface light source of an LCD display, or a light-emitting diode (LED) external to the display screen.
- all operations in the text to change the light intensity may include: changing the exposure time of the fingerprint sensor. For example, increasing the light intensity can increase the exposure time of the fingerprint sensor. If the light source is turned off, that is, the light intensity is zero, the exposure time of the fingerprint sensor can be set to zero.
- changing the exposure time of the fingerprint sensor For example, increasing the light intensity can increase the exposure time of the fingerprint sensor. If the light source is turned off, that is, the light intensity is zero, the exposure time of the fingerprint sensor can be set to zero.
- a light intensity may correspond to a light intensity gear, and the at least one light intensity may be at least one light source light intensity, which respectively correspond to different light intensity gear positions.
- the at least one light intensity can include two light intensities, for example, the brightness of the display screen is the brightest and the two light intensities when extinguished.
- the at least one light intensity when the first test unit is pressed may be the same as the at least one light intensity when the second test unit is pressed. That is to say, for different test units, the light intensity of the same gear position is the same.
- the first test pixel value under the M light intensity can be acquired, and for the second test unit, the second test pixel value under the M light intensity is also collected, when the first test unit is pressed.
- the mth light intensity is the same as the mth light intensity when the second test unit is pressed.
- the incident light of the nth pixel of the fingerprint sensor at the mth light intensity may include: the internal reflection light of the screen corresponding to the nth pixel point of the mth light intensity Reflected light on the upper surface of the cover glass corresponding to the nth pixel point at the mth light intensity
- the reflected light of the first test unit corresponding to the nth pixel point at the mth light intensity Therefore, when the first test unit is pressed, the first test pixel value outputted by the nth pixel of the fingerprint sensor under the M light intensity can be expressed by the following formula (2).
- the first test pixel value output by the nth pixel of the fingerprint sensor at the mth light intensity when the first test unit is pressed Including the surface reflected light of the first test unit and the internal diffused light, Carrying the pattern information of each laminate inside the display, obviously with Both are linear with the light source intensity, and the reflected light is also zero when the light source intensity is zero.
- the intensity of the pattern information carried is also a linear relationship with the light source intensity that is approximately zero crossing.
- the incident light of the nth pixel of the fingerprint sensor at the mth light intensity may include: the internal reflection light of the screen corresponding to the nth pixel point of the mth light intensity Reflected light on the upper surface of the cover glass corresponding to the nth pixel point at the mth light intensity
- the reflected light of the second test unit corresponding to the nth pixel point under the mth light intensity Therefore, when the second test unit is pressed, the second test pixel value outputted by the nth pixel of the fingerprint sensor under the M light intensity can be expressed by the following formula (3).
- the second test pixel value output by the nth pixel of the fingerprint sensor at the mth light intensity when the second test unit is pressed Including the surface reflected light of the second test unit and the internal diffused light, Carrying the pattern information of each laminate inside the display, obviously with Both are linear with the light source intensity, and the reflected light is also zero when the light source intensity is zero.
- the intensity of the pattern information carried is also a linear relationship with the light source intensity that is approximately zero crossing.
- the collected first test pixel value and the second test pixel value may be linearly fitted to obtain the The first linear relationship.
- the first linear relationship as shown above may include: a first linear slope and a first linear intercept.
- determining, according to the first test pixel value and the second test pixel value, that the first linear relationship between the output pixel value of each pixel point and the incident light intensity may include:
- the first linear slope is a linearity of an output pixel value of each pixel point and an incident light intensity
- the slope, the first linear intercept is a linear intercept of the output pixel value of each pixel point and the incident light intensity.
- the test pixel values output by each pixel point are subtracted, that is, according to the first test pixel value and the second test.
- the pixel value is obtained by the following formula (4).
- k n can be used to indicate the difference in photographic performance and optical path difference of each pixel of the fingerprint sensor. It can be used to indicate information such as the upper surface of the cover glass of the display screen or the dirty scratches of the first test unit and the second test unit.
- k' n is the first linear slope, which can represent the difference in photographic performance and optical path difference of each pixel of the fingerprint sensor, and can also represent the upper surface of the cover glass of the display screen or the dirty stain of the first test unit and the second test unit. Traces and other information. The least squares linear fitting is performed on the equations represented by the above formula (5) to obtain k' n and b' n as shown in the following formula (6).
- b' n can be the first linear intercept and can be used to represent the difference in photographic performance of each pixel of the fingerprint sensor.
- a linear fitting is performed by taking the least squares method as an example.
- other linear fitting methods may be used to obtain the first linear slope and the first linear intercept.
- determining a second linear relationship between the test pixel value and the pattern depth of each pixel in S202 as shown in the above may include:
- test pixel value being the first test pixel value or the second test pixel value
- a second linear relationship between the test pixel value and the pattern depth is determined based on the test pixel value and the pattern depth of the test pixel value.
- the pattern depth of the test pixel value may be the intensity of the pattern information carried in the test pixel value under the at least one light intensity, and may be used to characterize the intensity of the internally reflected light of the screen under the at least one light intensity.
- the depth of the pattern information carried in the first test pixel value may be the at least one light intensity
- the pattern depth of the second test pixel value may be the at least one light
- the depth of the pattern information carried in the second test pixel value is emphasized.
- determining the pattern depth of the test pixel value in the image processing method as shown above may include:
- the pattern depth of the first intermediate image is determined.
- the test pixel value is the first test pixel value or the second test pixel value.
- the second test pixel value can be calibrated according to the first linear relationship to obtain a first intermediate image, and then the pattern depth of the first intermediate image is determined.
- the first linear relationship may include: a first linear slope k' n and a first linear intercept b' n determined as above.
- Calibration is performed using the following formula (7) to obtain a first intermediate image.
- the first intermediate image under the M light intensity may be expressed as
- FIG. 3A is a flowchart of another image processing method according to an embodiment of the present application.
- the image processing method shown in FIG. 3A can describe how to determine the pattern depth of the first intermediate image in the above embodiment.
- the pattern depth of the first intermediate image is determined in the method shown above. include:
- FIG. 3B is a schematic diagram of image information strength according to an embodiment of the present application. As shown in Figure 3B, the inside of the screen reflects light
- the pattern information carried has a pattern area AreaP and a non-pattern area AreaNP,
- the output pixel value of the pixel corresponding to the pattern area mask and the output pixel value of the pixel point corresponding to the non-pattern area mask can be processed in this embodiment, and then Information is obtained for characterizing the depth of the pattern of the first intermediate image.
- the first pixel is determined according to an output pixel value of a pixel corresponding to the pattern area mask and an output pixel value of the pixel corresponding to the non-pattern area mask.
- the pattern depth of the intermediate image may include:
- the pattern area AreaP can be used. Average and non-pattern areas within AreaNP The difference between the average values gives the pattern depth of the first intermediate image. Since the depth of the pattern is linear with the light intensity of the light source, the stronger the light intensity of the light source, the deeper the pattern depth.
- the pattern area AreaP can be replaced by the pattern area mask MaskP, and the MaskP can be located in the AreaP, which can be equal to AreaP or completely cover AreaP.
- the non-pattern area AreaNP can be replaced by the non-pattern area mask MaskNP, which can be the surrounding area of the wrapped MaskP, or equal to AreaNP or other forms.
- the pattern mask mask algorithm is used to determine the pattern region mask MaskP of the first intermediate image and the non-pattern region mask and the non-pattern region mask MaskNP, and the pattern depth extraction algorithm is adopted. Determining the pattern depth of the first intermediate image, the pattern depth extraction algorithm extracts the pattern depth in the image according to MaskP and MaskNP, and makes the extracted pattern depth unaffected by unfavorable factors such as fingerprint, incomplete pressing or strong light.
- the pattern mask lookup algorithm can have multiple implementations depending on the type of display screen. That is to say, the pattern area mask and the non-pattern area mask for determining the first intermediate image in the above S301 can be realized by various implementations.
- determining the pattern area mask and the non-pattern area mask of the first intermediate image in the above S301 may include:
- Determining the stack according to preset information of the layered pattern in the display screen, a preset correspondence between the pattern information and the display position on the display screen, and information of the layered pattern received by the fingerprint sensor The display position of the pattern on the display;
- the pattern area mask and the non-pattern area mask are determined according to the display position.
- the information of the laminated pattern may be a priori information of the TP layer pattern, such as pattern shape, pattern line width, pattern line angle, and the like.
- the correspondence between the pattern information and the display position on the display screen may be, for example, a correspondence relationship between the pattern of the TP layer and the absolute position of the display area of the display screen.
- the information of the laminated pattern received by the fingerprint sensor may be, for example, fixed pattern information received by the fingerprint sensor, and the fixed pattern information is displayed at a fixed position of the display area of the display screen, and thus may be according to the preset laminated pattern.
- the display position estimates the pattern area mask MaskP and the non-pattern area mask MaskNP at this position.
- the display position of the laminate pattern on the display screen may be the absolute position of the laminate pattern on the display area of the display screen.
- determining the pattern area mask and the non-pattern area mask of the first intermediate image in the above S301 may include:
- the pattern area mask and the non-pattern area mask are determined according to preset information of the layered pattern in the display screen and reflected light inside the screen received by the fingerprint sensor when the light source is illuminated.
- the information of the laminated pattern may be a priori information of the TP layer pattern, such as pattern shape, pattern line width, pattern line angle, and the like.
- the reflected light inside the screen can be the reflected light inside the screen received by the fingerprint sensor when the light source is illuminated.
- the information of the laminated pattern is obtained in advance and the reflected light is received inside the screen when the light source is illuminated, the information of the laminated pattern in the display screen and the light source may be illuminated.
- the fingerprint sensor receives the reflected light inside the screen, the mask of the pattern area and the mask of the non-pattern area are determined.
- the embodiments of the present application may remove the unfavorable factors by the following implementation manners.
- FIG. 4A is a flowchart of still another image processing method according to an embodiment of the present application.
- FIG. 4A illustrates one implementation of a pattern depth of the first intermediate image.
- the pattern of the first intermediate image is determined according to the output pixel value of the pixel corresponding to the pattern area mask and the output pixel value of the pixel corresponding to the non-pattern area mask.
- Depth can include:
- the first intermediate image may be divided into regions.
- the first intermediate image information area may be divided according to a preset sub-area size, a number of sub-areas, and the like, to implement a sub-block sub-area; and the first sub-area may be configured according to a row and/or a column.
- the intermediate image is divided into regions, and each row or column can be divided into a plurality of sub-regions.
- S402. Determine a plurality of effective sub-regions from the plurality of sub-regions; each of the effective sub-regions includes: a partial pattern region mask and a partial non-pattern region mask.
- the effective sub-regions may be determined from the plurality of sub-regions according to the type of the mask included in each sub-region, and each of the effective sub-regions includes a partial pattern region mask and a partial non-pattern region.
- Mask If a sub-area includes only a pattern area mask, or a non-pattern area mask, the one sub-area is an invalid sub-area. If a sub-area does not include a pattern area mask or a non-pattern area mask, the one sub-area is also an invalid sub-area.
- FIG. 4B is a schematic diagram of an image division area according to an embodiment of the present application. As shown in FIG. 4B, if a partial region includes a partial pattern region mask and a partial non-pattern region mask, the one sub-region is an effective sub-region.
- FIG. 4C is a schematic diagram of another image division area according to an embodiment of the present application. As shown in FIG. 4C, in a certain behavior example, the pattern area mask MaskP in this line is represented by 1, and the non-pattern area mask MaskNP is represented by 0.5. Obviously, this line can be divided into 6 effective areas.
- a sub-area includes both a partial pattern area mask and a partial non-pattern area mask, the sub-area is a valid sub-area.
- S403. Determine, according to a difference between an average value of the third pixel value and an average value of the fourth pixel value, a pattern depth of each of the effective sub-regions, wherein the third pixel value is a pixel corresponding to the partial pattern region mask.
- An output pixel value of the dot, the fourth pixel value being an output pixel value of a pixel corresponding to the partial non-pattern area mask.
- the S403 is only one achievable manner for determining the depth of the pattern of each effective sub-region.
- the intermediate value and the fourth pixel of the third pixel value may also be used.
- the difference in the median value in the value determines the pattern depth of each valid sub-region.
- the method of this embodiment may further determine a pattern depth of each valid sub-region according to a difference between other parameter values in the third pixel value and other parameter values in the fourth pixel value, where the above is only an example. This application does not limit this.
- the preset processing may include at least one of the following: abnormal point culling, weighting, voting mechanism, averaging, and the like. Of course, the preset processing may also be other processing manners. The foregoing is only an example, and the present application does not limit this.
- the first intermediate image is divided into regions to obtain a plurality of sub-regions, and an effective sub-region is selected therefrom, and the pattern depth of each sub-region is determined, and then the pattern depth is determined according to the pattern depths of the plurality of effective sub-regions.
- the depth of the pattern of an intermediate image can effectively avoid the influence of data skew, fingerprint and other adverse factors on the depth of the pattern, and effectively ensure the accuracy of the pattern depth, so that the fingerprint image in advance is more accurate, and the accuracy and accuracy of the fingerprint recognition are effectively ensured.
- the image may be first divided to obtain an effective area, and then the effective area is divided to effectively remove the data from the data such as tilt, incompleteness, and glare.
- the impact of depth may be first divided to obtain an effective area, and then the effective area is divided to effectively remove the data from the data such as tilt, incompleteness, and glare.
- the first intermediate image is divided into regions in S401 as shown above, and obtaining the plurality of sub-regions may include:
- the effective area is divided into regions to obtain the plurality of sub-regions.
- an image segmentation algorithm may be used to perform image segmentation on the first intermediate image to eliminate regions such as data tilt, incomplete compression, and strong light in the first intermediate image.
- the partial area removed from the first intermediate image may be an area in the first intermediate image in which at least one of data tilt, data incompleteness, data saturation, and the like exists. Among them, an area in which at least one of data skew, data incompleteness, data saturation, and the like may be referred to as a bad area.
- FIG. 4D is a schematic diagram of image segmentation according to an embodiment of the present application. As shown in FIG. 4D, in the method, image segmentation may be performed on the first intermediate image to remove a partial region to obtain an effective region.
- the first intermediate image has a maximum effective area, also referred to as an original effective area, which may be represented as Area global . If the first intermediate image has an area of at least one of data skew, incomplete data, and data saturation, the effective area obtained by removing the partial area is obtained, and the sub-area of the original effective area is obtained, which may be represented as the divided effective area. Area partition .
- the description is made in the following manner, which is similar to the sub-area partitioning manner, and is not described here.
- the pattern depth of the effective sub-area of each row of columns is calculated in the original effective area Area global and the divided effective area Area partition , respectively. It is obvious that the original effective area Area global is larger than the divided effective area Area partition , and the respective pattern depths obtained according to the pattern depths of the effective row and sub-areas of the respective rows and columns may be different.
- the pattern depth extraction algorithm can adopt the original effective area Area global , and in the user application, the pattern depth extraction algorithm has to adopt the split effective area Area partition due to bad factors such as data tilt, incomplete pressing, strong light, etc., so that the same
- the image has a difference in the depth of the image pattern obtained due to the inconsistency of the effective area, and therefore the present application can also compensate for the difference in the effective area before and after the division.
- the method may comprise: a depth image treat extraction pattern, such as a fingerprint image obtained by dividing the divided effective area Area partition, calculated pattern depth effective sub-region ranks fingerprint image within Area partition, which in turn fingerprint image within Area partition The pattern depth of the row and column effective sub-regions results in the segmented pattern depth FingerDepth partition of the fingerprint image.
- a depth image treat extraction pattern such as a fingerprint image obtained by dividing the divided effective area Area partition, calculated pattern depth effective sub-region ranks fingerprint image within Area partition, which in turn fingerprint image within Area partition
- the pattern depth of the row and column effective sub-regions results in the segmented pattern depth FingerDepth partition of the fingerprint image.
- the fixed image may be, for example, According to the first linear relationship pair described above Calibrate and get Eliminate the difference in photographic performance of each pixel of the fingerprint sensor and the interference of the optical path difference on the pattern depth extraction. among them, When the second test unit is pressed, the pixel value of all the pixel points of the fingerprint sensor under the light intensity m.
- This method also needs to be calculated DepthMatrix global pattern depth matrix effective subregions within the ranks of the original effective area of Area global, then the pattern obtained according to the ranks of active sub-areas within the original matrix of the effective region depth DepthMatrix global The depth of the pattern in the original effective area Area global Depth global ; and calculate Matrix pattern depth DepthMatrix partition active sub-areas divided in the effective region ranks Area partition, which in turn determines the division pattern in accordance with the ranks of active sub-areas within the effective depth of matrix area Area partition DepthMatrix partition The depth of the pattern Depth partition within the area partition of the effective area.
- Ratio is a compensation coefficient for dividing the effective area Area partition .
- the original pattern depth FingerDepth global of the fingerprint image which is also referred to as the final pattern depth of the final fingerprint image, may be determined according to the segmented pattern depth FingerDepth partition of the fingerprint image and the compensation coefficient.
- FingerDepth global FingerDepth partition *Ratio.
- the fixed image For example, in practical applications, Or save it in DepthMatrix global to calculate the compensation factor.
- the fixed image can be a preset image.
- the method can also compensate for the difference of the pattern depth caused by the segmentation image, so that the determined pattern depth is better and more accurate, and then the accuracy of the fingerprint image is effectively ensured, and the accuracy and precision of the fingerprint recognition are improved.
- determining a second linear relationship between the test pixel value and the pattern depth according to the test pixel value and the pattern depth of the test pixel value in the image processing method may include:
- a second linear slope and a second linear intercept are determined based on the pattern depth of the first intermediate image and the first intermediate image.
- the second linear relationship includes: the second linear slope and the second linear slope, the second linear slope being a linear slope of the pattern depth of the first intermediate image and the first intermediate image, the second linear The intercept is a linear intercept of the pattern depth of the first intermediate image and the first intermediate image.
- First intermediate image at light intensity m the first intermediate image under M light intensity can be expressed as
- the image depth of the first intermediate image under M light intensity may be sequentially expressed as D 1 , D 2 ... D M .
- the first intermediate image under M light intensity can be used As the Y-axis in the linear coordinate system
- the image depths D 1 , D 2 ... D M of the first intermediate image under the M light intensity are taken as the X-axis of the linear coordinate system
- the least squares linear fitting is performed thereon.
- the second linear slope k p and the second linear intercept b p may also be other modes, which are merely examples here, and the present application does not limit this.
- the pattern depth of the collected fingerprint pixel values may be directly determined, or the collected fingerprint pixel values may be processed first, and then the processed image depth of the processed image may be determined.
- the collected fingerprint pixel values may be first calibrated, and then the pattern depth of the calibrated image may be determined.
- determining the pattern depth of the fingerprint pixel value in S204 as shown above may include:
- the pattern depth of the second intermediate image is determined.
- the fingerprint pixel value of the nth pixel point of the fingerprint sensor output at the light intensity i can be expressed by the following formula (8).
- a fingerprint pixel outputted at the nth pixel point of the fingerprint sensor at the light intensity i when the finger is pressed The light reflected by the finger corresponding to the nth pixel point under the light intensity i, Carrying strong fingerprint information, Carrying weak fingerprint information, Carrying pattern information for each laminate inside the screen.
- the first linear relationship may include, for example, the first linear slope obtained above, and the first linear intercept.
- the method for determining the depth of the pattern of the second intermediate image may be similar to the method for determining the depth of the pattern of the first intermediate image, and the details are not described herein.
- the pattern depth of the second intermediate image can be expressed, for example, as D F .
- the pattern depth of the fingerprint pixel value is calibrated according to the second linear relationship in S205 of the method shown above, and obtaining the reference pixel value may include:
- the pattern depth of the second intermediate image is calibrated to obtain a reference pixel value.
- the second linear relationship may include: the second linear slope k p obtained above, and the second linear intercept b p , and the pattern depth of the second intermediate image may be expressed as D F . Then, in the method, according to the second linear relationship, the pattern depth of the second intermediate image is calibrated by the following formula (10) to obtain a reference pixel value.
- AdjBase is the reference pixel value, also called the adaptive reference pixel value.
- the collected fingerprint pixel value may be directly calibrated according to the reference pixel value and the first linear relationship, or the collected fingerprint pixel value may be processed first, and then according to the The reference pixel value and the first linear relationship calibrate the processed image obtained.
- the fingerprint pixel value is calibrated according to the reference pixel value and the first linear relationship in S206 as shown above, and obtaining the fingerprint image may include:
- the second intermediate image is calibrated according to the reference pixel value and the first linear relationship to obtain a fingerprint image.
- the first linear relationship may include: the first linear slope k' n obtained above and the first linear intercept b' n
- the second intermediate image may be expressed as Then, in the method, the second intermediate image is calibrated according to the reference pixel value and the first linear relationship by using the following formula (11) to obtain a fingerprint image.
- the second linear slope and the second linear intercept are determined according to the pattern depth of the first intermediate image and the first intermediate image, and the fingerprint pixel is further calibrated according to the first linear relationship to obtain the first And an intermediate image, and determining a pattern depth of the second intermediate image, and then calibrating the pattern depth of the second intermediate image according to the second linear slope and the second linear intercept to obtain a reference pixel value, where the reference pixel value includes the collected fingerprint
- the reference pixel value includes the collected fingerprint
- FIG. 5 is a flowchart of still another image processing method according to an embodiment of the present application. As shown in FIG. 5, the method can include:
- the first test pixel value outputted by each of the pixel points under the M light intensity may be represented by the above formula (2), which may be: M is an integer greater than or equal to 1.
- the reflectance of the first test unit is better than that of most of the fingers.
- the second test pixel value outputted by the respective pixel points under the M light intensity may be represented by the above formula (3), which may be: M is an integer greater than or equal to 1.
- the reflectance of the second test unit is preferably less than the reflectance of most of the fingers.
- the difference between the first test pixel value and the second test pixel value of each pixel at the same light intensity m may be expressed as: E1, E2, ..., EM. among them,
- the method for determining the depth of the pattern involved in the above embodiment is sequentially determined.
- the pattern depths are denoted as D 1 , D 2 ... D M , respectively.
- S506. Determine a second linear slope and a second linear intercept according to the pattern depths of the first intermediate image and the first intermediate image.
- the first intermediate image of the M light intensity can be used in the method As the Y-axis in the linear coordinate system, the image depths D 1 , D 2 ... D M of the first intermediate image under the M light intensity are taken as the X-axis of the linear coordinate system, and the least squares linear fitting is performed thereon.
- the fingerprint pixel value outputted by each pixel at the light intensity i can be expressed by the above formula (8),
- the fingerprint pixel value can be based on the first linear slope k' n and the first linear intercept b' n Calibrate to get a second intermediate image among them,
- the second intermediate image The pattern depth can be expressed as D F .
- the second intermediate image may be according to the second linear slope k p and the second linear intercept b p
- the pattern depth D F is calibrated to obtain a reference pixel value AdjBase.
- AdjBase D F *k p +b p .
- the second intermediate image may be compared according to the reference pixel value AdjBase, the first linear slope k' n and the first linear intercept b' n Perform calibration to obtain a fingerprint image P, where
- the second test pixel value may be calibrated to obtain a first intermediate image, and then the pattern depth of the fingerprint pixel is calibrated according to a second linear relationship between the first intermediate image and the pattern depth to obtain a reference pixel value. Then, the fingerprint pixel value is calibrated based on the reference pixel value, thereby effectively reducing the interference of the pattern information carried in the reflected light of each layer of the screen on the fingerprint image, improving the sharpness of the fingerprint image, and improving the accuracy and accuracy of the fingerprint recognition.
- the method also calibrates the fingerprint pixel according to the first linear relationship between the output pixel value of each pixel and the incident light intensity, thereby effectively reducing the sensitivity difference and optical path difference of each pixel of the fingerprint sensor. Etc., effectively reducing the interference of fingerprint pixels and the optical path difference of each pixel, improving the sharpness of the fingerprint image, and improving the accuracy and accuracy of fingerprint recognition.
- FIG. 6 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present application.
- the image processing apparatus can be applied to an electronic device having fingerprint recognition, the electronic device comprising: a display screen and a fingerprint sensor; the fingerprint sensor is located below the display screen, and the fingerprint sensor includes a plurality of pixel points.
- the image processing device can be implemented by software and/or hardware and can be integrated inside the electronic device.
- the image processing apparatus 60 includes an acquisition module 61, a determination module 62, and a calibration module 63.
- the collecting module 61 is configured to collect a fingerprint pixel value output by each pixel point of the fingerprint sensor under a preset light intensity when the finger is pressed.
- a determining module 62 configured to determine a first linear relationship between an output pixel value of each pixel point of the fingerprint sensor and an incident light intensity, and a second linear relationship between the test pixel value of each pixel point and a pattern depth, And determining the pattern depth of the fingerprint pixel value.
- the calibration module 63 is configured to calibrate the pattern depth of the fingerprint pixel value according to the second linear relationship to obtain a reference pixel value, and perform calibration on the fingerprint pixel value according to the reference pixel value and the first linear relationship. Fingerprint image.
- the acquiring module 61 is further configured to: when the first test unit is pressed, collect the first test pixel value that is output by the each pixel at the at least one light intensity; and When the second test unit is pressed, the second test pixel value output by the pixel at the at least one light intensity is acquired.
- the determining module 52 is configured to determine, according to the first test pixel value and the second test pixel value, a first between an output pixel value of each pixel point and an incident light intensity. a linear relationship; determining a pattern depth of the test pixel value, and determining a second linear relationship between the test pixel value and the pattern depth according to the test pixel value and the pattern depth of the test pixel value, wherein the test pixel value is the first A test pixel value or the second test pixel value.
- the first linear relationship includes: a first linear slope and a first linear intercept; the first linear slope is a linear slope of an output pixel value of each pixel point and an incident light intensity, The first linear intercept is a linear intercept of the output pixel value of each pixel point and the incident light intensity.
- the reflectivity of the first test unit is greater than the reflectivity of most of the fingers; the reflectivity of the second test unit is less than the reflectivity of most of the fingers.
- the determining module 62 is configured to perform calibration on the test pixel value according to the first linear relationship to obtain a first intermediate image; and determine a pattern depth of the first intermediate image.
- the determining module 62 is configured to determine a second linear slope and a second linear intercept according to the pattern depth of the first intermediate image and the first intermediate image; wherein the second linearity The relationship includes: the second linear slope and the second linear slope, the second linear slope being a linear slope of the pattern depth of the first intermediate image and the first intermediate image, the second linear intercept being the first A linear intercept of the intermediate image and the pattern depth of the first intermediate image.
- the determining module 62 is specifically configured to determine a pattern area mask and a non-pattern area mask of the first intermediate image; and output pixel values corresponding to the pixel points corresponding to the pattern area mask and the The output pixel value of the pixel corresponding to the non-pattern area mask determines the pattern depth of the first intermediate image.
- the determining module 62 is configured to obtain a pattern depth of the first intermediate image according to a difference between an average value of the first pixel value and an average value of the second pixel value; wherein the first One pixel value is an output pixel value of a pixel corresponding to the mask of the pattern area, and the second pixel value is an output pixel value of a pixel corresponding to the mask of the non-pattern area.
- the determining module 62 is configured to: according to the preset information of the layered pattern in the display screen, the preset correspondence between the pattern information and the display position on the display screen, and the corresponding The information of the layered pattern received by the fingerprint sensor determines a display position of the layered pattern on the display screen; and according to the display position, the pattern area mask and the non-pattern area mask are determined.
- the determining module 62 is configured to determine, according to the preset information of the stacked pattern in the display screen and the reflected light inside the screen received by the fingerprint sensor when the light source is illuminated. A pattern area mask and the non-pattern area mask.
- the determining module 62 is specifically configured to perform area division on the first intermediate image to obtain a plurality of sub-regions; and determine a plurality of effective sub-regions from the plurality of sub-regions; each valid sub-region includes a partial pattern area mask and a partial non-pattern area mask; determining a pattern depth of each effective sub-area according to a difference between an average value of the third pixel value and an average value of the fourth pixel value; wherein the third The pixel value is an output pixel value of a pixel corresponding to the partial pattern area mask, and the fourth pixel value is an output pixel value of the pixel corresponding to the partial non-pattern area mask; according to the pattern depth of the plurality of effective sub-areas Determining the pattern depth of the first intermediate image.
- the determining module 62 is configured to perform image segmentation on the first intermediate image, remove a partial region of the first intermediate image, and obtain an effective region of the first intermediate image; The area division is performed to obtain the plurality of sub-areas.
- the determining module 62 is configured to perform calibration on the fingerprint pixel value according to the first linear relationship to obtain a second intermediate image; and determine a pattern depth of the second intermediate image.
- the image processing apparatus provided in this embodiment can perform the image processing method shown in any of the above-mentioned FIG. 1 to FIG. 5, and the specific implementation and effective effects thereof can be referred to the above, and details are not described herein again.
- FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
- the electronic device 70 of the present embodiment includes a display screen 71 and a fingerprint sensor 72; the fingerprint sensor 72 is located below the display screen 71, and the fingerprint sensor 72 includes a plurality of pixel points.
- the electronic device 70 also includes a memory 73 and a processor 74. Display screen 71, fingerprint sensor 72, and memory 73 are coupled to processor 74 via bus 75, respectively.
- the memory 73 is configured to store program instructions.
- the processor 74 when used to call the program instruction stored in the memory 73, performs the following steps:
- the pattern depth of the fingerprint pixel value is calibrated to obtain a reference pixel value; and the fingerprint pixel value is calibrated according to the reference pixel value and the first linear relationship to obtain a fingerprint image.
- the processor 74 is further configured to: when the first test unit is pressed, collect the first test pixel value that is output by the each pixel at the at least one light intensity; and When the second test unit performs pressing, the second test pixel value output by the pixel at the at least one light intensity is acquired.
- the processor 74 is configured to determine, according to the first test pixel value and the second test pixel value, a first between an output pixel value of each pixel point and an incident light intensity. a linear relationship; determining a pattern depth of the test pixel value, and determining a second linear relationship between the test pixel value and the pattern depth according to the test pixel value and the pattern depth of the test pixel value, wherein the test pixel value is the first A test pixel value or the second test pixel value.
- the first linear relationship includes: a first linear slope and a first linear intercept.
- the processor 74 is configured to determine the first linear slope and the first linear intercept according to the first test pixel value and the second test pixel value; the first linear slope is an output pixel of each pixel A linear slope of the value and incident light intensity, the first linear intercept being a linear intercept of the output pixel value of each pixel point and the incident light intensity.
- the reflectivity of the first test unit is greater than the reflectivity of the finger; the reflectivity of the second test unit is less than the reflectivity of the finger.
- the processor 74 is configured to perform calibration on the test pixel value according to the first linear relationship to obtain a first intermediate image; and determine a pattern depth of the first intermediate image.
- the processor 74 is configured to determine a second linear slope and a second linear intercept according to the pattern depth of the first intermediate image and the first intermediate image; the second linear relationship includes The second linear slope and the second linear slope, the second linear slope being a linear slope of the pattern depth of the first intermediate image and the first intermediate image, the second linear intercept being the first intermediate image A linear intercept with the depth of the pattern of the first intermediate image.
- the processor 74 is specifically configured to determine a pattern area mask and a non-pattern area mask of the first intermediate image; and output pixel values corresponding to the pixel points corresponding to the pattern area mask and the The output pixel value of the pixel corresponding to the non-pattern area mask determines the pattern depth of the first intermediate image.
- the processor 74 is configured to obtain a pattern depth of the first intermediate image according to a difference between an average value of the first pixel value and an average value of the second pixel value; wherein the first One pixel value is an output pixel value of a pixel corresponding to the mask of the pattern area, and the second pixel value is an output pixel value of a pixel corresponding to the mask of the non-pattern area.
- the processor 74 is configured to: according to preset information of the layered pattern in the display screen, a preset correspondence between the pattern information and a display position on the display screen, and the corresponding The information of the layered pattern received by the fingerprint sensor determines a display position of the layered pattern on the display screen; and according to the display position, the pattern area mask and the non-pattern area mask are determined.
- the processor 74 is configured to determine, according to the preset information of the stacked pattern in the display screen and the reflected light inside the screen received by the fingerprint sensor when the light source is illuminated. A pattern area mask and the non-pattern area mask.
- the processor 74 is specifically configured to perform area division on the first intermediate image to obtain a plurality of sub-areas; determine a plurality of effective sub-areas from the plurality of sub-areas; each valid sub-area includes a partial pattern area mask and a partial non-pattern area mask; determining a pattern depth of each effective sub-area according to a difference between an average value of the third pixel value and an average value of the fourth pixel value; wherein the third The pixel value is an output pixel value of a pixel corresponding to the partial pattern area mask, and the fourth pixel value is an output pixel value of the pixel corresponding to the partial non-pattern area mask; according to the pattern depth of the plurality of effective sub-areas Determining the pattern depth of the first intermediate image.
- the processor 74 is configured to perform image segmentation on the first intermediate image, remove a partial region of the first intermediate image, and obtain an effective region of the first intermediate image; The area division is performed to obtain the plurality of sub-areas.
- the processor 74 is configured to: calibrate the fingerprint pixel value according to the first linear relationship to obtain a second intermediate image; and determine a pattern depth of the second intermediate image.
- the electronic device provided in this embodiment can perform the image processing method shown in any of the above-mentioned FIG. 1 to FIG. 5, and the specific implementation and effective effects thereof can be referred to the above, and details are not described herein again.
- the embodiment of the present application further provides a computer readable storage medium, where the computer program is stored, and the computer program can be executed by the processor 74 described in FIG. 7 to implement the image processing method shown in any of the embodiments.
- the computer program can be executed by the processor 74 described in FIG. 7 to implement the image processing method shown in any of the embodiments.
- the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
- the foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Image Input (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Abstract
Description
本申请实施例涉及识别技术,尤其涉及一种图像处理方法、装置和电子设备。The embodiments of the present application relate to identification technologies, and in particular, to an image processing method, apparatus, and electronic device.
随着电子技术的发展,电子设备的显示屏逐渐向全面屏发展,越来越高的屏占比,这使得目前主流的电容式指纹模组无处放置。With the development of electronic technology, the display screen of electronic devices has gradually developed to a comprehensive screen, and the higher and higher screen ratio, which makes the current mainstream capacitive fingerprint module nowhere to be placed.
屏下光学指纹方案,可将指纹传感器放置在显示屏的背部,不占用非显示区域的面积,有效提高屏占比。屏下光学指纹方案中,带有指纹信息的光需穿透显示屏到达指纹传感器,在指纹传感器的表面成像形成指纹图像,继而基于该指纹图像进行指纹识别。The on-screen optical fingerprinting scheme can place the fingerprint sensor on the back of the display screen without occupying the area of the non-display area, thereby effectively increasing the screen ratio. In the screen optical fingerprinting scheme, the light with the fingerprint information needs to penetrate the display screen to reach the fingerprint sensor, form a fingerprint image on the surface of the fingerprint sensor, and then perform fingerprint recognition based on the fingerprint image.
然而,带有指纹信息的光穿透显示屏必然会携带显示屏内部各叠层的图案信息,该些图案信息对指纹图像形成干扰,从而影响指纹识别的精度及准确度。However, the light-transmitting display screen with fingerprint information necessarily carries the pattern information of each layer stack inside the display screen, and the pattern information interferes with the fingerprint image, thereby affecting the accuracy and accuracy of fingerprint recognition.
发明内容Summary of the invention
本申请实施例提供一种图像处理方法、装置和电子设备,以提高目标指纹图像的清晰度,提高指纹识别的精度及准确度。The embodiment of the present application provides an image processing method, device, and electronic device to improve the definition of a target fingerprint image and improve the accuracy and accuracy of fingerprint recognition.
本申请实施例提供一种图像处理方法,应用于具有指纹识别的电子设备中,所述电子设备包括:显示屏和位于所述显示屏下方的指纹传感器;所述指纹传感器包括多个像素点,所述方法包括:The embodiment of the present application provides an image processing method, which is applied to an electronic device with fingerprint recognition, the electronic device includes: a display screen and a fingerprint sensor located under the display screen; the fingerprint sensor includes a plurality of pixel points, The method includes:
确定所述指纹传感器的每个像素点的输出像素值与入射光强之间的第一线性关系;Determining a first linear relationship between an output pixel value of each pixel of the fingerprint sensor and an incident light intensity;
确定所述每个像素点的测试像素值与图案深度之间的第二线性关系;Determining a second linear relationship between the test pixel value of each pixel and the depth of the pattern;
当手指按压时,采集所述每个像素点在预设光强下输出的指纹像素值;When the finger is pressed, collecting the fingerprint pixel value output by the pixel at a preset light intensity;
确定所述指纹像素值的图案深度;Determining a pattern depth of the fingerprint pixel value;
根据所述第二线性关系,对所述指纹像素值的图案深度进行校准,得到基准像素值;Performing calibration on the pattern depth of the fingerprint pixel value according to the second linear relationship to obtain a reference pixel value;
根据所述基准像素值和所述第一线性关系,对所述指纹像素值进行校准,得到指纹图像。And correcting the fingerprint pixel value according to the reference pixel value and the first linear relationship to obtain a fingerprint image.
本申请实施例还可提供一种图像处理装置,应用于具有指纹识别的电子设备中,所述电子设备包括:显示屏和位于所述显示屏的下方的指纹传感器;所述指纹传感器包括多个像素点,所述装置包括:The embodiment of the present application may further provide an image processing apparatus, which is applied to an electronic device having fingerprint identification, the electronic device including: a display screen and a fingerprint sensor located below the display screen; the fingerprint sensor includes multiple Pixels, the device includes:
采集模块,用于在手指按压时,采集所述指纹传感器的每个像素点在预设光强下输出的指纹像素值;An acquisition module, configured to collect a fingerprint pixel value output by each pixel of the fingerprint sensor at a preset light intensity when the finger is pressed;
确定模块,还用于确定所述指纹传感器每个像素点的输出像素值与入射光强之间的第一线性关系以及所述每个像素点的测试像素值与图案深度之间的第二线性关系,并确定所述指纹像素值的图案深度;a determining module, configured to determine a first linear relationship between an output pixel value of each pixel of the fingerprint sensor and an incident light intensity, and a second linearity between the test pixel value and the pattern depth of each pixel Relationship, and determining a pattern depth of the fingerprint pixel value;
校准模块,用于根据所述第二线性关系,对所述指纹像素值的图案深度进行校准,得到基准像素值;根据所述基准像素值和所述第一线性关系,对所述指纹像素值进行校准,得到指纹图像。a calibration module, configured to calibrate a pattern depth of the fingerprint pixel value according to the second linear relationship to obtain a reference pixel value; and to use the fingerprint pixel value according to the reference pixel value and the first linear relationship Calibrate to get a fingerprint image.
本申请实施例还可提供一种电子设备,所述电子设备包括:显示屏和位于所述显示屏的下方的指纹传感器;所述指纹传感器包括多个像素点,所述电子设备还包括:存储器和处理器;所述显示屏、所述指纹传感器、所述存储器分别通过总线与所述处理器连接;The embodiment of the present application may further provide an electronic device, where the electronic device includes: a display screen and a fingerprint sensor located below the display screen; the fingerprint sensor includes a plurality of pixel points, and the electronic device further includes: a memory And a processor; the display screen, the fingerprint sensor, and the memory are respectively connected to the processor through a bus;
所述存储器,用于存储程序指令;The memory is configured to store program instructions;
所述处理器,用于调用所述存储器存储的所述程序指令时,执行上述图像处理方法The processor is configured to execute the image processing method when the program instruction stored in the memory is invoked
本申请实施例还提供一种计算机可读存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述图像处理方法。The embodiment of the present application further provides a computer readable storage medium, where the storage medium stores a computer program, and the computer program is implemented by a processor to implement the image processing method.
本申请实施例提供的图像处理方法、装置和电子设备,可确定指纹传感器的每个像素点的输出像素值与入射光强之间的第一线性关系,并确定该每个像素点的测试像素值的图案深度与图案深度之间的第二线性关系,当手指按压时,还采集该每个像素点在预设光强下输出的指纹像素值,确定该指纹像素值的图案深度,并根据该第二线性关系对该指纹像素值的图案深度进行校准,得到基准像素值,继而根据该基准像素值和该第一线性关系,对该指 纹像素值进行校准得到指纹图像。该方案中,可根据确定的每个像素点的测试像素值与图案深度之间的第二线性关系,对手指按压时指纹像素值的图案深度进行校准,得到基准像素值,继而基于基准像素值对指纹像素值进行校准,有效减小屏幕内部反射光中携带的图案信息对指纹图像的干扰,提高目标图像的清晰度,提高指纹识别的精度及准确度;同时,该方法还根据确定每个像素点的输出像素值与入射光强之间的第一线性关系对指纹像素值进行校准,有效减小指纹传感器的每个像素点的感光差异和光路差异等,有效减小各像素点的感光差异和光路差异等对指纹像素的干扰,提高指纹图像的清晰度,提高指纹识别的精度及准确度。The image processing method, device and electronic device provided by the embodiments of the present application may determine a first linear relationship between an output pixel value of each pixel point of the fingerprint sensor and an incident light intensity, and determine a test pixel of each pixel point. a second linear relationship between the pattern depth of the value and the depth of the pattern. When the finger is pressed, the fingerprint pixel value outputted by the pixel at the preset light intensity is also collected, and the pattern depth of the fingerprint pixel value is determined, and according to The second linear relationship calibrates the pattern depth of the fingerprint pixel value to obtain a reference pixel value, and then calibrates the fingerprint pixel value according to the reference pixel value and the first linear relationship to obtain a fingerprint image. In this solution, according to the determined second linear relationship between the test pixel value and the pattern depth of each pixel, the pattern depth of the fingerprint pixel value when the finger is pressed is calibrated to obtain a reference pixel value, and then based on the reference pixel value. Calibrating the fingerprint pixel value, effectively reducing the interference of the pattern information carried in the reflected light inside the screen on the fingerprint image, improving the sharpness of the target image, and improving the accuracy and accuracy of the fingerprint recognition; meanwhile, the method further determines each The first linear relationship between the output pixel value of the pixel and the incident light intensity calibrates the fingerprint pixel value, effectively reducing the sensitivity difference and the optical path difference of each pixel of the fingerprint sensor, thereby effectively reducing the sensitivity of each pixel point. Differences in the difference between the difference and the optical path, such as interference with fingerprint pixels, improve the sharpness of the fingerprint image, and improve the accuracy and accuracy of fingerprint recognition.
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present application, and other drawings can be obtained according to the drawings without any creative labor for those skilled in the art.
图1A为本申请实施例提供的一种AMOLED硬质显示屏中实现屏下光学指纹的简要叠层图;1A is a schematic layer diagram of implementing an optical fingerprint on a screen in an AMOLED hard display provided by an embodiment of the present application;
图1B为本申请实施例提供的一种AMOLED硬质显示屏表面无按压手指时的反射光示意图;1B is a schematic diagram of reflected light when a surface of an AMOLED hard display screen is not pressed by a finger according to an embodiment of the present application;
图1C为本申请实施例提供的一种AMOLED硬质显示屏表面按压手指时的反射光示意图;1C is a schematic diagram of reflected light when a surface of an AMOLED hard display screen is pressed by a finger according to an embodiment of the present application;
图2A为本申请实施例提供的一种图像处理方法的流程图;2A is a flowchart of an image processing method according to an embodiment of the present application;
图2B为本申请实施例提供的一种指纹传感器中各像素点的感光性能及光路差异的示意图;2B is a schematic diagram of photographic performance and optical path difference of each pixel in a fingerprint sensor according to an embodiment of the present disclosure;
图2C为本申请实施例提供的一种AMOLED硬质显示屏中测试单元被按压时采集像素的简要叠层图;2C is a schematic layer diagram of collecting pixels when a test unit is pressed in an AMOLED hard display according to an embodiment of the present disclosure;
图3A为本申请实施例提供的另一种图像处理方法的流程图;3A is a flowchart of another image processing method according to an embodiment of the present application;
图3B为本申请实施例提供的一种图像信息强度的示意图;FIG. 3B is a schematic diagram of image information strength according to an embodiment of the present application; FIG.
图4A为本申请实施例提供的又一种图像处理方法的流程图;4A is a flowchart of still another image processing method according to an embodiment of the present application;
图4B为本申请实施例提供的一种图像划分区域的示意图;4B is a schematic diagram of an image division area according to an embodiment of the present application;
图4C为本申请实施例提供的另一种图像划分区域的示意图;4C is a schematic diagram of another image division area according to an embodiment of the present application;
图4D为本申请实施例提供的一种图像分割的示意图;4D is a schematic diagram of image segmentation according to an embodiment of the present application;
图5为本申请实施例提供的再一种图像处理方法的流程图;FIG. 5 is a flowchart of still another image processing method according to an embodiment of the present application;
图6为本申请实施例提供的一种图像处理装置的结构示意图;FIG. 6 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present disclosure;
图7为本申请实施例提供的一种电子设备的结构示意图。FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. It is a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。本文所使用的术语“和/或”包括一个或多个相关的所列项目的任意的和所有的组合。下面结合附图,对本申请的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。All technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention applies, unless otherwise defined. The terminology used herein is for the purpose of describing particular embodiments, and is not intended to be limiting. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items. Some embodiments of the present application are described in detail below with reference to the accompanying drawings. The features of the embodiments and examples described below can be combined with each other without conflict.
本申请下述各实施例提供的图像处理方法、装置、电子设备及存储介质可应用于智能手机、笔记本电脑、可穿戴设备、家电设备等任一具有屏下光学指纹识别功能的电子设备中。屏下光学指纹可以在显示屏的显示区域中局部实现,也可以全屏实现。The image processing method, device, electronic device and storage medium provided by the following embodiments of the present application can be applied to any electronic device having a screen optical fingerprint recognition function, such as a smart phone, a notebook computer, a wearable device, and a home appliance. The under-screen optical fingerprint can be partially implemented in the display area of the display screen or in full screen.
如下先以有源矩阵有机发光二极体(Active-Matrix Organic Light Emitting Diode,简称AMOLED)硬质显示屏为例,对屏下光学指纹实现方式进行说明,其他种类的显示屏如有机发光二极管(Organic Light-Emitting Diode,简称OLED)显示屏、液晶显示屏(Liquid Crystal Display,简称LCD)等的实现方式与AMOLED硬质显示屏一致或相似,在此不再赘述。The active-Matrix Organic Light Emitting Diode (AMOLED) hard display is taken as an example to illustrate the implementation of the optical fingerprint under the screen. Other types of displays such as organic light-emitting diodes (such as organic light-emitting diodes) The implementation of the Organic Light-Emitting Diode (OLED) display, liquid crystal display (LCD), etc. is identical or similar to that of the AMOLED hard display, and will not be described here.
图1A为本申请实施例提供的一种AMOLED硬质显示屏中实现屏下光学指纹的简要叠层图。如图1A所示,AMOLED硬质显示屏包括:基板玻璃、 显示像素、密封玻璃、触控面板(Touch Plane,简称TP)层及盖板玻璃。基板玻璃上蒸馏各种有机材料形成显示像素,再使用密封玻璃进行密封,基板玻璃、密封玻璃及其之间的叠层配合显示驱动电路实现显示屏的显示功能。密封玻璃上表面涂有导电材料形成TP层。该导电材料例如可以为氧化铟锡(Indium Tin Oxide,简称ITO)、金属等。需要指出的是,TP层的导电材料也可涂在薄膜(Film)表面,该薄膜贴合在密封玻璃的表面。当然,TP层还可以是其它的结构形式,在此不再赘述。TP层配合触控驱动电路实现显示屏的触控功能。其中TP层被蚀刻成各种图案。此外AMOLED硬质显示屏中还设置有一层圆偏光片,以抑制显示屏对环境光的反射,实现更高的显示对比度,圆偏光片位于TP层和盖板玻璃之间。其中,TP层通过透明光学胶(Optically Clear Aadhesive,简称OCA)与圆偏光片粘合,圆偏光片通过OCA与盖板玻璃粘合。需要说明的是,图1A为仅为AMOLED硬质显示屏中各叠层的结构的一种示例,随着技术的发展,AMOLED硬质显示屏的各叠层的结构还可以是其它形式,在此不再赘述。同时,屏下光学指纹方案也可在AMOLED柔性显示屏中实现,其AMOLED柔性显示屏的叠层结构与图1A的结构类似,区别在于,在AMOLED柔性显示屏中,由于折叠需求,可用柔性的薄膜代替硬质玻璃,例如可将上述图1A中示出的基板玻璃替换为基板薄膜,密封玻璃可替换为密封薄膜。FIG. 1A is a schematic stacked diagram of implementing an under-screen optical fingerprint in an AMOLED hard display according to an embodiment of the present application. As shown in FIG. 1A, the AMOLED hard display includes: a substrate glass, a display pixel, a sealing glass, a Touch Plane (TP) layer, and a cover glass. Various organic materials are distilled on the substrate glass to form display pixels, and then sealed by using sealing glass, and the substrate glass, the sealing glass and the laminated display driving circuit between them realize the display function of the display screen. The upper surface of the sealing glass is coated with a conductive material to form a TP layer. The conductive material may be, for example, Indium Tin Oxide (ITO), metal, or the like. It should be noted that the conductive material of the TP layer can also be applied to the surface of the film, which is attached to the surface of the sealing glass. Of course, the TP layer can also be other structural forms, and details are not described herein again. The TP layer cooperates with the touch driving circuit to realize the touch function of the display screen. The TP layer is etched into various patterns. In addition, the AMOLED hard display is also provided with a circular polarizer to suppress the reflection of the display screen to ambient light, achieving higher display contrast, and the circular polarizer is located between the TP layer and the cover glass. The TP layer is bonded to the circular polarizer by a transparent optical adhesive (OCA), and the circular polarizer is bonded to the cover glass through the OCA. It should be noted that FIG. 1A is only one example of the structure of each stack in the AMOLED hard display. With the development of technology, the structure of each stack of the AMOLED hard display may be other forms. This will not be repeated here. At the same time, the on-screen optical fingerprinting scheme can also be implemented in the AMOLED flexible display screen, and the laminated structure of the AMOLED flexible display screen is similar to the structure of FIG. 1A, except that in the AMOLED flexible display screen, flexible is available due to the folding requirement. Instead of the hard glass, for example, the substrate glass shown in FIG. 1A above may be replaced with a substrate film, and the sealing glass may be replaced with a sealing film.
基于AMOLED硬质显示屏的屏下光学指纹方案中,指纹传感器(sensor)可位于基板玻璃的下方。指纹传感器也称光学指纹传感器。指纹传感器可放置或贴合在基板玻璃的下表面。当手指按压在盖板玻璃上表面,光源点亮时,光源发出的光向上传播,依次通过密封玻璃、TP、OCA胶、圆偏光片、盖板玻璃等叠层到达手指后被反射,同时光通过各交界面时也都会反射回一部分光,最终达到指纹传感器上,使得指纹传感器的各像素点输出对应的像素值,继而通过对该各像素点输出的像素值进行处理,得到指纹图像。其中,该光源例如可以是OLED显示屏的显示像素、LCD显示屏的面光源、显示屏外部的发光二极管(Light-Emitting Diode,简称LED)等任一光源。In an off-screen optical fingerprinting scheme based on an AMOLED hard display, a fingerprint sensor can be located below the substrate glass. The fingerprint sensor is also called an optical fingerprint sensor. The fingerprint sensor can be placed or attached to the lower surface of the substrate glass. When the finger presses on the upper surface of the cover glass, when the light source is lit, the light emitted by the light source propagates upward, and is sequentially reflected by the laminated glass, TP, OCA glue, circular polarizer, cover glass, etc., reaching the finger and being reflected. A part of the light is reflected back through each interface, and finally reaches the fingerprint sensor, so that each pixel of the fingerprint sensor outputs a corresponding pixel value, and then the pixel value outputted from each pixel point is processed to obtain a fingerprint image. The light source may be any display source such as a display pixel of an OLED display, a surface light source of an LCD display, or a light-emitting diode (LED) external to the display screen.
交界面的反射率是由交界面两侧叠层的材质的折射率决定。玻璃的折射率通常为1.5,ITO的折射率为1.8,空气的折射率为1,OCA、圆偏光片、手指的折射率均在1.4左右。根据两层介质交界面处的垂直反射率公式可确 定两种介质交界面的垂直反射率。该两层介质交界面处的垂直反射率公式为如下公式(1):The reflectivity of the interface is determined by the refractive index of the material laminated on both sides of the interface. The refractive index of glass is usually 1.5, the refractive index of ITO is 1.8, the refractive index of air is 1, and the refractive index of OCA, circular polarizer, and finger is about 1.4. The vertical reflectivity of the interface between the two media can be determined based on the vertical reflectivity formula at the interface of the two layers of media. The vertical reflectance formula at the interface of the two layers of media is as follows (1):
其中,R为交界面处的垂直反射率,n 1和n 2分别表示交界面两侧介质的折射率。结合上述公式(1)可知玻璃与空气交界面的垂直反射率可以为4%,玻璃与手指交界面的垂直反射率可以为0.12%。需要说明的是,由于玻璃材质的差异、手指的个体差异等,该玻璃与空气交界面的垂直反射率还可以为第一数值,该第一数值与4%的差值可在预设范围内,玻璃与手指交界面的垂直反射率也可以为第二数值,该第二数值与0.12%的差值可在预设范围内。 Where R is the vertical reflectivity at the interface, and n 1 and n 2 represent the refractive indices of the media on both sides of the interface, respectively. According to the above formula (1), the vertical reflectance of the interface between the glass and the air can be 4%, and the vertical reflectance of the interface between the glass and the finger can be 0.12%. It should be noted that the vertical reflectance of the interface between the glass and the air may be a first value due to the difference in the material of the glass, the individual difference of the fingers, etc., and the difference between the first value and 4% may be within a preset range. The vertical reflectivity of the interface between the glass and the finger may also be a second value, and the difference between the second value and 0.12% may be within a preset range.
图1B为本申请实施例提供的一种AMOLED硬质显示屏表面无按压手指时的反射光示意图;图1C为本申请实施例提供的一种AMOLED硬质显示屏表面按压手指时的反射光示意图。1B is a schematic diagram of reflected light when a surface of an AMOLED hard display screen is not pressed by a finger according to an embodiment of the present invention; FIG. 1C is a schematic diagram of reflected light when a surface of an AMOLED hard display screen is pressed by a finger according to an embodiment of the present disclosure; .
如图1B所示,当显示屏的表面,也就是盖板玻璃的上表面无手指按压时,光线可在空气与玻璃的交界面处发生反射,当无按压手指时盖板玻璃上表面反射光为均匀光,不携带指纹信息,其中,空气与玻璃交界面处的垂直反射率可以为4%。As shown in FIG. 1B, when the surface of the display screen, that is, the upper surface of the cover glass, is pressed without a finger, the light can be reflected at the interface between the air and the glass, and the upper surface of the cover glass reflects light when the finger is not pressed. For uniform light, no fingerprint information is carried, wherein the vertical reflectance at the interface between air and glass can be 4%.
如图1C所示,当显示屏的表面,也就是盖板玻璃的上表面按压手指时,手指脊线与玻璃接触,但手指谷线中仍残留空气,光线既可在玻璃与手指脊线的交界面反射,还可在玻璃与手指谷线(空气)的交界面处反射,其中,玻璃与手指脊线的交界面的垂直反射率可以为0.12%,玻璃与手指谷线的交界面的垂直反射率可以为4%。由于盖板玻璃上表面在手指脊线与手指谷线处的反射率存在差异,故当按压手指时盖板玻璃上表面反射光中携带有指纹信息。在一些场景中,该盖板玻璃上还可以帖附有屏幕保护膜(附图中未示出),如此,当按压手指时,保护膜上表面的反射光中便可携带有指纹信息。对于具有屏幕保护膜的显示屏,其屏下光学指纹方案的具体实现,与不具有屏幕保护膜的显示屏的屏下光学指纹方案的具体实现类似,在此不再赘述。As shown in Fig. 1C, when the surface of the display screen, that is, the upper surface of the cover glass, presses the finger, the finger ridge line is in contact with the glass, but air remains in the finger valley line, and the light is both in the glass and the finger ridge line. The interface reflection can also be reflected at the interface between the glass and the finger valley line (air), wherein the vertical reflectivity of the interface between the glass and the finger ridge line can be 0.12%, and the interface between the glass and the finger valley line is vertical. The reflectance can be 4%. Since the upper surface of the cover glass has a difference in reflectance between the finger ridge line and the finger valley line, the fingerprint light is carried in the reflected light on the upper surface of the cover glass when the finger is pressed. In some scenes, a screen protector (not shown in the drawing) may be attached to the cover glass, such that when the finger is pressed, the reflected light on the upper surface of the protective film may carry fingerprint information. For a display screen with a screen protector, the specific implementation of the on-screen optical fingerprinting scheme is similar to the specific implementation of the under-screen optical fingerprinting scheme of the display screen without the screen protective film, and details are not described herein again.
盖板玻璃上表面的反射光和手指反射光等携带有指纹信息。该些携带有指纹信息的光穿透显示屏的各叠层和屏幕内部反射光一同入射至设置于基板玻璃的下层的指纹传感器上,继而通过对该指纹传感器所输出的像素值进行 处理,从而得到指纹图像,也就是待提取的指纹信息。The reflected light on the upper surface of the cover glass and the reflected light from the finger carry fingerprint information. The stacks of light-transmitting display screens carrying fingerprint information are incident on the fingerprint sensor disposed on the lower layer of the substrate glass together with the reflected light inside the screen, and then the pixel values output by the fingerprint sensor are processed, thereby A fingerprint image is obtained, that is, fingerprint information to be extracted.
然而,该些携带有指纹信息的光穿透显示屏,必然会携带显示屏内部各叠层特别是显示像素层的图案信息,而显示屏内部反射光不携带指纹信息却携带显示屏内部各叠层的图案信息,基于此,本申请下述可实施例可通过对指纹传感器输出的指纹像素值进行校准处理,可有效的减小显示屏的各叠层中图案信息的干扰,使得到的目标图像更准确,有效提高指纹识别的精度及准确度。However, the light carrying the fingerprint information penetrating the display screen necessarily carries the pattern information of each layer of the display screen, especially the display pixel layer, and the reflected light inside the display screen does not carry the fingerprint information but carries the stacks inside the display screen. Based on the pattern information of the layer, the following embodiments of the present application can effectively reduce the interference of the pattern information in each layer of the display screen by calibrating the fingerprint pixel values output by the fingerprint sensor, so that the target is obtained. The image is more accurate and effectively improves the accuracy and accuracy of fingerprint recognition.
如下结合多个实例对本申请实施例提供的进行说明。The description provided by the embodiments of the present application will be described below in conjunction with a plurality of examples.
图2A为本申请实施例提供的一种图像处理方法的流程图。该图像处理方法可应用于具有指纹识别的电子设备中,该电子设备包括:显示屏和指纹传感器。其中,指纹传感器可位于该显示屏的下方,该指纹传感器包括多个像素点。该方法可由该电子设备的处理器通过软件和/或硬件的方式实现,也可由于该指纹传感器连接的其它处理器如校准处理器通过软件和/或硬件的方式实现。该图像处理方法可在电子设备或电子设备的显示模块出厂前或者用户使用指纹应用过程中对其进行校准的过程中执行。如图2所示,该方法可包括:2A is a flowchart of an image processing method according to an embodiment of the present application. The image processing method can be applied to an electronic device having fingerprint recognition, the electronic device comprising: a display screen and a fingerprint sensor. Wherein, the fingerprint sensor can be located below the display screen, and the fingerprint sensor includes a plurality of pixel points. The method may be implemented by software of the electronic device by means of software and/or hardware, or by other processors connected to the fingerprint sensor, such as a calibration processor, by software and/or hardware. The image processing method can be performed during the process of calibrating the display module of the electronic device or the electronic device before the factory or the user uses the fingerprint application process. As shown in FIG. 2, the method can include:
S201、确定该指纹传感器的每个像素点的输出像素值与入射光强之间的第一线性关系。S201. Determine a first linear relationship between an output pixel value of each pixel of the fingerprint sensor and an incident light intensity.
该方法中可根据该每个像素点在至少一种光强下输出的测试像素值,进行线性拟合,得到该每个像素点的输出像素值与入射光强之间的第一线性关系。In the method, a linear fit is performed according to the test pixel value outputted by the pixel at each of the at least one light intensity, and a first linear relationship between the output pixel value of each pixel and the incident light intensity is obtained.
由于芯片制程工艺的偏差,指纹传感器的各像素点之间的电气特性不可能完全一致。图2B为本申请实施例提供的一种指纹传感器中各像素点的感光性能及光路差异的示意图。根据图2B知,在指纹传感器上方放置均匀光源,各像素点接收相同光强的光,但是输出的像素原始数据并不一致,而各像素点输出的像素原始数据仍与接收光强成线性关系,第n个像素点输出的像素原始数据与接收光强的关系可表示为 其中,R n为第n个像素点输出的像素原始数据, 为第n个像素点输出的像素原始数据与接收光强的线性斜率, 为第n个像素点的接收光强, 为第n个像素点输出的像素原始 数据与接收光强的线性截距。 和 可用于表征第n个像素点的感光性能差异。 Due to variations in the chip manufacturing process, the electrical characteristics between the pixels of the fingerprint sensor may not be exactly the same. FIG. 2B is a schematic diagram of photographic performance and optical path difference of each pixel in a fingerprint sensor according to an embodiment of the present disclosure. According to FIG. 2B, a uniform light source is placed above the fingerprint sensor, and each pixel receives light of the same light intensity, but the output raw data of the pixel is inconsistent, and the pixel raw data output by each pixel point is still linearly related to the received light intensity. The relationship between the pixel raw data outputted by the nth pixel and the received light intensity can be expressed as Where R n is the pixel raw data output by the nth pixel point, The linear slope of the pixel raw data and the received light intensity output for the nth pixel, The received light intensity for the nth pixel, The linear intercept of the pixel raw data and the received light intensity output for the nth pixel. with Can be used to characterize the difference in photographic performance of the nth pixel.
由于显示像素层中各发光像素点及金属走线不完全透光,故显示像素层上方的光通过显示像素层后部分光会遭到遮挡。继续参照图2B,在显示像素层上方放置均匀光源,经过显示像素层后,由于部分光遭到遮挡,使得指纹传感器的各像素点接收到的光强并不一致,但指纹传感器的各像素点的接收光强仍与各像素点的入射光强成线性关系,第n个像素点的接收光强与入射光强的关系可表示为 其中, 为第n个像素点的接收光强, 为第n个像素点的接收光强与入射光强的线性斜率, 为第n个像素点的入射光强。 Since the illuminating pixel points and the metal traces in the display pixel layer are not completely transparent, the light above the display pixel layer passes through the display pixel layer, and part of the light is blocked. Continuing to refer to FIG. 2B, a uniform light source is placed above the display pixel layer. After the display pixel layer is partially blocked, the light intensity received by each pixel of the fingerprint sensor is inconsistent, but each pixel of the fingerprint sensor is inconsistent. The received light intensity is still linear with the incident light intensity of each pixel, and the relationship between the received light intensity of the nth pixel and the incident light intensity can be expressed as among them, The received light intensity for the nth pixel, Is the linear slope of the received light intensity and incident light intensity at the nth pixel point, The incident light intensity at the nth pixel point.
各像素点的入射光是指来自显示像素层上方各像素点所对应的光。指纹传感器的各像素点的入射光强为零,则指纹传感器的各像素点的接收光强也为零。因而,第n个像素点输出的像素原始数据与入射光强的关系可表示为 其中, 为第n个像素点输出的原始像素数据和入射光强的线性斜率,b n为第n个像素点输出的原始像素数据与入射光强的线性截距。k n可用于表征第n个像素点的感光性能差异和光路差异,b n可用于表征第n个像素点的感光性能差异。 The incident light at each pixel point refers to light corresponding to each pixel point above the display pixel layer. When the incident light intensity of each pixel of the fingerprint sensor is zero, the received light intensity of each pixel of the fingerprint sensor is also zero. Therefore, the relationship between the pixel raw data outputted by the nth pixel and the incident light intensity can be expressed as among them, The linear slope of the original pixel data and the incident light intensity output for the nth pixel point, b n is the linear intercept of the original pixel data output from the nth pixel point and the incident light intensity. k n can be used to characterize the difference in photographic performance and optical path of the nth pixel, and b n can be used to characterize the difference in photographic performance of the nth pixel.
在该实施例中,确定该第一线性关系可以是确定指纹传感器的各像素点的感光性能差异以及光路差异信息,也就是说,该第一线性关系可以包括:该指纹传感器的各像素点的感光性能差异以及光路差异的参数信息。In this embodiment, determining the first linear relationship may be determining a difference in photographic performance of each pixel of the fingerprint sensor and optical path difference information, that is, the first linear relationship may include: each pixel of the fingerprint sensor Parameter information for differences in photographic performance and optical path differences.
S202、确定测试像素值与图案深度之间的第二线性关系。S202. Determine a second linear relationship between the test pixel value and the pattern depth.
该方法中,可先确定测试像素值的图案深度,继而根据该测试像素值和该测试像素值的图案深度确定该第二线性关系。In the method, the pattern depth of the test pixel value may be determined first, and then the second linear relationship is determined according to the test pixel value and the pattern depth of the test pixel value.
由于指纹传感器的各像素点对应的屏幕内部反射光与光源光强间存在线性关系,而屏幕内部反射光中携带有图案信息,其图案信息的强度与光源光强也成线性关系,故图案信息强度与屏幕内部反射光也为线性关系。因而,在该实施例中,可确定测试像素值与图案深度的线性关系,也就是第二线性关系。Since there is a linear relationship between the reflected light inside the screen corresponding to each pixel point of the fingerprint sensor and the light intensity of the light source, and the reflected light in the screen carries the pattern information, the intensity of the pattern information is also linear with the light intensity of the light source, so the pattern information The intensity is also linear with the reflected light inside the screen. Thus, in this embodiment, a linear relationship between the test pixel value and the pattern depth, that is, the second linear relationship, can be determined.
S203、在手指按压时,采集该每个像素点在预设光强下输出的指纹像素值。S203. Collect a fingerprint pixel value output by the pixel at a preset light intensity when the finger is pressed.
该预设光强可以与采集测试像素值时的光强相同,也可不同。The preset light intensity may be the same as or different from the light intensity when the test pixel value is acquired.
S204、确定该指纹像素值的图案深度。S204. Determine a pattern depth of the fingerprint pixel value.
该指纹像素值的图案深度,可以为该指纹像素值中携带的图案信息的强度。在该实施例中S204中确定该指纹像素值的图案深度的具体实现可与确定测试像素值的图案深度的具体实现类似,在此不再赘述。The pattern depth of the fingerprint pixel value may be the intensity of the pattern information carried in the fingerprint pixel value. The specific implementation of determining the pattern depth of the fingerprint pixel value in S204 in this embodiment may be similar to the specific implementation of determining the pattern depth of the test pixel value, and details are not described herein again.
S205、根据该第二线性关系,对该指纹像素值的图案深度进行校准,得到基准像素值。S205. Calibrate the pattern depth of the fingerprint pixel value according to the second linear relationship to obtain a reference pixel value.
由于该预设光强可能与采集测试像素值时的光强不同,因此,为有效减小该预设光强下的屏幕内部反射光,从而减小预设光强下的指纹像素中图案信息的干扰,可基于该测试像素值与图案信息的线性对应关系,也就是第二线性关系,对该指纹像素值的图案深度进行校准处理,得到采集指纹像素值时的预设光强下的基准像素值,该基准像素值为预设光强下输出的测试像素值,其包含有该预设光强下的屏幕内部反射光。将指纹像素值减去预设光强下的测试像素值,即可减去预设光强下的屏幕内部反射光,消除了屏幕内部反射光对指纹图像的干扰。The preset light intensity may be different from the light intensity when the test pixel value is collected. Therefore, in order to effectively reduce the internal reflected light of the screen under the preset light intensity, the pattern information in the fingerprint pixel under the preset light intensity is reduced. The interference may be based on a linear correspondence between the test pixel value and the pattern information, that is, a second linear relationship, and the pattern depth of the fingerprint pixel value is calibrated to obtain a reference under a preset light intensity when the fingerprint pixel value is collected. a pixel value, the reference pixel value being a test pixel value outputted at a preset light intensity, which includes the internally reflected light of the screen under the preset light intensity. By subtracting the test pixel value under the preset light intensity from the fingerprint pixel value, the internal reflection light of the screen under the preset light intensity can be subtracted, and the interference of the reflected light inside the screen on the fingerprint image is eliminated.
S206、根据该基准像素值和该第一线性关系,对该指纹像素值进行校准,得到指纹图像。S206. Calibrate the fingerprint pixel value according to the reference pixel value and the first linear relationship to obtain a fingerprint image.
该实施例中,可将该指纹像素值减去该基准像素值,以消除屏幕内部反射光的影响,继而用该第一线性关系再次进行校准,减小指纹传感器各像素点的感光差异和光路差异等,有效提高指纹图像的清晰度。In this embodiment, the fingerprint pixel value may be subtracted from the reference pixel value to eliminate the influence of reflected light inside the screen, and then the calibration is performed again by using the first linear relationship to reduce the sensitivity difference and optical path of each pixel of the fingerprint sensor. Differences, etc., effectively improve the clarity of the fingerprint image.
本申请实施例提供的图像处理方法,可通过确定指纹传感器的每个像素点的输出像素值与入射光强之间的第一线性关系,并确定测试像素值与图案深度之间的第二线性关系,当手指按压时,还采集该每个像素点在预设光强下输出的指纹像素值,确定该指纹像素值的图案深度,并根据该第二线性关系对该指纹像素值的图案深度进行校准,得到基准像素值,继而根据该基准像素值和该第一线性关系,对该指纹像素值进行校准得到指纹图像。该方法中,可根据确定的测试像素值与图案深度之间的第二线性关系,对手指按压时指纹像素值的图案深度进行校准,得到基准像素值,继而基于基准像素值对指纹像素值进行校准,有效减小屏幕内部反射光中携带的图案信息对指纹图像的干扰,提高指纹图像的清晰度,提高指纹识别的精度及准确度;同时, 该方法还根据确定每个像素点的输出像素值与入射光强之间的第一线性关系对指纹像素值进行校准,有效减小指纹传感器的每个像素点的感光差异和光路差异等,有效减小各像素点的感光差异和光路差异等对指纹图像的干扰,提高指纹图像的清晰度,提高指纹识别的精度及准确度。The image processing method provided by the embodiment of the present application may determine a first linear relationship between an output pixel value of each pixel point of the fingerprint sensor and an incident light intensity, and determine a second linearity between the test pixel value and the pattern depth. a relationship, when a finger is pressed, collecting a fingerprint pixel value output by the pixel at a preset light intensity, determining a pattern depth of the fingerprint pixel value, and pattern depth of the fingerprint pixel value according to the second linear relationship A calibration is performed to obtain a reference pixel value, and then the fingerprint pixel value is calibrated according to the reference pixel value and the first linear relationship to obtain a fingerprint image. In the method, according to the second linear relationship between the determined test pixel value and the pattern depth, the pattern depth of the fingerprint pixel value when the finger is pressed is calibrated to obtain a reference pixel value, and then the fingerprint pixel value is performed based on the reference pixel value. Calibration, effectively reducing the interference of the pattern information carried in the reflected light inside the screen on the fingerprint image, improving the sharpness of the fingerprint image, improving the accuracy and accuracy of fingerprint recognition; meanwhile, the method is also based on determining the output pixel of each pixel The first linear relationship between the value and the incident light intensity calibrates the fingerprint pixel value, effectively reducing the sensitivity difference and the optical path difference of each pixel of the fingerprint sensor, thereby effectively reducing the sensitivity difference and optical path difference of each pixel. The interference on the fingerprint image improves the sharpness of the fingerprint image and improves the accuracy and accuracy of fingerprint recognition.
可选的,本申请提供的图像处理方法中,可采用测试单元进行按压时,采集每个像素点在至少一个光强下输出的测试像素值,继而根据测试像素值进行线性拟合,得到该每个像素点的输出像素值与入射光强之间的第一线性关系。Optionally, in the image processing method provided by the present application, when the test unit is pressed, the test pixel value outputted by each pixel at at least one light intensity is collected, and then linearly fitted according to the test pixel value, thereby obtaining the A first linear relationship between the output pixel value of each pixel and the incident light intensity.
具体实现时,采用测试单元进行按压时,可以将测试单元按压在显示屏的上表面,如显示屏的盖板玻璃的上表面,采集指纹传感器的每个像素点在至少一种光强下输出的测试像素值。In specific implementation, when the test unit is used for pressing, the test unit can be pressed on the upper surface of the display screen, such as the upper surface of the cover glass of the display screen, and each pixel of the fingerprint sensor is outputted under at least one light intensity. Test pixel value.
该每个像素点在每种光强下输出的测试像素值可通过该每个像素点在每种光强下输出的像素原始数据(Rawdata)表示。The test pixel value output by each pixel at each light intensity can be represented by pixel raw data (Rawdata) output by each pixel at each light intensity.
如上所涉及的测试单元可以由一个测试单元实现,也可由两个或更多个测试单元实现。若该测试单元包括一个测试单元,则在采用测试单元被按压时,需采集每个像素点在多种光强下输出的测试像素值。若该测试单元包括多个,则在采用每个测试单元被按压时,需采集每个像素点在至少一种光强下的测试像素值。The test unit as referred to above may be implemented by one test unit or by two or more test units. If the test unit includes a test unit, when the test unit is pressed, it is necessary to collect test pixel values outputted by each pixel at various light intensities. If the test unit comprises a plurality of test pixels, the test pixel value of each pixel at at least one light intensity is acquired when each test unit is pressed.
无论测试单元包括几个,其每个测试单元需能够均匀反射光源的出射光。也就是说,每个测试单元的表面平整,其均可均匀进行光反射。Regardless of whether the test unit includes several, each test unit needs to be able to uniformly reflect the outgoing light of the light source. That is to say, the surface of each test unit is flat, which can uniformly reflect light.
在本申请的各实施方式中,采用测试单元按压时,可垫高或者,可将测试单元的表面挖空,使得测试单元朝向显示屏的一面为凹面,以有效防止测试单元与显示屏的盖板玻璃间的接触不均导致的花纹干扰。并且采用测试单元按压显示屏的盖板玻璃上时,可有效遮蔽显示屏外部的外界环境光。In various embodiments of the present application, when the test unit is pressed, the surface of the test unit can be hollowed out, so that the test unit faces the display screen with a concave surface to effectively prevent the test unit from being covered by the display screen. Pattern interference caused by uneven contact between the plates. Moreover, when the test unit is pressed on the cover glass of the display screen, the external ambient light outside the display screen can be effectively shielded.
在一个实例中,该测试单元可包括:第一测试单元和第二测试单元。In one example, the test unit can include a first test unit and a second test unit.
其中,第一测试单元可以为肉色或其他颜色的平测试头,该第一测试单元的反射率以大于绝大部分手指的反射率为佳,该第一测试单元的材质可以为硅胶、玻璃、膜(Film)、金属等,且第一测试单元需要能够遮蔽外界环境光。The first test unit may be a flat test head of flesh-colored or other colors. The reflectivity of the first test unit is better than that of most of the fingers. The material of the first test unit may be silica gel or glass. Film, metal, etc., and the first test unit needs to be able to shield ambient light.
该第二测试单元可以为黑色或其他颜色的平测试头,该第二测试单元的 反射率以小于绝大部分手指的反射率为佳,由于第一测试单元的反射率可大于绝大部分手指的反射率,因此,该第二测试单元的反射率还小于第一测试单元的反射率。该第二测试单元的材质也可以为硅胶、玻璃、膜、金属等,且第二测试单元需要能够遮蔽外界环境光。该第二测试单元例如可以为黑色盒子、黑色盖板等。The second test unit may be a flat test head of black or other color, and the reflectivity of the second test unit is better than that of most of the fingers, since the reflectance of the first test unit may be greater than most of the fingers. The reflectivity, therefore, the reflectivity of the second test unit is also less than the reflectivity of the first test unit. The material of the second test unit may also be silica gel, glass, film, metal, etc., and the second test unit needs to be able to shield ambient light. The second test unit can be, for example, a black box, a black cover, or the like.
由于测试单元需遮蔽外界环境光,因此,无论第一测试单元还是第二测试单元,其均为非透明的测试单元。Since the test unit needs to shield the ambient light, it is a non-transparent test unit regardless of the first test unit or the second test unit.
在一种示例中,如上所示的S201中确定该指纹传感器的每个像素点的输出像素值与入射光强之间的第一线性关系,可包括:In an example, determining a first linear relationship between an output pixel value of each pixel of the fingerprint sensor and an incident light intensity in S201 as described above may include:
在采用第一测试单元进行按压时,采集该每个像素点在至少一种光强下输出的第一测试像素值;并且,在采用第二测试单元进行按压时,采集该每个像素点在该至少一种光强下输出的第二测试像素值;When the first test unit is pressed, the first test pixel value outputted by the pixel at at least one light intensity is acquired; and when the second test unit is pressed, the pixel is collected. a second test pixel value outputted by the at least one light intensity;
根据该第一测试像素值和该第二测试像素值,确定该每个像素点的输出像素值与入射光强之间的第一线性关系。And determining, according to the first test pixel value and the second test pixel value, a first linear relationship between the output pixel value of each pixel point and the incident light intensity.
如上所示的测试单元还可以称为测试探头、测试头、测试工具等。The test unit shown above may also be referred to as a test probe, a test head, a test tool, and the like.
以AMOLED硬质显示屏为例,图2C为本申请实施例提供的一种AMOLED硬质显示屏中采用测试单元按压时采集像素值的简要叠层图。该图2C与上述图1A的区别在于,图2C所示的附图中,盖板玻璃上按压有测试单元。当测试单元被按压在盖板玻璃上表面,光源点亮时,光源发出的光向上传播,依次通过密封玻璃、TP层、OCA胶、圆偏光片、盖板玻璃等叠层到达测试单元被反射,光通过各交界面时也都会反射回一部分光,最终达到指纹传感器,使得指纹传感器的各像素点输出对应的测试像素值。其中,该光源例如可以是OLED显示屏的显示像素、LCD显示屏的面光源、显示屏外部的发光二极管(Light-Emitting Diode,简称LED)等任一光源。Taking an AMOLED hard display as an example, FIG. 2C is a schematic stacked diagram of collecting pixel values when a test unit is pressed in an AMOLED hard display provided by an embodiment of the present application. 2C differs from FIG. 1A described above in that, in the drawing shown in FIG. 2C, a test unit is pressed against the cover glass. When the test unit is pressed on the upper surface of the cover glass, when the light source is lit, the light emitted by the light source propagates upward, and is sequentially reflected by the laminate of sealing glass, TP layer, OCA glue, circular polarizer, cover glass, etc. to the test unit. When the light passes through each interface, it will also reflect back some of the light, and finally reach the fingerprint sensor, so that each pixel of the fingerprint sensor outputs a corresponding test pixel value. The light source may be any display source such as a display pixel of an OLED display, a surface light source of an LCD display, or a light-emitting diode (LED) external to the display screen.
同时为方便描述,文中所有改变光强的操作可以包括:改变指纹传感器的曝光时间。例如,增大光强可以用增大指纹传感器的曝光时间,熄灭光源即光强为零可以用将指纹传感器的曝光时间设置为零。上述仅为示例,本申请不对此进行限制。At the same time, for convenience of description, all operations in the text to change the light intensity may include: changing the exposure time of the fingerprint sensor. For example, increasing the light intensity can increase the exposure time of the fingerprint sensor. If the light source is turned off, that is, the light intensity is zero, the exposure time of the fingerprint sensor can be set to zero. The above is only an example, and the present application does not limit this.
一种光强可对应一个光强档位,该至少一种光强可以为至少一种光源光强,其分别对应不同的光强档位。该至少一种光强可包括两种光强,例如, 显示屏的亮度最亮和熄灭时的两种光强。采用第一测试单元按压时的至少一个光强,可以与采用第二测试单元按压时的至少一个光强一一相同。也就是说,对于不同的测试单元,其相同档位的光强相同。例如,对于第一测试单元,可采集M种光强下的第一测试像素值,对于第二测试单元,也采集M种光强下的第二测试像素值,采用第一测试单元按压时的第m个光强与采用第二测试单元按压时的第m个光强相同。A light intensity may correspond to a light intensity gear, and the at least one light intensity may be at least one light source light intensity, which respectively correspond to different light intensity gear positions. The at least one light intensity can include two light intensities, for example, the brightness of the display screen is the brightest and the two light intensities when extinguished. The at least one light intensity when the first test unit is pressed may be the same as the at least one light intensity when the second test unit is pressed. That is to say, for different test units, the light intensity of the same gear position is the same. For example, for the first test unit, the first test pixel value under the M light intensity can be acquired, and for the second test unit, the second test pixel value under the M light intensity is also collected, when the first test unit is pressed. The mth light intensity is the same as the mth light intensity when the second test unit is pressed.
若采用第一测试单元按压显示屏的盖板玻璃上方,第一测试单元可被垫高或挖空,并且第一测试单元需能够遮蔽外界环境光。当第一测试单元被按压,指纹传感器的第n个像素点在第m个光强下的入射光可包括:第m个光强下第n个像素点对应的屏幕内部反射光 第m个光强下第n个像素点对应的盖板玻璃上表面反射光 第m个光强下第n个像素点对应的第一测试单元的反射光 因此,采用第一测试单元按压时,指纹传感器的第n个像素点在M种光强下输出的第一测试像素值可通过如下公式(2)表示。 If the first test unit is pressed above the cover glass of the display screen, the first test unit can be raised or hollowed out, and the first test unit needs to be able to shield the ambient light. When the first test unit is pressed, the incident light of the nth pixel of the fingerprint sensor at the mth light intensity may include: the internal reflection light of the screen corresponding to the nth pixel point of the mth light intensity Reflected light on the upper surface of the cover glass corresponding to the nth pixel point at the mth light intensity The reflected light of the first test unit corresponding to the nth pixel point at the mth light intensity Therefore, when the first test unit is pressed, the first test pixel value outputted by the nth pixel of the fingerprint sensor under the M light intensity can be expressed by the following formula (2).
其中, 为采用第一测试单元按压时,指纹传感器的第n个像素点在第m个光强下输出的第一测试像素值, 包括第一测试单元的表面反射光和内部漫反射光, 携带有显示屏内部各叠层的图案信息,显然 和 都与光源光强成线性关系,且光源光强为零时反射光也都为零,同时 所带的图案信息强度也与光源光强成近似过零点的线性关系。 among them, The first test pixel value output by the nth pixel of the fingerprint sensor at the mth light intensity when the first test unit is pressed, Including the surface reflected light of the first test unit and the internal diffused light, Carrying the pattern information of each laminate inside the display, obviously with Both are linear with the light source intensity, and the reflected light is also zero when the light source intensity is zero. The intensity of the pattern information carried is also a linear relationship with the light source intensity that is approximately zero crossing.
若采用第二测试单元按压显示屏的盖板玻璃上方,第二测试单元也可被垫高或挖空,并且第二测试单元需能够遮蔽外界环境光。当第二测试单元被按压,指纹传感器的第n个像素点在第m个光强下的入射光可包括:第m个光强下第n个像素点对应的屏幕内部反射光 第m个光强下第n个像素点对应的盖板玻璃上表面反射光 第m个光强下第n个像素点对应的第二测试单元的反射光 因此,采用第二测试单元被按压时,指纹传感器的第n个像素点在M种光强下输出的第二测试像素值可通过如下公式(3)表示。 If the second test unit is pressed above the cover glass of the display screen, the second test unit can also be raised or hollowed out, and the second test unit needs to be able to shield the ambient light. When the second test unit is pressed, the incident light of the nth pixel of the fingerprint sensor at the mth light intensity may include: the internal reflection light of the screen corresponding to the nth pixel point of the mth light intensity Reflected light on the upper surface of the cover glass corresponding to the nth pixel point at the mth light intensity The reflected light of the second test unit corresponding to the nth pixel point under the mth light intensity Therefore, when the second test unit is pressed, the second test pixel value outputted by the nth pixel of the fingerprint sensor under the M light intensity can be expressed by the following formula (3).
其中, 为采用第二测试单元按压时,指纹传感器的第n个像素点在第m个光强下输出的第二测试像素值, 包括第二测试单元的表面反射光和内部漫反射光, 携带有显示屏内部各叠层的图案信息,显然 和 都与光源光强成线性关系,且光源光强为零时反射光也都为零,同时 所带的图案信息强度也与光源光强成近似过零点的线性关系。 among them, The second test pixel value output by the nth pixel of the fingerprint sensor at the mth light intensity when the second test unit is pressed, Including the surface reflected light of the second test unit and the internal diffused light, Carrying the pattern information of each laminate inside the display, obviously with Both are linear with the light source intensity, and the reflected light is also zero when the light source intensity is zero. The intensity of the pattern information carried is also a linear relationship with the light source intensity that is approximately zero crossing.
在该实施例中,在采集到该第一测试像素值和该第二测试像素值后,便可对采集到的第一测试像素值和该第二测试像素值,进行线性拟合,得到该第一线性关系。In this embodiment, after the first test pixel value and the second test pixel value are collected, the collected first test pixel value and the second test pixel value may be linearly fitted to obtain the The first linear relationship.
可选的,如上所示的该第一线性关系可包括:第一线性斜率和第一线性截距。在一种实现方式中,上述方法中根据该第一测试像素值和该第二测试像素值,确定该每个像素点的输出像素值与入射光强之间的第一线性关系可包括:Alternatively, the first linear relationship as shown above may include: a first linear slope and a first linear intercept. In an implementation manner, determining, according to the first test pixel value and the second test pixel value, that the first linear relationship between the output pixel value of each pixel point and the incident light intensity may include:
根据该第一测试像素值和该第二测试像素值,确定该第一线性斜率和该第一线性截距;该第一线性斜率为该每个像素点的输出像素值与入射光强的线性斜率,该第一线性截距为该每个像素点的输出像素值与入射光强的线性截距。Determining the first linear slope and the first linear intercept according to the first test pixel value and the second test pixel value; the first linear slope is a linearity of an output pixel value of each pixel point and an incident light intensity The slope, the first linear intercept is a linear intercept of the output pixel value of each pixel point and the incident light intensity.
具体实现时,可将相同光强m下采用第一测试单元和第二测试单元按压时,该每个像素点输出的测试像素值相减,即根据该第一测试像素值和该第二测试像素值,采用下述公式(4)得到该第一线性关系。In a specific implementation, when the first test unit and the second test unit are pressed under the same light intensity m, the test pixel values output by each pixel point are subtracted, that is, according to the first test pixel value and the second test. The pixel value is obtained by the following formula (4).
其中, 为第m个光强下每个像素点输出的第一测试像素值与第二测试像素值的差值。上述公式(4)中,虽然 和 未知,但 与光强分别成线性关系,它们之差也与光源光强成线性关系,且光源光强为零时, 和 之差也为零。而 和 之差的平均值也与光源光强成过零点的线性关系,因此可以将 和 之差表示 和 之差的平均值。因此,对上述公式(4)进行变换后,得到如下公式(5)。 among them, The difference between the first test pixel value and the second test pixel value outputted for each pixel point at the mth light intensity. In the above formula (4), although with Unknown, but Linearly related to the light intensity, and the difference between them is also linear with the light source intensity, and when the light source intensity is zero, with The difference is also zero. and with The average of the difference also has a linear relationship with the light source's light intensity, so it can be with Difference representation with The average of the differences. Therefore, after transforming the above formula (4), the following formula (5) is obtained.
其中, k n可用于表示指纹传感器各像素点的感光性能差异和光路差异, 可用于表示显示屏的盖板玻璃上表面或第一测试单元及第二测试单元脏污划痕等信息。k' n为第一线性斜率,既可表示指纹传感器各像素点的感光性能差异和光路差异,还可表示显示屏的盖板玻璃上表面或第一测试单元及第二测试单元的脏污划痕等信息。对上述公式(5)所表示的方程组进行最小二乘法线性拟合得到k' n和b' n如下公式(6)所示。 among them, k n can be used to indicate the difference in photographic performance and optical path difference of each pixel of the fingerprint sensor. It can be used to indicate information such as the upper surface of the cover glass of the display screen or the dirty scratches of the first test unit and the second test unit. k' n is the first linear slope, which can represent the difference in photographic performance and optical path difference of each pixel of the fingerprint sensor, and can also represent the upper surface of the cover glass of the display screen or the dirty stain of the first test unit and the second test unit. Traces and other information. The least squares linear fitting is performed on the equations represented by the above formula (5) to obtain k' n and b' n as shown in the following formula (6).
b' n可以为该第一线性截距,可用于表示指纹传感器各像素点的感光性能差异。 b' n can be the first linear intercept and can be used to represent the difference in photographic performance of each pixel of the fingerprint sensor.
需指出的是,在该实施例中是以最小二乘法为例进行线性拟合,当然,还可以是采用其他的线性拟合方式,得到该第一线性斜率和第一线性截距。It should be noted that in this embodiment, a linear fitting is performed by taking the least squares method as an example. Of course, other linear fitting methods may be used to obtain the first linear slope and the first linear intercept.
在又一种实现方式中,如上所示的S202中确定该每个像素点的测试像素值与图案深度之间的第二线性关系,可包括:In still another implementation, determining a second linear relationship between the test pixel value and the pattern depth of each pixel in S202 as shown in the above may include:
确定该测试像素值的图案深度,该测试像素值为该第一测试像素值或该第二测试像素值;Determining a pattern depth of the test pixel value, the test pixel value being the first test pixel value or the second test pixel value;
根据该测试像素值和该测试像素值的图案深度,确定该测试像素值与图案深度之间的第二线性关系。A second linear relationship between the test pixel value and the pattern depth is determined based on the test pixel value and the pattern depth of the test pixel value.
其中,该测试像素值的图案深度,可以为该至少一种光强下该测试像素值中携带的图案信息的强度,其可用于表征该至少一种光强下的屏幕内部反射光的强度。例如,对于第一测试像素值的图案深度,可以为该至少一个光强下该第一测试像素值中携带的图案信息的深度;对于第二测试像素值的图案深度,可以为该至少一个光强下该第二测试像素值中携带的图案信息的深度。The pattern depth of the test pixel value may be the intensity of the pattern information carried in the test pixel value under the at least one light intensity, and may be used to characterize the intensity of the internally reflected light of the screen under the at least one light intensity. For example, for the pattern depth of the first test pixel value, the depth of the pattern information carried in the first test pixel value may be the at least one light intensity; and the pattern depth of the second test pixel value may be the at least one light The depth of the pattern information carried in the second test pixel value is emphasized.
可选的,如上所示的图像处理方法中确定测试像素值的图案深度可包括:Optionally, determining the pattern depth of the test pixel value in the image processing method as shown above may include:
根据该第一线性关系,对该测试像素值进行校准,得到第一中间图像;And calibrating the test pixel value according to the first linear relationship to obtain a first intermediate image;
确定该第一中间图像的图案深度。The pattern depth of the first intermediate image is determined.
其中,该测试像素值为该第一测试像素值或该第二测试像素值。The test pixel value is the first test pixel value or the second test pixel value.
在一种实例中,可根据该第一线性关系,对该第二测试像素值进行校准,得到第一中间图像,继而确定该第一中间图像的图案深度。In one example, the second test pixel value can be calibrated according to the first linear relationship to obtain a first intermediate image, and then the pattern depth of the first intermediate image is determined.
示例的,该第一线性关系可包括:如上确定的第一线性斜率k' n和第一线性截距b' n。在该实施方式中,可根据该第一线性斜率k' n和第一线性截距b' n, 对上述公式(3)所示的 采用下述公式(7)进行校准,得到第一中间图像。 For example, the first linear relationship may include: a first linear slope k' n and a first linear intercept b' n determined as above. In this embodiment, according to the first linear slope k' n and the first linear intercept b' n , as shown in the above formula (3) Calibration is performed using the following formula (7) to obtain a first intermediate image.
其中, 为光强m下的第一中间图像,M种光强下的第一中间图像可依次表示为 among them, For the first intermediate image at the light intensity m, the first intermediate image under the M light intensity may be expressed as
可选的,图3A为本申请实施例提供的另一种图像处理方法的流程图。该图3A所示的图像处理方法可对上述实施例中如何确定第一中间图像的图案深度进行说明,如图3A所示,如上所示的方法中确定该第一中间图像的图案深度,可包括:Optionally, FIG. 3A is a flowchart of another image processing method according to an embodiment of the present application. The image processing method shown in FIG. 3A can describe how to determine the pattern depth of the first intermediate image in the above embodiment. As shown in FIG. 3A, the pattern depth of the first intermediate image is determined in the method shown above. include:
S301、确定该第一中间图像的图案区域掩膜和非图案区域掩膜。S301. Determine a pattern area mask and a non-pattern area mask of the first intermediate image.
由于显示屏的内部反射光 携带有内部各叠层的图案信息(特别是TP层的图案信息)。在该实施例中,以TP层的图案信息为例对显示屏的内部反射光 受图案信息的强度影响进行说明。图3B为本申请实施例提供的一种图像信息强度的示意图。如图3B所示,屏幕内部反射光 携带的图案信息存在图案区域AreaP和非图案区域AreaNP, Due to the internal reflected light of the display The pattern information (especially the pattern information of the TP layer) of each of the internal laminates is carried. In this embodiment, the pattern information of the TP layer is taken as an example to reflect the internal light of the display screen. It is explained by the influence of the intensity of the pattern information. FIG. 3B is a schematic diagram of image information strength according to an embodiment of the present application. As shown in Figure 3B, the inside of the screen reflects light The pattern information carried has a pattern area AreaP and a non-pattern area AreaNP,
S302、根据该图案区域掩膜对应的像素点的输出像素值和该非图案区域掩膜对应的像素点的输出像素值,确定该第一中间图像的图案深度。S302. Determine a pattern depth of the first intermediate image according to an output pixel value of the pixel corresponding to the pattern area mask and an output pixel value of the pixel corresponding to the non-pattern area mask.
由于图案信息的强度不便直接表征,因而在该实施方式中可通过对该图案区域掩膜对应的像素点的输出像素值和该非图案区域掩膜对应的像素点的输出像素值进行处理,继而得到用于表征该第一中间图像的图案深度的信息。Since the intensity of the pattern information is directly characterized, the output pixel value of the pixel corresponding to the pattern area mask and the output pixel value of the pixel point corresponding to the non-pattern area mask can be processed in this embodiment, and then Information is obtained for characterizing the depth of the pattern of the first intermediate image.
在一种可选的实施方式中,如上所示的S302中根据该图案区域掩膜对应的像素点的输出像素值和该非图案区域掩膜对应的像素点的输出像素值,确定该第一中间图像的图案深度可包括:In an optional implementation manner, in S302, the first pixel is determined according to an output pixel value of a pixel corresponding to the pattern area mask and an output pixel value of the pixel corresponding to the non-pattern area mask. The pattern depth of the intermediate image may include:
根据第一像素值的平均值和第二像素值的平均值的差值,得到该第一中间图像的图案深度;其中,该第一像素值为该图案区域掩膜对应的像素点的输出像素值,该第二像素值为该非图案区域掩膜对应的像素点的输出像素值。Obtaining a pattern depth of the first intermediate image according to a difference between an average value of the first pixel value and an average value of the second pixel value; wherein the first pixel value is an output pixel of the pixel corresponding to the pattern area mask a value, the second pixel value is an output pixel value of a pixel corresponding to the non-pattern area mask.
示例地,可采用图案区域AreaP内 的平均值和非图案区域AreaNP内 的平均值的差值,得到该第一中间图像的图案深度。由于图案深度与光源光强为线性关系,光源光强越强则图案深度越深。如图3B所示,为便于算法 实现,图案区域AreaP可以用图案区域掩膜MaskP代替,MaskP可以位于AreaP内,可以等于AreaP,也可以完全覆盖AreaP。如图3B所示,为便于算法实现,非图案区域AreaNP可以用非图案区域掩膜MaskNP代替,MaskNP可以为包裹MaskP的周边区域,也可以等于AreaNP或者其他形式。 For example, the pattern area AreaP can be used. Average and non-pattern areas within AreaNP The difference between the average values gives the pattern depth of the first intermediate image. Since the depth of the pattern is linear with the light intensity of the light source, the stronger the light intensity of the light source, the deeper the pattern depth. As shown in FIG. 3B, in order to facilitate the implementation of the algorithm, the pattern area AreaP can be replaced by the pattern area mask MaskP, and the MaskP can be located in the AreaP, which can be equal to AreaP or completely cover AreaP. As shown in FIG. 3B, in order to facilitate the implementation of the algorithm, the non-pattern area AreaNP can be replaced by the non-pattern area mask MaskNP, which can be the surrounding area of the wrapped MaskP, or equal to AreaNP or other forms.
为得到第一中间图像的图案深度,需先采用图案掩膜查找算法确定该第一中间图像的图案区域掩膜MaskP和非图案区域掩膜和非图案区域掩膜MaskNP,并采用图案深度提取算法确定该第一中间图像的图案深度,图案深度提取算法根据MaskP和MaskNP来提取图像中的图案深度,并使所提取的图案深度不受指纹、按压不全或强光等不利因素的影响。In order to obtain the pattern depth of the first intermediate image, the pattern mask mask algorithm is used to determine the pattern region mask MaskP of the first intermediate image and the non-pattern region mask and the non-pattern region mask MaskNP, and the pattern depth extraction algorithm is adopted. Determining the pattern depth of the first intermediate image, the pattern depth extraction algorithm extracts the pattern depth in the image according to MaskP and MaskNP, and makes the extracted pattern depth unaffected by unfavorable factors such as fingerprint, incomplete pressing or strong light.
针对图案掩膜查找算法可以根据不同的显示屏类型可具有多种实现方式。也就是说,上述S301中确定该第一中间图像的图案区域掩膜和非图案区域掩膜可通过多种实现方式实现。The pattern mask lookup algorithm can have multiple implementations depending on the type of display screen. That is to say, the pattern area mask and the non-pattern area mask for determining the first intermediate image in the above S301 can be realized by various implementations.
在一种实现方式中,上述S301中确定该第一中间图像的图案区域掩膜和非图案区域掩膜可包括:In an implementation manner, determining the pattern area mask and the non-pattern area mask of the first intermediate image in the above S301 may include:
根据预设的该显示屏内的叠层图案的信息、预设的该图案信息与该显示屏上显示位置的对应关系、以及该指纹传感器接收到的该叠层图案的信息,确定该叠层图案在该显示屏上的显示位置;Determining the stack according to preset information of the layered pattern in the display screen, a preset correspondence between the pattern information and the display position on the display screen, and information of the layered pattern received by the fingerprint sensor The display position of the pattern on the display;
根据该显示位置,确定该图案区域掩膜和该非图案区域掩膜。The pattern area mask and the non-pattern area mask are determined according to the display position.
具体地,该叠层图案的信息可以为TP层图案的先验信息,例如图案形状、图案线宽、图案线条角度等信息。该图案信息与该显示屏上显示位置的对应关系例如可以为TP层的图案与显示屏的显示区域的绝对位置对应关系。该指纹传感器接收到的该叠层图案的信息例如可以为指纹传感器接收到的固定图案信息,由于固定图案信息显示在显示屏的显示区域的固定位置,因而可根据预设的该叠层图案的信息、预设的该图案信息与该显示屏上显示位置的对应关系、以及该指纹传感器接收到的该叠层图案的信息,确定该叠层图案在该显示屏上的显示位置,继而根据该显示位置推算出此位置下的该图案区域掩膜MaskP和该非图案区域掩膜MaskNP。该叠层图案在该显示屏上的显示位置可以为该叠层图案在显示屏的显示区域的绝对位置。Specifically, the information of the laminated pattern may be a priori information of the TP layer pattern, such as pattern shape, pattern line width, pattern line angle, and the like. The correspondence between the pattern information and the display position on the display screen may be, for example, a correspondence relationship between the pattern of the TP layer and the absolute position of the display area of the display screen. The information of the laminated pattern received by the fingerprint sensor may be, for example, fixed pattern information received by the fingerprint sensor, and the fixed pattern information is displayed at a fixed position of the display area of the display screen, and thus may be according to the preset laminated pattern. Determining, by the information, the corresponding correspondence between the pattern information and the display position on the display screen, and the information of the layer pattern received by the fingerprint sensor, determining a display position of the layer pattern on the display screen, and then according to the The display position estimates the pattern area mask MaskP and the non-pattern area mask MaskNP at this position. The display position of the laminate pattern on the display screen may be the absolute position of the laminate pattern on the display area of the display screen.
在另一种实现方式中,上述S301中确定该第一中间图像的图案区域掩膜和非图案区域掩膜可包括:In another implementation manner, determining the pattern area mask and the non-pattern area mask of the first intermediate image in the above S301 may include:
根据预设的该显示屏内的叠层图案的信息、及光源被点亮时该指纹传感器接收到的屏幕内部反射光,确定该图案区域掩膜和该非图案区域掩膜。The pattern area mask and the non-pattern area mask are determined according to preset information of the layered pattern in the display screen and reflected light inside the screen received by the fingerprint sensor when the light source is illuminated.
具体地,该叠层图案的信息可以为TP层图案的先验信息,例如图案形状、图案线宽、图案线条角度等信息。屏幕内部反射光可以为光源被点亮时,指纹传感器接收到的屏幕内部反射光 在预先获得叠层图案的信息、及该光源被点亮时该指纹传感器接收到的屏幕内部反射光的情况下,便可根据该显示屏内的叠层图案的信息、及该光源被点亮时该指纹传感器接收到的屏幕内部反射光,计算得到确定该图案区域掩膜和该非图案区域掩膜。 Specifically, the information of the laminated pattern may be a priori information of the TP layer pattern, such as pattern shape, pattern line width, pattern line angle, and the like. The reflected light inside the screen can be the reflected light inside the screen received by the fingerprint sensor when the light source is illuminated. When the information of the laminated pattern is obtained in advance and the reflected light is received inside the screen when the light source is illuminated, the information of the laminated pattern in the display screen and the light source may be illuminated. When the fingerprint sensor receives the reflected light inside the screen, the mask of the pattern area and the mask of the non-pattern area are determined.
为使得提取到的该第一中间图像的图案深度不受数据倾斜、指纹、按压不全或强光等不利因素的影响,本申请实施例可通过如下各实现方式去除不利因素。In order to prevent the extracted image depth of the first intermediate image from being affected by unfavorable factors such as data tilt, fingerprint, incomplete pressing or strong light, the embodiments of the present application may remove the unfavorable factors by the following implementation manners.
图4A为本申请实施例提供的又一种图像处理方法的流程图。该图4A可对一种该第一中间图像的图案深度的一种实现方式进行说明。如图4A所示,如上所示的S302中根据该图案区域掩膜对应的像素点的输出像素值和该非图案区域掩膜对应的像素点的输出像素值,确定该第一中间图像的图案深度可包括:FIG. 4A is a flowchart of still another image processing method according to an embodiment of the present application. FIG. 4A illustrates one implementation of a pattern depth of the first intermediate image. As shown in FIG. 4A, in S302, the pattern of the first intermediate image is determined according to the output pixel value of the pixel corresponding to the pattern area mask and the output pixel value of the pixel corresponding to the non-pattern area mask. Depth can include:
S401、对该第一中间图像进行区域划分,得到多个子区域。S401. Perform area division on the first intermediate image to obtain a plurality of sub-areas.
为有效去除数据倾斜、指纹等不良因素对图案深度提取的影响,可以对该第一中间图像进行区域划分。具体实现中,可根据预设的子区域尺寸、子区域个数等参数,对该第一中间图像信息区域划分,实现分块子区域;还可以根据行和/或列的方式对该第一中间图像进行区域划分,每行或每列还可划分为多个子区域。In order to effectively remove the influence of data skew, fingerprint and other adverse factors on the pattern depth extraction, the first intermediate image may be divided into regions. In a specific implementation, the first intermediate image information area may be divided according to a preset sub-area size, a number of sub-areas, and the like, to implement a sub-block sub-area; and the first sub-area may be configured according to a row and/or a column. The intermediate image is divided into regions, and each row or column can be divided into a plurality of sub-regions.
S402、从该多个子区域中确定多个有效子区域;每个有效子区域包括:部分图案区域掩膜和部分非图案区域掩膜。S402. Determine a plurality of effective sub-regions from the plurality of sub-regions; each of the effective sub-regions includes: a partial pattern region mask and a partial non-pattern region mask.
该方法中可会根据每个子区域中包括的掩膜的类型,从该多个子区域中确定有效子区域,每个有效子区域中既包括部分的图案区域掩膜,还包括部分的非图案区域掩膜。若一个子区域中仅包括图案区域掩膜,或者,非图案区域掩膜,则该一个子区域为无效子区域。若一个子区域既不包括图案区域掩膜,也不包括非图案区域掩膜,则该一个子区域也为无效子区域。In the method, the effective sub-regions may be determined from the plurality of sub-regions according to the type of the mask included in each sub-region, and each of the effective sub-regions includes a partial pattern region mask and a partial non-pattern region. Mask. If a sub-area includes only a pattern area mask, or a non-pattern area mask, the one sub-area is an invalid sub-area. If a sub-area does not include a pattern area mask or a non-pattern area mask, the one sub-area is also an invalid sub-area.
示例的,图4B为本申请实施例提供的一种图像划分区域的示意图。如图 4B所示,若一个子区域中既包括部分的图案区域掩膜,还包括部分的非图案区域掩膜,则该一个子区域为有效子区域。For example, FIG. 4B is a schematic diagram of an image division area according to an embodiment of the present application. As shown in FIG. 4B, if a partial region includes a partial pattern region mask and a partial non-pattern region mask, the one sub-region is an effective sub-region.
图4C为本申请实施例提供的另一种图像划分区域的示意图。如图4C所示,以某一行为例,此行中图案区域掩膜MaskP用1表示,而非图案区域掩膜MaskNP用0.5表示,显然此行中可划分为6个有效区域。FIG. 4C is a schematic diagram of another image division area according to an embodiment of the present application. As shown in FIG. 4C, in a certain behavior example, the pattern area mask MaskP in this line is represented by 1, and the non-pattern area mask MaskNP is represented by 0.5. Obviously, this line can be divided into 6 effective areas.
若一个子区域中既包括部分的图案区域掩膜,还包括部分的非图案区域掩膜,则该子区域为有效子区域。If a sub-area includes both a partial pattern area mask and a partial non-pattern area mask, the sub-area is a valid sub-area.
S403、根据第三像素值的平均值和第四像素值的平均值的差值,确定该每个有效子区域的图案深度,其中,该第三像素值为该部分图案区域掩膜对应的像素点的输出像素值,该第四像素值为该部分非图案区域掩膜对应的像素点的输出像素值。S403. Determine, according to a difference between an average value of the third pixel value and an average value of the fourth pixel value, a pattern depth of each of the effective sub-regions, wherein the third pixel value is a pixel corresponding to the partial pattern region mask. An output pixel value of the dot, the fourth pixel value being an output pixel value of a pixel corresponding to the partial non-pattern area mask.
需要指出的是,该S403仅为确定每个有效子区域的图案深度的一种可实现方式,在另一种可实现方式中,还可根据第三像素值中的中间值和该第四像素值中的中间值的差值,确定该每个有效子区域的图案深度。当然,该实施例的方法还可根据该第三像素值中的其它参数值和该第四像素值中的其它参数值的差值,确定该每个有效子区域的图案深度,上述仅为示例,本申请不对此进行限制。It should be noted that the S403 is only one achievable manner for determining the depth of the pattern of each effective sub-region. In another implementation manner, the intermediate value and the fourth pixel of the third pixel value may also be used. The difference in the median value in the value determines the pattern depth of each valid sub-region. Of course, the method of this embodiment may further determine a pattern depth of each valid sub-region according to a difference between other parameter values in the third pixel value and other parameter values in the fourth pixel value, where the above is only an example. This application does not limit this.
S404、根据该多个有效子区域的图案深度,确定该第一中间图像的图案深度。S404. Determine a pattern depth of the first intermediate image according to a pattern depth of the plurality of effective sub-regions.
对所有的有效子区域的图案深度进行预设处理,得到该第一中间图像的图案深度。该预设处理可包括如下至少一种:异常点剔除、加权、投票机制、取平均值等。当然,该预设处理还可以是其他处理方式,上述仅为示例,本申请不对此进行限制。Presetting the pattern depths of all the effective sub-regions to obtain the pattern depth of the first intermediate image. The preset processing may include at least one of the following: abnormal point culling, weighting, voting mechanism, averaging, and the like. Of course, the preset processing may also be other processing manners. The foregoing is only an example, and the present application does not limit this.
该方法中,可通过对该第一中间图像进行区域划分,得到多个子区域,并从中选择有效子区域,确定每个子区域的图案深度,继而根据多个有效子区域的图案深度,确定该第一中间图像的图案深度,可有效避免数据倾斜、指纹等不良因素对图案深度的影响,有效保证图案深度的准确度,使得最终提前的指纹图像更准确,有效保证指纹识别的精度及准确度。In the method, the first intermediate image is divided into regions to obtain a plurality of sub-regions, and an effective sub-region is selected therefrom, and the pattern depth of each sub-region is determined, and then the pattern depth is determined according to the pattern depths of the plurality of effective sub-regions. The depth of the pattern of an intermediate image can effectively avoid the influence of data skew, fingerprint and other adverse factors on the depth of the pattern, and effectively ensure the accuracy of the pattern depth, so that the fingerprint image in advance is more accurate, and the accuracy and accuracy of the fingerprint recognition are effectively ensured.
在上述实施方式的基础上,为使得图案深度更准确,还可先对图像进行分割,得到有效区域,继而针对有效区域进行划分,以有效去除数据倾斜、 按压不全、强光等不良因素对图案深度的影响。On the basis of the above embodiments, in order to make the pattern depth more accurate, the image may be first divided to obtain an effective area, and then the effective area is divided to effectively remove the data from the data such as tilt, incompleteness, and glare. The impact of depth.
示例地,如上所示的S401中对该第一中间图像进行区域划分,得到多个子区域可包括:For example, the first intermediate image is divided into regions in S401 as shown above, and obtaining the plurality of sub-regions may include:
对该第一中间图像进行图像分割,去除该第一中间图像的部分区域,得到该第一中间图像的有效区域;Performing image segmentation on the first intermediate image to remove a partial region of the first intermediate image to obtain an effective region of the first intermediate image;
对该有效区域进行区域划分,得到该多个子区域。The effective area is divided into regions to obtain the plurality of sub-regions.
在具体实现过程中,例如可以采用图像分割算法对该第一中间图像进行图像分割,以剔除该第一中间图像中数据倾斜、按压不全、强光等区域。从该第一中间图像中所去除的该部分区域可以为该第一中间图像中,存在数据倾斜、数据不完整、数据饱和等至少一种情况的区域。其中,存在数据倾斜、数据不完整、数据饱和等至少一种情况的区域还可称为不良区域。In a specific implementation process, for example, an image segmentation algorithm may be used to perform image segmentation on the first intermediate image to eliminate regions such as data tilt, incomplete compression, and strong light in the first intermediate image. The partial area removed from the first intermediate image may be an area in the first intermediate image in which at least one of data tilt, data incompleteness, data saturation, and the like exists. Among them, an area in which at least one of data skew, data incompleteness, data saturation, and the like may be referred to as a bad area.
图4D为本申请实施例提供的一种图像分割的示意图。如图4D所示,在该方法中,可对该第一中间图像进行图像分割,去除部分区域,得到有效区域。FIG. 4D is a schematic diagram of image segmentation according to an embodiment of the present application. As shown in FIG. 4D, in the method, image segmentation may be performed on the first intermediate image to remove a partial region to obtain an effective region.
若该第一中间图像中不存在数据倾斜、数据不完整、数据饱和等至少一种情况的区域,则该第一中间图像存在最大有效区域,也称原始有效区域,可表示为Area global。若该第一中间图像中存在数据倾斜、数据不完整、数据饱和等至少一种情况的区域,去除该部分区域后得到的有效区域,得到原始有效区域的子区域,可表示为分割后有效区域Area partition。 If there is no region of at least one of the first intermediate image, such as data skew, data incomplete, data saturation, etc., the first intermediate image has a maximum effective area, also referred to as an original effective area, which may be represented as Area global . If the first intermediate image has an area of at least one of data skew, incomplete data, and data saturation, the effective area obtained by removing the partial area is obtained, and the sub-area of the original effective area is obtained, which may be represented as the divided effective area. Area partition .
如下结合行列子区域划分方式进行描述,基于其他子区域划分方式与此类似,在此不再赘述。分别在原始有效区域Area global和分割后有效区域Area partition内计算每行列的有效子区域的图案深度。显然原始有效区域Area global要大于分割后有效区域Area partition,分别根据各自的行列有效子区域的图案深度得到的各自的图案深度可能存在差异。在量产校准时图案深度提取算法可采用原始有效区域Area global,而在用户应用时图案深度提取算法因数据倾斜、按压不全、强光等不良因素不得不采用分割后有效区域Area partition,使得同一图像因有效区域的不一致导致得到的图像图案深度存在差异,因此本申请还可对分割前后的有效区域的差异做出补偿。 The description is made in the following manner, which is similar to the sub-area partitioning manner, and is not described here. The pattern depth of the effective sub-area of each row of columns is calculated in the original effective area Area global and the divided effective area Area partition , respectively. It is obvious that the original effective area Area global is larger than the divided effective area Area partition , and the respective pattern depths obtained according to the pattern depths of the effective row and sub-areas of the respective rows and columns may be different. In the mass production calibration, the pattern depth extraction algorithm can adopt the original effective area Area global , and in the user application, the pattern depth extraction algorithm has to adopt the split effective area Area partition due to bad factors such as data tilt, incomplete pressing, strong light, etc., so that the same The image has a difference in the depth of the image pattern obtained due to the inconsistency of the effective area, and therefore the present application can also compensate for the difference in the effective area before and after the division.
该方法可包括:对待提取图案深度的图像,如指纹图像进行分割得到分割后有效区域Area partition,计算指纹图像在Area partition内的行列有效子区域的 图案深度,继而根据指纹图像在Area partition内的行列有效子区域的图案深度得到该指纹图像的分割后图案深度FingerDepth partition。 The method may comprise: a depth image treat extraction pattern, such as a fingerprint image obtained by dividing the divided effective area Area partition, calculated pattern depth effective sub-region ranks fingerprint image within Area partition, which in turn fingerprint image within Area partition The pattern depth of the row and column effective sub-regions results in the segmented pattern depth FingerDepth partition of the fingerprint image.
以一预设图像作为固定图像,该固定图像例如可以为 根据上述第一线性关系对 进行校准,得到 消除指纹传感器各像素点的感光性能差异和光路差异对图案深度提取的干扰。其中, 为第二测试单元被按压时,光强m下指纹传感器所有像素点输出的像素值。 Taking a preset image as a fixed image, the fixed image may be, for example, According to the first linear relationship pair described above Calibrate and get Eliminate the difference in photographic performance of each pixel of the fingerprint sensor and the interference of the optical path difference on the pattern depth extraction. among them, When the second test unit is pressed, the pixel value of all the pixel points of the fingerprint sensor under the light intensity m.
该方法还需计算 在原始有效区域Area global内的行列有效子区域的图案深度矩阵DepthMatrix global,继而根据原始有效区域内的行列有效子区域的图案深度矩阵DepthMatrix global得到 在原始有效区域Area global内的图案深度Depth global;并且计算 在分割有效区域Area partition内的行列有效子区域的图案深度矩阵DepthMatrix partition,继而根据分割有效区域Area partition内的行列有效子区域的图案深度矩阵DepthMatrix partition确定 在分割有效区域Area partition内的图案深度Depth partition。 This method also needs to be calculated DepthMatrix global pattern depth matrix effective subregions within the ranks of the original effective area of Area global, then the pattern obtained according to the ranks of active sub-areas within the original matrix of the effective region depth DepthMatrix global The depth of the pattern in the original effective area Area global Depth global ; and calculate Matrix pattern depth DepthMatrix partition active sub-areas divided in the effective region ranks Area partition, which in turn determines the division pattern in accordance with the ranks of active sub-areas within the effective depth of matrix area Area partition DepthMatrix partition The depth of the pattern Depth partition within the area partition of the effective area.
在确定 在原始有效区域内的图案深度Depth global及分割有效区域内的图案深度Depth partition的情况下,还可根据Ratio=Depth global/Depth partition,得到此分割有效区域的补充系数。其中,Ratio为分割有效区域Area partition的补偿系数。 In determining In the case of the pattern depth Depth global in the original effective area and the pattern depth Depth partition in the divided effective area, the complement coefficient of the divided effective area can also be obtained according to Ratio=Depth global /Depth partition . Where Ratio is a compensation coefficient for dividing the effective area Area partition .
一旦补偿系数确定了,便可根据该指纹图像的分割后图案深度FingerDepth partition,以及该补偿系数,确定该指纹图像的原始图案深度FingerDepth global,也称最终指纹图像的最终图案深度。其中,FingerDepth global=FingerDepth partition*Ratio。 Once the compensation coefficient is determined, the original pattern depth FingerDepth global of the fingerprint image, which is also referred to as the final pattern depth of the final fingerprint image, may be determined according to the segmented pattern depth FingerDepth partition of the fingerprint image and the compensation coefficient. Among them, FingerDepth global = FingerDepth partition *Ratio.
以固定图像 为例,在实际应用中还可以将 或者DepthMatrix global进行保存,用以计算补偿系数。该固定图像可以为预设图像。 Fixed image For example, in practical applications, Or save it in DepthMatrix global to calculate the compensation factor. The fixed image can be a preset image.
该方法还可对分割图像造成的图案深度的差异进行补偿,使得确定的图案深度更佳精确,继而有效保证指纹图像的准确度,提高指纹识别的准确度及精度。The method can also compensate for the difference of the pattern depth caused by the segmentation image, so that the determined pattern depth is better and more accurate, and then the accuracy of the fingerprint image is effectively ensured, and the accuracy and precision of the fingerprint recognition are improved.
本申请实施例还对上述方法中第二线性关系的确定进行说明。在一种实例的实现方式中,上述图像处理方法中根据该测试像素值和该测试像素值的图案深度,确定该测试像素值与图案深度之间的第二线性关系,可包括:The determination of the second linear relationship in the above method is also described in the embodiment of the present application. In an implementation of an example, determining a second linear relationship between the test pixel value and the pattern depth according to the test pixel value and the pattern depth of the test pixel value in the image processing method may include:
根据该第一中间图像的图案深度和该第一中间图像,确定第二线性斜率和第二线性截距。A second linear slope and a second linear intercept are determined based on the pattern depth of the first intermediate image and the first intermediate image.
其中,该第二线性关系包括:该第二线性斜率和该第二线性截距,该第二线性斜率为该第一中间图像与该第一中间图像的图案深度的线性斜率,该第二线性截距为该第一中间图像与该第一中间图像的图案深度的线性截距。The second linear relationship includes: the second linear slope and the second linear slope, the second linear slope being a linear slope of the pattern depth of the first intermediate image and the first intermediate image, the second linear The intercept is a linear intercept of the pattern depth of the first intermediate image and the first intermediate image.
以光强m下的第一中间图像 为例,M种光强下的第一中间图像可依次表示为 M种光强下的第一中间图像的图像深度可依次表示为D 1、D 2…D M。 First intermediate image at light intensity m For example, the first intermediate image under M light intensity can be expressed as The image depth of the first intermediate image under M light intensity may be sequentially expressed as D 1 , D 2 ... D M .
该方法中,可将M种光强下的第一中间图像 作为线性坐标系中的Y轴,将M种光强下的第一中间图像的图像深度D 1、D 2…D M作为线性坐标系的X轴,对其进行最小二乘法线性拟合,得到第二线性斜率k p和第二线性截距b p。当然,线性拟合方式还可以为其他方式,此处仅为示例,本申请不对此进行限制。 In this method, the first intermediate image under M light intensity can be used As the Y-axis in the linear coordinate system, the image depths D 1 , D 2 ... D M of the first intermediate image under the M light intensity are taken as the X-axis of the linear coordinate system, and the least squares linear fitting is performed thereon. The second linear slope k p and the second linear intercept b p . Of course, the linear fitting manner may also be other modes, which are merely examples here, and the present application does not limit this.
如上任一所述的图像处理方法中,可直接确定采集到的指纹像素值的图案深度,也可先对采集到的指纹像素值进行处理,再确定处理后的得到的图像的图案深度。在一种实现方式中,可先对采集到的该指纹像素值进行校准,继而确定校准后的图像的图案深度。In the image processing method as described above, the pattern depth of the collected fingerprint pixel values may be directly determined, or the collected fingerprint pixel values may be processed first, and then the processed image depth of the processed image may be determined. In one implementation, the collected fingerprint pixel values may be first calibrated, and then the pattern depth of the calibrated image may be determined.
在一种示例中,如上所示的S204中确定该指纹像素值的图案深度可包括:In one example, determining the pattern depth of the fingerprint pixel value in S204 as shown above may include:
根据该第一线性关系,对该指纹像素值进行校准,得到第二中间图像;And calibrating the fingerprint pixel value according to the first linear relationship to obtain a second intermediate image;
确定该第二中间图像的图案深度。The pattern depth of the second intermediate image is determined.
例如,当手指按压,指纹传感器的第n个像素点在光强i下输出的指纹像素值可通过如下公式(8)表示。For example, when a finger is pressed, the fingerprint pixel value of the nth pixel point of the fingerprint sensor output at the light intensity i can be expressed by the following formula (8).
其中, 为手指按压时在光强i下指纹传感器的第n个像素点输出的指纹像素, 为光强i下第n个像素点对应的手指反射光, 携带有较强的指纹信息, 携带有较弱指纹信息, 携带有屏幕内部各叠层的图案信息。 among them, a fingerprint pixel outputted at the nth pixel point of the fingerprint sensor at the light intensity i when the finger is pressed, The light reflected by the finger corresponding to the nth pixel point under the light intensity i, Carrying strong fingerprint information, Carrying weak fingerprint information, Carrying pattern information for each laminate inside the screen.
该第一线性关系例如可包括:上述得到的第一线性斜率,以及第一线性截距。The first linear relationship may include, for example, the first linear slope obtained above, and the first linear intercept.
在该实施方式中,例如可根据该第一线性斜率k' n和第一线性截距b' n,对上述公式(8)所示的 采用下述公式(9)进行校准,得到第二中间图像。 In this embodiment, for example, according to the first linear slope k' n and the first linear intercept b' n , as shown in the above formula (8) Calibration is performed using the following formula (9) to obtain a second intermediate image.
其中, 为校准后得到的第二中间图像。 among them, The second intermediate image obtained after calibration.
需要说明的是,确定该第二中间图像的图案深度的实现方法,可与上述确定第一中间图像的图案深度的实现方法类似,具体参照上述,在此不再赘述。该第二中间图像的图案深度例如可表示为D F。 It should be noted that the method for determining the depth of the pattern of the second intermediate image may be similar to the method for determining the depth of the pattern of the first intermediate image, and the details are not described herein. The pattern depth of the second intermediate image can be expressed, for example, as D F .
在得到该第二中间图像的基础上,如上所示的方法的S205中根据该第二线性关系,对该指纹像素值的图案深度进行校准,得到基准像素值可包括:On the basis of obtaining the second intermediate image, the pattern depth of the fingerprint pixel value is calibrated according to the second linear relationship in S205 of the method shown above, and obtaining the reference pixel value may include:
根据该第二线性关系,对该第二中间图像的图案深度进行校准,得到基准像素值。According to the second linear relationship, the pattern depth of the second intermediate image is calibrated to obtain a reference pixel value.
例如,该第二线性关系可包括:上述得到的第二线性斜率k p,以及第二线性截距b p,第二中间图像的图案深度可表示为D F。那么,该方法中可根据该第二线性关系,采用下述公式(10)对该第二中间图像的图案深度进行校准,得到基准像素值。 For example, the second linear relationship may include: the second linear slope k p obtained above, and the second linear intercept b p , and the pattern depth of the second intermediate image may be expressed as D F . Then, in the method, according to the second linear relationship, the pattern depth of the second intermediate image is calibrated by the following formula (10) to obtain a reference pixel value.
AdjBase=D F*k p+b p 公式(10) AdjBase=D F *k p +b p formula (10)
其中,AdjBase为基准像素值,也称自适应的基准像素值。Among them, AdjBase is the reference pixel value, also called the adaptive reference pixel value.
如上任一所述的图像处理方法中,可根据该基准像素值和该第一线性关系直接对采集到的指纹像素值进行校准,也可先对采集到的指纹像素值进行处理,再根据该基准像素值和该第一线性关系对处理后的得到的图像进行校准。In the image processing method of any of the above, the collected fingerprint pixel value may be directly calibrated according to the reference pixel value and the first linear relationship, or the collected fingerprint pixel value may be processed first, and then according to the The reference pixel value and the first linear relationship calibrate the processed image obtained.
在一种示例中,如上所示的S206中根据该基准像素值和该第一线性关系,对该指纹像素值进行校准,得到指纹图像可包括:In an example, the fingerprint pixel value is calibrated according to the reference pixel value and the first linear relationship in S206 as shown above, and obtaining the fingerprint image may include:
根据该基准像素值和该第一线性关系,对该第二中间图像进行校准,得到指纹图像。The second intermediate image is calibrated according to the reference pixel value and the first linear relationship to obtain a fingerprint image.
例如,该第一线性关系可包括:上述得到的第一线性斜率k' n和第一线性截距b' n,第二中间图像可表示为 那么,该方法中可根据该基准像素值和该第一线性关系,采用下述公式(11)对该第二中间图像进行校准,得到指纹图像。 For example, the first linear relationship may include: the first linear slope k' n obtained above and the first linear intercept b' n , and the second intermediate image may be expressed as Then, in the method, the second intermediate image is calibrated according to the reference pixel value and the first linear relationship by using the following formula (11) to obtain a fingerprint image.
其中,P为最终得到的指纹图像。Where P is the final fingerprint image.
在该实施方式中,根据该第一中间图像的图案深度和该第一中间图像,确定第二线性斜率和第二线性截距,还根据该第一线性关系对该指纹像素进行校准,得到第二中间图像,并确定该第二中间图像的图案深度,继而根据第二线性斜率和第二线性截距对该第二中间图像的图案深度进行校准,得到基准像素值,基准像素值包含采集指纹图像时的预设光强下的屏幕内部反射光,指纹图像减去基准像素值可有效去除预设光强下的屏幕内部反射光,使得指纹图像更佳清晰,保证指纹识别的准确度及精度,提高用户体验。In this embodiment, the second linear slope and the second linear intercept are determined according to the pattern depth of the first intermediate image and the first intermediate image, and the fingerprint pixel is further calibrated according to the first linear relationship to obtain the first And an intermediate image, and determining a pattern depth of the second intermediate image, and then calibrating the pattern depth of the second intermediate image according to the second linear slope and the second linear intercept to obtain a reference pixel value, where the reference pixel value includes the collected fingerprint The internal reflection light of the screen under the preset light intensity, the fingerprint image minus the reference pixel value can effectively remove the internal reflection light of the screen under the preset light intensity, so that the fingerprint image is better and clear, and the accuracy and precision of the fingerprint recognition are ensured. To improve the user experience.
本申请还可提供一种图像处理方法。该图像处理方法为上述实施例所述的图像处理方法的一种可能的示例。图5为本申请实施例提供的再一种图像处理方法的流程图。如图5所示,该方法可包括:The application can also provide an image processing method. This image processing method is one possible example of the image processing method described in the above embodiment. FIG. 5 is a flowchart of still another image processing method according to an embodiment of the present application. As shown in FIG. 5, the method can include:
S501、在采用第一测试单元进行按压时,采集每个像素点在M种光强下输出的第一测试像素值。S501. Collect the first test pixel value output by each pixel point under M light intensity when the first test unit is used for pressing.
该每个像素点在M种光强下输出的第一测试像素值可由上述公式(2)表示,其依次可为: M为大于或等于1的整数。该第一测试单元的反射率以大于绝大部分手指的反射率为佳。 The first test pixel value outputted by each of the pixel points under the M light intensity may be represented by the above formula (2), which may be: M is an integer greater than or equal to 1. The reflectance of the first test unit is better than that of most of the fingers.
S502、在采用第二测试单元进行按压时,采集每个像素点在M种光强下输出的第二测试像素值。S502. Collect a second test pixel value outputted by each pixel point under M light intensity when the second test unit is pressed.
该每个像素点在M种光强下输出的第二测试像素值可由上述公式(3)表示,其依次可以为: M为大于或等于1的整数。该第二测试单元的反射率以小于绝大部分手指的反射率为佳。 The second test pixel value outputted by the respective pixel points under the M light intensity may be represented by the above formula (3), which may be: M is an integer greater than or equal to 1. The reflectance of the second test unit is preferably less than the reflectance of most of the fingers.
S503、根据每个像素点在相同光强m下的第一测试像素值和第二测试像素值的差值,确定第一线性斜率和第一线性截距。S503. Determine a first linear slope and a first linear intercept according to a difference between the first test pixel value and the second test pixel value of each pixel at the same light intensity m.
每个像素点在相同光强m下的第一测试像素值和第二测试像素值的差值可依次表示为:E1、E2、…、EM。其中, The difference between the first test pixel value and the second test pixel value of each pixel at the same light intensity m may be expressed as: E1, E2, ..., EM. among them,
对E 1、E 2、…、E M进行线性拟合,得到第一线性斜率k' n和第一线性截距b' n。 Linear fitting of E 1 , E 2 , ..., E M yields a first linear slope k' n and a first linear intercept b' n .
S504、根据第一线性斜率和第一线性截距,对每个像素点在M种光强下输出的第二测试像素值进行校准,得到第一中间图像。S504. Calibrate the second test pixel value outputted by each pixel point under the M light intensity according to the first linear slope and the first linear intercept to obtain a first intermediate image.
根据第一线性斜率k' n和第一线性截距b' n,依次对 进行校准,得到M种光强下的第一中间图像 其中, According to the first linear slope k' n and the first linear intercept b' n Calibrate to obtain the first intermediate image at M light intensity among them,
S505、确定第一中间图像的图案深度。S505. Determine a pattern depth of the first intermediate image.
采用上述实施例所涉及的图案深度的确定方法依次确定 的图案深度,分别表示为D 1、D 2…D M。 The method for determining the depth of the pattern involved in the above embodiment is sequentially determined. The pattern depths are denoted as D 1 , D 2 ... D M , respectively.
S506、根据第一中间图像及第一中间图像的图案深度,确定第二线性斜率和第二线性截距。S506. Determine a second linear slope and a second linear intercept according to the pattern depths of the first intermediate image and the first intermediate image.
该方法中可将M种光强下的第一中间图像 作为线性坐标系中的Y轴,将M种光强下的第一中间图像的图像深度D 1、D 2…D M作为线性坐标系的X轴,对其进行最小二乘法线性拟合,得到第二线性斜率k p和第二线性截距b p。 The first intermediate image of the M light intensity can be used in the method As the Y-axis in the linear coordinate system, the image depths D 1 , D 2 ... D M of the first intermediate image under the M light intensity are taken as the X-axis of the linear coordinate system, and the least squares linear fitting is performed thereon. The second linear slope k p and the second linear intercept b p .
S507、在手指按压时,采集每个像素点在光强i下输出的指纹像素值。S507. Collect a fingerprint pixel value output by each pixel point under the light intensity i when the finger is pressed.
每个像素点在光强i下输出的指纹像素值可通过上述公式(8)表示,为 The fingerprint pixel value outputted by each pixel at the light intensity i can be expressed by the above formula (8),
S508、根据第一线性斜率和第一线性截距,对该指纹像素值进行校准,得到第二中间图像。S508. Calibrate the fingerprint pixel value according to the first linear slope and the first linear intercept to obtain a second intermediate image.
该方法中,可根据第一线性斜率k' n和第一线性截距b' n,对指纹像素值 进行校准,得到第二中间图像 其中, In the method, the fingerprint pixel value can be based on the first linear slope k' n and the first linear intercept b' n Calibrate to get a second intermediate image among them,
S509、确定第二中间图像的图案深度。S509. Determine a pattern depth of the second intermediate image.
该第二中间图像 的图案深度可表示为D F。 The second intermediate image The pattern depth can be expressed as D F .
S510、根据第二线性斜率和第二线性截距,对该第二中间图像的图案深度进行校准,得到基准像素值。S510. Calibrate the pattern depth of the second intermediate image according to the second linear slope and the second linear intercept to obtain a reference pixel value.
该方法中,可根据第二线性斜率k p和第二线性截距b p,对该第二中间图像 的图案深度D F进行校准,得到基准像素值AdjBase。其中,AdjBase=D F*k p+b p。 In the method, the second intermediate image may be according to the second linear slope k p and the second linear intercept b p The pattern depth D F is calibrated to obtain a reference pixel value AdjBase. Where AdjBase=D F *k p +b p .
S511、根据该基准像素值、该第一线性斜率及第一线性截距,对该第二中间图像进行校准,得到指纹图像。S511. Calibrate the second intermediate image according to the reference pixel value, the first linear slope, and the first linear intercept to obtain a fingerprint image.
该方法中,可根据基准像素值AdjBase、第一线性斜率k' n和第一线性截距b' n,对第二中间图像 进行校准,得到指纹图像P,其中, In the method, the second intermediate image may be compared according to the reference pixel value AdjBase, the first linear slope k' n and the first linear intercept b' n Perform calibration to obtain a fingerprint image P, where
该方法中,可对第二测试像素值进行校准,得到第一中间图像,继而根据第一中间图像与图案深度之间的第二线性关系,对指纹像素的图案深度进行校准,得到基准像素值,继而基于基准像素值度对指纹像素值进行校准,有效减小屏幕内部各叠层的反射光中携带的图案信息对指纹图像的干扰,提高指纹图像的清晰度,提高指纹识别的精度及准确度;同时,该方法还根据确定每个像素点的输出像素值与入射光强之间的第一线性关系对指纹像素进行校准,有效减小指纹传感器的每个像素点的感光差异和光路差异等,有效减小各像素点的感光差异和光路差异等对指纹像素的干扰,提高指纹图像的清晰度,提高指纹识别的精度及准确度。In the method, the second test pixel value may be calibrated to obtain a first intermediate image, and then the pattern depth of the fingerprint pixel is calibrated according to a second linear relationship between the first intermediate image and the pattern depth to obtain a reference pixel value. Then, the fingerprint pixel value is calibrated based on the reference pixel value, thereby effectively reducing the interference of the pattern information carried in the reflected light of each layer of the screen on the fingerprint image, improving the sharpness of the fingerprint image, and improving the accuracy and accuracy of the fingerprint recognition. At the same time, the method also calibrates the fingerprint pixel according to the first linear relationship between the output pixel value of each pixel and the incident light intensity, thereby effectively reducing the sensitivity difference and optical path difference of each pixel of the fingerprint sensor. Etc., effectively reducing the interference of fingerprint pixels and the optical path difference of each pixel, improving the sharpness of the fingerprint image, and improving the accuracy and accuracy of fingerprint recognition.
下述为本申请装置实施例,可以用于执行本申请上述方法实施例,其实现原理和技术效果类似。The following is an embodiment of the device of the present application, which can be used to implement the foregoing method embodiments of the present application, and the implementation principle and technical effects are similar.
图6为本申请实施例提供的一种图像处理装置的结构示意图。该图像处理装置可应用于具有指纹识别的电子设备中,该电子设备包括:显示屏和指纹传感器;该指纹传感器位于该显示屏的下方,该指纹传感器包括多个像素点。该图像处理装置可通过软件和/或硬件的方式实现,可集成在该电子设备内部。如图6所示,该图像处理装置60包括:采集模块61、确定模块62及校准模块63。FIG. 6 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present application. The image processing apparatus can be applied to an electronic device having fingerprint recognition, the electronic device comprising: a display screen and a fingerprint sensor; the fingerprint sensor is located below the display screen, and the fingerprint sensor includes a plurality of pixel points. The image processing device can be implemented by software and/or hardware and can be integrated inside the electronic device. As shown in FIG. 6, the
其中,采集模块61,用于在手指按压时,采集指纹传感器的每个像素点在预设光强下输出的指纹像素值。The collecting
确定模块62,用于确定该指纹传感器每个像素点的输出像素值与入射光强之间的第一线性关系以及该每个像素点的测试像素值与图案深度之间的第二线性关系,并确定该指纹像素值的图案深度。a determining
校准模块63,用于根据该第二线性关系,对该指纹像素值的图案深度进行校准,得到基准像素值;根据该基准像素值和该第一线性关系,对该指纹像素值进行校准,得到指纹图像。The
在另一种可实现方式中,采集模块61,还用于在采用第一测试单元进行按压时,采集该每个像素点在至少一种光强下输出的第一测试像素值;并且,在采用第二测试单元进行按压时,采集该每个像素点在该至少一种光强下输出的第二测试像素值。In another implementation manner, the acquiring
在又一种可实现方式中,确定模块52,具体用于根据该第一测试像素值和该第二测试像素值,确定该每个像素点的输出像素值与入射光强之间的第一线性关系;确定测试像素值的图案深度,并根据该测试像素值和该测试像素值的图案深度,确定该测试像素值与图案深度之间的第二线性关系,其中该测试像素值为该第一测试像素值或该第二测试像素值。In another implementation manner, the determining module 52 is configured to determine, according to the first test pixel value and the second test pixel value, a first between an output pixel value of each pixel point and an incident light intensity. a linear relationship; determining a pattern depth of the test pixel value, and determining a second linear relationship between the test pixel value and the pattern depth according to the test pixel value and the pattern depth of the test pixel value, wherein the test pixel value is the first A test pixel value or the second test pixel value.
在再一种可实现方式中,该第一线性关系包括:第一线性斜率和第一线性截距;该第一线性斜率为该每个像素点的输出像素值与入射光强的线性斜率,该第一线性截距为该每个像素点的输出像素值与入射光强的线性截距。In still another implementation manner, the first linear relationship includes: a first linear slope and a first linear intercept; the first linear slope is a linear slope of an output pixel value of each pixel point and an incident light intensity, The first linear intercept is a linear intercept of the output pixel value of each pixel point and the incident light intensity.
在又一种可实现方式中,该第一测试单元的反射率大于绝大部分手指的反射率;该第二测试单元的反射率小于绝大部分手指的反射率。In yet another implementation manner, the reflectivity of the first test unit is greater than the reflectivity of most of the fingers; the reflectivity of the second test unit is less than the reflectivity of most of the fingers.
在再一种可实现方式中,确定模块62,具体用于根据该第一线性关系,对该测试像素值进行校准,得到第一中间图像;确定该第一中间图像的图案深度。In a further implementation manner, the determining
在再一种可实现方式中,确定模块62,具体用于根据该第一中间图像的图案深度和该第一中间图像,确定第二线性斜率和第二线性截距;其中,该第二线性关系包括:该第二线性斜率和该第二线性截距,该第二线性斜率为该第一中间图像与该第一中间图像的图案深度的线性斜率,该第二线性截距为该第一中间图像与该第一中间图像的图案深度的线性截距。In a further implementation manner, the determining
在再一种可实现方式中,确定模块62,具体用于确定该第一中间图像的图案区域掩膜和非图案区域掩膜;根据该图案区域掩膜对应的像素点的输出像素值和该非图案区域掩膜对应的像素点的输出像素值,确定该第一中间图像的图案深度。In a further implementation manner, the determining
在再一种可实现方式中,确定模块62,具体用于根据第一像素值的平均值和第二像素值的平均值的差值,得到该第一中间图像的图案深度;其中,该第一像素值为该图案区域掩膜对应的像素点的输出像素值,该第二像素值为该非图案区域掩膜对应的像素点的输出像素值。In a further implementation manner, the determining
在再一种可实现方式中,确定模块62,具体用于根据预设的该显示屏内的叠层图案的信息、预设的该图案信息与该显示屏上显示位置的对应关系、以及该指纹传感器接收到的该叠层图案的信息,确定该叠层图案在该显示屏上的显示位置;根据该显示位置,确定该图案区域掩膜和该非图案区域掩膜。In a further implementation manner, the determining
在再一种可实现方式中,确定模块62,具体用于根据预设的该显示屏内的叠层图案的信息、及光源被点亮时该指纹传感器接收到的屏幕内部反射光,确定该图案区域掩膜和该非图案区域掩膜。In a further implementation manner, the determining
在再一种可实现方式中,确定模块62,具体用于对该第一中间图像进行区域划分,得到多个子区域;从该多个子区域中确定多个有效子区域;每个有效子区域包括:部分图案区域掩膜和部分非图案区域掩膜;根据第三像素值的平均值和第四像素值的平均值的差值,确定该每个有效子区域的图案深度;其中,该第三像素值为该部分图案区域掩膜对应的像素点的输出像素值,该第四像素值为该部分非图案区域掩膜对应的像素点的输出像素值;根据该多个有效子区域的图案深度,确定该第一中间图像的图案深度。In another implementation manner, the determining
在再一种可实现方式中,确定模块62,具体用于对该第一中间图像进行图像分割,去除该第一中间图像的部分区域,得到该第一中间图像的有效区域;对该有效区域进行区域划分,得到该多个子区域。In another implementation manner, the determining
在再一种可实现方式中,确定模块62,具体用于根据该第一线性关系,对该指纹像素值进行校准,得到第二中间图像;确定该第二中间图像的图案深度。In a further implementation manner, the determining
本实施例提供的图像处理装置可执行上述图1至图5中任一所示的图像处理方法,其具体实现及有效效果,可参见上述,在此不再赘述。The image processing apparatus provided in this embodiment can perform the image processing method shown in any of the above-mentioned FIG. 1 to FIG. 5, and the specific implementation and effective effects thereof can be referred to the above, and details are not described herein again.
图7为本申请实施例提供的一种电子设备的结构示意图。如图7所示,本实施例的电子设备70包括:显示屏71和指纹传感器72;指纹传感器72位于显示屏71的下方,指纹传感器72包括多个像素点。电子设备70还包括:存储器73和处理器74。显示屏71、指纹传感器72、存储器73分别通过总线75与处理器74连接。FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in FIG. 7, the
存储器73,用于存储程序指令。The
处理器74,用于调用存储器73存储的该程序指令时,执行如下步骤:The
确定指纹传感器的每个像素点的输出像素值与入射光强之间的第一线性关系;确定测试像素值与图案深度之间的第二线性关系;Determining a first linear relationship between an output pixel value of each pixel of the fingerprint sensor and an incident light intensity; determining a second linear relationship between the test pixel value and the pattern depth;
在手指按压时,采集该每个像素点在预设光强下输出的指纹像素值;Collecting, at a finger press, a fingerprint pixel value output by each pixel at a preset light intensity;
确定该指纹像素值的图案深度;Determining a pattern depth of the fingerprint pixel value;
根据该第二线性关系,对该指纹像素值的图案深度进行校准,得到基准像素值;根据该基准像素值和该第一线性关系,对该指纹像素值进行校准,得到指纹图像。According to the second linear relationship, the pattern depth of the fingerprint pixel value is calibrated to obtain a reference pixel value; and the fingerprint pixel value is calibrated according to the reference pixel value and the first linear relationship to obtain a fingerprint image.
在一种可实现方式中,处理器74,还用于在采用第一测试单元进行按压时,采集该每个像素点在至少一种光强下输出的第一测试像素值;并且,在采用第二测试单元进行按压时,采集该每个像素点在该至少一种光强下输出的第二测试像素值。In an implementation manner, the
在又一种可实现方式中,处理器74,具体用于根据该第一测试像素值和该第二测试像素值,确定该每个像素点的输出像素值与入射光强之间的第一线性关系;确定测试像素值的图案深度,并根据该测试像素值和该测试像素值的图案深度,确定该测试像素值与图案深度之间的第二线性关系,其中该测试像素值为该第一测试像素值或该第二测试像素值。In another implementation manner, the
在再一种可实现方式中,该第一线性关系包括:第一线性斜率和第一线性截距。In still another implementation manner, the first linear relationship includes: a first linear slope and a first linear intercept.
处理器74,具体用于根据该第一测试像素值和该第二测试像素值,确定该第一线性斜率和该第一线性截距;该第一线性斜率为该每个像素点的输出像素值与入射光强的线性斜率,该第一线性截距为该每个像素点的输出像素值与入射光强的线性截距。The
在又一种可实现方式中,该第一测试单元的反射率大于该手指的反射率;该第二测试单元的反射率小于该手指的反射率。In yet another implementation manner, the reflectivity of the first test unit is greater than the reflectivity of the finger; the reflectivity of the second test unit is less than the reflectivity of the finger.
在再一种可实现方式中,处理器74,具体用于根据该第一线性关系,对该测试像素值进行校准,得到第一中间图像;确定该第一中间图像的图案深度。In a further implementation manner, the
在再一种可实现方式中,处理器74,具体用于根据该第一中间图像的图案深度和该第一中间图像,确定第二线性斜率和第二线性截距;该第二线性关系包括:该第二线性斜率和该第二线性截距,该第二线性斜率为该第一中间图像与该第一中间图像的图案深度的线性斜率,该第二线性截距为该第一中间图像与该第一中间图像的图案深度的线性截距。In a further implementation manner, the
在再一种可实现方式中,处理器74,具体用于确定该第一中间图像的图案区域掩膜和非图案区域掩膜;根据该图案区域掩膜对应的像素点的输出像 素值和该非图案区域掩膜对应的像素点的输出像素值,确定该第一中间图像的图案深度。In another implementation manner, the
在再一种可实现方式中,处理器74,具体用于根据第一像素值的平均值和第二像素值的平均值的差值,得到该第一中间图像的图案深度;其中,该第一像素值为该图案区域掩膜对应的像素点的输出像素值,该第二像素值为该非图案区域掩膜对应的像素点的输出像素值。In a further implementation manner, the
在再一种可实现方式中,处理器74,具体用于根据预设的该显示屏内的叠层图案的信息、预设的该图案信息与该显示屏上显示位置的对应关系、以及该指纹传感器接收到的该叠层图案的信息,确定该叠层图案在该显示屏上的显示位置;根据该显示位置,确定该图案区域掩膜和该非图案区域掩膜。In another implementation manner, the
在再一种可实现方式中,处理器74,具体用于根据预设的该显示屏内的叠层图案的信息、及光源被点亮时该指纹传感器接收到的屏幕内部反射光,确定该图案区域掩膜和该非图案区域掩膜。In another implementation manner, the
在再一种可实现方式中,处理器74,具体用于对该第一中间图像进行区域划分,得到多个子区域;从该多个子区域中确定多个有效子区域;每个有效子区域包括:部分图案区域掩膜和部分非图案区域掩膜;根据第三像素值的平均值和第四像素值的平均值的差值,确定该每个有效子区域的图案深度;其中,该第三像素值为该部分图案区域掩膜对应的像素点的输出像素值,该第四像素值为该部分非图案区域掩膜对应的像素点的输出像素值;根据该多个有效子区域的图案深度,确定该第一中间图像的图案深度。In another implementation manner, the
在再一种可实现方式中,处理器74,具体用于对该第一中间图像进行图像分割,去除该第一中间图像的部分区域,得到该第一中间图像的有效区域;对该有效区域进行区域划分,得到该多个子区域。In another implementation manner, the
在再一种可实现方式中,处理器74,具体用于根据该第一线性关系,对该指纹像素值进行校准,得到第二中间图像;确定该第二中间图像的图案深度。In a further implementation manner, the
本实施例提供的电子设备可执行上述图1至图5中任一所示的图像处理方法,其具体实现及有效效果,可参见上述,在此不再赘述。The electronic device provided in this embodiment can perform the image processing method shown in any of the above-mentioned FIG. 1 to FIG. 5, and the specific implementation and effective effects thereof can be referred to the above, and details are not described herein again.
本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序可被上述图7所述的处理器74执行实现上任一实施例所示的图 像处理方法,其具体实现及有效效果,可参见上述,在此不再赘述。The embodiment of the present application further provides a computer readable storage medium, where the computer program is stored, and the computer program can be executed by the
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to the program instructions. The foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only for explaining the technical solutions of the present application, and are not limited thereto; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present application. range.
Claims (19)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201880000396.6A CN108513667B (en) | 2018-04-17 | 2018-04-17 | Image processing method, device, electronic device and storage medium |
| PCT/CN2018/083387 WO2019200533A1 (en) | 2018-04-17 | 2018-04-17 | Image processing method and apparatus and electronic device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2018/083387 WO2019200533A1 (en) | 2018-04-17 | 2018-04-17 | Image processing method and apparatus and electronic device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2019200533A1 true WO2019200533A1 (en) | 2019-10-24 |
Family
ID=63404309
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2018/083387 Ceased WO2019200533A1 (en) | 2018-04-17 | 2018-04-17 | Image processing method and apparatus and electronic device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN108513667B (en) |
| WO (1) | WO2019200533A1 (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112365510A (en) * | 2020-11-12 | 2021-02-12 | Oppo(重庆)智能科技有限公司 | Image processing method, device, equipment and storage medium |
| CN113642371A (en) * | 2020-05-11 | 2021-11-12 | 上海耕岩智能科技有限公司 | Fingerprint imaging apparatus and fingerprint imaging method |
| CN114612398A (en) * | 2022-03-03 | 2022-06-10 | 北京集创北方科技股份有限公司 | Image processing method, device and system |
| CN114636992A (en) * | 2020-12-15 | 2022-06-17 | 深圳市灵明光子科技有限公司 | Camera calibration method, camera, and computer-readable storage medium |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109685032A (en) * | 2018-12-29 | 2019-04-26 | 联想(北京)有限公司 | Image processing method, device, electronic equipment and storage medium |
| WO2020210954A1 (en) * | 2019-04-15 | 2020-10-22 | 深圳市汇顶科技股份有限公司 | Image calibration method and apparatus, and electronic device |
| WO2020223930A1 (en) * | 2019-05-08 | 2020-11-12 | 深圳市柔宇科技有限公司 | Display device and electronic equipment |
| WO2020253262A1 (en) * | 2019-06-21 | 2020-12-24 | 神盾股份有限公司 | Fingerprint sensing module and fingerprint sensing method |
| CN111540084B (en) * | 2020-04-15 | 2021-08-24 | 吉林求是光谱数据科技有限公司 | Fingerprint lock with true and false fingerprint identification function and identification method thereof |
| CN111612935B (en) * | 2020-05-22 | 2022-05-17 | Oppo(重庆)智能科技有限公司 | Method for testing fingerprint under screen |
| KR102847692B1 (en) * | 2020-07-30 | 2025-08-21 | 삼성디스플레이 주식회사 | Display device |
| KR20220034265A (en) * | 2020-08-19 | 2022-03-18 | 삼성디스플레이 주식회사 | Display device and method of detecting fingerprint using the same |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140184541A1 (en) * | 2012-12-28 | 2014-07-03 | Egalax_Empia Technology Inc. | Processing Apparatus of Optical Touch System and Operating Method Thereof |
| CN107045628A (en) * | 2017-04-17 | 2017-08-15 | 京东方科技集团股份有限公司 | A kind of contact panel, display panel, display device and fingerprint identification method |
| CN107275374A (en) * | 2017-05-31 | 2017-10-20 | 北京小米移动软件有限公司 | OLED panel, module, fingerprint identification method, device and storage medium |
| CN107657240A (en) * | 2017-10-09 | 2018-02-02 | 上海天马微电子有限公司 | Display device, fingerprint identification calibration method thereof and electronic equipment |
| CN107690653A (en) * | 2017-08-18 | 2018-02-13 | 深圳市汇顶科技股份有限公司 | Method, device and terminal equipment for acquiring fingerprint images |
-
2018
- 2018-04-17 WO PCT/CN2018/083387 patent/WO2019200533A1/en not_active Ceased
- 2018-04-17 CN CN201880000396.6A patent/CN108513667B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140184541A1 (en) * | 2012-12-28 | 2014-07-03 | Egalax_Empia Technology Inc. | Processing Apparatus of Optical Touch System and Operating Method Thereof |
| CN107045628A (en) * | 2017-04-17 | 2017-08-15 | 京东方科技集团股份有限公司 | A kind of contact panel, display panel, display device and fingerprint identification method |
| CN107275374A (en) * | 2017-05-31 | 2017-10-20 | 北京小米移动软件有限公司 | OLED panel, module, fingerprint identification method, device and storage medium |
| CN107690653A (en) * | 2017-08-18 | 2018-02-13 | 深圳市汇顶科技股份有限公司 | Method, device and terminal equipment for acquiring fingerprint images |
| CN107657240A (en) * | 2017-10-09 | 2018-02-02 | 上海天马微电子有限公司 | Display device, fingerprint identification calibration method thereof and electronic equipment |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113642371A (en) * | 2020-05-11 | 2021-11-12 | 上海耕岩智能科技有限公司 | Fingerprint imaging apparatus and fingerprint imaging method |
| CN112365510A (en) * | 2020-11-12 | 2021-02-12 | Oppo(重庆)智能科技有限公司 | Image processing method, device, equipment and storage medium |
| CN114636992A (en) * | 2020-12-15 | 2022-06-17 | 深圳市灵明光子科技有限公司 | Camera calibration method, camera, and computer-readable storage medium |
| CN114612398A (en) * | 2022-03-03 | 2022-06-10 | 北京集创北方科技股份有限公司 | Image processing method, device and system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108513667B (en) | 2021-07-09 |
| CN108513667A (en) | 2018-09-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108513667B (en) | Image processing method, device, electronic device and storage medium | |
| CN108496184B (en) | Image processing method and device and electronic equipment | |
| CN110610990B (en) | Display screen, display device and mobile terminal | |
| CN103676264B (en) | Embedded touch display panel system with metal wires connected with electrodes of touch sensing layer | |
| CN106095211A (en) | Display floater and preparation method thereof, display device | |
| KR20180067226A (en) | touch sensor capable of detecting fingerprint, and display device and electronic apparatus including the same | |
| WO2020063111A1 (en) | Print detection method and apparatus, print image compensation method and apparatus, and electronic apparatus | |
| WO2020259408A1 (en) | Display device, electronic apparatus, and image acquisition method | |
| CN102402349B (en) | Touch control display device | |
| CN104020896B (en) | Optical touch screen based on grating | |
| US11308725B2 (en) | Touch display device | |
| WO2018000830A1 (en) | Touch substrate and manufacturing method therefor, and touch display device | |
| US20190244002A1 (en) | Display device | |
| CN110290243B (en) | Display device, electronic device, and image acquisition method | |
| CN110287908A (en) | Calibration method, electronic device, and non-volatile computer-readable storage medium | |
| CN105446511A (en) | Touch control display device | |
| WO2019148805A1 (en) | Display module and manufacturing method therefor, and display apparatus | |
| US20180348925A1 (en) | Touch substrate, touch screen and its manufacturing method, and display device | |
| US20140160059A1 (en) | Touch sensor mechanism and manufacturing method thereof | |
| CN110278299A (en) | Display device, electronic apparatus, and image acquisition method | |
| WO2020238026A1 (en) | Display control method and display control device for display panel, and display apparatus | |
| TW201519024A (en) | Touch display device | |
| CN110276330B (en) | Selection method, electronic device, and non-volatile computer-readable storage medium | |
| CN104317436B (en) | A kind of touch-control display module | |
| CN110286716A (en) | Display device, electronic device, and image acquisition method |
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: 18915037 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 18915037 Country of ref document: EP Kind code of ref document: A1 |