Method and apparatus for determining portrait contour in image

An image center and contour technology, applied in the field of image processing, can solve the problem that the accuracy of the contour of the portrait is difficult to meet the requirements of the contour of the portrait

Active Publication Date: 2017-06-13
ALIBABA GRP HLDG LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Using the traditional contour determination method of the object contour to process the contour of the portrait, the accuracy of the contour of the portrait is difficult to meet the requirements for the contour accuracy of the portrait in the subsequent processing

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 apparatus for determining portrait contour in image
  • Method and apparatus for determining portrait contour in image
  • Method and apparatus for determining portrait contour in image

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] Before describing a method for determining a profile of a person in an image provided by an embodiment of the present invention, the application environment and implementation mechanism are generally described.

[0057] The subject of execution of the present invention may be a computer program, and this computer program may be installed and deployed in a mobile terminal, a computer, a server, and the like. Mobile terminals, computers, servers, etc., can implement the image processing flow for images provided by the embodiments of the present invention by running the computer program deployed on them, so as to determine the outline of the portrait in the image.

[0058] The detection window that appears below can be understood as the detection interval of the color value of this program on the image. For example, when starting the program to process an image, the program determines the detection interval of the color value (that is, the detection window) after determini...

Embodiment 2

[0085] In this embodiment, how to determine the impurity or unqualified points in the background of the portrait on the image through the method provided by the embodiment of the present invention will be mainly described.

[0086] exist figure 1 In S103 in the corresponding embodiment, the judging whether the difference between the first average value and the second average value exceeds the second preset range further includes:

[0087] If it does not exceed the second preset range, continue to move the detection window, and judge that the first region is a pixel impurity in the image, and no longer use the color value of the first region to determine the The position of the silhouette of the person in the image.

[0088] For example, if the difference between the first average value and the second average value does not exceed the second preset range, it may be determined that the change in the color value in the second area is related to the color value on the image descr...

Embodiment 3

[0094] Figure 5 A device structure diagram of a device for determining the outline of a portrait in an image provided by an embodiment of the present invention, the device includes:

[0095] The moving unit 501 is used to horizontally move the preset detection window from one side of the image to the other side, the length of the detection window is a plurality of unit lengths, and the number of length units is predetermined according to the image, the The detection window includes a color detection area of ​​unit length.

[0096] Optionally, also include:

[0097]A converting unit, configured to convert the color model of the image into a hue-saturation-brightness HSV color model before triggering the moving unit.

[0098] Optionally, also include:

[0099] The matching unit is used to determine the rectangular area where the face of the portrait in the image is located through face matching before triggering the moving unit;

[0100] The length of the detection window i...

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

Embodiments of the invention disclose a method and an apparatus for determining a portrait contour in an image. The method comprises the steps of horizontally moving a preset detection window from one side to the other side of the image, and recording color values of regions passed by a color detection region on the image; and in the process of moving the detection window, if a difference value between the color value of the first region and a first mean value exceeds a first preset range, stopping moving the detection window, judging whether a difference value between the first mean value and a second mean value exceeds a second preset range or not, if the second preset range is exceeded, judging that a difference value between the color value of each unit length in the second region and the first mean value exceeds the number of second preset ranges, and if a preset ratio is not exceeded, determining the first region as a part of the portrait contour in the image. In the way of collecting the color values by horizontal movement from one side to the other side of the image, the change of the color values, in the same row, of the image can be analyzed more accurately and effectively.

Description

technical field [0001] The invention relates to the field of image processing, in particular to a method and device for determining the profile of a portrait in an image. Background technique [0002] Traditional morphological contour determination methods are often used to determine the contours of objects included in images. The objects here may mainly include buildings, portraits, and the like. The determined object outline can be used for later image processing, processing, and the like. [0003] However, the current contour determination methods for object contours mainly pursue the speed of contour determination, that is, it is hoped that the contour of the object can be recognized as soon as possible. However, the accuracy of object contour recognition is not paid much attention. [0004] For images that mainly include portraits, such as ID photos, in the subsequent processing process, the recognition accuracy of the outline of the portrait is required to be high. ...

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/90
CPCG06T2207/10024G06T2207/20116G06T2207/30196G06T7/40
Inventor 李川石
Owner ALIBABA GRP HLDG LTD
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