Image processing method and device

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

Active Publication Date: 2016-05-11
ZTE CORP
View PDF4 Cites 8 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 invention provides an image processing method. The method comprises following steps: obtaining the gray value of each pixel point in an image, dividing the image into one or multiple regions according to preset N gray levels, wherein each pixel point in the same region belongs to the same gray level, N is a positive integer more than or equal to 1; calculating the area of each divided region of the image, determining the region with the maximum area, calculating the number of the gray levels of the image; and judging whether the image is a fuzzy image according to the area of the region with the maximum area or the number of the gray levels of the image. According to the method and the device of the invention, the preprocessing of region division is carried out to the image; whether the image is the fuzzy image is determined through comparing the preprocessed image with a preset condition; therefore a terminal is equipped with an automatic fuzzy image recognition function; and a user is prevented from screening the fuzzy images without a preservation value one by one.

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 Applications(China)
IPC IPC(8): G06T7/00
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