Image fuzzy processing method and electronic device
A technology of blurring and image processing, applied in the field of image processing, which can solve problems such as complex calculation process, occupation of processing resources, and large amount of calculation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0080] An embodiment of the present invention provides an image blurring processing method, referring to figure 1 As shown, the method includes:
[0081] S1. Obtain the pixel value of the current pixel point in the image in a preset order.
[0082] S2. For each acquired current pixel, calculate an average value of pixel values of the current pixel and multiple pixels adjacent to the left and right according to the plurality of pixels adjacent to the current pixel.
[0083] Specifically, according to the plurality of pixel points adjacent to the left and right of the current pixel point, the process of calculating the average value of the pixel values of the current pixel point and the plurality of pixel points adjacent to the left and right may include:
[0084] Determine a plurality of pixel points adjacent to the left and right of the current pixel point according to the blur radius;
[0085] Obtain pixel values of the plurality of pixel points;
[0086] Calculate t...
Embodiment 2
[0102] An embodiment of the present invention provides an image blurring processing method, referring to figure 2 As shown, the method includes:
[0103] S1. Obtain the pixel value of the current pixel point in the image in a preset order.
[0104] Based on the initial orientation of the image, the preset order can be from the first pixel in the upper left corner of the image, from the leftmost pixel to the rightmost pixel, and then from the leftmost pixel to the rightmost pixel in the next line side order, including the order starting from the first pixel in the upper right corner of the image, from the rightmost to the leftmost, and also including the order starting from the lower left corner or lower right corner of the image; in addition, the The preset order can also start with the pixel at the middle position of the first row on the top, and obtain the pixels in the middle position in the order of left or right, for example, start from the pixel at the middle position ...
Embodiment 3
[0156] An embodiment of the present invention provides an electronic device, referring to image 3 As shown, the device 3 includes:
[0157] An acquisition module 31, configured to acquire the pixel value of the current pixel point in the image in a preset order;
[0158] Calculation module 32, for each acquired current pixel, calculate the average value of the pixel values of the current pixel and the multiple pixels adjacent to the left and right according to the plurality of pixels adjacent to the current pixel;
[0159] A replacement module 33, configured to replace the original pixel value of the current pixel point with the mean value.
[0160] Optionally, the calculation module 32 includes:
[0161] The determination sub-module 321 is configured to determine a plurality of pixel points adjacent to the left and right of the current pixel point according to the blur radius;
[0162] An acquisition submodule 322, configured to acquire pixel values of the plurality o...
PUM
![No PUM](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/noPUMSmall.5c5f49c7.png)
Abstract
Description
Claims
Application Information
![application no application](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/application.06fe782c.png)
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com