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

White degree determination method, electronic equipment and readable storage medium

A method of determining the whiteness degree, which is applied in the field of image processing, can solve problems such as the inability to obtain the fairness degree, affecting the determination of the degree of whiteness, and affecting the accuracy of the degree of whiteness.

Pending Publication Date: 2021-11-05
云南白药集团上海健康产品有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, the skin color of the user’s frontal face needs to be determined by fairness, which is usually determined based on the RGB values ​​of all pixels in the entire image, which will be interfered by facial defects or other facial features, affecting the Determination of whiteness, and then it is impossible to obtain accurate whiteness;
[0004] In addition, in the prior art, only the mean value of RGB is calculated, and the degree of fairness is determined according to the mean value of RGB, which also affects the accuracy of determining the degree of fairness

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
  • White degree determination method, electronic equipment and readable storage medium
  • White degree determination method, electronic equipment and readable storage medium
  • White degree determination method, electronic equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] like figure 1 As shown, the present embodiment one provides a method for determining fairness, and the method includes the following steps:

[0022] S101. Obtain the original image of the target user;

[0023] Specifically, the original image refers to the polarized light map of the user's frontal face, and those skilled in the art may adopt a method of obtaining the polarized light map according to actual needs, which will not be repeated here.

[0024] S103. Preprocessing the original image to obtain a target image;

[0025] Specifically, before the step S103, the following steps are also included:

[0026] Obtain the detection area H=(H1, H2, H3, ..., Hp) corresponding to the original image, Hq refers to the qth detection area, q=1...p, p is the number of detection areas;

[0027] Feature extraction is carried out according to the image information corresponding to Hq, and the feature vectors (Hq1, Hq2, Hq3, ..., Hqz) corresponding to Hq are obtained to determine ...

Embodiment 2

[0079] The difference between the second embodiment and the first embodiment is that step S103 further includes the following step: performing grayscale processing on the original image to obtain the target image.

[0080] Specifically, step S105 also includes the following steps:

[0081] Establishing an image coordinate system corresponding to the target image, wherein the coordinate origin of the image coordinate system is the center point of the target image, the X-axis direction of the image coordinate system is the width direction of the target image, and the The Y-axis direction of the image coordinate system is the length direction of the target image;

[0082] According to the image coordinate system, obtain the diagonal coordinate value of each target area and the pixel point list S=(S1, S2, S3, ..., Sn) corresponding to the target image, Sj is the pixel point Coordinate value, n is the number of pixels;

[0083] Obtaining coordinate values ​​of all pixel points in...

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 a white degree determination method, electronic equipment and a readable storage medium. The method comprises the following steps: carrying out preprocessing on an original image, and obtaining a target image; extracting pixel points of the target image to obtain a target pixel point list and a corresponding target gray value list; and according to the target gray value list, obtaining the white degree corresponding to the target user, wherein thewhite degree represents thewhite degree of the skin color of the target user. On one hand,the case that determination of the white degree is interfered by facial defects or other facial features, and then the accurate white degree cannot be obtained can be prevented; and on the other hand, the gray value can be calculated to replace the RGB value, normalization processing is carried out according to the gray values of all the pixel points to determine the white degree , and the accuracy of determining the white degree is prevented from being affected.

Description

technical field [0001] The invention relates to the technical field of image processing, in particular to a method for determining whiteness, electronic equipment and a readable storage medium. Background technique [0002] Image processing is the technique of analyzing images with computers to achieve the desired results. Also known as image processing; image processing generally refers to digital image processing. Digital image refers to a large two-dimensional array obtained by shooting with industrial cameras, video cameras, scanners and other equipment. The elements of this array are called pixels, and their values ​​are called pixels. grayscale value. [0003] In the prior art, the skin color of the user’s frontal face needs to be determined by fairness, which is usually determined based on the RGB values ​​of all pixels in the entire image, which will be interfered by facial defects or other facial features, affecting the Determination of whiteness, and then it is i...

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/00G06T7/90
CPCG06T7/0012G06T7/90G06T2207/30088G06T2207/30201
Inventor 曹杰秦皖民陶勇黄玉敏
Owner 云南白药集团上海健康产品有限公司
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