WO2022127225A1 - Image stitching method and apparatus, and device and storage medium - Google Patents

Image stitching method and apparatus, and device and storage medium Download PDF

Info

Publication number
WO2022127225A1
WO2022127225A1 PCT/CN2021/118350 CN2021118350W WO2022127225A1 WO 2022127225 A1 WO2022127225 A1 WO 2022127225A1 CN 2021118350 W CN2021118350 W CN 2021118350W WO 2022127225 A1 WO2022127225 A1 WO 2022127225A1
Authority
WO
WIPO (PCT)
Prior art keywords
pixel
image
area
overlapping
original image
Prior art date
Application number
PCT/CN2021/118350
Other languages
French (fr)
Chinese (zh)
Inventor
吴桐
梁嘉骏
Original Assignee
北京迈格威科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京迈格威科技有限公司 filed Critical 北京迈格威科技有限公司
Publication of WO2022127225A1 publication Critical patent/WO2022127225A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting

Definitions

  • the present application relates to the technical field of image processing, and in particular, to an image stitching method, apparatus, device and storage medium.
  • Fingerprint recognition has become the mainstream configuration of mobile phone functions, which requires the use of off-screen fingerprint recognition technology while the mobile phone is thinner and lighter.
  • the under-screen fingerprint hardware module solution of ultra-thin mobile phones usually uses an array lens module or a collimator imaging module.
  • the array lens module is composed of a plurality of small lenses spliced together, so the original raw image obtained by the lens array is also spliced from the original images obtained by the multiple small lenses.
  • the imaging area overlaps, and some fingerprint information also overlaps.
  • the sub-images collected by each small lens are usually selected and spliced into an output image for subsequent processing. Stitched images are prone to undesirable conditions such as blocking and grid noise. Therefore, how to improve the fingerprint stitching algorithm is an urgent problem to be solved in the image preprocessing stage.
  • the embodiments of the present application provide an image stitching method, device, device, and storage medium, which make full use of the image information of the overlapping area and the non-overlapping area between sub-images acquired by each small lens (collector), and comprehensively consider the two
  • the image features of the region are processed separately, and then the stitched image of the original image is generated, which reduces the grid noise of the stitched image and makes the stitched image more continuous and smooth.
  • Some embodiments of the present application provide an image stitching method, which may include: acquiring an original image to be processed, where the original image is composed of multiple sub-images collected by multiple collectors; The image of the exposure area is divided into an overlapping area and a non-overlapping area; the overlapping area is an area where the pixel coordinates of the multiple sub-images overlap each other in the original image; the overlapping area and the non-overlapping area are respectively Perform pixel processing to generate first pixel information of the overlapping area and second pixel information of the non-overlapping area; according to the first pixel information and the second pixel information, combine the overlapping area and the non-overlapping area Image stitching is performed on the overlapping area to generate a stitched image of the original image.
  • the method may further include: judging whether there is an overexposed area in the original image; if the overexposed area exists in the original image, selecting the overexposed area for the overexposed area in the original image.
  • An area where the pixel coordinates of the sub-images do not overlap each other is an effective area; the third pixel information of the effective area is calculated; image stitching is performed according to the first pixel information, the second pixel information and the third pixel information, The stitched image of the original image is generated.
  • the judging whether there is an overexposed area in the original image may include: calculating the gradient information of each pixel in the original image; finding whether the gradient information exists in the original image; If there is a first pixel that is smaller than the preset gradient threshold and whose pixel value is within the preset pixel range, the area where the first pixel is located is the overexposed area.
  • the step of performing pixel processing on the overlapping area to generate the first pixel information of the overlapping area may include: separately calculating the overlapping times of each overlapping pixel point in the overlapping area; The pixel value of the overlapping pixel points and the overlapping times are used to calculate the average pixel value of the overlapping pixel points, respectively, and the first pixel information includes the average pixel value of each overlapping pixel point.
  • the step of performing pixel processing on the non-overlapping area to generate the second pixel information of the non-overlapping area may include: a pixel value of each non-overlapping pixel in the non-overlapping area.
  • a preset weight is assigned to generate a weighted pixel value of each of the non-overlapping pixel points, and the second pixel information includes the weighted pixel value of each of the non-overlapping pixel points.
  • the preset weight may be greater than 1.
  • dividing the image of the non-overexposed area into an overlapping area and a non-overlapping area in the original image may include: calculating the plurality of collectors respectively for the non-overexposed area. Obtain the pixel coordinates of each of the sub-images; select an image area where the pixel coordinates of the sub-images overlap each other as the overlapping area, and the remaining image areas are the non-overlapping areas.
  • an image stitching apparatus may include: an acquisition module, configured to acquire an original image to be processed, where the original image is composed of multiple sub-images collected by multiple collectors; a division module, configured with In the original image, the image of the non-overexposed area is divided into an overlapping area and a non-overlapping area; the overlapping area is an area where the pixel coordinates of a plurality of the sub-images overlap each other in the original image; processing a module for performing pixel processing on the overlapping area and the non-overlapping area respectively, to generate the first pixel information of the overlapping area and the second pixel information of the non-overlapping area; For the first pixel information and the second pixel information, image splicing is performed on the overlapping area and the non-overlapping area to generate a spliced image of the original image.
  • an acquisition module configured to acquire an original image to be processed, where the original image is composed of multiple sub-images collected by multiple collectors
  • a division module configured with In the original image, the image of the non-over
  • it may further include: a determination module configured to determine whether there is an overexposed area in the original image; a selection module configured to be configured to determine if the overexposed area exists in the original image , for the overexposed area in the original image, select an area where the pixel coordinates of the sub-image do not overlap each other as an effective area; a calculation module, configured to calculate the third pixel information of the effective area ; the stitching module is further configured to perform image stitching according to the first pixel information, the second pixel information and the third pixel information to generate the stitched image of the original image.
  • the judging module may be configured to: calculate the gradient information of each pixel in the original image; in the original image, find out whether the gradient information is smaller than a preset gradient.
  • the threshold value and the first pixel point whose pixel value is within the preset pixel range, if it exists, the area where the first pixel point is located is the overexposed area.
  • the processing module may be configured to: respectively calculate the overlapping times of each overlapping pixel point in the overlapping area; The average pixel value of the overlapping pixel points, and the first pixel information includes the average pixel value of each of the overlapping pixel points.
  • the processing module may be further configured to: assign a preset weight to the pixel value of each non-overlapping pixel in the non-overlapping area, and generate a pixel value of each non-overlapping pixel.
  • a weighted pixel value, the second pixel information includes the weighted pixel value of each of the non-overlapping pixel points.
  • the preset weight may be greater than 1.
  • the dividing module may be configured to: for the non-overexposed area, calculate the pixel coordinates of each of the sub-images obtained by the plurality of collectors respectively; select the sub-images; The image area where the pixel coordinates of the overlap each other exist is the overlapping area, and the remaining image area is the non-overlapping area.
  • Still other embodiments of the present application provide an electronic device, including: a memory for storing a computer program; and a processor for executing the method of any one of the some embodiments of the present application, to perform a plurality of original sub-images for image stitching.
  • Still other embodiments of the present application provide a non-transitory electronic device-readable storage medium, comprising: a program that, when executed by an electronic device, causes the electronic device to perform any of the foregoing embodiments of the present application The method of an embodiment.
  • the image stitching method, device, device and storage medium provided by the present application can adopt different processing methods for the light leakage area and non-light leakage area of the original image. Divide the image into the overlapping area image and the non-overlapping area image, and then perform different pixel processing on the images of the two areas, and finally integrate the pixel information of the two areas to perform image stitching to generate a stitched image. In this way, for the image of the non-light leakage area , make full use of the image information of the overlapping area and non-overlapping area between the sub-images acquired by each collector, comprehensively consider the image characteristics of the two areas, and perform pixel processing respectively, which reduces the grid noise of the spliced image and makes the splicing The image is more continuous and smoother.
  • FIG. 1 is a schematic structural diagram of an electronic device according to an embodiment of the application.
  • FIG. 2A is a schematic diagram of a fingerprint identification scene according to an embodiment of the present application.
  • FIG. 2B is a schematic diagram of an original image according to an embodiment of the present application.
  • 2C is a schematic diagram of a stitched image according to an embodiment of the application.
  • FIG. 3 is a schematic flowchart of an image stitching method according to an embodiment of the application.
  • FIG. 4 is a schematic flowchart of an image stitching method according to an embodiment of the application.
  • FIG. 5 is a schematic diagram of a stitched image according to an embodiment of the application.
  • 6A to 6B are schematic diagrams of fingerprint images corresponding to the stitched images according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of an image stitching apparatus according to an embodiment of the present application.
  • this embodiment provides an electronic device 1 , which may include: at least one processor 11 and a memory 12 .
  • one processor is used as an example.
  • the processor 11 and the memory 12 can be connected through the bus 10, and the memory 12 can store instructions that can be executed by the processor 11, and the instructions are executed by the processor 11, so that the electronic device 1 can execute all or all of the methods in the following embodiments. Part of the process to perform image stitching on multiple original sub-images.
  • the electronic device 1 may be a mobile phone, a notebook computer, a desktop computer, or a computing system composed of multiple computers.
  • the electronic device 1 may further include a plurality of image collectors 13 , and each collector 13 may be connected to the processor 11 and the memory 12 through the bus 10 , respectively.
  • the multiple collectors 13 may be camera arrays, which are used to collect multiple original sub-images.
  • FIG. 2A is a fingerprint identification scene according to an embodiment of the application, which may include: an electronic device 1, and a fingerprint identification module 14 may be provided on the electronic device 1.
  • the fingerprint identification module 14 may be composed of a small camera array, and a collector 13 Can be a small camera array.
  • the camera array can be triggered to collect the original image of the user's finger, and multiple cameras collect multiple original sub-images to form the original image to be processed.
  • the electronic device 1 After acquiring the original image, the electronic device 1 re-splices the original image to generate a spliced image, and the spliced image can be used as a fingerprint image for subsequent fingerprint identification.
  • the original raw image obtained by the device is a piece of 5
  • the original image of size 100*100 formed by splicing a 20*20 matrix (as shown in Figure 2B).
  • the overlapping area may be uneven.
  • the overlapping area of the five lenses may also be uniform.
  • the pixel positions of the five lenses are: [0:20][17:37][34:54][51:71][68 :88], according to the above method, each small lens non-overlapping area can be selected and stitched into a stitched image with a size of 88*88pixel.
  • the distance between each camera is relatively close, and the image acquisition range overlaps, resulting in overlapping parts between sub-images.
  • the image features of the overlapping area and the non-overlapping area are comprehensively considered, and pixel processing is performed separately. Reduce the grid noise of the stitched image, making the stitched image more continuous and smoother.
  • FIG. 3 is an image stitching method according to an embodiment of the present application.
  • the method can be executed by the electronic device 1 shown in FIG. 1 , and can be applied to the fingerprint recognition scene shown in FIG. 2A to FIG. Image stitching is performed on multiple original sub-images collected by the camera array.
  • the method may include the following steps:
  • Step 301 Acquire an original image to be processed, and the original image may be composed of multiple sub-images collected by multiple collectors 13 .
  • the multiple collectors 13 may be the camera array of the fingerprint identification module 14 of the mobile phone, or may be the image collectors 13 externally connected to the mobile phone, and the collection ranges of the multiple collectors 13 overlap.
  • the collector 13 can collect multiple sub-images of the target object (finger) in real time, and the multiple sub-images constitute the original image of the target object.
  • Step 302 In the original image, the image of the non-overexposed area is divided into an overlapping area and a non-overlapping area.
  • the overlapping area is an area where pixel coordinates of multiple sub-images overlap each other in the original image.
  • the size of the overlap range between the collection ranges of the multiple collectors 13 may be preset, for example, the size of the overlap range between the sub-images collected by each camera of the camera array may be preset.
  • the image of the non-overexposed area may be the fingerprint image of the non-light-leakage area during the pattern acquisition process. Accordingly, in the original image, the image of the non-overexposed area can be divided into the image of the overlapping area and the image of the non-overlapping area.
  • Step 303 Perform pixel processing on the overlapping area and the non-overlapping area, respectively, to generate first pixel information of the overlapping area and second pixel information of the non-overlapping area.
  • the non-overlapping area only contains the information of a single sub-image, so it has different image characteristics, and different sub-images can be used respectively.
  • Step 304 According to the first pixel information and the second pixel information, image stitching is performed on the overlapping area and the non-overlapping area to generate a stitched image of the original image.
  • the first pixel information can be used to represent the pixel feature of each pixel in the overlapping area
  • the second pixel information can be used to represent the pixel feature of each pixel in the non-overlapping area.
  • the first pixel information and the second pixel information can be spliced according to the position of the pixel points on the original image, and then the overlapping area and the non-overlapping area can be image spliced to generate a spliced image of the original image. In this way, the spliced image contains The image features of the overlapping area and the non-overlapping area are saved, so as to avoid wasting the collected information of the collector 13 .
  • the above image stitching method for the non-overexposed area, first divides multiple original sub-images collected by the camera array into overlapping area images and non-overlapping area images, and then performs different pixel processing on the images of the two areas, and finally integrates the images.
  • the pixel information of the two areas is stitched to generate a stitched image.
  • Pixel processing reduces the grid noise of the stitched image, making the stitched image more continuous and smoother.
  • FIG. 4 is an image stitching method according to an embodiment of the present application.
  • the method can be executed by the electronic device 1 shown in FIG. 1 , and can be applied to the fingerprint recognition scene shown in FIG. 2A to FIG. Image stitching is performed on multiple original sub-images collected by the camera array.
  • the method includes the following steps:
  • Step 401 Acquire an original image to be processed, and the original image may be composed of multiple sub-images collected by multiple collectors 13 .
  • the original image may be composed of multiple sub-images collected by multiple collectors 13 .
  • Step 402 Determine whether there is an overexposed area in the original image, if yes, go to Step 405 , otherwise, go to Step 403 .
  • the user's finger may fail to face the collection area or the azimuth shift when pressing, etc., at this time, some cameras will be overexposed or light leaked, and the collected image will be overexposed.
  • the area will affect the non-overexposed area, forming a transition area with gradually changing brightness, which is not conducive to the result of fingerprint recognition.
  • step 405 is entered for subsequent processing.
  • the area where the remaining second pixel points are located is regarded as a non-overexposed area, and then proceeds to step 403 for subsequent processing.
  • step 402 may include: calculating gradient information of each pixel in the original image. In the original image, find the first pixel whose gradient information is less than the preset gradient threshold and whose pixel value is within the preset pixel range, the area where the first pixel is located is the overexposed area, and the remaining second pixel is located area as a non-overexposed area.
  • the original raw image obtained by the device is a piece of 5 20 pixels
  • the gradient information the difference between a certain pixel value and its eight neighboring pixels
  • the gradient information of each pixel in the original image is calculated.
  • the pixel When the minimum gradient information in the eight neighborhoods of the pixel is less than the gradient threshold, and the pixel value is within the preset pixel range, the pixel is in the overexposed area. the first pixel of . Areas where other pixels that do not meet the above criteria are considered non-overexposed areas.
  • the gradient threshold may be 12, which may be obtained by statistics based on gradient information of historical overexposed area images.
  • the principle is that the gradient threshold is small enough to represent image information collected in a light leak scene.
  • the preset pixel range may be 9/10H to H.
  • the double judgment standard can make the overexposed area distinguished more accurately.
  • Step 403 For the non-overexposed area, calculate the pixel coordinates of each sub-image obtained by the multiple collectors 13 respectively.
  • the image of the user's fingerprint can be comprehensively collected, and there is no adverse effect caused by light leakage.
  • the pixels occupied by the sub-images collected by each camera can be calculated separately according to the setting parameters of the camera. coordinate. Taking a square camera as an example, the calculation process can be as follows:
  • d xj represents the pixel coordinate starting amount of the small lens in the jth column in the x direction
  • d yi represents the pixel coordinate starting amount of the small lens in the ith row in the y direction.
  • lens_number represents the number of lenses in each row and column of the lens array, which is 5 in this embodiment.
  • the size of the overlapping area of the small lenses in the outermost circle in this embodiment is 3 pixels, so it should be considered separately when calculating the offset.
  • the above d xj and dy yi formulas can be used in combination with the following formulas to calculate:
  • d x0 represents the pixel coordinate starting amount of the small lens in the 0th column in the x direction
  • d y0 represents the pixel coordinate starting amount of the small lens in the 0th row in the y direction
  • dx lens number-1 represents the lens.
  • dy lens number-1 represents the starting pixel coordinate of the small lens in the y direction of the dy lens number-1 row.
  • Step 404 Select the image area where the pixel coordinates of the sub-images overlap each other as the overlapping area, and then go to step 406 .
  • the remaining image areas are non-overlapping areas, and then step 408 is entered.
  • the value range of d x in the pixel coordinates of sub-image A is 0 to 18
  • the value range of d x in the pixel coordinates of sub-image B is 10 to 28
  • the overlapping range of sub-image A and sub-image B in the d x direction is 10 to 18, so the overlapping range in the dy direction can be calculated.
  • the image area where the pixel coordinates of the sub-images overlap each other can be selected as the overlapping area, and step 406 is performed for subsequent calculation.
  • the image area that does not meet the overlapping standard is the non-overlapping area, and step 408 is executed for subsequent calculation.
  • Step 405 For the overexposed area in the original image, select the area where the pixel coordinates of the sub-images do not overlap each other as the effective area, and calculate the third pixel information of the effective area. Go to step 409.
  • the useless overexposure information will not be spliced and fused, so only sub-images are selected.
  • the pixel coordinates of where there is no overlapping area with each other, are used as the effective area, and the third pixel information of the effective area is calculated for subsequent image stitching, and then goes to step 409 .
  • the third pixel information of the effective area may be calculated as shown in FIG. 2B to FIG. 2C . See the description of the above-mentioned embodiment for details.
  • Step 406 Calculate the overlapping times of each overlapping pixel point in the overlapping area respectively.
  • a mask matrix of the same size as the raw image can be generated, and the matrix value is all 1.
  • the same pixel processing algorithm is adopted as the raw image, and the accumulation times of each pixel point are recorded.
  • One overlap is the overlapping area of the two lenses.
  • the mask here is increased by 1, so that the overlapping times of each overlapping pixel in the overlapping area can be calculated.
  • Step 407 Calculate the average pixel value of the overlapping pixel points respectively according to the pixel value and the overlapping times of the overlapping pixel points.
  • the first pixel information includes the average pixel value of each overlapping pixel point, and then go to step 409 .
  • Step 408 Assign a preset weight to the pixel value of each non-overlapping pixel in the non-overlapping area, generate a weighted pixel value of each non-overlapping pixel, the preset weight is greater than 1, and the second pixel information includes each non-overlapping pixel.
  • the weighted pixel value of the overlapped pixel point goes to step 409 .
  • the default weight can be 1.2, making it a higher proportion.
  • the weight of 14 pixels in the non-overlapping area is increased, and the corresponding weighted pixel value can be obtained by directly multiplying the pixel value of each pixel in the non-overlapping area by 1.2.
  • Step 409 Perform image stitching according to the first pixel information, the second pixel information and the third pixel information to generate a stitched image of the original image.
  • the following formula can be used to calculate the size L (unit pixel) of the spliced image:
  • the pixel processing of the non-overlapping area S1 is enhanced by more weights, that is, a preset weight value is assigned in step 408 1.2, directly increase its signal strength.
  • a preset weight value is assigned in step 408 1.2, directly increase its signal strength.
  • the pixel value of the pixel point Q in the actual stitched image is (pixel1+pixel2)/2.
  • 2 is the number of overlaps, which is averaged with the information of the two images.
  • the original image takes the fingerprint image as an example. Since the noise in the raw image is stronger than that of the fingerprint signal, it is difficult to distinguish the difference between the noise and fingerprint ridges between the two stitching algorithms from the analysis of the legend.
  • the denoising algorithm converts the raw image into a denoised image that is easier to compare.
  • the above image stitching method can maximize the use of the fingerprint information obtained by each small lens by fusing the overlapping area of each small lens. For the non-overlapping area of each small lens, a higher weight will be given during stitching , making it a higher proportion.
  • the fingerprint image obtained in this embodiment can significantly improve the image quality of weak fingerprint scenes such as dry and cold, and reduce image noise.
  • the overexposed area of the image will have an impact on the non-overexposed area, forming a transition area with gradually changing brightness. In the light leakage scene, only the non-overlapping part of the image is reserved for image splicing, and the useless overexposure information is not spliced and fused to improve the accuracy of the spliced image.
  • FIG 6A it is a schematic diagram of comparison after denoising the raw image of the strong fingerprint signal
  • the image in the area S3 is the splicing image effect obtained by directly selecting the non-overlapping area splicing algorithm
  • the image in the area S4 is as shown in Figure 3 and/ Or the effect of the stitched image obtained by the image stitching method in Figure 4.
  • FIG. 6B it is a schematic diagram of the comparison after the raw image of the weak fingerprint signal is denoised.
  • the image in the area S5 is the stitched image effect obtained by directly selecting the non-overlapping area stitching algorithm
  • the image in the area S6 is the effect of the stitched image obtained by the image stitching method as shown in FIG. 3 and/or FIG. 4 .
  • the fingerprint signal obtained by the image stitching algorithm of this embodiment is more stable, the noise is much reduced, and the fingerprint is smoother.
  • the image splicing algorithm splicing and fusion in this embodiment can greatly reduce noise in the image, and the fingerprint signal is more stable, improving the fingerprint identification capability of the weak fingerprint scenario.
  • FIG. 7 is an image stitching apparatus 700 according to an embodiment of the application, which can be applied to the electronic device 1 shown in FIG. 1 , and can be applied to the fingerprint recognition scene shown in FIG. 2A to FIG. 2B , Image stitching is performed on multiple original sub-images collected by the camera array.
  • the apparatus may include: an acquisition module 701, a division module 702, a processing module 703 and a splicing module 704, and the principle relationship of each module may be as follows:
  • the acquisition module 701 is configured to acquire an original image to be processed, and the original image is composed of multiple sub-images collected by multiple collectors 13 .
  • the original image is composed of multiple sub-images collected by multiple collectors 13 .
  • the dividing module 702 is configured to divide the image of the non-overexposed area into an overlapping area and a non-overlapping area in the original image.
  • the overlapping area is an area where pixel coordinates of multiple sub-images overlap each other in the original image. For details, refer to the description of step 302 in the above embodiment.
  • the processing module 703 is configured to perform pixel processing on the overlapping area and the non-overlapping area, respectively, to generate first pixel information of the overlapping area and second pixel information of the non-overlapping area. For details, refer to the description of step 303 in the above embodiment.
  • the stitching module 704 is configured to perform image stitching of the overlapping area and the non-overlapping area according to the first pixel information and the second pixel information, to generate a stitched image of the original image. For details, refer to the description of step 304 in the above embodiment.
  • it may further include: a determination module 705, configured to determine whether there is an overexposed area in the original image; a selection module 706, configured to be configured to, for the original image, if there is an overexposed area in the original image The overexposure area in the sub-image is selected as the effective area where the pixel coordinates of the sub-image do not overlap each other; the calculation module 707 is configured to calculate the third pixel information of the effective area; the splicing module 704 is also configured to be used according to Image splicing is performed on the first pixel information, the second pixel information and the third pixel information to generate a spliced image of the original image.
  • the judging module 705 may be configured to: calculate the gradient information of each pixel in the original image; in the original image, find out whether there is gradient information smaller than a preset gradient threshold and the pixel value is in the preset value. If the first pixel in the set pixel range exists, the area where the first pixel is located is an overexposed area.
  • the processing module 703 may be configured to: calculate the overlapping times of each overlapping pixel point in the overlapping area respectively; calculate the average pixel value of the overlapping pixel points according to the pixel value and the overlapping times of the overlapping pixel points, respectively.
  • the first pixel information includes the average pixel value of each overlapping pixel point.
  • the processing module 703 may be further configured to: assign a preset weight to the pixel value of each non-overlapping pixel point in the non-overlapping area, generate a weighted pixel value of each non-overlapping pixel point, and The two-pixel information includes the weighted pixel value of each non-overlapping pixel point.
  • the preset weight may be greater than 1.
  • the dividing module 702 may be configured to: for the non-overexposed area, calculate the pixel coordinates of each sub-image obtained by the multiple collectors respectively; select the image area where the pixel coordinates of the sub-images overlap each other as: Overlapping areas, the remaining image areas are non-overlapping areas.
  • Embodiments of the present application also provide a non-transitory electronic device-readable storage medium, which may include: a program, when running on the electronic device, enables the electronic device to execute all or part of the processes of the methods in the foregoing embodiments.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a flash memory (Flash Memory), a hard disk (Hard Disk Drive, Abbreviation: HDD) or Solid-State Drive (SSD), etc.
  • the storage medium may also include a combination of the aforementioned kinds of memories.
  • the present application provides an image stitching method, device, device and storage medium, the method includes: acquiring an original image to be processed, the original image is composed of multiple sub-images collected by multiple collectors; , the image of the non-overexposed area is divided into an overlapping area and a non-overlapping area; the overlapping area is an area where the pixel coordinates of a plurality of the sub-images overlap each other in the original image; Perform pixel processing on the non-overlapping area to generate first pixel information of the overlapping area and second pixel information of the non-overlapping area; according to the first pixel information and the second pixel information, the overlapping area Perform image stitching with the non-overlapping area to generate a stitched image of the original image.
  • the present application realizes the reduction of grid noise of the stitched images, so that the stitched images are more continuous and smoother.
  • the image stitching method, apparatus, device and storage medium of the present application are reproducible and can be used in a variety of industrial applications.
  • the image stitching method, apparatus, device and storage medium of the present application can be applied to any device that performs image stitching processing.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

The present application provides an image stitching method and apparatus, and a device and a storage medium. The method comprises: acquiring an original image to be processed, the original image consisting of a plurality of sub-images collected by a plurality of collectors; in the original image, dividing the image of a non-overexposed region into an overlapping region and a non-overlapping region, the overlapping region being a region where the pixel coordinates of the plurality of sub-images overlap each other in the original image; separately performing pixel processing on the overlapping region and the non-overlapping region to generate first pixel information of the overlapping region and second pixel information of the non-overlapping region; and performing image stitching on the overlapping region and the non-overlapping region according to the first pixel information and the second pixel information to generate a stitched image of the original image. According to the present application, the grid noise of the stitched image is reduced, so that the stitched image is more continuous and smoother.

Description

图像拼接方法、装置、设备和存储介质Image stitching method, device, equipment and storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求于2020年12月14日提交中国专利局的申请号为202011477009.3、名称为“图像拼接方法、装置、设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application No. 202011477009.3 and entitled "Image Mosaic Method, Apparatus, Equipment and Storage Medium" filed with the China Patent Office on December 14, 2020, the entire contents of which are incorporated herein by reference Applying.
技术领域technical field
本申请涉及图像处理技术领域,具体而言,涉及一种图像拼接方法、装置、设备和存储介质。The present application relates to the technical field of image processing, and in particular, to an image stitching method, apparatus, device and storage medium.
背景技术Background technique
随着硬件技术的提高,目前手机外观的研发方向逐渐朝着更薄,更轻的方向前进。指纹识别已经成为手机功能的主流配置,这就需要在手机更轻薄的同时使用屏下指纹识别技术。With the improvement of hardware technology, the current research and development direction of mobile phone appearance is gradually moving towards thinner and lighter direction. Fingerprint recognition has become the mainstream configuration of mobile phone functions, which requires the use of off-screen fingerprint recognition technology while the mobile phone is thinner and lighter.
超薄手机的屏下指纹硬件模组方案通常会使用阵列式镜头模组或准直器成像模组。其中阵列式镜头模组由多个小镜头拼接组成,因此镜头阵列获取的原始raw(生图)图像也是由多个小镜头获取的原始图像拼接而成。但是由于每个小镜头之间距离近,成像区域存在重叠,部分指纹信息也存在重复。The under-screen fingerprint hardware module solution of ultra-thin mobile phones usually uses an array lens module or a collimator imaging module. The array lens module is composed of a plurality of small lenses spliced together, so the original raw image obtained by the lens array is also spliced from the original images obtained by the multiple small lenses. However, due to the short distance between each small lens, the imaging area overlaps, and some fingerprint information also overlaps.
现有图像预处理技术,通常选取每个小镜头采集的子图像拼接成一张输出图像,用作后续处理。拼接图像容易产生块效应和网格噪声等不良情况。因此,如何改善指纹拼接算法是图像预处理阶段一个亟待解决的问题。In the existing image preprocessing technology, the sub-images collected by each small lens are usually selected and spliced into an output image for subsequent processing. Stitched images are prone to undesirable conditions such as blocking and grid noise. Therefore, how to improve the fingerprint stitching algorithm is an urgent problem to be solved in the image preprocessing stage.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种图像拼接方法、装置、设备和存储介质,充分利用每个小镜头(采集器)获取的子图像之间的重叠区域和非重叠区域的图像信息,综合考虑两个区域的图像特征,分别进行像素处理,进而生成原始图像的拼接图像,降低拼接图像的网格噪声,使拼接图像更加连续,更加平滑。The embodiments of the present application provide an image stitching method, device, device, and storage medium, which make full use of the image information of the overlapping area and the non-overlapping area between sub-images acquired by each small lens (collector), and comprehensively consider the two The image features of the region are processed separately, and then the stitched image of the original image is generated, which reduces the grid noise of the stitched image and makes the stitched image more continuous and smooth.
本申请的一些实施例提供了一种图像拼接方法,可以包括:获取待处理的原始图像,所述原始图像由多个采集器采集的多个子图像组成;在所述原始图像中,将非过曝区域的图像划分为重叠区域和非重叠区域;所述重叠区域为多个所述子图像的像素坐标在所述原始图像中相互重叠的区域;分别对所述重叠区域和所述非重叠区域进行像素处理,生成所述重叠区域的第一像素信息和所述非重叠区域的第二像素信息;根据所述第一像素信息和所述第二像素信息,将所述重叠区域和所述非重叠区域进行图像拼接,生成所述原始图像的拼接图像。Some embodiments of the present application provide an image stitching method, which may include: acquiring an original image to be processed, where the original image is composed of multiple sub-images collected by multiple collectors; The image of the exposure area is divided into an overlapping area and a non-overlapping area; the overlapping area is an area where the pixel coordinates of the multiple sub-images overlap each other in the original image; the overlapping area and the non-overlapping area are respectively Perform pixel processing to generate first pixel information of the overlapping area and second pixel information of the non-overlapping area; according to the first pixel information and the second pixel information, combine the overlapping area and the non-overlapping area Image stitching is performed on the overlapping area to generate a stitched image of the original image.
于一实施例中,还可以包括:判断所述原始图像中是否存在过曝区域;若所述原始图像中存在所述过曝区域,针对所述原始图像中的所述过曝区域,选取所述子图像的像素坐标不存在相互重叠的区域为有效区域;计算所述有效区域的第三像素信息;根据所述第一像素信息、所述第二像素信息和第三像素信息进行图像拼接,生成所述原始图像的所述拼接图像。In one embodiment, the method may further include: judging whether there is an overexposed area in the original image; if the overexposed area exists in the original image, selecting the overexposed area for the overexposed area in the original image. An area where the pixel coordinates of the sub-images do not overlap each other is an effective area; the third pixel information of the effective area is calculated; image stitching is performed according to the first pixel information, the second pixel information and the third pixel information, The stitched image of the original image is generated.
于一实施例中,所述判断所述原始图像中是否存在过曝区域可以包括:计算所述原始图像中每个像素点的梯度信息;于所述原始图像中,查找是否存在所述梯度信息小于预设的梯度阈值、并且像素值在预设的像素范围内的第一像素点,若存在,则所述第一像素点所在的区域为所述过曝区域。In one embodiment, the judging whether there is an overexposed area in the original image may include: calculating the gradient information of each pixel in the original image; finding whether the gradient information exists in the original image; If there is a first pixel that is smaller than the preset gradient threshold and whose pixel value is within the preset pixel range, the area where the first pixel is located is the overexposed area.
于一实施例中,对所述重叠区域进行像素处理,生成所述重叠区域的第一像素信息的步骤,可以包括:分别计算所述重叠区域中每个重叠像素点的重叠次数;根据所述重叠像素点的像素值和所述重叠次数,分别计算所述重叠像素点的平均像素值,所述第一像素信息中包括每个所述重叠像素点所述平均像素值。In an embodiment, the step of performing pixel processing on the overlapping area to generate the first pixel information of the overlapping area may include: separately calculating the overlapping times of each overlapping pixel point in the overlapping area; The pixel value of the overlapping pixel points and the overlapping times are used to calculate the average pixel value of the overlapping pixel points, respectively, and the first pixel information includes the average pixel value of each overlapping pixel point.
于一实施例中,对所述非重叠区域进行像素处理,生成所述非重叠区域的第二像素信息的步骤,可以包括:为所述非重叠区域中的每个非重叠像素点的像素值赋予预设权重,生成每个所述非重叠像素点的加权像素值,所述第二像素信息中包括每个所述非重叠像素点的所述加权像素值。In an embodiment, the step of performing pixel processing on the non-overlapping area to generate the second pixel information of the non-overlapping area may include: a pixel value of each non-overlapping pixel in the non-overlapping area. A preset weight is assigned to generate a weighted pixel value of each of the non-overlapping pixel points, and the second pixel information includes the weighted pixel value of each of the non-overlapping pixel points.
于一实施例中,所述预设权重可以大于1。In one embodiment, the preset weight may be greater than 1.
于一实施例中,所述在所述原始图像中,将非过曝区域的图像划分为重叠区域和非重叠区域,可以包括:针对所述非过曝区域,分别计算所述多个采集器获得的每个所述子图像的像素坐标;选取所述子图像的像素坐标存在相互重叠的图像区域为所述重叠区域,剩余的图像区域为所述非重叠区域。In an embodiment, dividing the image of the non-overexposed area into an overlapping area and a non-overlapping area in the original image may include: calculating the plurality of collectors respectively for the non-overexposed area. Obtain the pixel coordinates of each of the sub-images; select an image area where the pixel coordinates of the sub-images overlap each other as the overlapping area, and the remaining image areas are the non-overlapping areas.
本申请的另一些实施例提供了一种图像拼接装置,可以包括:获取模块,用于获取待处理的原始图像,所述原始图像由多个采集器采集的多个子图像组成;划分模块,用于在所述原始图像中,将非过曝区域的图像划分为重叠区域和非重叠区域;所述重叠区域为多个所述子图像的像素坐标在所述原始图像中相互重叠的区域;处理模块,用于分别对所述重叠区域和所述非重叠区域进行像素处理,生成所述重叠区域的第一像素信息和所述非重叠区域的第二像素信息;拼接模块,用于根据所述第一像素信息和所述第二像素信息,将所述重叠区域和所述非重叠区域进行图像拼接,生成所述原始图像的拼接图像。Other embodiments of the present application provide an image stitching apparatus, which may include: an acquisition module, configured to acquire an original image to be processed, where the original image is composed of multiple sub-images collected by multiple collectors; a division module, configured with In the original image, the image of the non-overexposed area is divided into an overlapping area and a non-overlapping area; the overlapping area is an area where the pixel coordinates of a plurality of the sub-images overlap each other in the original image; processing a module for performing pixel processing on the overlapping area and the non-overlapping area respectively, to generate the first pixel information of the overlapping area and the second pixel information of the non-overlapping area; For the first pixel information and the second pixel information, image splicing is performed on the overlapping area and the non-overlapping area to generate a spliced image of the original image.
于一实施例中,还可以包括:判断模块,被配置成用于判断所述原始图像中是否存在过曝区域;选取模块,被配置成用于若所述原始图像中存在所述过曝区域,针对所述原始图像中的所述过曝区域,选取所述子图像的像素坐标不存在相互重叠的区域为有效区域; 计算模块,被配置成用于计算所述有效区域的第三像素信息;所述拼接模块还被配置成用于根据所述第一像素信息、所述第二像素信息和第三像素信息进行图像拼接,生成所述原始图像的所述拼接图像。In one embodiment, it may further include: a determination module configured to determine whether there is an overexposed area in the original image; a selection module configured to be configured to determine if the overexposed area exists in the original image , for the overexposed area in the original image, select an area where the pixel coordinates of the sub-image do not overlap each other as an effective area; a calculation module, configured to calculate the third pixel information of the effective area ; the stitching module is further configured to perform image stitching according to the first pixel information, the second pixel information and the third pixel information to generate the stitched image of the original image.
于一实施例中,所述判断模块可以被配置成用于:计算所述原始图像中每个像素点的梯度信息;于所述原始图像中,查找是否存在所述梯度信息小于预设的梯度阈值、并且像素值在预设的像素范围内的第一像素点,若存在,则所述第一像素点所在的区域为所述过曝区域。In one embodiment, the judging module may be configured to: calculate the gradient information of each pixel in the original image; in the original image, find out whether the gradient information is smaller than a preset gradient. The threshold value and the first pixel point whose pixel value is within the preset pixel range, if it exists, the area where the first pixel point is located is the overexposed area.
于一实施例中,所述处理模块可以被配置成用于:分别计算所述重叠区域中每个重叠像素点的重叠次数;根据所述重叠像素点的像素值和所述重叠次数,分别计算所述重叠像素点的平均像素值,所述第一像素信息中包括每个所述重叠像素点所述平均像素值。In one embodiment, the processing module may be configured to: respectively calculate the overlapping times of each overlapping pixel point in the overlapping area; The average pixel value of the overlapping pixel points, and the first pixel information includes the average pixel value of each of the overlapping pixel points.
于一实施例中,所述处理模块还可以被配置成用于:为所述非重叠区域中的每个非重叠像素点的像素值赋予预设权重,生成每个所述非重叠像素点的加权像素值,所述第二像素信息中包括每个所述非重叠像素点的所述加权像素值。In one embodiment, the processing module may be further configured to: assign a preset weight to the pixel value of each non-overlapping pixel in the non-overlapping area, and generate a pixel value of each non-overlapping pixel. A weighted pixel value, the second pixel information includes the weighted pixel value of each of the non-overlapping pixel points.
于一实施例中,所述预设权重可以大于1。In one embodiment, the preset weight may be greater than 1.
于一实施例中,所述划分模块可以被配置成用于:针对所述非过曝区域,分别计算所述多个采集器获得的每个所述子图像的像素坐标;选取所述子图像的像素坐标存在相互重叠的图像区域为所述重叠区域,剩余的图像区域为所述非重叠区域。本申请的又一些实施例提供了一种电子设备,包括:存储器,用以存储计算机程序;处理器,用以执行本申请的一些实施例中的任一实施例的方法,以对多个原始的子图像进行图像拼接。In one embodiment, the dividing module may be configured to: for the non-overexposed area, calculate the pixel coordinates of each of the sub-images obtained by the plurality of collectors respectively; select the sub-images; The image area where the pixel coordinates of the overlap each other exist is the overlapping area, and the remaining image area is the non-overlapping area. Still other embodiments of the present application provide an electronic device, including: a memory for storing a computer program; and a processor for executing the method of any one of the some embodiments of the present application, to perform a plurality of original sub-images for image stitching.
本申请的又一些实施例提供了一种非暂态电子设备可读存储介质,包括:程序,当其藉由电子设备运行时,使得所述电子设备执行本申请的前述一些实施例中的任一实施例的方法。Still other embodiments of the present application provide a non-transitory electronic device-readable storage medium, comprising: a program that, when executed by an electronic device, causes the electronic device to perform any of the foregoing embodiments of the present application The method of an embodiment.
本申请提供的图像拼接方法、装置、设备和存储介质,可以对原始图像的漏光区域和非漏光区域采用不同的处理方式,针对非漏光区域,首先将多个原始子图像中非漏光区域的图像划分为重叠区域图像和非重叠区域的图像,然后分别对两个区域的图像进行不同的像素处理,最后综合两个区域的像素信息进行图像拼接,生成拼接图像,如此,针对非漏光区域的图像,充分利用了每个采集器获取的子图像之间的重叠区域和非重叠区域的图像信息,综合考虑两个区域的图像特征,分别进行像素处理,降低了拼接图像的网格噪声,使拼接图像更加连续,更加平滑。The image stitching method, device, device and storage medium provided by the present application can adopt different processing methods for the light leakage area and non-light leakage area of the original image. Divide the image into the overlapping area image and the non-overlapping area image, and then perform different pixel processing on the images of the two areas, and finally integrate the pixel information of the two areas to perform image stitching to generate a stitched image. In this way, for the image of the non-light leakage area , make full use of the image information of the overlapping area and non-overlapping area between the sub-images acquired by each collector, comprehensively consider the image characteristics of the two areas, and perform pixel processing respectively, which reduces the grid noise of the spliced image and makes the splicing The image is more continuous and smoother.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作 是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings that need to be used in the embodiments of the present application. It should be understood that the following drawings only show some embodiments of the present application, therefore It should not be regarded as a limitation of the scope. For those of ordinary skill in the art, other related drawings can also be obtained from these drawings without any creative effort.
图1为本申请一实施例的电子设备的结构示意图;FIG. 1 is a schematic structural diagram of an electronic device according to an embodiment of the application;
图2A为本申请一实施例的指纹识别场景的示意图;2A is a schematic diagram of a fingerprint identification scene according to an embodiment of the present application;
图2B为本申请一实施例的原始图像的示意图;2B is a schematic diagram of an original image according to an embodiment of the present application;
图2C为本申请一实施例的拼接图像的示意图;2C is a schematic diagram of a stitched image according to an embodiment of the application;
图3为本申请一实施例的图像拼接方法的流程示意图;3 is a schematic flowchart of an image stitching method according to an embodiment of the application;
图4为本申请一实施例的图像拼接方法的流程示意图;4 is a schematic flowchart of an image stitching method according to an embodiment of the application;
图5为本申请一实施例的拼接图像的示意图;5 is a schematic diagram of a stitched image according to an embodiment of the application;
图6A至图6B为本申请一实施例的拼接图像对应的指纹图像示意图;6A to 6B are schematic diagrams of fingerprint images corresponding to the stitched images according to an embodiment of the present application;
图7为本申请一实施例的图像拼接装置的结构示意图。FIG. 7 is a schematic structural diagram of an image stitching apparatus according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。在本申请的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. In the description of the present application, the terms "first", "second" and the like are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
如图1所示,本实施例提供一种电子设备1,可以包括:至少一个处理器11和存储器12,图1中以一个处理器为例。处理器11和存储器12可以通过总线10连接,存储器12可以存储有可被处理器11执行的指令,指令被处理器11执行,以使电子设备1可执行下述的实施例中方法的全部或部分流程,以对多个原始的子图像进行图像拼接。As shown in FIG. 1 , this embodiment provides an electronic device 1 , which may include: at least one processor 11 and a memory 12 . In FIG. 1 , one processor is used as an example. The processor 11 and the memory 12 can be connected through the bus 10, and the memory 12 can store instructions that can be executed by the processor 11, and the instructions are executed by the processor 11, so that the electronic device 1 can execute all or all of the methods in the following embodiments. Part of the process to perform image stitching on multiple original sub-images.
于一实施例中,电子设备1可以是手机、笔记本电脑、台式计算机、或者多台计算机组成的运算系统等设备。In one embodiment, the electronic device 1 may be a mobile phone, a notebook computer, a desktop computer, or a computing system composed of multiple computers.
于一实施例中,电子设备1还可以包括多个图像采集器13,每个采集器13可以分别通过总线10与处理器11和存储器12连接。比如多个采集器13可以是摄像头阵列,用于采集多个原始的子图像。In an embodiment, the electronic device 1 may further include a plurality of image collectors 13 , and each collector 13 may be connected to the processor 11 and the memory 12 through the bus 10 , respectively. For example, the multiple collectors 13 may be camera arrays, which are used to collect multiple original sub-images.
请参看图2A,其为本申请一实施例的指纹识别场景,可以包括:电子设备1,电子设备1上可以设置有指纹识别模块14,指纹识别模块14可以由小型摄像头阵列组成,采集器13可以是小型摄像头阵列。当用户手指触摸或按压指纹识别模块14时,可以触发摄像头阵列采集用户的手指的原始图像,多个摄像头采集多个原始的子图像,组成待处理的原始图像。电子设备1获取到原始图像后,对原始图像进行重新拼接,生成拼接图像,拼接图像可以作为后续指纹识别的指纹图像。Please refer to FIG. 2A , which is a fingerprint identification scene according to an embodiment of the application, which may include: an electronic device 1, and a fingerprint identification module 14 may be provided on the electronic device 1. The fingerprint identification module 14 may be composed of a small camera array, and a collector 13 Can be a small camera array. When the user's finger touches or presses the fingerprint recognition module 14, the camera array can be triggered to collect the original image of the user's finger, and multiple cameras collect multiple original sub-images to form the original image to be processed. After acquiring the original image, the electronic device 1 re-splices the original image to generate a spliced image, and the spliced image can be used as a fingerprint image for subsequent fingerprint identification.
于一实施例中,以5*5lens array(镜头阵列)为例,假设每个小lens(镜头)获取的子图像为20*20pixel(像素),设备获取的原始raw图是一张由5个20*20矩阵拼接而成的 100*100大小的原始图像(如图2B所示)。在实际场景中,重叠区域可能是不均匀的,假设中间两个lens之间重叠区域为6个pixel,两侧lens之间重叠区域为3个pixel,即五个lens的像素位置为:[0:20][17:37][31:51][45:65][62:82],则按照上述方式可以选取每个小lens不重叠区域拼接成一张[20*2+(20-3-3)*3] 2=82*82pixel大小的拼接图像(如图2C所示)。 In one embodiment, taking a 5*5lens array (lens array) as an example, assuming that the sub-image obtained by each small lens (lens) is 20*20pixel (pixel), the original raw image obtained by the device is a piece of 5 The original image of size 100*100 formed by splicing a 20*20 matrix (as shown in Figure 2B). In the actual scene, the overlapping area may be uneven. It is assumed that the overlapping area between the two lenses in the middle is 6 pixels, and the overlapping area between the lenses on both sides is 3 pixels, that is, the pixel positions of the five lenses are: [0 :20][17:37][31:51][45:65][62:82], then according to the above method, each small lens non-overlapping area can be selected and spliced into a [20*2+(20-3- 3)*3] 2 = a stitched image with a size of 82*82 pixels (as shown in FIG. 2C ).
于一实施例中,上述五个lens的重叠区域也可以是均匀的,比如五个lens的像素位置为:[0:20][17:37][34:54][51:71][68:88],则按照上述方式可以选取每个小lens不重叠区域拼接成一张88*88pixel大小的拼接图像。In one embodiment, the overlapping area of the five lenses may also be uniform. For example, the pixel positions of the five lenses are: [0:20][17:37][34:54][51:71][68 :88], according to the above method, each small lens non-overlapping area can be selected and stitched into a stitched image with a size of 88*88pixel.
然而,每个摄像头之间距离比较近,图像采集范围存在重叠,导致子图像之间具有重叠的部分,在图像拼接过程中综合考虑重叠区域和非重叠区域的图像特征,分别进行像素处理,可以降低拼接图像的网格噪声,使拼接图像更加连续,更加平滑。However, the distance between each camera is relatively close, and the image acquisition range overlaps, resulting in overlapping parts between sub-images. In the process of image stitching, the image features of the overlapping area and the non-overlapping area are comprehensively considered, and pixel processing is performed separately. Reduce the grid noise of the stitched image, making the stitched image more continuous and smoother.
请参看图3,其为本申请一实施例的图像拼接方法,该方法可由图1所示的电子设备1来执行,并可以应用于如图2A至图2B所示的指纹识别场景中,以对摄像头阵列采集的多个原始的子图像进行图像拼接。该方法可以包括如下步骤:Please refer to FIG. 3 , which is an image stitching method according to an embodiment of the present application. The method can be executed by the electronic device 1 shown in FIG. 1 , and can be applied to the fingerprint recognition scene shown in FIG. 2A to FIG. Image stitching is performed on multiple original sub-images collected by the camera array. The method may include the following steps:
步骤301:获取待处理的原始图像,原始图像可以由多个采集器13采集的多个子图像组成。Step 301 : Acquire an original image to be processed, and the original image may be composed of multiple sub-images collected by multiple collectors 13 .
在本步骤中,多个采集器13可以是手机指纹识别模块14的摄像头阵列,也可以是手机外接的图像采集器13,多个采集器13之间的采集范围存在重叠部分。采集器13可以实时采集目标物体(手指)的多个子图像,多个子图像组成目标物体的原始图像。In this step, the multiple collectors 13 may be the camera array of the fingerprint identification module 14 of the mobile phone, or may be the image collectors 13 externally connected to the mobile phone, and the collection ranges of the multiple collectors 13 overlap. The collector 13 can collect multiple sub-images of the target object (finger) in real time, and the multiple sub-images constitute the original image of the target object.
步骤302:在原始图像中,将非过曝区域的图像划分为重叠区域和非重叠区域。重叠区域为多个子图像的像素坐标在原始图像中相互重叠的区域。Step 302: In the original image, the image of the non-overexposed area is divided into an overlapping area and a non-overlapping area. The overlapping area is an area where pixel coordinates of multiple sub-images overlap each other in the original image.
在本步骤中,可以预先设定多个采集器13的采集范围之间的重叠范围的大小,比如可以预先设定摄像头阵列的每个摄像头采集的子图像之间的重叠范围大小。非过曝区域的图像可以是纹采集过程中的非漏光区域的指纹图像。据此,可以在原始图像中,将非过曝区域的图像划分为重叠区域的图像和非重叠区域的图像。In this step, the size of the overlap range between the collection ranges of the multiple collectors 13 may be preset, for example, the size of the overlap range between the sub-images collected by each camera of the camera array may be preset. The image of the non-overexposed area may be the fingerprint image of the non-light-leakage area during the pattern acquisition process. Accordingly, in the original image, the image of the non-overexposed area can be divided into the image of the overlapping area and the image of the non-overlapping area.
步骤303:分别对重叠区域和非重叠区域进行像素处理,生成重叠区域的第一像素信息和非重叠区域的第二像素信息。Step 303: Perform pixel processing on the overlapping area and the non-overlapping area, respectively, to generate first pixel information of the overlapping area and second pixel information of the non-overlapping area.
在本步骤中,原始的非过曝区域图像中的重叠区域中,存在不同的子图像的信息,而非重叠区域中仅仅包含单个子图像的信息,因此具有不同的图像特征,可以分别采用不同的方式对二者进行像素处理,可以使得到的第一像素信息和第二像素信息最大限度的清楚表征用户指纹的实际图像。In this step, there are different sub-image information in the overlapping area in the original non-overexposed area image, and the non-overlapping area only contains the information of a single sub-image, so it has different image characteristics, and different sub-images can be used respectively. By performing pixel processing on the two in a way, the obtained first pixel information and the second pixel information can clearly represent the actual image of the user's fingerprint to the greatest extent possible.
步骤304:根据第一像素信息和第二像素信息,将重叠区域和非重叠区域进行图像拼接, 生成原始图像的拼接图像。Step 304: According to the first pixel information and the second pixel information, image stitching is performed on the overlapping area and the non-overlapping area to generate a stitched image of the original image.
在本步骤中,第一像素信息可以用来表征重叠区域中每个像素点的像素特征,第二像素信息可以表征非重叠区域中每个像素点的像素特征。可以按照像素点在原始图像上的位置排序,将第一像素信息和第二像素信息进行拼接,进而实现重叠区域和非重叠区域进行图像拼接,生成原始图像的拼接图像,如此,拼接图像中包含了重叠区域和非重叠区域的图像特征,避免浪费采集器13的采集信息。In this step, the first pixel information can be used to represent the pixel feature of each pixel in the overlapping area, and the second pixel information can be used to represent the pixel feature of each pixel in the non-overlapping area. The first pixel information and the second pixel information can be spliced according to the position of the pixel points on the original image, and then the overlapping area and the non-overlapping area can be image spliced to generate a spliced image of the original image. In this way, the spliced image contains The image features of the overlapping area and the non-overlapping area are saved, so as to avoid wasting the collected information of the collector 13 .
上述图像拼接方法,针对非过曝区域,首先将摄像头阵列采集的多个原始子图像划分为重叠区域图像和非重叠区域的图像,然后分别对两个区域的图像进行不同的像素处理,最后综合两个区域的像素信息进行图像拼接,生成拼接图像,如此,充分利用了每个摄像头获取的子图像之间的重叠区域和非重叠区域的图像信息,综合考虑两个区域的图像特征,分别进行像素处理,降低了拼接图像的网格噪声,使拼接图像更加连续,更加平滑。The above image stitching method, for the non-overexposed area, first divides multiple original sub-images collected by the camera array into overlapping area images and non-overlapping area images, and then performs different pixel processing on the images of the two areas, and finally integrates the images. The pixel information of the two areas is stitched to generate a stitched image. In this way, the image information of the overlapping area and the non-overlapping area between the sub-images obtained by each camera is fully utilized, and the image characteristics of the two areas are comprehensively considered. Pixel processing reduces the grid noise of the stitched image, making the stitched image more continuous and smoother.
请参看图4,其为本申请一实施例的图像拼接方法,该方法可由图1所示的电子设备1来执行,并可以应用于如图2A至图2B所示的指纹识别场景中,以对摄像头阵列采集的多个原始的子图像进行图像拼接。该方法包括如下步骤:Please refer to FIG. 4 , which is an image stitching method according to an embodiment of the present application. The method can be executed by the electronic device 1 shown in FIG. 1 , and can be applied to the fingerprint recognition scene shown in FIG. 2A to FIG. Image stitching is performed on multiple original sub-images collected by the camera array. The method includes the following steps:
步骤401:获取待处理的原始图像,原始图像可以由多个采集器13采集的多个子图像组成。详细参见上述实施例中对步骤301的描述。Step 401 : Acquire an original image to be processed, and the original image may be composed of multiple sub-images collected by multiple collectors 13 . For details, refer to the description of step 301 in the above embodiment.
步骤402:判断原始图像中是否存在过曝区域,若是,进入步骤405,否则,进入步骤403。Step 402 : Determine whether there is an overexposed area in the original image, if yes, go to Step 405 , otherwise, go to Step 403 .
在本步骤中,在实际指纹图像采集场景中,用户手指可能存在未能正对采集区域或者按压时方位偏移等情况,此时会造成部分摄像头过度曝光或漏光,采集得到的图像的过曝区域会对非过曝区域产生影响,形成一个亮度逐渐变化的过渡区域,不利于指纹识别的结果,为了不放大过曝区域对非过曝区域的影响,首先在原始图像中将漏光区域区分出来,即选取过度曝光的第一像素点所在的区域作为过曝区域,然后进入步骤405进行后续处理。剩余的第二像素点所在区域作为非过曝区域,然后进入步骤403进行后续处理。In this step, in the actual fingerprint image collection scene, the user's finger may fail to face the collection area or the azimuth shift when pressing, etc., at this time, some cameras will be overexposed or light leaked, and the collected image will be overexposed. The area will affect the non-overexposed area, forming a transition area with gradually changing brightness, which is not conducive to the result of fingerprint recognition. In order not to magnify the influence of the overexposed area on the non-overexposed area, first distinguish the light leakage area in the original image. , that is, the area where the overexposed first pixel is located is selected as the overexposed area, and then step 405 is entered for subsequent processing. The area where the remaining second pixel points are located is regarded as a non-overexposed area, and then proceeds to step 403 for subsequent processing.
于一实施例中,步骤402可以包括:计算原始图像中每个像素点的梯度信息。于原始图像中,查找梯度信息小于预设的梯度阈值、并且像素值在预设的像素范围内的第一像素点,第一像素点所在的区域为过曝区域,剩余的第二像素点所在区域作为非过曝区域。In one embodiment, step 402 may include: calculating gradient information of each pixel in the original image. In the original image, find the first pixel whose gradient information is less than the preset gradient threshold and whose pixel value is within the preset pixel range, the area where the first pixel is located is the overexposed area, and the remaining second pixel is located area as a non-overexposed area.
在本步骤中,以5*5lens array(镜头阵列)为例,假设每个小lens(镜头)获取的子图像为20*20pixel(像素),设备获取的原始raw图是一张由5个20*20矩阵拼接而成的100*100大小的原始图像(如图2B所示)。实际场景中,由于raw图过曝区域比较平滑,可以利用梯度信息(某一像素值与其八邻域像素之差)来将每个小lens分为漏光和非漏光两种状态,进而区分出原始raw图像的过曝区域和非过曝区域。首先计算原始图像中每个 像素点的梯度信息,当像素点的八邻域中最小梯度信息小于梯度阈值时,并且像素值在预设的像素范围内时,则该像素点为过曝区域内的第一像素点。不符合上述标准的其他像素点所在的区域视为非过曝区域。In this step, taking 5*5lens array (lens array) as an example, assuming that the sub-image obtained by each small lens (lens) is 20*20pixel (pixel), the original raw image obtained by the device is a piece of 5 20 pixels The original image of size 100*100 formed by splicing of *20 matrices (as shown in Figure 2B). In the actual scene, since the overexposed area of the raw image is relatively smooth, the gradient information (the difference between a certain pixel value and its eight neighboring pixels) can be used to divide each small lens into two states of light leakage and non-light leakage, and then distinguish the original Overexposed and non-overexposed areas of the raw image. First, the gradient information of each pixel in the original image is calculated. When the minimum gradient information in the eight neighborhoods of the pixel is less than the gradient threshold, and the pixel value is within the preset pixel range, the pixel is in the overexposed area. the first pixel of . Areas where other pixels that do not meet the above criteria are considered non-overexposed areas.
于一实施例中,梯度阈值可以为12,可以基于历史过曝区域图像的梯度信息统计得到,原则是足够小的梯度阈值,以使其表征漏光场景下采集的图像信息。In one embodiment, the gradient threshold may be 12, which may be obtained by statistics based on gradient information of historical overexposed area images. The principle is that the gradient threshold is small enough to represent image information collected in a light leak scene.
于一实施例中,假设raw图像像素的最大值为H,则预设的像素范围可以是9/10H至H。双重判断标准,可以使区分出来的过曝区域更加准确。In one embodiment, assuming that the maximum value of raw image pixels is H, the preset pixel range may be 9/10H to H. The double judgment standard can make the overexposed area distinguished more accurately.
步骤403:针对非过曝区域,分别计算多个采集器13获得的每个子图像的像素坐标。Step 403: For the non-overexposed area, calculate the pixel coordinates of each sub-image obtained by the multiple collectors 13 respectively.
在本步骤中,对于非过曝区域的图像,可以全面采集用户指纹的图像,不存在漏光导致的不良影响,可以根据摄像头的设定参数,分别计算每个摄像头采集的子图像所占用的像素坐标。以正方形的摄像头为例,计算过程可以如下:In this step, for the image of the non-overexposed area, the image of the user's fingerprint can be comprehensively collected, and there is no adverse effect caused by light leakage. The pixels occupied by the sub-images collected by each camera can be calculated separately according to the setting parameters of the camera. coordinate. Taking a square camera as an example, the calculation process can be as follows:
针对非过曝区域的每个lens,采用如下公式逐像素点计算像素坐标(d x,d y): For each lens of the non-overexposed area, the following formula is used to calculate pixel coordinates (d x , dy ) pixel by pixel:
Figure PCTCN2021118350-appb-000001
Figure PCTCN2021118350-appb-000001
Figure PCTCN2021118350-appb-000002
Figure PCTCN2021118350-appb-000002
其中,d xj表示第j列的小镜头在x方向上的像素坐标起始量,d yi表示第i行的小镜头在y方向上的像素坐标起始量。lens_size代表每个小lens大小,本实施例每个小lens可以为20*20pixel,则lens_size=20。overlap表示lens的子图像之间重叠区域大小,本实施例中中间内部的重叠区域大小为6pixel。lens_number表示镜头阵列每行每列的lens个数,本实施例中为5。i表示原始图像的行数,本实施例中i=0,1,2……。j表示原始图像的列数,本实施例中j=0,1,2……。 Among them, d xj represents the pixel coordinate starting amount of the small lens in the jth column in the x direction, and d yi represents the pixel coordinate starting amount of the small lens in the ith row in the y direction. lens_size represents the size of each small lens. In this embodiment, each small lens may be 20*20 pixels, then lens_size=20. Overlap represents the size of the overlapped area between sub-images of the lens, and in this embodiment, the size of the overlapped area inside the middle is 6 pixels. lens_number represents the number of lenses in each row and column of the lens array, which is 5 in this embodiment. i represents the number of lines of the original image, i=0, 1, 2 . . . in this embodiment. j represents the number of columns of the original image, and in this embodiment, j=0, 1, 2 . . .
于一实施例中,由于镜头式阵列最外圈的小lens只有一部分与其它lens重叠,本实施例中最外圈的小lens重叠区域大小为3pixel,因此在计算偏移量时要单独考虑。中间的镜头会有左、右两个镜头相邻,最外一圈角的镜头(i=0且j=0时或者i=lens number-1且j=lens number-1时)只与一个镜头相邻,因此只有一半的偏移,当i=0,且j=0,可采用上述d xj、d yi的公式结合如下公式计算: In one embodiment, since only a part of the small lenses in the outermost circle of the lens array overlaps with other lenses, the size of the overlapping area of the small lenses in the outermost circle in this embodiment is 3 pixels, so it should be considered separately when calculating the offset. The lens in the middle will have two adjacent lenses, left and right, and the lens at the outermost corner (when i=0 and j=0 or when i=lens number-1 and j=lens number-1) is only adjacent to one lens Adjacent, so there is only half of the offset. When i=0 and j=0, the above d xj and dy yi formulas can be used in combination with the following formulas to calculate:
Figure PCTCN2021118350-appb-000003
Figure PCTCN2021118350-appb-000003
Figure PCTCN2021118350-appb-000004
Figure PCTCN2021118350-appb-000004
当i=lens number-1,且j=lens number-1时,可采用上述d xj、d yi的公式结合如下公式计 算: When i=lens number-1 and j=lens number-1, the above formulas of d xj and d yi can be used in combination with the following formulas to calculate:
Figure PCTCN2021118350-appb-000005
Figure PCTCN2021118350-appb-000005
Figure PCTCN2021118350-appb-000006
Figure PCTCN2021118350-appb-000006
其中,d x0表示第0列的小镜头在x方向上的像素坐标起始量,d y0表示第0行的小镜头在y方向上的像素坐标起始量,dx lens numeber-1表示第lens numeber-1列的小镜头在x方向上的像素坐标起始量,dy lens numeber-1表示第dy lens numeber-1行的小镜头在y方向上的像素坐标起始量。 Among them, d x0 represents the pixel coordinate starting amount of the small lens in the 0th column in the x direction, d y0 represents the pixel coordinate starting amount of the small lens in the 0th row in the y direction, and dx lens number-1 represents the lens. The starting pixel coordinates of the small lens in the number-1 column in the x direction, and dy lens number-1 represents the starting pixel coordinate of the small lens in the y direction of the dy lens number-1 row.
步骤404:选取子图像的像素坐标存在相互重叠的图像区域为重叠区域,然后进入步骤406。剩余的图像区域为非重叠区域,然后进入步骤408。Step 404 : Select the image area where the pixel coordinates of the sub-images overlap each other as the overlapping area, and then go to step 406 . The remaining image areas are non-overlapping areas, and then step 408 is entered.
在本步骤中,计算出子图像的像素坐标后,就可以清楚的计算出哪些子图像的像素点是重叠在一起的,比如子图像A的像素坐标中d x的取值范围是0~18,子图像B的像素坐标中d x的取值范围是10~28,则子图像A和子图像B在d x方向上的重叠范围为10~18,如此可以计算出d y方向上的重叠范围,进而可以据此选取子图像的像素坐标存在相互重叠的图像区域为重叠区域,后续计算执行步骤406。而不符合重叠标准的图像区域就是非重叠区域,后续计算执行步骤408。 In this step, after the pixel coordinates of the sub-images are calculated, it can be clearly calculated which sub-image pixel points overlap each other. For example, the value range of d x in the pixel coordinates of sub-image A is 0 to 18 , the value range of d x in the pixel coordinates of sub-image B is 10 to 28, then the overlapping range of sub-image A and sub-image B in the d x direction is 10 to 18, so the overlapping range in the dy direction can be calculated. , and then the image area where the pixel coordinates of the sub-images overlap each other can be selected as the overlapping area, and step 406 is performed for subsequent calculation. The image area that does not meet the overlapping standard is the non-overlapping area, and step 408 is executed for subsequent calculation.
步骤405:针对原始图像中的过曝区域,选取子图像的像素坐标不存在相互重叠的区域为有效区域,计算有效区域的第三像素信息。进入步骤409。Step 405: For the overexposed area in the original image, select the area where the pixel coordinates of the sub-images do not overlap each other as the effective area, and calculate the third pixel information of the effective area. Go to step 409.
在本步骤中,若原始图像中存在过曝区域,对于漏光区域的图像,为了避免放大过曝区域对过曝区域的影响,不会对无用的过曝信息进行拼接融合,因此仅仅选取子图像的像素坐标不存在相互重叠的区域作为有效区域,并计算出有效区域的第三像素信息用于后续的图像拼接,然后进入步骤409。In this step, if there is an overexposed area in the original image, for the image of the light leakage area, in order to avoid the influence of magnifying the overexposed area on the overexposed area, the useless overexposure information will not be spliced and fused, so only sub-images are selected. The pixel coordinates of , where there is no overlapping area with each other, are used as the effective area, and the third pixel information of the effective area is calculated for subsequent image stitching, and then goes to step 409 .
于一实施例中,针对过曝区域,可以如图2B至图2C所示的方式计算有效区域的第三像素信息。详细参见上述实施例的描述。步骤406:分别计算重叠区域中每个重叠像素点的重叠次数。In one embodiment, for the overexposed area, the third pixel information of the effective area may be calculated as shown in FIG. 2B to FIG. 2C . See the description of the above-mentioned embodiment for details. Step 406: Calculate the overlapping times of each overlapping pixel point in the overlapping area respectively.
在本步骤中,可以生成与raw图像相同大小的mask矩阵,矩阵值为全1,与raw图像采取相同的像素处理算法,记录每个像素点的累加次数,一次重叠即为两个镜头重叠区域的一次累加,这里的mask就加1,如此可以计算出重叠区域中每个重叠像素点的重叠次数。In this step, a mask matrix of the same size as the raw image can be generated, and the matrix value is all 1. The same pixel processing algorithm is adopted as the raw image, and the accumulation times of each pixel point are recorded. One overlap is the overlapping area of the two lenses. For one accumulation, the mask here is increased by 1, so that the overlapping times of each overlapping pixel in the overlapping area can be calculated.
步骤407:根据重叠像素点的像素值和重叠次数,分别计算重叠像素点的平均像素值,第一像素信息中包括每个重叠像素点平均像素值,然后进入步骤409。Step 407 : Calculate the average pixel value of the overlapping pixel points respectively according to the pixel value and the overlapping times of the overlapping pixel points. The first pixel information includes the average pixel value of each overlapping pixel point, and then go to step 409 .
在本步骤中,以像素点Q为例,假设步骤406中计算出像素点Q处的重叠次数为n(n为大于或等于零的整数),所有重叠像素点Q的像素值分别为P 1,P 2……P n,则可以采用如下公式计算像素点Q的平均像素值P QIn this step, taking the pixel point Q as an example, it is assumed that the number of times of overlapping at the pixel point Q calculated in step 406 is n (n is an integer greater than or equal to zero), and the pixel values of all the overlapping pixel points Q are respectively P 1 , P 2 ......P n , the following formula can be used to calculate the average pixel value P Q of the pixel point Q :
Figure PCTCN2021118350-appb-000007
Figure PCTCN2021118350-appb-000007
步骤408:为非重叠区域中的每个非重叠像素点的像素值赋予预设权重,生成每个非重叠像素点的加权像素值,预设权重大于1,第二像素信息中包括每个非重叠像素点的加权像素值,进入步骤409。Step 408: Assign a preset weight to the pixel value of each non-overlapping pixel in the non-overlapping area, generate a weighted pixel value of each non-overlapping pixel, the preset weight is greater than 1, and the second pixel information includes each non-overlapping pixel. The weighted pixel value of the overlapped pixel point goes to step 409 .
在本步骤中,对于非漏光区域的每个小镜头的非重叠区域,在像素处理时会给予更高的权重,为每个非重叠像素点的像素值赋予预设权重,预设权重大于1,预设权重可以为1.2,使其占比更高。本实施例中,非重叠区域的14pixel权重增大,可以直接将非重叠区域中的每个像素点的像素值乘1.2,得到对应的加权像素值。In this step, for the non-overlapping area of each small lens in the non-light leakage area, a higher weight will be given during pixel processing, and a preset weight will be given to the pixel value of each non-overlapping pixel, and the preset weight will be greater than 1 , the default weight can be 1.2, making it a higher proportion. In this embodiment, the weight of 14 pixels in the non-overlapping area is increased, and the corresponding weighted pixel value can be obtained by directly multiplying the pixel value of each pixel in the non-overlapping area by 1.2.
步骤409:根据第一像素信息、第二像素信息和第三像素信息,进行图像拼接,生成原始图像的拼接图像。Step 409: Perform image stitching according to the first pixel information, the second pixel information and the third pixel information to generate a stitched image of the original image.
于一实施例中,以如图2B所示的raw图像为例,可以采用如下公式计算拼接图像的大小L(单位pixel):In one embodiment, taking the raw image shown in FIG. 2B as an example, the following formula can be used to calculate the size L (unit pixel) of the spliced image:
L=[lens_size*2+(lens_size-overlap)*(lens_number-2)] 2 L=[lens_size*2+(lens_size-overlap)*(lens_number-2)] 2
则如图2B所示的raw图像的拼接图像大小为20*2+(20-6)*3=82*82pixel。Then, the size of the stitched image of the raw image shown in FIG. 2B is 20*2+(20-6)*3=82*82pixel.
如图5所示,为本实施例经过上述像素处理方法处理后得到的像素分布图,非重叠区域S1像素处理的是通过更多的权重来进行增强,也就是步骤408中赋予预设权重值1.2,直接增大其信号强度。对于重叠区域S2,如果有两个镜头1和镜头2重叠区域像素点Q,则实际拼接图像中像素点Q的像素值为(pixel1+pixel2)/2。这里的2是重叠次数,用两张图像的信息来做平均。As shown in FIG. 5 , in the pixel distribution map obtained after processing by the above pixel processing method in this embodiment, the pixel processing of the non-overlapping area S1 is enhanced by more weights, that is, a preset weight value is assigned in step 408 1.2, directly increase its signal strength. For the overlapping area S2, if there are two pixel points Q in the overlapping area of lens 1 and lens 2, the pixel value of the pixel point Q in the actual stitched image is (pixel1+pixel2)/2. Here 2 is the number of overlaps, which is averaged with the information of the two images.
于一实施例中,原始图像以指纹图像为例,由于raw图像中的噪声强于指纹信号,从图例分析不好区别两种拼接算法在噪声和指纹纹线上的差异,下面采取相同的去噪算法将raw图转化为更易于对比的去噪图像。In one embodiment, the original image takes the fingerprint image as an example. Since the noise in the raw image is stronger than that of the fingerprint signal, it is difficult to distinguish the difference between the noise and fingerprint ridges between the two stitching algorithms from the analysis of the legend. The denoising algorithm converts the raw image into a denoised image that is easier to compare.
上述图像拼接方法,可以通过融合每个小镜头的重叠区域,最大限度的利用到每个小镜头获取到的指纹信息,对于每个小镜头的非重叠区域,在拼接时会给予更高的权重,使其占比更高。对比仅使用每个小镜头不重叠区域的拼接方案,在后续使用相同去噪算法的基础上,本实施例获得的指纹图像可以明显提升在干冷等弱指纹场景的图像质量,并降低图像噪声。同时,考虑到镜头阵列模组的特殊性,在漏光按偏场景,图像的过曝区域会对非过曝区域产生影响,形成一个亮度逐渐变化的过渡区域,为了不放大过曝区域对过曝区域的影响,在漏光场景,只保留非重叠的部分图像用于图像拼接,不对无用的过曝信息进 行拼接融合,提高拼接图像的准确度。The above image stitching method can maximize the use of the fingerprint information obtained by each small lens by fusing the overlapping area of each small lens. For the non-overlapping area of each small lens, a higher weight will be given during stitching , making it a higher proportion. Compared with the stitching scheme that only uses the non-overlapping area of each small lens, on the basis of using the same denoising algorithm subsequently, the fingerprint image obtained in this embodiment can significantly improve the image quality of weak fingerprint scenes such as dry and cold, and reduce image noise. At the same time, considering the particularity of the lens array module, in the light leakage scene, the overexposed area of the image will have an impact on the non-overexposed area, forming a transition area with gradually changing brightness. In the light leakage scene, only the non-overlapping part of the image is reserved for image splicing, and the useless overexposure information is not spliced and fused to improve the accuracy of the spliced image.
如图6A所示,为较强指纹信号raw图去噪后的对比示意图,区域S3内的图像为直接选取不重叠区域拼接算法得到的拼接图像效果,区域S4内的图像为如图3和/或图4中图像拼接方法得到的拼接图像的效果。As shown in Figure 6A, it is a schematic diagram of comparison after denoising the raw image of the strong fingerprint signal, the image in the area S3 is the splicing image effect obtained by directly selecting the non-overlapping area splicing algorithm, and the image in the area S4 is as shown in Figure 3 and/ Or the effect of the stitched image obtained by the image stitching method in Figure 4.
如图6B所示,为较弱指纹信号raw图去噪后的对比示意图。区域S5内的图像为直接选取不重叠区域拼接算法得到的拼接图像效果,区域S6内的图像为如图3和/或图4中图像拼接方法得到的拼接图像的效果。As shown in FIG. 6B , it is a schematic diagram of the comparison after the raw image of the weak fingerprint signal is denoised. The image in the area S5 is the stitched image effect obtained by directly selecting the non-overlapping area stitching algorithm, and the image in the area S6 is the effect of the stitched image obtained by the image stitching method as shown in FIG. 3 and/or FIG. 4 .
如图6A至图6B中比对示意图,在强指纹场景,本实施例的图像拼接算法得到的指纹信号更加稳定,且噪声降低很多,指纹更为平滑。在弱指纹场景,本实施例的图像拼接算法拼接融合能较大程度的降低图像中的噪声,且指纹信号更加稳定,提升弱指纹场景的指纹识别能力。Comparing the schematic diagrams in FIGS. 6A to 6B , in a strong fingerprint scenario, the fingerprint signal obtained by the image stitching algorithm of this embodiment is more stable, the noise is much reduced, and the fingerprint is smoother. In a weak fingerprint scenario, the image splicing algorithm splicing and fusion in this embodiment can greatly reduce noise in the image, and the fingerprint signal is more stable, improving the fingerprint identification capability of the weak fingerprint scenario.
请参看图7,其为本申请一实施例的图像拼接装置700,该装置可以应用于图1所示的电子设备1,并可以应用于如图2A至图2B所示的指纹识别场景中,以对摄像头阵列采集的多个原始的子图像进行图像拼接。该装置可以包括:获取模块701、划分模块702、处理模块703和拼接模块704,各个模块的原理关系可以如下:Please refer to FIG. 7 , which is an image stitching apparatus 700 according to an embodiment of the application, which can be applied to the electronic device 1 shown in FIG. 1 , and can be applied to the fingerprint recognition scene shown in FIG. 2A to FIG. 2B , Image stitching is performed on multiple original sub-images collected by the camera array. The apparatus may include: an acquisition module 701, a division module 702, a processing module 703 and a splicing module 704, and the principle relationship of each module may be as follows:
获取模块701,被配置成用于获取待处理的原始图像,原始图像由多个采集器13采集的多个子图像组成。详细参见上述实施例中对步骤301的描述。The acquisition module 701 is configured to acquire an original image to be processed, and the original image is composed of multiple sub-images collected by multiple collectors 13 . For details, refer to the description of step 301 in the above embodiment.
划分模块702,被配置成用于在原始图像中,将非过曝区域的图像划分为重叠区域和非重叠区域。重叠区域为多个子图像的像素坐标在原始图像中相互重叠的区域。详细参见上述实施例中对步骤302的描述。The dividing module 702 is configured to divide the image of the non-overexposed area into an overlapping area and a non-overlapping area in the original image. The overlapping area is an area where pixel coordinates of multiple sub-images overlap each other in the original image. For details, refer to the description of step 302 in the above embodiment.
处理模块703,被配置成用于分别对重叠区域和非重叠区域进行像素处理,生成重叠区域的第一像素信息和非重叠区域的第二像素信息。详细参见上述实施例中对步骤303的描述。The processing module 703 is configured to perform pixel processing on the overlapping area and the non-overlapping area, respectively, to generate first pixel information of the overlapping area and second pixel information of the non-overlapping area. For details, refer to the description of step 303 in the above embodiment.
拼接模块704,被配置成用于根据第一像素信息和第二像素信息,将重叠区域和非重叠区域进行图像拼接,生成原始图像的拼接图像。详细参见上述实施例中对步骤304的描述。The stitching module 704 is configured to perform image stitching of the overlapping area and the non-overlapping area according to the first pixel information and the second pixel information, to generate a stitched image of the original image. For details, refer to the description of step 304 in the above embodiment.
于一实施例中,还可以包括:判断模块705,被配置成用于判断原始图像中是否存在过曝区域;选取模块706,被配置成用于若原始图像中存在过曝区域,针对原始图像中的过曝区域,选取子图像的像素坐标不存在相互重叠的区域为有效区域;计算模块707,被配置成用于计算有效区域的第三像素信息;拼接模块704还被配置成用于根据第一像素信息、第二像素信息和第三像素信息进行图像拼接,生成原始图像的拼接图像。In one embodiment, it may further include: a determination module 705, configured to determine whether there is an overexposed area in the original image; a selection module 706, configured to be configured to, for the original image, if there is an overexposed area in the original image The overexposure area in the sub-image is selected as the effective area where the pixel coordinates of the sub-image do not overlap each other; the calculation module 707 is configured to calculate the third pixel information of the effective area; the splicing module 704 is also configured to be used according to Image splicing is performed on the first pixel information, the second pixel information and the third pixel information to generate a spliced image of the original image.
于一实施例中,判断模块705可以被配置成用于:计算原始图像中每个像素点的梯度信息;于原始图像中,查找是否存在梯度信息小于预设的梯度阈值、并且像素值在预设的 像素范围内的第一像素点,若存在,则第一像素点所在的区域为过曝区域。In one embodiment, the judging module 705 may be configured to: calculate the gradient information of each pixel in the original image; in the original image, find out whether there is gradient information smaller than a preset gradient threshold and the pixel value is in the preset value. If the first pixel in the set pixel range exists, the area where the first pixel is located is an overexposed area.
于一实施例中,处理模块703可以被配置成用于:分别计算重叠区域中每个重叠像素点的重叠次数;根据重叠像素点的像素值和重叠次数,分别计算重叠像素点的平均像素值,第一像素信息中包括每个重叠像素点平均像素值。In one embodiment, the processing module 703 may be configured to: calculate the overlapping times of each overlapping pixel point in the overlapping area respectively; calculate the average pixel value of the overlapping pixel points according to the pixel value and the overlapping times of the overlapping pixel points, respectively. , the first pixel information includes the average pixel value of each overlapping pixel point.
于一实施例中,处理模块703还可以被配置成用于:为非重叠区域中的每个非重叠像素点的像素值赋予预设权重,生成每个非重叠像素点的加权像素值,第二像素信息中包括每个非重叠像素点的加权像素值。In one embodiment, the processing module 703 may be further configured to: assign a preset weight to the pixel value of each non-overlapping pixel point in the non-overlapping area, generate a weighted pixel value of each non-overlapping pixel point, and The two-pixel information includes the weighted pixel value of each non-overlapping pixel point.
于一实施例中,预设权重可以大于1。In one embodiment, the preset weight may be greater than 1.
于一实施例中,划分模块702可以被配置成用于:针对非过曝区域,分别计算多个采集器获得的每个子图像的像素坐标;选取子图像的像素坐标存在相互重叠的图像区域为重叠区域,剩余的图像区域为非重叠区域。上述图像拼接装置700的详细描述,请参见上述实施例中相关方法步骤的描述。In one embodiment, the dividing module 702 may be configured to: for the non-overexposed area, calculate the pixel coordinates of each sub-image obtained by the multiple collectors respectively; select the image area where the pixel coordinates of the sub-images overlap each other as: Overlapping areas, the remaining image areas are non-overlapping areas. For a detailed description of the above image stitching apparatus 700, please refer to the description of the relevant method steps in the above embodiment.
本申请的实施例还提供了一种非暂态电子设备可读存储介质,可以包括:程序,当其在电子设备上运行时,使得电子设备可执行上述实施例中方法的全部或部分流程。其中,存储介质可为磁盘、光盘、只读存储记忆体(Read-Only Memory,ROM)、随机存储记忆体(Random Access Memory,RAM)、快闪存储器(Flash Memory)、硬盘(Hard Disk Drive,缩写:HDD)或固态硬盘(Solid-State Drive,SSD)等。存储介质还可以包括上述种类的存储器的组合。Embodiments of the present application also provide a non-transitory electronic device-readable storage medium, which may include: a program, when running on the electronic device, enables the electronic device to execute all or part of the processes of the methods in the foregoing embodiments. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a flash memory (Flash Memory), a hard disk (Hard Disk Drive, Abbreviation: HDD) or Solid-State Drive (SSD), etc. The storage medium may also include a combination of the aforementioned kinds of memories.
虽然结合附图描述了本申请的实施例,但是本领域技术人员可以在不脱离本申请的精神和范围的情况下作出各种修改和变型,这样的修改和变型均落入由所附权利要求所限定的范围之内。Although the embodiments of the present application have been described in conjunction with the accompanying drawings, various modifications and variations can be made by those skilled in the art without departing from the spirit and scope of the present application, and such modifications and variations all fall within the scope of the appended claims within the limited range.
工业实用性Industrial Applicability
本申请提供了一种图像拼接方法、装置、设备和存储介质,该方法包括:获取待处理的原始图像,所述原始图像由多个采集器采集的多个子图像组成;于所述原始图像中,将非过曝区域的图像划分为重叠区域和非重叠区域;所述重叠区域为多个所述子图像的像素坐标在所述原始图像中相互重叠的区域;分别对所述重叠区域和所述非重叠区域进行像素处理,生成所述重叠区域的第一像素信息和所述非重叠区域的第二像素信息;根据所述第一像素信息和所述第二像素信息,将所述重叠区域和所述非重叠区域进行图像拼接,生成所述原始图像的拼接图像。本申请实现了降低拼接图像的网格噪声,使拼接图像更加连续,更加平滑。The present application provides an image stitching method, device, device and storage medium, the method includes: acquiring an original image to be processed, the original image is composed of multiple sub-images collected by multiple collectors; , the image of the non-overexposed area is divided into an overlapping area and a non-overlapping area; the overlapping area is an area where the pixel coordinates of a plurality of the sub-images overlap each other in the original image; Perform pixel processing on the non-overlapping area to generate first pixel information of the overlapping area and second pixel information of the non-overlapping area; according to the first pixel information and the second pixel information, the overlapping area Perform image stitching with the non-overlapping area to generate a stitched image of the original image. The present application realizes the reduction of grid noise of the stitched images, so that the stitched images are more continuous and smoother.
此外,可以理解的是,本申请的图像拼接方法、装置、设备和存储介质是可以重现的, 并且可以用在多种工业应用中。例如,本申请的图像拼接方法、装置、设备和存储介质可以应用于进行图像拼接处理的任何设备。Furthermore, it is understood that the image stitching method, apparatus, device and storage medium of the present application are reproducible and can be used in a variety of industrial applications. For example, the image stitching method, apparatus, device and storage medium of the present application can be applied to any device that performs image stitching processing.

Claims (16)

  1. 一种图像拼接方法,其特征在于,包括:An image stitching method, comprising:
    获取待处理的原始图像,所述原始图像由多个采集器采集的多个子图像组成;acquiring an original image to be processed, the original image is composed of multiple sub-images collected by multiple collectors;
    在所述原始图像中,将非过曝区域的图像划分为重叠区域和非重叠区域;所述重叠区域为多个所述子图像的像素坐标在所述原始图像中相互重叠的区域;In the original image, the image of the non-overexposed area is divided into an overlapping area and a non-overlapping area; the overlapping area is an area where the pixel coordinates of the plurality of sub-images overlap each other in the original image;
    分别对所述重叠区域和所述非重叠区域进行像素处理,生成所述重叠区域的第一像素信息和所述非重叠区域的第二像素信息;Perform pixel processing on the overlapping area and the non-overlapping area, respectively, to generate first pixel information of the overlapping area and second pixel information of the non-overlapping area;
    根据所述第一像素信息和所述第二像素信息,将所述重叠区域和所述非重叠区域进行图像拼接,生成所述原始图像的拼接图像。According to the first pixel information and the second pixel information, image splicing is performed on the overlapping area and the non-overlapping area to generate a spliced image of the original image.
  2. 根据权利要求1所述的方法,其特征在于,还包括:The method of claim 1, further comprising:
    判断所述原始图像中是否存在过曝区域;Determine whether there is an overexposed area in the original image;
    若所述原始图像中存在所述过曝区域,针对所述原始图像中的所述过曝区域,选取所述子图像的像素坐标不存在相互重叠的区域为有效区域;If the overexposed area exists in the original image, for the overexposed area in the original image, select an area where the pixel coordinates of the sub-image do not overlap each other as an effective area;
    计算所述有效区域的第三像素信息;calculating the third pixel information of the effective area;
    根据所述第一像素信息、所述第二像素信息和第三像素信息进行图像拼接,生成所述原始图像的所述拼接图像。Image stitching is performed according to the first pixel information, the second pixel information and the third pixel information to generate the stitched image of the original image.
  3. 根据权利要求2所述的方法,其特征在于,所述判断所述原始图像中是否存在过曝区域包括:The method according to claim 2, wherein the judging whether there is an overexposed area in the original image comprises:
    计算所述原始图像中每个像素点的梯度信息;Calculate the gradient information of each pixel in the original image;
    于所述原始图像中,查找是否存在所述梯度信息小于预设的梯度阈值、并且像素值在预设的像素范围内的第一像素点,若存在,则所述第一像素点所在的区域为所述过曝区域。In the original image, find out whether there is a first pixel whose gradient information is less than a preset gradient threshold and whose pixel value is within a preset pixel range, and if so, the area where the first pixel is located is the overexposed area.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,对所述重叠区域进行像素处理,生成所述重叠区域的第一像素信息的步骤,包括:The method according to any one of claims 1 to 3, wherein the step of performing pixel processing on the overlapping area to generate the first pixel information of the overlapping area includes:
    分别计算所述重叠区域中每个重叠像素点的重叠次数;Calculate the overlapping times of each overlapping pixel point in the overlapping area respectively;
    根据所述重叠像素点的像素值和所述重叠次数,分别计算所述重叠像素点的平均像素值,所述第一像素信息中包括每个所述重叠像素点所述平均像素值。According to the pixel value of the overlapping pixel point and the overlapping times, the average pixel value of the overlapping pixel point is calculated respectively, and the first pixel information includes the average pixel value of each overlapping pixel point.
  5. 根据权利要求1至3中任一项所述的方法,其特征在于,对所述非重叠区域进行像素处理,生成所述非重叠区域的第二像素信息的步骤,包括:The method according to any one of claims 1 to 3, wherein the step of performing pixel processing on the non-overlapping area to generate the second pixel information of the non-overlapping area includes:
    为所述非重叠区域中的每个非重叠像素点的像素值赋予预设权重,生成每个所述非重叠像素点的加权像素值,所述第二像素信息中包括每个所述非重叠像素点的所述加权像素值。assigning a preset weight to the pixel value of each non-overlapping pixel point in the non-overlapping area, generating a weighted pixel value of each of the non-overlapping pixel points, and the second pixel information includes each of the non-overlapping pixel points the weighted pixel value of the pixel point.
  6. 根据权利要求5所述的方法,其特征在于,所述预设权重大于1。The method according to claim 5, wherein the preset weight is greater than 1.
  7. 根据权利要求1至5中任一项所述的方法,其特征在于,所述在所述原始图像中,将非过曝区域的图像划分为重叠区域和非重叠区域,包括:The method according to any one of claims 1 to 5, wherein, in the original image, dividing the image of the non-overexposed area into an overlapping area and a non-overlapping area, comprising:
    针对所述非过曝区域,分别计算所述多个采集器获得的每个所述子图像的像素坐标;For the non-overexposed area, separately calculating the pixel coordinates of each of the sub-images obtained by the multiple collectors;
    选取所述子图像的像素坐标存在相互重叠的图像区域为所述重叠区域,剩余的图像区域为所述非重叠区域。An image area where pixel coordinates of the sub-images overlap each other is selected as the overlapping area, and the remaining image areas are the non-overlapping area.
  8. 一种图像拼接装置,其特征在于,包括:An image stitching device, comprising:
    获取模块,被配置成用于获取待处理的原始图像,所述原始图像由多个采集器采集的多个子图像组成;an acquisition module, configured to acquire an original image to be processed, the original image is composed of a plurality of sub-images collected by a plurality of collectors;
    划分模块,被配置成用于在所述原始图像中,将非过曝区域的图像划分为重叠区域和非重叠区域;所述重叠区域为多个所述子图像的像素坐标在所述原始图像中相互重叠的区域;a dividing module, configured to divide the image of the non-overexposed area into an overlapping area and a non-overlapping area in the original image; the overlapping area is a plurality of pixel coordinates of the sub-images in the original image overlapping areas in
    处理模块,被配置成用于分别对所述重叠区域和所述非重叠区域进行像素处理,生成所述重叠区域的第一像素信息和所述非重叠区域的第二像素信息;a processing module configured to perform pixel processing on the overlapping area and the non-overlapping area, respectively, to generate first pixel information of the overlapping area and second pixel information of the non-overlapping area;
    拼接模块,被配置成用于根据所述第一像素信息和所述第二像素信息,将所述重叠区域和所述非重叠区域进行图像拼接,生成所述原始图像的拼接图像。The stitching module is configured to perform image stitching on the overlapping area and the non-overlapping area according to the first pixel information and the second pixel information to generate a stitched image of the original image.
  9. 根据权利要求8所述的图像拼接装置,其特征在于,还包括:The image stitching device according to claim 8, further comprising:
    判断模块,被配置成用于判断所述原始图像中是否存在过曝区域;a judgment module, configured to judge whether there is an overexposed area in the original image;
    选取模块,被配置成用于若所述原始图像中存在所述过曝区域,针对所述原始图像中的所述过曝区域,选取所述子图像的像素坐标不存在相互重叠的区域为有效区域;A selection module, configured to select an area where the pixel coordinates of the sub-images do not overlap each other for the over-exposed area in the original image to be effective if the over-exposed area exists in the original image area;
    计算模块,被配置成用于计算所述有效区域的第三像素信息;a calculation module configured to calculate the third pixel information of the effective area;
    其中,所述拼接模块还被配置成用于根据所述第一像素信息、所述第二像素信息和第三像素信息进行图像拼接,生成所述原始图像的所述拼接图像。Wherein, the stitching module is further configured to perform image stitching according to the first pixel information, the second pixel information and the third pixel information to generate the stitched image of the original image.
  10. 根据权利要求9所述的图像拼接装置,其特征在于,所述判断模块被配置成用于:计算所述原始图像中每个像素点的梯度信息;于所述原始图像中,查找是否存在所述梯度信息小于预设的梯度阈值、并且像素值在预设的像素范围内的第一像素点,若存在,则所述第一像素点所在的区域为所述过曝区域。The image stitching device according to claim 9, wherein the judging module is configured to: calculate the gradient information of each pixel in the original image; If the gradient information is less than the preset gradient threshold and the pixel value is within the preset pixel range of the first pixel, if there is, the area where the first pixel is located is the overexposed area.
  11. 根据权利要求8至10中任一项所述的图像拼接装置,其特征在于,所述处理模块被配置成用于:分别计算所述重叠区域中每个重叠像素点的重叠次数;根据所述重叠像素点的像素值和所述重叠次数,分别计算所述重叠像素点的平均像素值,所述第一像素信息中包括每个所述重叠像素点所述平均像素值。The image stitching apparatus according to any one of claims 8 to 10, wherein the processing module is configured to: respectively calculate the overlap times of each overlapped pixel point in the overlapped area; The average pixel value of the overlapping pixel points is calculated respectively according to the pixel value of the overlapping pixel points and the overlapping times, and the first pixel information includes the average pixel value of each overlapping pixel point.
  12. 根据权利要求8至10中任一项所述的图像拼接装置,其特征在于,所述处理模块 还被配置成用于:为所述非重叠区域中的每个非重叠像素点的像素值赋予预设权重,生成每个所述非重叠像素点的加权像素值,所述第二像素信息中包括每个所述非重叠像素点的所述加权像素值。The image stitching apparatus according to any one of claims 8 to 10, wherein the processing module is further configured to: assign a pixel value to each non-overlapping pixel point in the non-overlapping area A preset weight is used to generate a weighted pixel value of each of the non-overlapping pixel points, and the second pixel information includes the weighted pixel value of each of the non-overlapping pixel points.
  13. 根据权利要求12所述的图像拼接装置,其特征在于,所述预设权重大于1。The image stitching apparatus according to claim 12, wherein the preset weight is greater than 1.
  14. 根据权利要求8至13中任一项所述的图像拼接装置,其特征在于,所述划分模块被配置成用于:针对所述非过曝区域,分别计算所述多个采集器获得的每个所述子图像的像素坐标;选取所述子图像的像素坐标存在相互重叠的图像区域为所述重叠区域,剩余的图像区域为所述非重叠区域。The image stitching apparatus according to any one of claims 8 to 13, wherein the dividing module is configured to: for the non-overexposed area, respectively calculate each image obtained by the plurality of collectors pixel coordinates of the sub-images; selecting an image area where the pixel coordinates of the sub-images overlap each other as the overlapping area, and the remaining image areas as the non-overlapping area.
  15. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    存储器,被配置成用以存储计算机程序;a memory configured to store a computer program;
    处理器,被配置成用以执行如权利要求1至7中任一项所述的方法,以对多个原始的子图像进行图像拼接。A processor configured to perform the method of any one of claims 1 to 7 for image stitching of the plurality of original sub-images.
  16. 一种非暂态电子设备可读存储介质,其特征在于,包括:程序,当其藉由电子设备运行时,使得所述电子设备执行权利要求1至7中任一项所述的方法。A non-transitory electronic device readable storage medium, characterized by comprising: a program which, when run by the electronic device, causes the electronic device to execute the method of any one of claims 1 to 7 .
PCT/CN2021/118350 2020-12-14 2021-09-14 Image stitching method and apparatus, and device and storage medium WO2022127225A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011477009.3 2020-12-14
CN202011477009.3A CN112686802B (en) 2020-12-14 2020-12-14 Image stitching method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2022127225A1 true WO2022127225A1 (en) 2022-06-23

Family

ID=75447868

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/118350 WO2022127225A1 (en) 2020-12-14 2021-09-14 Image stitching method and apparatus, and device and storage medium

Country Status (2)

Country Link
CN (1) CN112686802B (en)
WO (1) WO2022127225A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116579927A (en) * 2023-07-14 2023-08-11 北京心联光电科技有限公司 Image stitching method, device, equipment and storage medium

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112686802B (en) * 2020-12-14 2024-05-31 天津极豪科技有限公司 Image stitching method, device, equipment and storage medium
CN113270065A (en) * 2021-06-18 2021-08-17 北京京东方传感技术有限公司 Display panel, display device, image acquisition system and processing method
CN113487484B (en) * 2021-07-09 2022-08-12 上海智砹芯半导体科技有限公司 Image splicing method and device, electronic equipment and computer readable storage medium
CN113724157A (en) * 2021-08-11 2021-11-30 浙江大华技术股份有限公司 Image blocking method, image processing method, electronic device, and storage medium
CN114040179B (en) * 2021-10-20 2023-06-06 重庆紫光华山智安科技有限公司 Image processing method and device
CN117651212A (en) * 2024-01-29 2024-03-05 荣耀终端有限公司 Exposure parameter adjusting method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140267659A1 (en) * 2013-03-15 2014-09-18 Apple Inc. High dynamic range capacitive sensing
CN110490160A (en) * 2019-08-23 2019-11-22 成都费恩格尔微电子技术有限公司 A kind of the finger print information acquisition system and electronic equipment of more lens modules
CN111160244A (en) * 2019-12-27 2020-05-15 敦泰电子(深圳)有限公司 Fingerprint identification method and device
CN112686802A (en) * 2020-12-14 2021-04-20 北京迈格威科技有限公司 Image splicing method, device, equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08262583A (en) * 1995-03-28 1996-10-11 Fuji Photo Film Co Ltd Exposing method for divided image
CN105894448B (en) * 2015-11-06 2019-08-20 法法汽车(中国)有限公司 The generation method of mask matrix, the synthetic method for image of parking and device
CN105516597B (en) * 2015-12-30 2018-11-13 完美幻境(北京)科技有限公司 A kind of pan-shot processing method and processing device
US9990753B1 (en) * 2017-01-11 2018-06-05 Macau University Of Science And Technology Image stitching
CN108648145B (en) * 2018-04-28 2023-02-03 北京东软医疗设备有限公司 Image splicing method and device
CN110278360B (en) * 2019-06-28 2021-03-23 Oppo广东移动通信有限公司 Image processing method and device, electronic equipment and computer readable storage medium
CN111915483B (en) * 2020-06-24 2024-03-19 北京迈格威科技有限公司 Image stitching method, device, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140267659A1 (en) * 2013-03-15 2014-09-18 Apple Inc. High dynamic range capacitive sensing
CN110490160A (en) * 2019-08-23 2019-11-22 成都费恩格尔微电子技术有限公司 A kind of the finger print information acquisition system and electronic equipment of more lens modules
CN111160244A (en) * 2019-12-27 2020-05-15 敦泰电子(深圳)有限公司 Fingerprint identification method and device
CN112686802A (en) * 2020-12-14 2021-04-20 北京迈格威科技有限公司 Image splicing method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LI XIAOJUAN: "Research on Image Mosaic", CHINESE DOCTORAL DISSERTATIONS & MASTER'S THESES FULL-TEXT DATABASE (MASTER), 1 January 2007 (2007-01-01), pages 1 - 62, XP055943863 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116579927A (en) * 2023-07-14 2023-08-11 北京心联光电科技有限公司 Image stitching method, device, equipment and storage medium
CN116579927B (en) * 2023-07-14 2023-09-19 北京心联光电科技有限公司 Image stitching method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN112686802B (en) 2024-05-31
CN112686802A (en) 2021-04-20

Similar Documents

Publication Publication Date Title
WO2022127225A1 (en) Image stitching method and apparatus, and device and storage medium
US10269130B2 (en) Methods and apparatus for control of light field capture object distance adjustment range via adjusting bending degree of sensor imaging zone
WO2018196549A1 (en) Dual-core focusing image sensor, focusing control method for the same, and electronic device
US20210133920A1 (en) Method and apparatus for restoring image
CN107945112A (en) A kind of Panorama Mosaic method and device
WO2021115136A1 (en) Anti-shake method and apparatus for video image, electronic device, and storage medium
CN111915483B (en) Image stitching method, device, computer equipment and storage medium
CN110796600B (en) Image super-resolution reconstruction method, image super-resolution reconstruction device and electronic equipment
US11532089B2 (en) Optical flow computing method and computing device
CN108257186B (en) Method and device for determining calibration image, camera and storage medium
CN111161136B (en) Image blurring method, image blurring device, equipment and storage device
WO2022267939A1 (en) Image processing method and apparatus, and computer-readable storage medium
CN108198189B (en) Picture definition obtaining method and device, storage medium and electronic equipment
JP2016208075A (en) Image output device, method for controlling the same, imaging apparatus, and program
CN112184609B (en) Image fusion method and device, storage medium and terminal
CN111767752B (en) Two-dimensional code identification method and device
JP6362070B2 (en) Image processing apparatus, imaging apparatus, image processing method, program, and storage medium
CN115587948A (en) Image dark field correction method and device
CN106375648B (en) Image Acquisition control method and device
CN110689609B (en) Image processing method, image processing device, electronic equipment and storage medium
CN113592753A (en) Image processing method and device based on industrial camera shooting and computer equipment
CN114119701A (en) Image processing method and device
CN112150532A (en) Image processing method and device, electronic equipment and computer readable medium
CN112752088A (en) Depth image generation method and device, reference image generation method and electronic equipment
CN111382753A (en) Light field semantic segmentation method and system, electronic terminal and storage medium

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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

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

122 Ep: pct application non-entry in european phase

Ref document number: 21905157

Country of ref document: EP

Kind code of ref document: A1