Image processing method and device

A processing method and image technology, applied in the field of photography, can solve problems such as wasting time and achieve the effect of saving time

Active Publication Date: 2021-03-09
ZTE CORP
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Most of the current terminals improve the anti-shake technology without processing blurred photos, but the anti-shake technology cannot completely solve the above problems. Users manually delete blurred and worthless photos one by one, which is a waste of time.

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 processing method and device
  • Image processing method and device
  • Image processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] The present invention provides a kind of image processing method, described method comprises:

[0041] Step S11: obtain the gray value of each pixel of the image, divide the image into one or more regions according to preset N gray levels, each pixel in the same region belongs to the same gray level, and N is greater than or a positive integer equal to 1;

[0042] When performing region division, the adjacent pixels belonging to the same gray level in the image are divided into one region; the number of gray levels in the image is less than or equal to N.

[0043] N can be set to 5, and 5 gray levels can be set. The grayscale value of each pixel in the image ranges from 0 to 255. The preset N grayscale levels mean that the grayscale value range is divided into 5 intervals, and each interval corresponds to a grayscale. degree level. For example, convert the color quantization gray level of the image from 0-255 to five levels, and divide [0-255] into [0-50], [51-100], ...

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 present invention provides an image processing method. The method includes: acquiring the grayscale value of each pixel of the image, and dividing the image into one or more regions according to preset N grayscale levels. Each pixel point belongs to the same gray level, and N is a positive integer greater than or equal to 1; calculate the area of ​​each area divided by the image, determine the area with the largest area, and calculate the number of gray levels of the image; Whether the image is a blurred image is judged according to the area of ​​the region with the largest area or the number of gray levels of the image. The invention preprocesses the image by dividing the area, and compares the preprocessed photo with the preset conditions to determine whether the photo is a blurred image, so that the terminal has the function of automatically identifying the blurred image, and avoids the need for users to screen one by one. A blurry image of the saved value.

Description

technical field [0001] The invention relates to the imaging field, and specifically relates to an image processing method and device. Background technique [0002] With the popularity of smart terminals, the camera function of mobile phones has become one of the important references for users to choose to buy mobile phones. The photo mode is also diversified, such as automatic, night, skin beautification and other modes, each photo mode is targeted to process photos. Most photo processing is to help users take better pictures, and few people pay attention to processing pictures with poor image quality. Young children often take pictures with their mobile phones, and many of the photos are blurry; when parents take pictures of their children, the children often move around and take many blurry photos. Parents need to delete the blurry photos that are not worth saving one by one . [0003] Most of the current terminals improve the anti-shake technology without processing bl...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06T7/11G06T7/136
CPCG06T7/00
Inventor 柴晓红
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products