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

Image processing method and electronic device

A technology for electronic equipment and image processing, applied in the field of electronics, can solve the problem of large CPU occupation resources, and achieve the effect of solving large CPU occupation resources, reducing the number of sampling times, and not occupying CPU resources

Active Publication Date: 2019-06-25
LENOVO (BEIJING) LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The embodiment of the present application provides an image processing method and electronic equipment, which are used to solve the technical problem that the electronic equipment in the prior art has a large CPU resource occupation, and realize the technical effect of using GPU for real-time image processing without occupying CPU resources

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0076] Please refer to figure 1 , Embodiment 1 of the present application provides an image processing method, the method comprising:

[0077] S101: Obtain a first image including a first facial object through acquisition by an image acquisition unit in an electronic device;

[0078] S102: Obtain a first pixel ratio of the first facial object in the first image;

[0079] S103: Determine a first filter parameter according to the first pixel ratio;

[0080] S104: Perform one-dimensional filtering on the first image in the first direction of the image coordinate system according to the first filtering parameters to obtain a first filtered image;

[0081] S105: Perform one-dimensional filtering on the first filtered image in a second direction orthogonal to the first direction in the image coordinate system to obtain a second image.

[0082] In a specific implementation process, the electronic device may specifically be a tablet computer, a smart phone, etc., or other electroni...

Embodiment 2

[0119] Based on the same inventive concept as the image processing method in Embodiment 1 of this application, Embodiment 2 of this application provides an electronic device, please refer to Figure 8 ,include:

[0120] Housing 101;

[0121] The image acquisition unit 102 is arranged in the casing 101;

[0122] The processor 103 is arranged in the casing 101, and is configured to acquire a first image containing a first facial object through the image acquisition unit 102, and obtain a first pixel of the first facial object in the first image ratio, determining a first filtering parameter according to the first pixel ratio; and performing one-dimensional filtering on the first image in the first direction of the image coordinate system according to the first filtering parameter, to obtain A first filtered image, performing one-dimensional filtering on the first filtered image in a second direction orthogonal to the first direction in the image coordinate system to obtain a s...

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 processing method and electronic equipment. The method comprises a step of collecting and obtaining a first image comprising a first facial object through an image collection unit in the electronic equipment, a step of obtaining the first pixel ratio of the first facial object in the first image, a step of determining a first filtering parameter according to the first pixel ratio, a step of carrying out one-dimensional filtering on the first image in the first direction of an image coordinate system, and obtaining a first filtering image, and a step of carrying out one-dimensional filtering on the first filtering image in a second reaction which is orthogonal to the first direction in the image coordinate system, and obtaining a second image.

Description

technical field [0001] The invention relates to the field of electronic technology, in particular to an image processing method and electronic equipment. Background technique [0002] With the rapid improvement of network bandwidth and the development and popularization of hardware equipment, based on the Internet and mobile Internet terminals, real-time transmission of human voice, images and videos through mobile phones and other communication devices has become a mainstream communication method. [0003] In the prior art, when a user uses a mobile phone to make a video call, in order to realize the user's beautification function, a super camera is usually arranged on the front end of the mobile phone, and the CPU of the mobile phone is used to process the image to realize the beauty function of the camera; Face detection is used in the preview, and the CPU is used as the computing unit to perform real-time filtering on the face area to achieve real-time beauty effects. ...

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): H04N7/14H04N5/262
Inventor 陈至钊薛俊锋
Owner LENOVO (BEIJING) LTD
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