Method and system for removing highlight of certificate image

An image and certificate technology, which is applied in the highlight removal method and system of certificate images, and in the field of image highlight removal, can solve the problems of many operation steps, heavy certificate photos, and low intelligence, so as to improve work efficiency, reduce work burden, Effects with fast processing speed

Active Publication Date: 2014-08-13
广州商景网络科技有限公司 +1
View PDF3 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1) The operation steps are many and complicated, and the intelligence level is relatively low, which is very heavy for the need to process a large number of ID photos
[0005] 2) When performing highlight adjustment, the operator needs to have relatively rich experience in image processing, which does not meet the needs of ordinary users

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
  • Method and system for removing highlight of certificate image
  • Method and system for removing highlight of certificate image
  • Method and system for removing highlight of certificate image

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0077] Such as Figure 1 ~ Figure 3 As shown, the highlight removal method of this embodiment includes the following steps:

[0078] 1) Locate the skin area (including the face area, the ear area and the skin area below the chin) on the document image, as follows:

[0079] 1.1) Convert the document image from RGB (red, green, blue) space to YcbCr space;

[0080] 1.2) According to the existing statistical model of skin color (such as the model composed of information such as the mean value and variance of Asian skin color YCbCr space), calculate the probability p of each pixel value belonging to this model, and calculate the average value p' of all probabilities p' , take the threshold thd=1.2*p'.

[0081] 1.3) Traversing the entire document image, if the probability p corresponding to a certain pixel is greater than the threshold thd, it is judged that the pixel belongs to the skin area;

[0082] 1.4) Use the trained data set in the third-party library OpenCV to locate the ...

Embodiment 2

[0104] Such as Figure 6 As shown, the highlight removal system of this embodiment includes:

[0105] The skin area positioning module is used to locate the skin area on the document image;

[0106] The space mapping module is used to map the RGB space of the document image to the Lab space, where L represents the brightness of the pixel, and the range is 0 to 100;

[0107] The pixel selection module is used to compare the brightness of each pixel in the skin area with the size of the specified brightness threshold, if the brightness of a certain pixel is greater than the specified brightness threshold, the pixel is selected;

[0108] The highlight area positioning module is used to dilate and corrode all pixels greater than a specified brightness threshold by using a morphological operator to obtain a highlight area;

[0109] The highlight removal module is used to compress the gradient of the highlight area and remove the highlight.

[0110] Wherein, the skin area localiz...

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 method and system for removing highlight of a certificate image. The method includes the steps that a skin region of the certificate image is located; RGB space of the certificate image is mapped to Lab space, where L represents the brightness of pixels and ranges from 0 to 100; a brightness value of each pixel in the skin region is compared with an assigned brightness threshold value, and if the brightness value of a certain pixel is larger than the assigned brightness threshold value, the pixel is selected; all the pixels with the brightness values larger than the assigned brightness threshold value are expanded and corroded through a morphological operator, so that a highlight region is obtained; the gradient of the highlight region is compressed, so that highlight is removed. The system comprises a skin region locating module, a space mapping module, a pixel selection module, a highlight region locating module and a highlight removal module. According to the method and system, the processing speed is high, the work of highlight removal can be finished with a short time, work efficiency of a user is improved, the work burden on the user is relieved, and the user is released from heavy manual labor.

Description

technical field [0001] The invention relates to an image highlight removal technology, in particular to a highlight removal method and system for a certificate image. It belongs to the field of image processing. Background technique [0002] At present, due to shooting conditions and techniques, ID photos often have some highlights, especially on the forehead, nose bridge and cheeks, which seriously affects the quality of ID photos. [0003] Adobe's PhotoShop (hereinafter referred to as PS) provides a set of tools to solve the highlight problem. The user first needs to select the highlight area. When selecting the highlight area, a tolerance needs to be specified. If the tolerance is too large or too small, the selected Inaccurate, feathering is performed after the selected area, and then adjusted using color curves and gradations, but using PS to process highlights, although satisfactory results can be obtained, there are the following disadvantages: [0004] 1) The opera...

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): G06T5/00
Inventor 钟超军朱锦钊李亚星李桂清
Owner 广州商景网络科技有限公司
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