Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Inactive Publication Date: 2017-10-10
PALMWIN INFORMATION TECH SHANGHAI
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The traditional Gaussian blur is to use the normal distribution to calculate the blur template, and use the template to perform convolution operation with the original image to achieve the purpose of blurring the image. During the calculation process, calculating the Gaussian blur value of a certain point requires multiple pixels around it. Point, and to calculate the weight matrix of each pixel, calculate the Gaussian blur value of a certain pixel according to the weight matrix, and perform this process for each pixel in the image, the calculation amount is large, and the calculation process It is more complicated; at the same time, in the traditional Gaussian blur calculation, the read pixel values ​​are read one by one, which further increases the time consumption of Gaussian blur processing on the image, and Gaussian blur uses floating-point operations, which further increases the processing time. Time, when running a video playback process or a real-time video program and performing Gaussian blur, it will take up a lot of processing resources, cannot be processed quickly, and the user experience is not good

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Image fuzzy processing method and electronic device
  • Image fuzzy processing method and electronic device
  • Image fuzzy processing method and electronic device

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an image fuzzy processing method and an electronic device, and relates to the technical field of image processing. The method herein includes the following steps: acquiring the pixel value of a current pixel point in an image in preset order; for the acquired each current pixel point, based on a plurality of pixel points which are adjacent in a left and right manner to the current pixel point, computing the average value of the current pixel point and the pixel values of the plurality of pixel points which are adjacent in a left and right manner; and replacing the original pixel value of the current pixel point with the average value. According to the invention, by computing the average value of the current pixel point and the pixel values of the plurality of pixel points which are adjacent in a left and right manner for each current pixel point, replaces the original pixel value of the current pixel point with the average value, such that all pixel points of the image are replaced with the corresponding average value and fuzzy processing of the image is realized. Since the process simply relates to the computing of average value, the method herein reduces computing amount and computing complexity, increases computing efficiency, avoids over-usage of the processing resources of the electronic device, and improves user experience.

Description

technical field [0001] The invention relates to the field of image processing, in particular to an image blurring processing method and electronic equipment. Background technique [0002] Now, in the field of image processing, Gaussian blur technology is widely used to process images. Since Gaussian blur can reduce image noise and reduce the level of detail, it can enrich the aesthetics of the human-computer interaction interface of mobile devices, so whether it is a single picture, It is also of great significance to perform real-time and efficient blurring processing effects on video frame images during video playback or instant video. [0003] The traditional Gaussian blur is to use the normal distribution to calculate the blur template, and use the template to perform convolution operation with the original image to achieve the purpose of blurring the image. During the calculation process, calculating the Gaussian blur value of a certain point requires multiple pixels ar...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06T5/00
CPCG06T5/77G06T5/70
Inventor 焦华龙
Owner PALMWIN INFORMATION TECH SHANGHAI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products