Image blurring processing method and apparatus, and medium and device

Through singular value decomposition and convolution technology, a spot blur effect with customized shape and brightness is generated, which solves the problem of poor image blur effect in the existing technology and achieves a more natural and diverse spot effect.

WO2024193145A1PCT designated stage expired Publication Date: 2024-09-26NIO SMART TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/140390
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-20
Filing Date
2023-12-20
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

The spot blur mode of existing electronic devices uses spot templates with fixed shapes and consistent brightness, resulting in poor image blur effects, a strong sense of patchiness, and a lack of layering.

Method used

Singular value decomposition technology is used to process the spot template image, and a decomposition feature weight table is generated, and a spot blur effect of customized shape and brightness is generated through convolution operation. Combined with the saturation enhancement processing of the highlight area, the image blur effect is improved.

Benefits of technology

It achieves a multi-level natural and realistic image blur effect, enhances the play selectivity of the spot mode, and avoids the problem of a strong texture of the spot template.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023140390_26092024_PF_FP
    Figure CN2023140390_26092024_PF_FP
Patent Text Reader

Abstract

The present application relates to the technical field of image processing. Specifically provided are an image blurring processing method and apparatus, and a medium and a device. The present application aims to solve the technical problem of how to improve a picture blurring effect. For this purpose, the image blurring processing method in the present application is provided, and the method comprises: acquiring a configured light spot template image; performing singular value decomposition on the light spot template image, so as to obtain a decomposition feature weight table and an accumulation weight; on the basis of the decomposition feature weight table, performing convolution on an inputted image to be blurred, so as to obtain a convolutional image; and performing weighting on the convolutional image and the accumulation weight, so as to obtain a light-spot-blurred rendered image of the image to be blurred.
Need to check novelty before this filing date? Find Prior Art

Description

Image blur processing method, device, medium and equipment

[0001] This application claims priority to Chinese patent application No. 202310275023.2 filed on March 20, 2023, entitled “A method, device, medium and equipment for image blurring processing”. The entire contents of the above Chinese patent application are incorporated into this application by reference. Technical Field

[0002] The present application relates to image processing technology, and specifically provides an image blur processing method, device, medium and equipment. Background Art

[0003] With the continuous update of electronic devices (such as mobile phones), users have an increasing demand for image processing functions in these devices, which has led to the application of image spot rendering technology. The so-called spot rendering technology refers to the addition of a spot effect to an image based on image blur processing technology and image rendering technology.

[0004] At present, the light spot (blur) mode of electronic equipment generally adopts the method of pasting a light spot template to achieve the light spot effect. Since the shape, size and brightness of the light spot template are consistent, the brightness, size and shape of the blurred area in the image are also consistent. Therefore, the image blur effect is poor, which is reflected in the strong sense of patchiness and pasting, and the effect is fake and without layers.

[0005] Summary of the Invention

[0006] In order to overcome the above-mentioned defects, the present application is proposed to provide an image blur processing method, device, medium and equipment that solve or at least partially solve the technical problem of how to improve the blur effect of an image.

[0007] In a first aspect, the present application provides an image blur processing method, comprising:

[0008] Obtain the configured spot template image;

[0009] Based on performing singular value decomposition on the light spot template image, a decomposition feature weight table and cumulative weights are obtained;

[0010] Convolving the input image to be blurred based on the decomposition feature weight table to obtain a convolved image;

[0011] The convolution image and the accumulated weight are weighted to obtain a light spot blurred rendering image of the image to be blurred.

[0012] In one technical solution of the above-mentioned image blurring processing method,

[0013] The method further includes: customizing parameters of a preset light spot template image.

[0014] In one technical solution of the above-mentioned image blurring processing method,

[0015] The decomposition feature weight table includes: a horizontal weight table and a vertical weight table;

[0016] Convolving the input image to be blurred based on the decomposed feature weight table to obtain a convolved image includes: convolving the input image to be blurred through the horizontal weight table and the vertical weight table to obtain a convolved image.

[0017] In one technical solution of the above-mentioned image blurring processing method,

[0018] The step of convolving the input image to be blurred by using the horizontal weight table and the vertical weight table to obtain a convolved image includes:

[0019] Convolving the input image to be blurred using the horizontal weight table and the vertical weight table simultaneously to obtain a convolved image;

[0020] or,

[0021] Performing a horizontal convolution on the input image to be blurred using the horizontal weight table to obtain a horizontal convolution image;

[0022] The horizontal convolution image is vertically convolved using the vertical weight table to obtain a convolution image.

[0023] In one technical solution of the above-mentioned image blurring processing method,

[0024] The method further includes: performing enhancement processing on the highlight area of ​​the input image to be blurred.

[0025] In one technical solution of the above-mentioned image blurring processing method,

[0026] The step of enhancing the highlight area of ​​the input image to be blurred includes:

[0027] Extract the highlight area of ​​the input image to be blurred to obtain a highlight area image;

[0028] The saturation of the image to be blurred is enhanced based on the highlight area image to obtain the image to be blurred after the saturation is enhanced.

[0029] In one technical solution of the above-mentioned image blurring processing method,

[0030] The method also includes: counting the number of highlight points in the highlight area image to determine whether the number of highlight points is greater than a threshold; if so, performing saturation enhancement on the image to be blurred based on the highlight area image to obtain the image to be blurred after saturation enhancement; if not, abandoning the enhancement processing of the highlight area.

[0031] In one technical solution of the above-mentioned image blurring processing method,

[0032] The step of fusing the segmentation region mask image with the image to be segmented to obtain a final segmentation region image includes:

[0033] Setting other regions except the segmented region in the segmented region mask image to negative values;

[0034] The segmentation region mask image is multiplied by the image to be segmented to obtain a final segmentation region image.

[0035] In a second aspect, the present application provides an image blur processing device, comprising a memory, one or more processors, and one or more applications, wherein the one or more applications are stored in the memory, and when the one or more applications are configured to be called by the one or more processors, the one or more processors execute any method described in the first aspect.

[0036] In a third aspect, the present application provides a computer-readable storage medium storing a plurality of program codes, wherein the program codes are suitable for being loaded and run by a processor to execute the method as described in any one of the first aspects.

[0037] In a fourth aspect, the present application provides an electronic device, comprising the apparatus as described in the second aspect.

[0038] The above one or more technical solutions of this application have at least one or more of the following beneficial effects:

[0039] In the technical solution for implementing the present application, based on singular value decomposition (SVD decomposition), the custom-shaped spot template image is subjected to singular value decomposition to obtain a decomposed weight table, and then convolution is performed based on the weight table. The image after the spot is blurred and rendered can meet the needs of various custom-shaped spot effects through singular value decomposition, and through decomposition and convolution processing, the image spot effect is made more layered, natural and realistic. At the same time, the singular value decomposition and re-convolution of the spot template provide more options for playing with the spot mode. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The disclosure of this application will be more easily understood with reference to the accompanying drawings. Those skilled in the art will readily appreciate that these drawings are for illustrative purposes only and are not intended to limit the scope of protection of this application. Furthermore, similar numbers in the figures represent similar components, where:

[0041] FIG1 is a schematic flow chart of the main steps of an image blurring processing method according to an embodiment of the present application;

[0042] FIG2 is a schematic diagram of a light spot template image according to an embodiment of the present application;

[0043] FIG3 is a schematic diagram of singular value decomposition according to an embodiment of the present application;

[0044] FIG4 is a schematic flow chart of main steps of a method for performing image blurring processing on a camera according to an embodiment of the present application;

[0045] FIG5 is an example diagram of an original image according to an embodiment of the present application;

[0046] FIG6 is a diagram showing a highlight region extracted from the original image example in FIG5 according to an embodiment of the present application;

[0047] FIG. 7 is a final light spot blurred rendering image of FIG. 5 according to an embodiment of the present application. DETAILED DESCRIPTION

[0048] Some embodiments of the present application are described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principles of the present application and are not intended to limit the scope of protection of the present application.

[0049] In the description of this application, "module" and "processor" may include hardware, software, or a combination of both. A module may include hardware circuitry, various suitable sensors, communication ports, and memory. It may also include software components, such as program code, or a combination of software and hardware. A processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor, or any other suitable processor. A processor has data and / or signal processing capabilities. A processor may be implemented in software, hardware, or a combination of both. Non-transitory computer-readable storage media include any suitable medium capable of storing program code, such as magnetic disks, hard disks, optical disks, flash memory, read-only memory, random access memory, etc. The term "A and / or B" refers to all possible combinations of A and B, such as only A, only B, or both A and B. The terms "at least one of A or B" or "at least one of A and B" have similar meanings to "A and / or B" and may include only A, only B, or both A and B. The singular forms "a" and "the" may also include the plural forms.

[0050] At present, the light spot (blur) mode of electronic devices (such as mobile phones and other devices with image processing functions) generally adopts a light spot template with a fixed shape and size, and realizes the light spot effect in the form of a texture. Since the shape, size and brightness of the light spot template are consistent, the brightness, size and shape of the blurred areas in the image are also consistent. The situation that the shapes, brightness and other degrees of each part in the image to be processed are not taken into account. Therefore, the image blur effect is poor, which is reflected in the strong patchy and textured feeling, the effect is fake, and there is no layering. Based on this, the present application proposes a new image blur processing method, which can avoid the problem of strong texture feeling of the light spot template and improve the blur effect.

[0051] Referring to FIG1 , FIG1 is a flow chart showing the main steps of an image blurring processing method according to an embodiment of the present application. As shown in FIG1 , an image blurring processing method in an embodiment of the present application mainly includes the following steps S101 to S104 .

[0052] Step S101: Acquire a configured light spot template image;

[0053] In this embodiment, the spot template image refers to a template image pre-configured in the electronic device for blurring an image. In this application, the parameters of the spot template image are adjustable and configurable. For example, after loading the spot template image, the shape, size, brightness, and transparency of the spot can be changed by clicking and pulling. As shown in Figure 2, the spot template image can be circular or elliptical, and the brightness can be high or low, depending on the needs of the image to be blurred.

[0054] Step S102: performing singular value decomposition on the spot template image to obtain a decomposition feature weight table and cumulative weights;

[0055] In this embodiment, since the spot template image can be represented as a matrix, with the elements in the matrix representing the individual pixels in the spot template image, singular value decomposition can be performed on the spot template image. After decomposition, a decomposition feature weight table and cumulative weights can be obtained. In this application, singular value decomposition is performed on a spot template image with customizable shape parameters. By using feature decomposition, the template image's textured appearance is removed, giving it a sense of layering and realism.

[0056] In one embodiment, as shown in FIG3 , a spot template image Mm may be set, and Mm is converted into a matrix form A m×n , A m×n Represents an m×n matrix, where m corresponds to the horizontal position of the pixel in the matrix, and n corresponds to the vertical position of the pixel in the matrix; m×nPerforming singular value (SVD) decomposition will inevitably result in an m×m matrix U m×m , n×n matrix V n×n and the m×n matrix ∑ m×n , U m×m It's AA T The characteristic vector of V n×n It's A T The eigenvector of A, T represents the transpose of the matrix, U m×m Each eigenvector in is called A m×n The left singular vector of V is related to m, n×n Each eigenvector in is called A m×n The right singular vector of is related to n, ∑ m×n All elements except the main diagonal are 0. Each element on the main diagonal is called a singular value, also known as AA. T or A T The square root of the non-zero eigenvalues ​​of A, so ∑ m×n is the singular value matrix, i.e., the accumulated weights. In this application, U m×m Each eigenvector in can represent the decomposed horizontal weight, so U m×m The matrix can be expressed as a horizontal weight table Mat_x, V n×n The matrix can be expressed as a vertical weight table Mat_y, where the singular value represents its cumulative weight, and the matrix ∑ m×n It can be expressed as Mat_acc.

[0057] Step S103: performing convolution on the input image to be blurred based on the decomposition feature weight table to obtain a convolved image;

[0058] In this embodiment, a convolution operation is performed on the image by decomposing the feature weight table, that is, the decomposition feature weight table is used as the convolution kernel to convolve the image to be blurred, thereby obtaining a convolved image. In this application, since the spot template image is subjected to singular value decomposition, it is necessary to perform convolution operations using the horizontal weight table and the vertical weight table respectively.

[0059] In one embodiment, the input image to be blurred can be convolved simultaneously with the horizontal weight table and the vertical weight table to obtain a convolved image. Alternatively, the input image to be blurred can be first convolved horizontally with the horizontal weight table to obtain a horizontal convolved image, and then the horizontal convolved image can be vertically convolved with the vertical weight table to obtain a convolved image. Both methods can obtain a convolved image with the weight table as the convolution kernel, and the final effect is the same. However, the method of simultaneously convolving the input image to be blurred with the horizontal weight table and the vertical weight table has a high number of convolutions and a large amount of computation, which is not suitable for images with a large number of pixels. By performing convolution separately, the computation speed can be effectively improved and the computation amount can be reduced.

[0060] In one embodiment, before convolving the image to be blurred, the highlight area of ​​the input image to be blurred can be enhanced: first, the highlight area of ​​the image to be blurred is extracted to obtain a highlight area image; then, the saturation of the image to be blurred is enhanced in combination with the highlight area image to obtain a saturation-enhanced image to be blurred, making the highlight area more distinct. Finally, the convolved light spot blurred rendering image has a more vivid glow, and the saturation level can be customized according to user needs. Furthermore, before saturation enhancement of the image to be blurred, the number of highlight points in the highlight area image can be counted to determine whether the number of highlight points is greater than a threshold; if so, the saturation of the image to be blurred is enhanced in combination with the highlight area image to obtain a saturation-enhanced image to be blurred; if not, the highlight area enhancement process is abandoned and the image is directly convolved.

[0061] Step S104: weighting the convolution image and the accumulated weight to obtain a light spot blurred rendering image of the image to be blurred.

[0062] In this embodiment, a weighted calculation (matrix multiplication) is performed on the convolution image obtained in step S103 and the accumulated weight, and the superposition and mixing of the spot effects are achieved by the accumulated weight, and the output is the final spot blurred rendering image blurred by the spot image template.

[0063] In one embodiment, if singular value decomposition is performed on the spot template image Mm to obtain a horizontal weight table Mat_x, a vertical weight table Mat_y, and an accumulated weight Mat_acc, the blurred image Msrc is processed as follows:

[0064] S201: extracting the highlight area of ​​the image Msrc to obtain a highlight area image Mh;

[0065] S202: Counting the number of highlight points in the highlight area image Mh to obtain the number of highlight points Num;

[0066] S203: Determine whether Num is greater than a threshold value Tn;

[0067] If not: it means there is no highlight area in the image, output the original image Msrc and go to step S205;

[0068] If yes: go to step S204;

[0069] S204: combining the highlight area image Mh, performing saturation enhancement on the original image Msrc to obtain a saturation enhanced image Mc;

[0070] S205: Performing horizontal convolution on the image Mc or the image Msrc using the horizontal weight table Mat_x to obtain a horizontal convolution image Mh;

[0071] S206: Perform vertical convolution on the horizontal convolution image Mh using the vertical weight table Mat_y to obtain a vertical convolution image Mv;

[0072] S207: Weighting the vertical convolution image Mv and the accumulated weight Mat_acc to obtain the final spot blur rendering image Mout.

[0073] Based on the above steps S101 to S104, the embodiment of the present application performs singular value decomposition on the custom-shaped spot template image based on singular value decomposition (SVD decomposition), obtains the decomposed weight table, and then performs convolution based on the weight table. The image after the spot is blurred and rendered can meet the needs of various custom-shaped spot effects through singular value decomposition, and through decomposition and convolution processing, the image spot effect is more layered, natural and realistic. At the same time, the singular value decomposition and re-convolution of the spot template provide more options for playing the spot mode.

[0074] It should be pointed out that although the various steps in the above embodiments are described in a specific order, those skilled in the art will understand that in order to achieve the effect of the present application, different steps do not have to be performed in such an order. They can be performed simultaneously (in parallel) or in other orders. These changes are within the scope of protection of the present application.

[0075] Furthermore, the present application also provides an image blur processing device, including a memory, one or more processors, and one or more applications, wherein the one or more applications are stored in the memory, and when the one or more applications are configured to be called by the one or more processors, the one or more processors execute the method described in the technical solution of steps S101-S104 above.

[0076] The apparatus in the embodiments of the present application primarily includes a memory and a processor. The memory can be configured to store a program for executing the image blur processing method of the above-described method embodiment, and the processor can be configured to execute the program in the memory, including but not limited to a program for executing the image blur processing method of the above-described method embodiment. For ease of illustration, only the portions relevant to the embodiments of the present application are shown. For specific technical details not disclosed, please refer to the method section of the embodiments of the present application.

[0077] In one embodiment, an image blur processing device may include:

[0078] The template acquisition module is used to obtain the configured spot template image;

[0079] A decomposition module, configured to obtain a decomposition feature weight table and an accumulated weight based on performing singular value decomposition on the light spot template image;

[0080] A convolution calculation module, configured to perform convolution on the input image to be blurred based on the decomposition feature weight table to obtain a convolved image;

[0081] An output module is used to weight the convolution image and the accumulated weight to obtain a spot blurred rendering image of the image to be blurred.

[0082] In the embodiment of the present application, the image blur processing device may be a control device formed by various electronic devices. In some possible implementations, the device may include multiple storage devices and multiple processors. The program for executing the image blur processing method of the above method embodiment can be divided into multiple subroutines, and each subroutine can be loaded and run by the processor to execute different steps of the image blur processing method of the above method embodiment. Specifically, each subroutine can be stored in different memories respectively, and each processor can be configured to execute the program in one or more memories to jointly implement the image blur processing method of the above method embodiment, that is, each processor executes different steps of the image blur processing method of the above method embodiment respectively to jointly implement the image blur processing method of the above method embodiment.

[0083] The aforementioned multiple processors may be processors deployed on the same device. For example, the aforementioned computer device may be a high-performance device composed of multiple processors, and the aforementioned multiple processors may be processors configured on the high-performance device. Furthermore, the aforementioned multiple processors may also be processors deployed on different devices. For example, the aforementioned computer device may be a server cluster, and the aforementioned multiple processors may be processors on different servers in the server cluster.

[0084] The above-mentioned image blur processing device is used to execute the embodiment of the image blur processing method shown in Figure 1. The technical principles, technical problems solved and technical effects produced by the two are similar. Technical personnel in this technical field can clearly understand that for the convenience and conciseness of description, the specific working process and related instructions of the control device can refer to the contents described in the embodiment of the image blur processing method, and will not be repeated here.

[0085] Furthermore, the present application also provides an electronic device including the image blur processing device of the above embodiment. For ease of explanation, only the parts related to the embodiment of the present application are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present application.

[0086] In one embodiment, the electronic device may be a smart terminal such as a mobile phone or iPad with a camera function or an image processing function. Taking an electronic device with a camera function as an example, image blurring processing is performed, as shown in FIG4 , mainly performing the following steps:

[0087] S301: Start the camera and enter the blur mode;

[0088] S302: Loading the horizontal weight table Mat_x and the vertical weight table Mat_y obtained in the above step S102 (in this example, the spot template image selects a circular template);

[0089] S303: triggering a photo shooting: obtaining the original image Msrc currently shot, the original image Msrc is shown in FIG5 ;

[0090] S304: extracting the highlight area of ​​the image Msrc to obtain a highlight area image Mh, as shown in FIG6 ;

[0091] S305: Counting the number of highlight points in the highlight area image Mh to obtain the number of highlight points Num;

[0092] S306: Determine whether Num is greater than a threshold value Tn;

[0093] If not: it means there is no highlight area in the image, output the original image Msrc and go to step S308;

[0094] If yes: go to step S307;

[0095] S307: Combined with the highlight area image Mh, the original image Msrc is saturated to obtain a saturation-enhanced image Mc;

[0096] S308: Performing horizontal convolution on the image Mc or the image Msrc using the horizontal weight table Mat_x to obtain a horizontal convolution image Mh;

[0097] S309: Perform vertical convolution on the horizontal convolution image Mh using the vertical weight table Mat_y to obtain a vertical convolution image Mv;

[0098] S310: performing weighting (matrix multiplication) on the vertical convolution image Mv and the accumulated weight Mat_acc to obtain the final light spot blur rendering image Mout; the light spot blur rendering image is shown in FIG7;

[0099] S311: Update relevant information and end this shooting.

[0100] The control device in the embodiment of the present application mainly includes a memory and a processor. The memory can be configured to store a program for executing the image blur processing method of the above-mentioned method embodiment, and the processor can be configured to execute the program in the memory, which includes but is not limited to the program for executing the image blur processing method of the above-mentioned method embodiment. For ease of explanation, only the parts related to the embodiment of the present application are shown. For specific technical details not disclosed, please refer to the method section of the embodiment of the present application.

[0101] It will be understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment of the present application can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, it can implement the steps of each of the above method embodiments. The computer program includes computer program code, which can be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium can include: any entity or device, medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory, random access memory, electric carrier signal, telecommunication signal and software distribution medium that can carry the computer program code. It should be noted that the content contained in the computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable storage media do not include electric carrier signals and telecommunication signals.

[0102] Furthermore, the present application also provides a computer-readable storage medium. In a computer-readable storage medium embodiment according to the present application, the computer-readable storage medium can be configured to store a program for executing the image blur processing method of the above-mentioned method embodiment, and the program can be loaded and run by the processor to implement the above-mentioned image blur processing method. For ease of explanation, only the parts related to the embodiment of the present application are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present application. The computer-readable storage medium can be a storage device formed by various electronic devices. Optionally, the computer-readable storage medium in the embodiment of the present application is a non-temporary computer-readable storage medium.

[0103] Furthermore, it should be understood that since the configuration of each module is merely for the purpose of illustrating the functional units of the apparatus of the present application, the physical devices corresponding to these modules may be the processor itself, or a portion of the software in the processor, a portion of the hardware, or a combination of software and hardware. Therefore, the number of modules in the figure is merely illustrative.

[0104] Those skilled in the art will appreciate that the various modules in the device can be adaptively split or merged. Such splitting or merging of specific modules will not cause the technical solution to deviate from the principles of this application. Therefore, the technical solutions after splitting or merging will fall within the scope of protection of this application.

[0105] Thus far, the technical solutions of the present application have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is readily understood by those skilled in the art that the scope of protection of the present application is obviously not limited to these specific embodiments. Without departing from the principles of the present application, those skilled in the art may make equivalent changes or substitutions to the relevant technical features, and the technical solutions after such changes or substitutions will fall within the scope of protection of the present application.

Claims

1. A method for image blurring, characterized in that: include: Obtain the configured spot template image; Based on performing singular value decomposition on the light spot template image, a decomposition feature weight table and a cumulative weight are obtained; Convolving the input image to be blurred based on the decomposed feature weight table to obtain a convolved image; The convolution image and the accumulated weight are weighted to obtain a spot blurred rendering image of the image to be blurred.

2. The image blur processing method according to claim 1, characterized in that: The method further comprises: customizing the parameters of the preset light spot template image.

3. The image blur processing method according to claim 1 or 2, characterized in that: The decomposition feature weight table includes: a horizontal weight table and a vertical weight table; Convolving the input image to be blurred based on the decomposed feature weight table to obtain a convolved image includes: convolving the input image to be blurred through the horizontal weight table and the vertical weight table to obtain a convolved image.

4. The image blur processing method according to claim 3, characterized in that: The step of convolving the input image to be blurred by using the horizontal weight table and the vertical weight table to obtain a convolved image includes: Convolving the input image to be blurred using the horizontal weight table and the vertical weight table at the same time to obtain a convolved image; or, Performing horizontal convolution on the input image to be blurred using the horizontal weight table to obtain a horizontal convolution image; The horizontal convolution image is vertically convolved using the vertical weight table to obtain a convolution image.

5. The image blur processing method according to any one of claims 1 to 4, characterized in that: The method further comprises: performing enhancement processing on the highlight area of ​​the input image to be blurred.

6. The image blur processing method according to claim 4, characterized in that: The step of enhancing the highlight area of ​​the input image to be blurred includes: Extracting the highlight area of ​​the input image to be blurred to obtain a highlight area image; The saturation of the image to be blurred is enhanced based on the highlight area image to obtain the image to be blurred after the saturation is enhanced.

7. The image blur processing method according to claim 5, characterized in that: The method also includes: counting the number of highlight points in the highlight area image to determine whether the number of highlight points is greater than a threshold; if so, enhancing the saturation of the image to be blurred based on the highlight area image to obtain the image to be blurred after saturation enhancement; if not, abandoning the enhancement process for the highlight area.

8. An image blur processing device, characterized in that: The method comprises a memory, one or more processors, and one or more applications, wherein the one or more applications are stored in the memory, and when the one or more applications are configured to be called by the one or more processors, the one or more processors execute the method as described in any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that: A plurality of program codes are stored, and the program codes are suitable for being loaded and run by a processor to execute the method according to any one of claims 1 to 7.

10. An electronic device, characterized in that: The device comprises an apparatus as claimed in claim 8.

Citation Information

Patent Citations

  • Image blurring method and device and electronic equipment

    CN109727193A

  • Target object blurring method and device, storage medium and electronic equipment

    CN114372931A

  • Image blurring method and terminal equipment

    CN114626992A

  • Image processing method, device and equipment and computer readable storage medium

    CN114792283A

  • Parallel Image Convolution Processing with SVD Kernel Data

    US20140112596A1