Video foreground image extraction method and device
A foreground image and foreground pixel technology, applied in the field of computer vision, can solve problems such as difficulty in distinguishing foreground images and background images, and achieve the effect of sensitive judgment.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] The invention provides a method for extracting video foreground images, referring to figure 2 As shown in , the method includes:
[0039] S101. Extract foreground pixels from a current frame image of a video stream according to a grayscale image-based GMM model to obtain a first set of pixels.
[0040] Specifically, refer to image 3 As shown in , step S101 includes steps S1011-S1014:
[0041] S1011. Convert the current frame image from an RGB image to a grayscale image.
[0042] S1012. Extract foreground pixels from the above grayscale image according to the GMM model.
[0043] The GMM model based on grayscale images is as follows:
[0044] Let I(x, y, t) represent the pixel gray value of the pixel point (x, y) at time t, then we have
[0045]
[0046] Among them, K is the number of Gaussian distribution, which is called the mixing coefficient of Gaussian mixture probability density; is the weighting coefficient of the i-th Gaussian component at time t, that...
Embodiment 2
[0090] Embodiments of the present invention provide a video foreground image extraction device 10, which is applied to the above video foreground image extraction method, referring to Figure 5 As shown, the device includes:
[0091] The extraction unit 101 is used to extract the foreground pixel points of the current frame image according to the GMM model based on the grayscale image to obtain the first set of pixel points;
[0092] The conversion unit 102 is used to determine the background reference image of the video stream, and convert the background reference image from the RGB color space to the HSV color space to obtain the background HSV image;
[0093] The conversion unit 102 is further configured to convert the current frame image of the video stream from the RGB color space to the HSV color space to obtain the current frame HSV image;
[0094] The calculation unit 103 is used to calculate the Euclidean distance of the HSV values of the pixels in the current fram...
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