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

Color comparison method for video image, terminal equipment and storage medium

A video image and color ratio technology, applied in the field of image analysis, can solve the problems of insufficient anti-interference, low precision of matting results, lack of use of pre-order frame data, etc., to achieve the effect of overcoming disturbance and enhancing stability

Pending Publication Date: 2021-10-08
厦门纵横集团科技股份有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the existing technology, only each frame of video image can be matted separately, and the data of the previous frame is lacking, resulting in the disadvantages of low precision and insufficient anti-interference in the matting result

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
  • Color comparison method for video image, terminal equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] Embodiments of the present invention provide a color comparison method for video images, such as figure 1 As shown, the method includes the following steps:

[0026] S1: Construct an address list according to the number of pixels contained in the video image to be compared. Each address in the address list corresponds to each pixel in the video image to be compared. Each address is used to store each The color comparison result of the color of the pixel and the color to be compared.

[0027] The video image is an image corresponding to each frame in the video, and the video image may be a real-time video stream captured by a camera, or a recorded and stored video file.

[0028] In this embodiment, the address list is represented by Buffer, and Buffer(Pi) represents the value of the i-th address in the address list, which corresponds to store the comparison result of the i-th pixel in the video image to be compared.

[0029] S2: Initialize and set the value of each add...

Embodiment 2

[0044] The present invention also provides a color comparison terminal device for video images, including a memory, a processor, and a computer program stored in the memory and operable on the processor, and the processor executes the computer program The steps in the above method embodiment of Embodiment 1 of the present invention are realized at the same time.

[0045] Further, as an executable solution, the terminal device for color comparison of video images may be computing devices such as desktop computers, notebooks, palmtop computers, and cloud servers. The color comparison terminal device for video images may include, but not limited to, a processor and a memory. Those skilled in the art can understand that the composition and structure of the above-mentioned color comparison terminal device for video images is only an example of the color comparison terminal device for video images, and does not constitute a limitation for the color comparison terminal device for vid...

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 relates to a color comparison method for a video image, terminal equipment and a storage medium, and the method comprises the steps of constructing an address list according to the number of pixel points in a to-be-compared video image, and enabling each address in the address list to be in one-to-one correspondence with each pixel point in the to-be-compared video image, wherein each address is used for storing a color comparison result of the color of each pixel point and the color to be compared; initializing and setting the value of each address; reading a to-be-compared video image frame by frame, sequentially calculating the distance between the color of each pixel point and the to-be-compared color for each frame of read to-be-compared video image, according to the size relationship between the calculated distance and the preset maximum distance and minimum distance, and under specific conditions, determining whether the color of each pixel point in the frame of video image to be compared is the same as the color to be compared directly according to the judgment result stored in the address corresponding to the point of the previous frame, and then updating the address list. According to the invention, the accuracy of video image color comparison is improved.

Description

technical field [0001] The invention relates to the field of image analysis, in particular to a color comparison method for video images, a terminal device and a storage medium. Background technique [0002] At present, in daily work and life, it is often necessary to cut out a figure in a video image to replace the background of the figure. In the prior art, only each frame of video image can be matted separately, and the previous frame data is not utilized, resulting in the disadvantages of low precision and insufficient anti-interference of the matting result. Contents of the invention [0003] In order to solve the above problems, the present invention proposes a color comparison method for video images, a terminal device and a storage medium. [0004] The specific plan is as follows: [0005] A method for color comparison of video images, comprising: [0006] Construct an address list according to the number of pixels contained in the video image to be compared, ea...

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
IPC IPC(8): G06T7/90
CPCG06T7/90G06T2207/10016
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