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