CN113095287A - Image processing method, image processing device, mobile terminal and storage medium - Google Patents

Image processing method, image processing device, mobile terminal and storage medium Download PDF

Info

Publication number
CN113095287A
CN113095287A CN202110485387.4A CN202110485387A CN113095287A CN 113095287 A CN113095287 A CN 113095287A CN 202110485387 A CN202110485387 A CN 202110485387A CN 113095287 A CN113095287 A CN 113095287A
Authority
CN
China
Prior art keywords
screen
type
fingerprint
image
protective film
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.)
Pending
Application number
CN202110485387.4A
Other languages
Chinese (zh)
Inventor
徐辽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110485387.4A priority Critical patent/CN113095287A/en
Publication of CN113095287A publication Critical patent/CN113095287A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/13Sensors therefor
    • G06V40/1318Sensors therefor using electro-optical elements or layers, e.g. electroluminescent sensing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/56Extraction of image or video features relating to colour

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Image Input (AREA)
  • Studio Devices (AREA)

Abstract

The application discloses an image processing method, an image processing device, a mobile terminal and a storage medium, and relates to the technical field of terminals. The method is applied to a mobile terminal, the mobile terminal comprises a screen and a fingerprint module, the fingerprint module is positioned below the screen, and the method comprises the following steps: when a fingerprint image acquired by the fingerprint module is acquired, determining whether the type of a protective film on the screen is a specified type or not based on the fingerprint image, wherein the light transmission parameter of the protective film of the specified type is greater than a specified light transmission threshold value; and when the type of the protective film on the screen is the specified type, adjusting the color component of the fingerprint image. The method and the device can optimize the performance of the finger print under the screen aiming at the protective film of the specified type on the screen.

Description

Image processing method, image processing device, mobile terminal and storage medium
Technical Field
The present application relates to the field of terminal technologies, and in particular, to an image processing method and apparatus, a mobile terminal, and a storage medium.
Background
As smart phones enter the full-screen era comprehensively, the optical fingerprint under the screen performs the full-application era, and as the most common technical means, the optical fingerprint under the screen is widely applied to Organic electroluminescent display (OLED) screens or Active-Matrix Organic Light-Emitting diodes (AMOLED) screens, and utilizes the self-luminous characteristics of the pixels of the screen to place a sensor on the back of the screen, when a finger presses the surface of the screen, the screen emits Light to illuminate the finger, the Light path carrying the fingerprint information returns to the sensor, and the sensor is used to restore the fingerprint image, thereby realizing the processes of fingerprint image acquisition and fingerprint identification. However, at present, users usually select some protective films to be attached on the screen of the mobile phone to prevent the screen of the mobile phone from being scratched or damaged, which often affects the fingerprint collection function of the mobile phone.
Disclosure of Invention
In view of the above problems, the present application proposes an image processing method, an apparatus, a mobile terminal, and a storage medium.
In a first aspect, an embodiment of the present application provides an image processing method, which is applied to a mobile terminal, where the mobile terminal includes a screen and a fingerprint module, the fingerprint module is located below the screen, and the method includes: when a fingerprint image acquired by the fingerprint module is acquired, determining whether the type of a protective film on the screen is a specified type or not based on the fingerprint image, wherein the light transmission parameter of the protective film of the specified type is greater than a specified light transmission threshold value; and when the type of the protective film on the screen is the specified type, adjusting the color component of the fingerprint image.
In a second aspect, an embodiment of the present application provides an image processing apparatus, which is applied to a mobile terminal, where the mobile terminal includes a screen and a fingerprint module, the fingerprint module is located below the screen, and the apparatus includes: the protective film determining module is used for determining whether the type of the protective film on the screen is a specified type or not based on the fingerprint image when the fingerprint image collected by the fingerprint module is acquired, wherein the light transmission parameter of the protective film of the specified type is greater than a specified light transmission threshold value; and the image adjusting module is used for adjusting the color component of the fingerprint image when the type of the protective film on the screen is the specified type.
In a third aspect, an embodiment of the present application provides a mobile terminal, including: a screen; the fingerprint module is positioned below the screen; one or more processors; a memory; one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more application programs being configured to perform the image processing method provided by the first aspect above.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code can be called by a processor to execute the image processing method provided in the first aspect.
The application provides an image processing method, an image processing device, a mobile terminal and a storage medium, which are applied to the mobile terminal, wherein the mobile terminal comprises a screen and a fingerprint module, the fingerprint module is located below the screen, when a fingerprint image acquired by the fingerprint module is acquired, whether a protective film type on the screen is an appointed type can be determined based on the fingerprint image, wherein a light transmission parameter of a protective film of the appointed type is larger than an appointed light transmission threshold value, and when the protective film type on the screen is the appointed type, a color component of the fingerprint image can be adjusted. From this, when this application pasted the protection film of appointed type on the screen, the fingerprint image's that accessible dynamic adjustment was gathered colour component optimizes the membrane material suitability, has optimized fingerprint performance under the screen, has avoided leading to the discernment success rate reduction of fingerprint because of the user pad pasting.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows a schematic view of an optical path of an underscreen fingerprint provided in an embodiment of the present application.
FIG. 2 shows a flow diagram of an image processing method according to an embodiment of the present application.
Fig. 3 shows a flow chart of an image processing method according to another embodiment of the present application.
Fig. 4 shows a flowchart of step S210 in an image processing method according to another embodiment of the present application.
Fig. 5 shows a transmittance diagram of a protective film provided in an embodiment of the present application.
Fig. 6 shows a flowchart of step S212 in an image processing method according to another embodiment of the present application.
Fig. 7 shows an RGB color component variation diagram of a protective film provided in an embodiment of the present application.
Fig. 8 shows a schematic diagram of fingerprint imaging performed by an under-screen fingerprint module according to an embodiment of the present application.
Fig. 9 shows a flowchart of step S220 in an image processing method according to another embodiment of the present application.
FIG. 10 shows a flow chart of an image processing method according to yet another embodiment of the present application.
Fig. 11 shows a flowchart of step S320 in an image processing method according to yet another embodiment of the present application.
FIG. 12 shows a block diagram of an image processing apparatus according to an embodiment of the present application.
Fig. 13 is a block diagram of a mobile terminal for executing an image processing method according to an embodiment of the present application.
Fig. 14 is a storage unit for storing or carrying program codes for implementing an image processing method according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an optical path of an underscreen fingerprint of a mobile terminal. Wherein, mobile terminal can include screen 110 and set up fingerprint module 120 in screen 110 below to when the finger pressed the screen 110 surface, fingerprint module 120 can gather the fingerprint image of this finger.
In particular, the screen 110 may be a light emitting display screen 110, i.e. a light emitting layer 111 is provided below the screen 110. For example, the display screen can be an OLED screen, an LED lamp is arranged below the display screen, and after the display screen is pressed by a finger, the LED lamp can be started to control the display screen to emit light.
In this application embodiment, fingerprint module 120 can include fingerprint sensor, and required wave band light can be launched in the luminous layer 111 stimulation of screen 110, and this light upwards sees through screen 110 and maps to the finger on, and the reflection of light takes place for the finger to can be with on the light reflection who carries fingerprint information returns the fingerprint sensor in fingerprint module 120, and then produce fingerprint image information.
As shown in fig. 1, a protective film 130 may be attached to the surface of the screen 110 to prevent scratching or breakage of the screen. Thereby the light that the luminescent layer 111 of screen 110 sent upwards sees through screen 110 and protection film 130 and maps to the finger on, the finger takes place to reflect light, on the fingerprint sensor in fingerprint module 120 is returned to the light reflection that will carry fingerprint information, and then produces fingerprint image information.
As can be seen from the optical path 112 of the under-screen fingerprint technology shown in fig. 1, the optical path 112 passes through the protective film 130 twice, and the state of the protective film 130 greatly affects the quality of the fingerprint image received by the fingerprint sensor, and thus the performance of the under-screen fingerprint. However, the protection films for mobile terminals on the market are more and more in style, such as a water condensation film, a toughened film, a peep-proof film, a delivery film attached when each manufacturer delivers the mobile terminal, and the like, and the thickness, the transmittance, the material and other parameters of the films are different. Therefore, the function of the finger print under the screen (such as the unlocking performance of the finger print under the screen) of the mobile terminal is likely to be greatly influenced by the improper protective film attached on the screen. Therefore, when an improper protective film is attached to the screen, the performance of the finger print under the screen needs to be optimized, and the performance loss caused by attaching the film is reduced.
The inventor finds and provides the image processing method, the device, the mobile terminal and the storage medium, which are provided by the embodiment of the application, and can identify the type of the protective film on the current screen, so that when the protective film of a specified type is identified, the acquired fingerprint image can be optimized, the optimized fingerprint image can be close to the level of the non-sticking film or the delivery film, the performance of the fingerprint under the screen is optimized, and the influence of the protective film on the performance of the fingerprint under the screen of the mobile terminal is reduced. The specific image processing method is described in detail in the following examples.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating an image processing method according to an embodiment of the present application. Be applied to mobile terminal, mobile terminal includes screen and fingerprint module, and this fingerprint module is located the screen below. In a specific embodiment, the image processing method may be applied to the image processing apparatus 700 shown in fig. 12 and a mobile terminal (fig. 13) equipped with the image processing apparatus 700. As will be described in detail with respect to the flow shown in fig. 1, the image processing method may specifically include the following steps:
step S110: when the fingerprint image collected by the fingerprint module is acquired, whether the type of the protective film on the screen is a specified type is determined based on the fingerprint image, wherein the light transmission parameter of the protective film of the specified type is larger than a specified light transmission threshold value.
The light transmittance parameter can be light transmittance and is used for representing the capability of light transmitting through the protective film. Because there is different luminousness in the protection film of difference, and under the very poor protection film condition of luminousness at the screen subsides, can seriously influence the image quality of the fingerprint image that fingerprint module gathered under the screen, and further see on the light path of fingerprint technique under the aforesaid screen, light need pass twice protection film, this kind of influence of very poor protection film of luminousness will further aggravation then, so when the screen is pasting this kind of luminousness very poor protection film, to the fingerprint image that fingerprint module gathered under the screen, generally can't optimize it to being close not the pad pasting or leaving the factory the membrane level. Therefore, in the embodiment of the application, the type of the protective film on the screen of the mobile terminal can be identified firstly, so as to determine whether the fingerprint image collected by the fingerprint module under the screen can be optimized.
Specifically, when receiving the press operation to the screen, mobile terminal can utilize the screen below of screen fingerprint module to carry out fingerprint image's collection. So that it can be determined whether the type of the protective film on the current screen is a designated type based on the fingerprint image. Wherein the light transmission parameter of the protective film of the specified type is greater than the specified light transmission threshold value. The specified transmission threshold can be used to characterize the minimum standard to which light needs to be transmitted through the protective film.
In this application embodiment, the above-mentioned specified type also can be understood as, can carry out the protection film type of the image optimization of this application to the fingerprint image that fingerprint module gathered under the screen, and the specified printing opacity threshold value also can be understood as the level that the printing opacity parameter of protection film on the screen will reach at least when carrying out the image optimization of this application to the fingerprint image that fingerprint module gathered under the screen. That is to say, when the protective film type on the screen is appointed type, can think that the printing opacity parameter of the protective film on the screen is greater than appointed printing opacity threshold value, and the decay is not serious when also being passed through the protective film to the fingerprint image that can gather the fingerprint module under the screen carries out the image optimization of this application, with the influence that reduces the protective film to fingerprint performance under the mobile terminal screen. On the contrary, when the protective film type on the screen is not the appointed type, can regard as the printing opacity parameter of the protective film on the screen to be not more than this appointed printing opacity threshold value, also decay is too serious when also seeing through the protective film to seriously influence the image quality of the fingerprint image that fingerprint module gathered under the screen, through the image optimization of this application, can not optimize it to be close not sticking to the membrane or leave the factory membrane level.
In some embodiments, can be when detecting that the user triggers fingerprint input function, like functions such as fingerprint registration, fingerprint unblock, the collection that fingerprint image was carried out to fingerprint module under the control screen to the judgement of the protective film type on the screen is carried out. In other embodiments, when the touch screen of the user is detected, the mobile terminal may automatically acquire the fingerprint image and determine the type of the protective film, so that the type of the protective film does not need to be determined when the subsequent user triggers the fingerprint input function.
Optionally, the mobile terminal may automatically acquire the fingerprint image acquired by the fingerprint module under the screen when the user touches the screen every preset time period, so as to periodically perform the judgment of the type of the protective film on the screen, thereby avoiding the unreasonable optimization after the subsequent user replaces the protective film. The preset duration can be prestored in the mobile terminal and can be reasonably set according to specific use conditions. For example, the time period may be 1 month or 3 months, but is not limited thereto. It is to be understood that the preset time period may be set by a worker who produces the mobile terminal, or may be set by a user, which is not limited herein. Therefore, the mobile terminal can detect the type of the protective film on the current screen every preset time, and the regular detection of the protective film is realized.
In still other embodiments, it may be that the mobile terminal automatically performs the capturing of the fingerprint image and the detection of the type of the protective film when the user starts the mobile terminal for the first time or each time the mobile terminal is started.
In the embodiment of the present application, the protective film on the screen may be already attached to the screen of the mobile terminal, or may be merely placed on the screen of the mobile terminal, but is not attached to the screen of the mobile terminal, and is not limited herein. It is understood that when the protective film is placed on the screen of the mobile terminal, the acquisition of the fingerprint image and the detection of the type of the protective film may be actively triggered by the user, so that the user may determine whether the protective film is adapted to the fingerprint acquisition function of the mobile terminal.
Step S120: and when the type of the protective film on the screen is the specified type, adjusting the color component of the fingerprint image.
In this application embodiment, when determining that the protective film type on the screen is above-mentioned appointed type, can think that the decay is not serious when light passes through the protective film, consequently can optimize the fingerprint image that fingerprint module gathered under the screen. In particular, the adjustment may be to the color components of the fingerprint image.
It can be understood that, although the light is not attenuated seriously when passing through the specified type of protective film, the attenuation exists all the time, and when the light is mapped on the fingerprint image, part of color components in the image are lost, so that the color components are inconsistent with the color components of the fingerprint image collected when the film is not pasted or the factory film is pasted, and the performance of the fingerprint under the screen is lost. Therefore, when the protective film which is not seriously attenuated is pasted on the screen, the color component of the fingerprint image collected by the fingerprint module under the screen can be adjusted, so that the fingerprint image is close to the level of the non-pasted film or the factory film, and the fingerprint performance under the screen is optimized.
In some embodiments, when the type of the protective film on the screen is a specific type, the color component of the fingerprint image collected by the current under-screen fingerprint module may be adjusted according to a specific color component standard. The specified color component standard may be a color component state of the fingerprint image when the mobile terminal is not pasted with a film or is pasted with a delivery film, and the specified color component standard may be pre-stored in the mobile terminal, or may be set by a worker who produces the mobile terminal through a test.
The image processing method provided by the embodiment of the application is applied to a mobile terminal, the mobile terminal comprises a screen and a fingerprint module, the fingerprint module is located below the screen, when the fingerprint image collected by the fingerprint module under the screen is obtained, whether the type of a protective film on the screen is a specified type can be determined based on the fingerprint image, wherein the light transmission parameter of the protective film of the specified type is larger than a specified light transmission threshold value, and when the type of the protective film on the screen is the specified type, the color component of the fingerprint image can be adjusted. From this, when this application pasted the protection film of appointed type on the screen, the fingerprint image's that accessible dynamic adjustment was gathered colour component optimizes the membrane material suitability, has optimized fingerprint performance under the screen, has avoided leading to the discernment success rate reduction of fingerprint because of the user pad pasting.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating an image processing method according to another embodiment of the present application. As will be described in detail with respect to the flow shown in fig. 3, the image processing method may specifically include the following steps:
step S210: and when the fingerprint image collected by the fingerprint module is acquired, determining whether the type of the protective film on the screen is the designated type according to the image quality of the fingerprint image.
In some embodiments, because the fingerprint module may not acquire the transmittance data of the visual protective film, when acquiring the fingerprint image acquired by the fingerprint module, the mobile terminal may automatically detect whether the type of the protective film on the current screen is a specific type according to the image quality of the fingerprint image, so as to determine whether the fingerprint image acquired by the fingerprint module can be optimized. The image quality may be parameters such as image brightness, image blur, image sharpness, and image resolution, which are specifically selected according to an actual situation, and the embodiment of the present application is not specifically limited.
In some embodiments, the image quality may be an image brightness, which may be used to characterize the brightness of the image. When the light transmittance is poor, the fingerprint image collected by the fingerprint module under the screen is dark, so that whether the type of the protective film on the current screen is the specified type can be determined directly according to the image brightness of the fingerprint image. Specifically, referring to fig. 4, step S220 may include:
step S211: determining whether the image lightness of the fingerprint image is greater than a specified lightness.
The designated lightness can be an image lightness reference value of the fingerprint image collected by the fingerprint module under the screen when the light transmission parameter of the protective film is the designated light transmission threshold value, and can also be a value slightly larger than the image lightness reference value, and the designated lightness is not limited and can be specifically set according to specific conditions.
It can be understood that when the fingerprint image collected by the fingerprint module under the screen is larger than the specified lightness, the collected fingerprint image is considered to be brighter, the light rays are considered to be not seriously attenuated through the protective film, and the type of the protective film on the current screen can be considered to be the specified type. When the fingerprint image that fingerprint module gathered under the screen was not more than appointed lightness, can regard as the fingerprint image of gathering to be dark slightly, can regard as light to see through this protection film attenuation and get more serious, can regard as the protection film type on the current screen not be appointed type.
Step S212: when the image brightness of the fingerprint image is greater than the specified brightness, determining that the type of the protective film on the screen is a specified type.
In the embodiment of the application, when the image brightness of the fingerprint image acquired by the fingerprint module under the screen is greater than the specified brightness, it can be considered that the light is not seriously attenuated by penetrating through the protective film, that is, the light transmission parameter of the protective film on the current screen is greater than the specified light transmission threshold value, and then the mobile terminal can determine that the type of the protective film on the current screen is the specified type. Therefore, the optimization processing of the application can be carried out on the fingerprint image collected by the fingerprint module under the screen subsequently.
Step S213: when the image brightness of the fingerprint image is not greater than the designated brightness, prompt information is generated, and the prompt information is used for indicating that the protective film on the screen is not matched with the fingerprint acquisition function of the mobile terminal currently.
In some embodiments, when the image brightness of the fingerprint image collected by the fingerprint module under the screen is not greater than the specified brightness, it may be considered that the light is attenuated too severely through the protective film, that is, the light transmission parameter of the protective film on the current screen is not greater than the specified light transmission threshold value, and then the mobile terminal may determine that the type of the protective film on the current screen is not the specified type, cannot acquire an effective fingerprint image, and cannot improve the fingerprint image through the optimization processing of the present application. Therefore, the mobile terminal can generate prompt information for indicating that the protective film on the current screen is not matched with the fingerprint acquisition function of the mobile terminal so as to prompt a user to replace the protective film.
Illustratively, referring to fig. 5, fig. 5 shows a transmittance diagram of various protective films. Wherein, the abscissa is the light wave band emitted by the luminescent layer of the screen, and the ordinate is the transmittance of the protective film. It can be seen that, at the wavelength band of 400-500nm, the transmittance of the anti-peeping film is too severely attenuated, and therefore, the anti-peeping film is not a protection film of a specified type. However, since the other films such as the frosted and stiffened film and the water-gel film are not so much attenuated, the other films such as the frosted and stiffened film and the water-gel film are the protection films of the predetermined types.
When no film is pasted or a factory film is pasted on the mobile terminal, the image brightness of the fingerprint image collected by the fingerprint module under the screen is also larger than the specified brightness, so that whether a protective film influencing the fingerprint collection function is pasted needs to be further determined. In some embodiments, the image quality may further include a ratio of each color component of the image, and whether or not a protective film affecting a fingerprint acquisition function is attached may be determined according to a change in the ratio of each color component of the image. Specifically, referring to fig. 6, step S212 may include:
step S2121: when the image lightness of the fingerprint image is greater than the designated lightness, whether the color component proportion of the fingerprint image is matched with a designated component proportion is judged.
Since the transmittance of various protective films is obviously changed in the wavelength band of 400-500nm, when further seen from the light path, light needs to pass through the protective films twice, the change is further aggravated, which may cause the color component of the fingerprint image collected in the wavelength band of 400-500nm to be changed. Illustratively, referring to fig. 7, fig. 7 shows RGB color component variation diagrams of various protective films. It can be seen that the RGB color components of the fingerprint images collected when the film is not attached are consistent, and the RGB color components of the fingerprint images collected when the factory film is attached are substantially consistent. While others, such as frosted rigidized films, water-set films, etc., have one color component much lower than the other.
Therefore, in some embodiments, the color component state corresponding to the factory film or the color state corresponding to the non-film-attached state can be used as the reference state, and then whether the protective film affecting the fingerprint acquisition function is attached to the screen or not is determined by judging whether each color component state of the fingerprint image acquired by the current under-screen fingerprint module is matched with the reference state or not.
As one mode, the ratio of each color component corresponding to the factory film or the ratio of each color component corresponding to the non-film may be used as a specific component ratio, and then it is determined whether the ratio of each color component collected by the fingerprint module under the screen matches the specific component ratio, so as to determine whether a protective film affecting the fingerprint collection function is attached to the screen.
Step S2122: and when the color component proportion of the fingerprint image is not matched with a specified component proportion, determining that the type of the protective film on the screen is a specified type.
It can be understood that when the image brightness of the fingerprint image collected by the current under-screen fingerprint module is greater than the designated brightness, and the color component proportion of the fingerprint image is not matched with the designated component proportion, it can be considered that a protective film influencing the fingerprint collection function is pasted on the screen, and the light transmission parameter of the protective film is greater than the designated light transmission threshold value, so that the type of the protective film on the screen can be determined to be the designated type.
Step S2123: determining that no protective film is attached to the screen when the color component ratios of the fingerprint image match a specified component ratio.
It can be understood that when the lightness of the image of the fingerprint image collected by the current under-screen fingerprint module is greater than the specified lightness and the ratio of each color component of the fingerprint image is matched with the ratio of the specified component, it can be determined that the protective film affecting the fingerprint collection function is not attached to the screen. The film can be not pasted on the screen, or the film pasted on the screen is a delivery film. Therefore, fingerprint images can be acquired subsequently by directly utilizing the fingerprint module under the screen, and various fingerprint functions under the screen, such as a screen unlocking function, can be realized.
Step S220: and when the type of the protective film on the screen is the specified type, adjusting the color component of the fingerprint image.
Since the protective film has a difference in thickness, the thicker the protective film is, the lower the visibility of the fingerprint is in the case of uniform transmittance. For example, referring to fig. 8, fig. 8 is a schematic diagram illustrating a fingerprint imaging performed by an off-screen fingerprint module. Wherein, the fingerprint module comprises camera lens and fingerprint sensor, and this fingerprint sensor can be photosensitive sensor.
As shown in fig. 8, a plane where the screen surface is located is an imaging plane D, when a finger presses the display screen, light generated by the screen luminescent layer irradiates lines of the finger, the reflected light is projected to the imaging plane C through the lens, an object distance between the screen and the lens is a, an optimal image distance between the matched lens and the photosensitive sensor is B, the photosensitive sensor is arranged at a position where the imaging plane C is located, and the photosensitive sensor can acquire clear fingerprint image information at the position where the imaging plane C is located; when the surface of the screen is covered with the protective film, the plane where the surface of the screen is located is an imaging plane d, at the moment, the object distance between the screen and the lens is increased to a, the optimal image distance between the lens and the photosensitive sensor is changed to b, the reflected light is projected to the imaging plane C through the lens, the photosensitive sensor is located at the position of the imaging plane C, and the optimal image distance b at the moment deviates from the imaging plane C, so that the focusing is not clear, the acquired fingerprint image information is blurred, the image resolution is reduced, and the fingerprint performance is influenced. It can be seen that when the thickness of the protective film on the screen is sufficiently large, the image quality of the fingerprint image can also be affected.
Therefore, in some embodiments, after determining that the type of the protective film on the screen is the above-specified type, it is necessary to determine whether the thickness of the protective film is too large, so as to determine whether further optimization of the performance of the finger print under the screen is necessary.
Specifically, the above fingerprint types may include a first type in which a thickness parameter of the film is smaller than a specified thickness, and a second type in which the thickness parameter of the film is not smaller than the specified thickness. The mobile terminal may further determine which type of the designated type the protective film on the screen is after determining that the type of the protective film on the screen is the designated type. To determine if further optimization of the underscreen fingerprint performance is necessary. Wherein, appointed thickness can be under the screen when the clear fingerprint image can be gathered to the imaging surface of fingerprint module, the maximum thickness that the protection film can reach. The designated thickness can be reasonably set according to specific hardware parameters of the fingerprint module under the screen of the mobile terminal, and is not limited here.
The thickness of the protective film is too large, so that focusing is not clear, and a collected fingerprint image is blurred. Therefore, in some embodiments, whether the type of the protective film on the current screen is the first type or the second type may also be determined according to the degree of blurring of the fingerprint image. Specifically, when the type of the pellicle on the screen is the specified type, the mobile terminal may determine whether the image blur degree of the fingerprint image is less than a specified blur degree, and when the image blur degree of the fingerprint image is less than the specified blur degree, the mobile terminal may determine that the type of the pellicle on the screen is the first type. On the contrary, when the image blur degree of the fingerprint image is not less than the designated blur degree, the mobile terminal may determine that the type of the pellicle on the screen is the second type.
Wherein, appointed ambiguity can be the biggest ambiguity that the fingerprint image that the fingerprint module was gathered under the screen can tolerate, and it can specifically set up according to the important degree of specific fingerprint function under the screen, when needing to use the application of fingerprint unblock payment class, appointed ambiguity can set up some lowly, when needing with fingerprint unblock screen, appointed ambiguity can set up some highlyer.
It can be understood that when the image ambiguity of the fingerprint image collected by the fingerprint module under the screen is less than the specified ambiguity, that is, the fingerprint image is relatively clear, and the thickness of the protective film on the current screen can be considered to be in a reasonable thickness range, then the mobile terminal can confirm that the type of the protective film on the current screen is the first type. When the image fuzziness of the fingerprint image collected by the fingerprint module under the screen is not less than the designated fuzziness, namely the fingerprint image is fuzzy, the thickness of the protective film on the current screen is considered to be too large, so that focusing is not clear, and the mobile terminal can confirm that the type of the protective film on the current screen is the second type.
In some embodiments, pixel-based techniques such as analyzing statistical properties of pixel grayscale values and correlations between pixels may be employed to compute image blur for the fingerprint image. Illustratively, the image fuzziness of the fingerprint image may be calculated by using a gray variance algorithm. Specifically, the gray average value of all pixel points in the fingerprint image may be used as a reference, the gray value of each pixel point is subjected to difference calculation, then the sum of squares is calculated, and then the total number of the pixel points is used for standardization, so that the gray variance of the fingerprint image can be obtained.
The average degree of the gray variation of the fingerprint image can be represented by the gray variance, and the larger the average degree of the gray variation is, the clearer the fingerprint image is, and the smaller the average degree of the gray variation is, the more fuzzy the fingerprint image is. Therefore, as one way, the grayscale variance and the image blur degree can be associated to construct a comparison table of the two, so that the above-mentioned determination of whether the image blur degree of the fingerprint image is less than the specified blur degree can be a determination of whether the grayscale variance of the fingerprint image is greater than the specified grayscale variance, wherein the specified grayscale variance can be correspondingly determined from the comparison table according to the specified blur degree.
It is to be understood that the above-mentioned manner of calculating the image blur degree of the fingerprint image is only an example, and is not limited in the embodiment of the present application. For example, a transform domain based technique may be used to calculate the image blur degree of the fingerprint image, because the more high frequency components in the transform domain, the sharper the fingerprint image is, and the less high frequency components the fingerprint image is blurred; the image blur degree of the fingerprint image can also be calculated by adopting a technology based on image gradient, such as a Brenner gradient function, a Tenengrad gradient function, a Laplacian gradient function and the like, so that the blur degree of the fingerprint image is measured by utilizing the gradient of the edge of the fingerprint image, and the fingerprint image is clearer when the gradient is larger.
In some embodiments, when the type of the protective film on the screen is the first type, the thickness of the protective film on the screen can be considered to be in a reasonable thickness range, and the performance of the finger print under the screen can not be further optimized. At this time, the problem of color component change caused by the transmittance of the protective film can be solved, that is, only the color component of the fingerprint image collected by the fingerprint module under the screen can be adjusted.
In other embodiments, when the type of the protective film on the screen is the second type, it may be considered that the thickness of the protective film on the screen is too large currently, which causes unclear focusing, and therefore, it is necessary to solve the problem of focusing and the problem of color component variation due to the transmittance of the protective film.
In some embodiments, can be earlier adjust the formation of image position of fingerprint image to guarantee under the screen that the formation of image position department of fingerprint module after the adjustment can gather clear fingerprint image, then adjust the colour component of the fingerprint image who gathers behind the adjustment formation of image position, further optimize the image quality of fingerprint image.
As a mode, can be provided with the removal subassembly in the fingerprint module, can utilize this removal subassembly to remove fingerprint module to clear formation of image position. Specifically, referring to fig. 9, step S220 may include:
step S221: when the type of the protective film on the screen is the second type, the fingerprint module is controlled to move through the moving assembly until the image fuzziness of a new fingerprint image collected by the fingerprint module after moving is smaller than the specified fuzziness.
In the embodiment of the present application, when the type of the protective film on the screen is the second type, it may be considered that the thickness of the protective film on the screen is too large, and the imaging position of the fingerprint image needs to be adjusted. Specifically, the fingerprint module can be controlled to move under the screen through the moving assembly until the image fuzziness of a new fingerprint image collected by the fingerprint module under the screen after the movement is smaller than the specified fuzziness, namely the fingerprint module is moved to a focusing clear position.
In some embodiments, the optimal imaging position of the fingerprint image may be determined according to the image blur degree of the fingerprint image collected by the under-screen fingerprint module, and then the under-screen fingerprint module is controlled to move to the optimal imaging position by the moving component. And the image fuzziness of the new fingerprint image collected by the screen fingerprint module at the optimal imaging position is less than the specified fuzziness. In other embodiments, the movement module may control the under-screen fingerprint module to move step by step according to the movement step distance until the image blur degree of the new fingerprint image acquired by the under-screen fingerprint module after the movement is smaller than the designated blur degree. The moving step distance may be set according to specific situations, and is not limited herein. Such as 4mm each.
In this application embodiment, fingerprint module can constitute by camera lens and fingerprint sensor under the screen, and camera lens and fingerprint sensor can independently set up respectively in the fingerprint module, also can be connected camera lens and fingerprint sensor with coupling assembling. When camera lens and fingerprint sensor independently set up respectively in the fingerprint module, can set up the removal subassembly on the camera lens, at this moment, adjust the object distance between screen and the camera lens through the removal of removal subassembly control camera lens, the image ambiguity of the new fingerprint image of fingerprint module collection after removing is less than above-mentioned appointed ambiguity.
Optionally, when the moving assembly is arranged on the lens, the optimal position of the lens can be determined firstly, and when the lens is controlled to move to the optimal position by the moving assembly, the fingerprint sensor can be located on the optimal imaging surface, and the image ambiguity of a new fingerprint image acquired by the fingerprint module under the screen can be smaller than the specified ambiguity.
In some embodiments, the moving assembly may also be disposed on the fingerprint sensor, the best position of the fingerprint sensor may be determined first, and when the moving assembly controls the fingerprint sensor to move to the best position, the fingerprint sensor may be located on the best imaging surface, and the image blur degree of the new fingerprint image collected by the fingerprint module under the screen may be smaller than the specified blur degree.
Step S222: adjusting color components of the new fingerprint image.
In the embodiment of the present application, when the image blur degree of the new fingerprint image collected by the moved under-screen fingerprint module is smaller than the specified blur degree, it may be considered that the out-of-focus problem caused by the thickness of the protective film has been solved, and the obtained fingerprint image is a clear image, but since there is also a problem of color component change caused by the transmittance attenuation of the protective film, the color component needs to be adjusted. Specifically, the new fingerprint image that fingerprint module can gather again under the screen after the removal, then adjusts this new fingerprint image's colour component.
It can be understood that, since the judgment of whether the type of the protective film is the designated type is already performed before, the judgment can be omitted at this time, and the color component of the new fingerprint image collected by the underscreen fingerprint module is directly adjusted.
The image processing method provided by the embodiment of the application is applied to a mobile terminal, the mobile terminal comprises a screen and a fingerprint module, the fingerprint module is located below the screen, when the fingerprint image collected by the fingerprint module is acquired, whether the type of a protective film on the screen is a specified type can be determined based on the fingerprint image, wherein the light transmission parameter of the protective film of the specified type is greater than a specified light transmission threshold value, and when the type of the protective film on the screen is the specified type, the color component of the fingerprint image can be adjusted. Because the appointed type can include that the thickness parameter of membrane is less than the first type of appointed thickness to and the thickness parameter of membrane is not less than the second type of appointed thickness, consequently can also carry out further judgement to the protection film type on the screen, when further confirming that the protection film type is the second type, earlier through removing the subassembly control the fingerprint module removes, until after removing the new fingerprint image that the fingerprint module gathered the image ambiguity is less than the appointed ambiguity, then adjust the colour component of the new fingerprint image of gathering. From this, when this application pasted the protection film of appointed type on the screen, the fingerprint image's that accessible dynamic adjustment was gathered colour component optimizes the membrane material suitability, has optimized fingerprint performance under the screen, has avoided leading to the discernment success rate reduction of fingerprint because of the user pad pasting. In addition, when the thickness of the protective film is further identified to be larger, the imaging position of the fingerprint image can be adjusted to be optimal, so that the problem of inaccurate focusing caused by the overlarge thickness of the protective film is solved, then the color component is dynamically adjusted, the level close to the level of the film which is not pasted or leaves the factory is achieved, the performance of the fingerprint under the screen is optimized, and therefore even if the film is pasted on the screen, the identification accuracy rate, the identification speed and the like of the fingerprint cannot be greatly influenced.
Referring to fig. 10, fig. 10 is a flow chart illustrating an image processing method according to another embodiment of the present application. As will be described in detail with respect to the flow shown in fig. 10, the image processing method may specifically include the following steps:
step S310: when the fingerprint image collected by the fingerprint module is acquired, whether the type of the protective film on the screen is a specified type is determined based on the fingerprint image.
In the embodiment of the present application, the content of the step S310 may refer to the content of the foregoing embodiment, and is not described herein again.
Step S320: and when the type of the protective film on the screen is the designated type, adjusting the proportion of the R color component, the G color component and the B color component of the fingerprint image to the same proportion.
Referring to fig. 7, it can be seen that, in the wavelength band of 400-500nm, the ratios of the RGB color components collected from the fingerprint image when the mobile terminal is not attached with a film are the same. In some embodiments, when the type of the protective film on the screen is the designated type, in order to ensure that the optimized level is close to the non-film-sticking level, the proportion of the R color component, the G color component and the B color component of the fingerprint image collected by the fingerprint module under the screen may be adjusted to the same proportion.
As an embodiment, only the color component with the higher proportion may be adjusted, and the color component with the lowest proportion may not be processed. Specifically, referring to fig. 11, step S320 may include:
step S321: determining a minimum value of an R color component, a G color component, and a B color component of the fingerprint image.
Since the color components lost by the light transmittance of the protective film cannot be replenished, in order to ensure that the ratios of the RGB color components of the fingerprint image are the same, the color components having a higher ratio may be weakened so that the ratios of the RGB color components of the final fingerprint image are the same. Specifically, the mobile terminal may determine the minimum value among the R color component, the G color component, and the B color component of the fingerprint image, so as to determine other color components that need to be subjected to the attenuation adjustment.
Step S322: and adjusting a target color component to the minimum value, wherein the target color component is the other color components except the color component corresponding to the minimum value in the R color component, the G color component and the B color component.
In some embodiments, after determining the minimum value of the R color component, the G color component, and the B color component of the fingerprint image, the color component corresponding to the minimum value may be not processed, and the other color components except the color component corresponding to the minimum value may be subjected to reduction processing. Specifically, other color components may be adjusted to the minimum value, so that each color component in the fingerprint image is the same as the color component corresponding to the minimum value, and this also makes the occupation ratios of the R color component, the G color component, and the B color component of the fingerprint image collected by the fingerprint module under the screen the same.
As another embodiment, the attenuation adjustment may be performed on all of the R color component, the G color component, and the B color component in the fingerprint image. Specifically, the R color component, the G color component, and the B color component in the fingerprint image may all be adjusted to specified values, so that the R color component, the G color component, and the B color component in the fingerprint image are the same, and the occupation ratios of the R color component, the G color component, and the B color component of the fingerprint image collected by the fingerprint module under the screen are also the same. The specified value is smaller than the minimum value of the R color component, the G color component, and the B color component of the fingerprint image, and can be set reasonably according to specific situations.
In some embodiments, the optimized fingerprint image may be close to the level of the factory film, and similarly, the ratio of the R color component, the G color component, and the B color component of the fingerprint image collected by the under-screen fingerprint module may be adjusted to the ratio of the color components corresponding to the factory film, which is not described here.
The image processing method provided by the embodiment of the application is applied to a mobile terminal, the mobile terminal comprises a screen and a fingerprint module, the fingerprint module is located below the screen, when the fingerprint image collected by the fingerprint module is acquired, whether the type of a protective film on the screen is a specified type can be determined based on the fingerprint image, wherein the light transmission parameter of the protective film of the specified type is larger than a specified light transmission threshold value, when the type of the protective film on the screen is the specified type, the proportion of an R color component, a G color component and a B color component of the fingerprint image can be adjusted to be the same proportion, and the level close to the non-sticking film is achieved. From this, when this application pasted the protection film of appointed type on the screen, the fingerprint image's that accessible dynamic adjustment was gathered colour component optimizes the membrane material suitability, has optimized fingerprint performance under the screen, has avoided leading to the discernment success rate reduction of fingerprint because of the user pad pasting.
Referring to fig. 12, a block diagram of an image processing apparatus 700 according to an embodiment of the present disclosure is shown, which is applied to a mobile terminal including a screen and a fingerprint module, where the fingerprint module is located below the screen. The image processing apparatus 700 includes: a protective film determination module 710 and an image adjustment module 720. The protective film determining module 710 is configured to determine, when a fingerprint image acquired by the fingerprint module is acquired, whether a type of a protective film on the screen is a specified type based on the fingerprint image, where a light transmission parameter of the specified type of protective film is greater than a specified light transmission threshold; the image adjusting module 720 is configured to adjust a color component of the fingerprint image when the type of the protective film on the screen is the designated type.
In some embodiments, the protective film determination module 710 may include: and the quality identification unit is used for determining whether the type of the protective film on the screen is a specified type according to the image quality of the fingerprint image when the fingerprint image collected by the fingerprint module is acquired.
In some embodiments, the image quality may include image brightness, and the quality identification unit may include: a lightness judgment subunit, configured to judge whether the image lightness of the fingerprint image is greater than a specified lightness; and the film identification subunit is used for determining the type of the protective film on the screen as a specified type when the image brightness of the fingerprint image is greater than the specified brightness.
In some embodiments, the image processing apparatus 700 may further include: and the prompt module is used for generating prompt information when the image brightness of the fingerprint image is not greater than the specified brightness, and the prompt information is used for indicating that the current protective film on the screen is not matched with the fingerprint acquisition function of the mobile terminal.
In some embodiments, the image quality may further include a ratio of color components of the image, and the film identification subunit may be specifically configured to: when the image brightness of the fingerprint image is greater than the designated brightness, judging whether the color component proportion of the fingerprint image is matched with a designated component proportion; and when the color component proportion of the fingerprint image is not matched with a specified component proportion, determining that the type of the protective film on the screen is a specified type.
In some embodiments, the image processing apparatus 700 may further include: and the film sticking judgment module is used for determining that no protective film is stuck on the screen when the ratio of each color component of the fingerprint image is matched with the ratio of the specified component.
In some embodiments, the specified type may include a first type in which the thickness parameter of the film is less than the specified thickness, and the image adjustment module 720 may be specifically configured to: and when the type of the protective film on the screen is the first type, adjusting the color component of the fingerprint image.
In some embodiments, the image processing apparatus 700 may further include: the ambiguity judging module is used for judging whether the image ambiguity of the fingerprint image is less than the specified ambiguity or not when the type of the protective film on the screen is the specified type; and the first type judging module is used for determining the type of the protective film on the screen as the first type when the image fuzziness of the fingerprint image is less than the specified fuzziness.
In other embodiments, the fingerprint module is provided with a moving component, the specified type further includes a second type that the thickness parameter of the film is not less than the specified thickness, and the image adjusting module 720 may also be specifically configured to: when the type of the protective film on the screen is the second type, the fingerprint module is controlled to move through the moving assembly until the image fuzziness of a new fingerprint image collected by the fingerprint module after moving is smaller than the designated fuzziness; adjusting color components of the new fingerprint image.
In some embodiments, the image adjusting module 720 may include: and the color component adjusting unit is used for adjusting the proportion of the R color component, the G color component and the B color component of the fingerprint image to the same proportion when the type of the protective film on the screen is the specified type.
In some embodiments, the color component adjusting unit may be specifically configured to: determining a minimum value of an R color component, a G color component, and a B color component of the fingerprint image; and adjusting a target color component to the minimum value, wherein the target color component is the other color components except the color component corresponding to the minimum value in the R color component, the G color component and the B color component.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
In summary, the image processing apparatus provided in the embodiment of the present application is used to implement the corresponding image processing method in the foregoing method embodiment, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Referring to fig. 13, a block diagram of a mobile terminal according to an embodiment of the present application is shown. The mobile terminal 100 may be a terminal device having an image capture device, such as a smart phone, a smart watch, and smart glasses, which is capable of running an application. The image acquisition device can be cameras of various models. The mobile terminal 100 in the present application may include one or more of the following components: a processor 110, a memory 120, a screen, a fingerprint module, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by the one or more processors 110, the one or more applications configured to perform the method as described in the aforementioned method embodiments.
Processor 110 may include one or more processing cores. The processor 110 interfaces with various components throughout the mobile terminal 100 using various interfaces and lines, and performs various functions of the mobile terminal 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and invoking data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a communication chip.
The Memory 120 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area may also store data created by the mobile terminal 100 in use, such as a phonebook, audio-video data, chat log data, and the like.
It is to be understood that the structure shown in fig. 13 is merely an example, and the mobile terminal 100 may include more or less components than those shown in fig. 13, or may have a completely different configuration than that shown in fig. 13. The embodiments of the present application do not limit this.
Referring to fig. 14, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 800 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 800 includes a non-volatile computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 to perform any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 810 may be compressed, for example, in a suitable form.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (13)

1. An image processing method is applied to a mobile terminal, the mobile terminal comprises a screen and a fingerprint module, the fingerprint module is located below the screen, and the method comprises the following steps:
when a fingerprint image acquired by the fingerprint module is acquired, determining whether the type of a protective film on the screen is a specified type or not based on the fingerprint image, wherein the light transmission parameter of the protective film of the specified type is greater than a specified light transmission threshold value;
and when the type of the protective film on the screen is the specified type, adjusting the color component of the fingerprint image.
2. The method according to claim 1, wherein the determining whether the type of the protective film on the screen is a specified type when the fingerprint image acquired when the screen is touched is acquired comprises:
and when the fingerprint image collected by the fingerprint module is acquired, determining whether the type of the protective film on the screen is the designated type according to the image quality of the fingerprint image.
3. The method of claim 2, wherein the image quality comprises image brightness, and wherein determining whether the type of the protective film on the screen is a specified type based on the image quality of the fingerprint image comprises:
determining whether the image lightness of the fingerprint image is greater than a specified lightness;
when the image brightness of the fingerprint image is greater than the specified brightness, determining that the type of the protective film on the screen is a specified type.
4. The method of claim 3, wherein after the determining whether the image brightness of the fingerprint image is greater than a specified brightness, the method further comprises:
when the image brightness of the fingerprint image is not greater than the designated brightness, prompt information is generated, and the prompt information is used for indicating that the protective film on the screen is not matched with the fingerprint acquisition function of the mobile terminal currently.
5. The method of claim 3, wherein the image quality further comprises a ratio of color components of an image, and wherein determining the type of the protective film on the screen as a specified type when the image lightness of the fingerprint image is greater than the specified lightness comprises:
when the image brightness of the fingerprint image is greater than the designated brightness, judging whether the color component proportion of the fingerprint image is matched with a designated component proportion;
and when the color component proportion of the fingerprint image is not matched with the specified component proportion, determining that the type of the protective film on the screen is a specified type.
6. The method of claim 1, wherein the specified type comprises a first type in which a thickness parameter of a film is less than a specified thickness threshold, and wherein adjusting the color component of the fingerprint image when the type of the on-screen protective film is the specified type comprises:
and when the type of the protective film on the screen is the first type, adjusting the color component of the fingerprint image.
7. The method according to claim 6, wherein before the adjusting the color component of the fingerprint image when the type of the on-screen protective film is the first type, the method further comprises:
when the type of the protective film on the screen is the designated type, judging whether the image fuzziness of the fingerprint image is smaller than the designated fuzziness;
and when the image fuzziness of the fingerprint image is smaller than the specified fuzziness, determining that the type of the protective film on the screen is the first type.
8. The method according to claim 7, wherein a moving component is disposed in the fingerprint module, the specified type includes a second type in which a thickness parameter of the film is not less than a specified thickness threshold, and when the type of the protective film on the screen is the specified type, the adjusting the color component of the fingerprint image includes:
when the type of the protective film on the screen is the second type, the fingerprint module is controlled to move through the moving assembly until the image fuzziness of a new fingerprint image collected by the fingerprint module after moving is smaller than the designated fuzziness;
adjusting color components of the new fingerprint image.
9. The method according to any one of claims 1 to 8, wherein the adjusting the color component of the fingerprint image when the type of the on-screen protective film is the designated type comprises:
and when the type of the protective film on the screen is the designated type, adjusting the proportion of the R color component, the G color component and the B color component of the fingerprint image to the same proportion.
10. The method according to claim 9, wherein the adjusting the aspect ratios of the R color component, the G color component, and the B color component of the fingerprint image to the same aspect ratio when the type of the on-screen protective film is the designated type includes:
determining a minimum value of an R color component, a G color component, and a B color component of the fingerprint image;
and adjusting a target color component to the minimum value, wherein the target color component is the other color components except the color component corresponding to the minimum value in the R color component, the G color component and the B color component.
11. The utility model provides an image processing device which characterized in that is applied to mobile terminal, mobile terminal includes screen and fingerprint module, the fingerprint module is located the screen below, the device includes:
the protective film determining module is used for determining whether the type of the protective film on the screen is a specified type or not based on the fingerprint image when the fingerprint image collected by the fingerprint module is acquired, wherein the light transmission parameter of the protective film of the specified type is greater than a specified light transmission threshold value;
and the image adjusting module is used for adjusting the color component of the fingerprint image when the type of the protective film on the screen is the specified type.
12. A mobile terminal, comprising:
a screen;
the fingerprint module is positioned below the screen;
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to perform the method of any of claims 1-10.
13. A computer-readable storage medium, having stored thereon program code that can be invoked by a processor to perform the method according to any one of claims 1 to 10.
CN202110485387.4A 2021-04-30 2021-04-30 Image processing method, image processing device, mobile terminal and storage medium Pending CN113095287A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110485387.4A CN113095287A (en) 2021-04-30 2021-04-30 Image processing method, image processing device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110485387.4A CN113095287A (en) 2021-04-30 2021-04-30 Image processing method, image processing device, mobile terminal and storage medium

Publications (1)

Publication Number Publication Date
CN113095287A true CN113095287A (en) 2021-07-09

Family

ID=76681273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110485387.4A Pending CN113095287A (en) 2021-04-30 2021-04-30 Image processing method, image processing device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113095287A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117969517A (en) * 2024-03-29 2024-05-03 深圳市仁清卓越科技有限公司 Screen protection film testing method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110235145A (en) * 2019-04-30 2019-09-13 深圳市汇顶科技股份有限公司 Fingerprint identification method, device, electronic equipment and storage medium
CN110263667A (en) * 2019-05-29 2019-09-20 Oppo广东移动通信有限公司 Image processing method, device and electronic equipment
CN111563561A (en) * 2020-07-13 2020-08-21 支付宝(杭州)信息技术有限公司 Fingerprint image processing method and device
CN111709394A (en) * 2020-06-30 2020-09-25 Oppo(重庆)智能科技有限公司 Method and device for identifying fingerprint under screen and storage medium
CN111985391A (en) * 2020-08-18 2020-11-24 Oppo(重庆)智能科技有限公司 Detection method and device of protective film, mobile terminal and storage medium
US20200379145A1 (en) * 2018-02-13 2020-12-03 Huawei Technologies Co., Ltd. Protective film, and method and apparatus for cutting protective film
CN112132125A (en) * 2020-09-29 2020-12-25 Oppo(重庆)智能科技有限公司 Fingerprint identification calibration method and device, electronic device and readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200379145A1 (en) * 2018-02-13 2020-12-03 Huawei Technologies Co., Ltd. Protective film, and method and apparatus for cutting protective film
CN110235145A (en) * 2019-04-30 2019-09-13 深圳市汇顶科技股份有限公司 Fingerprint identification method, device, electronic equipment and storage medium
CN110263667A (en) * 2019-05-29 2019-09-20 Oppo广东移动通信有限公司 Image processing method, device and electronic equipment
CN111709394A (en) * 2020-06-30 2020-09-25 Oppo(重庆)智能科技有限公司 Method and device for identifying fingerprint under screen and storage medium
CN111563561A (en) * 2020-07-13 2020-08-21 支付宝(杭州)信息技术有限公司 Fingerprint image processing method and device
CN111985391A (en) * 2020-08-18 2020-11-24 Oppo(重庆)智能科技有限公司 Detection method and device of protective film, mobile terminal and storage medium
CN112132125A (en) * 2020-09-29 2020-12-25 Oppo(重庆)智能科技有限公司 Fingerprint identification calibration method and device, electronic device and readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117969517A (en) * 2024-03-29 2024-05-03 深圳市仁清卓越科技有限公司 Screen protection film testing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107690653B (en) Method and device for acquiring fingerprint image and terminal equipment
US9098148B2 (en) Detecting and tracking touch on an illuminated surface using a machine learning classifier
US10805543B2 (en) Display method, system and computer-readable recording medium thereof
CN112767392B (en) Image definition determining method, device, equipment and storage medium
US11227141B2 (en) Fingerprint identification device and fingerprint identification method
US20200134282A1 (en) Image processing method, device, electronic apparatus and storage medium
CN106650614A (en) Dynamic calibration method and apparatus
CN109167893B (en) Shot image processing method and device, storage medium and mobile terminal
WO2020216091A1 (en) Image processing method and related apparatus
CN108965728B (en) Brightness adjusting method and terminal
WO2020168858A1 (en) Data self-calibration method and related apparatus
CN107945158A (en) A kind of dirty method and device of detector lens
CN111985391B (en) Method and device for detecting protective film, mobile terminal and storage medium
CN112819854B (en) Ghost detection method, ghost detection device, and readable storage medium
CN105306788A (en) Denoising method and device for photographed image
CN113095287A (en) Image processing method, image processing device, mobile terminal and storage medium
CN112532891A (en) Photographing method and device
CN112672069A (en) Exposure method and apparatus
CN110442313B (en) Display attribute adjusting method and related equipment
US20120206416A1 (en) Interactive Display
CN111368670A (en) Face recognition method and device, readable medium and system thereof
CN115147362A (en) Detection method, detection device and detection system for display panel
US10733706B2 (en) Mobile device, and image processing method for mobile device
CN113191327A (en) Biological characteristic collection method, chip and computer readable storage medium
US20160063711A1 (en) Non-transitory storage medium encoded with computer readable image processing program, information processing system, information processing apparatus, and image processing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination