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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- 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