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

Method, device, equipment and storage medium for extracting foreground objects

A target extraction and foreground technology, applied in image analysis, instrumentation, calculation, etc., can solve problems such as instability, inability to apply complete extraction, uneven light source, etc., and achieve the effect of complete extraction

Active Publication Date: 2020-07-10
GUOGUANG ELECTRIC +1
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, because the light source is difficult to adjust, it is difficult to maximize the contrast between the foreground object and the background, and it can only be adjusted to a compromise value, which increases the difficulty of the algorithm
In addition, the light source has the characteristics of unevenness and instability, so that the thresholds at different positions of the object need to be set separately, and because the lighting environment cannot change, it can only detect the edge mutation of the fixed position of the object, which cannot be applied to any foreground target shape change. full extraction of

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, device, equipment and storage medium for extracting foreground objects
  • Method, device, equipment and storage medium for extracting foreground objects
  • Method, device, equipment and storage medium for extracting foreground objects

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] figure 1 It is a flowchart of a method for extracting foreground objects provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of extracting foreground objects in images. The method can be executed by a foreground object extraction device, which can be controlled by software and / or hardware, the device can be integrated in a computer, and the method specifically includes the following steps:

[0024] S110. Acquire a non-foreground target image and a foreground target image obtained by shooting the same area under the same environment.

[0025] Among them, the camera can be used to collect images in the same environment to obtain a non-foreground target image and a foreground target image taken in the same area. The images can be grayscale images or color images, and there is no limitation here . No foreground target image can be denoted as f A and the foreground target image can be denoted as f B . The same environment ca...

Embodiment 2

[0050] figure 2 It is a schematic structural diagram of a foreground object extraction device provided in Embodiment 2 of the present invention. The device can execute any foreground object extraction method provided in the embodiment of the present invention. The device can be implemented by software and / or hardware, and the device can be integrated In a computer, the device includes:

[0051] An image acquisition module 210, configured to acquire a non-foreground target image and a foreground target image obtained by shooting the same area in the same environment;

[0052] A model building module 220, configured to initialize an objective function, and construct a full variation model according to the foreground target image, the foreground target image and the objective function;

[0053] A function solving module 230, configured to iteratively update the objective function, solve the total variational model, and obtain an optimal objective function;

[0054] The foregro...

Embodiment 3

[0069] image 3 It is a schematic structural diagram of a computer device provided in Embodiment 3 of the present invention. image 3 A block diagram of an exemplary computer device 12 suitable for implementing embodiments of the invention is shown. image 3 The computer device 12 shown is only an example, and should not impose any limitation on the functions and scope of use of the embodiments of the present invention.

[0070] Such as image 3 As shown, computer device 12 takes the form of a general-purpose computing device. Components of computer device 12 may include, but are not limited to: one or more processors or processing units 16 , system memory 28 , bus 18 connecting various system components including system memory 28 and processing unit 16 .

[0071] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of ...

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 foreground target extraction method and apparatus, a device and a storage medium. The method includes the steps of obtaining a non-foreground target image and aforeground target image obtained by shooting the same region under the same environment; initializing an objective function, constructing a total variational model based on the non-foreground targetimage, the foreground target image and the objective function; updating the objective function iteratively, solving the total variational model and obtaining an optimal objective function; and performing threshold filtering on the optimal objective function according to preset filtering rules, and determining a foreground target corresponding to the foreground target image according to the filtering result and the foreground target image. The technical scheme of the embodiments of the invention overcomes the defects that the existing method can perform detection only at a specified location and cannot adapt to the shape change in the foreground target, and the extraction process is vulnerable to the influence of uneven lighting and environmental changes, and achieves complete extraction ofthe foreground target.

Description

technical field [0001] Embodiments of the present invention relate to the field of machine vision, and in particular, to a method, device, equipment and storage medium for extracting a foreground object. Background technique [0002] In the field of machine vision, foreground object detection is a very important branch. The accuracy of its detection has a great impact on subsequent tracking, learning or recognition. [0003] At present, for foreground object extraction, especially foreground object extraction on a given object, a one-dimensional edge detection method is commonly used to locate the edge of an object at a preset position. However, since the light source is difficult to adjust, it is difficult to maximize the contrast between the foreground object and the background, and it can only be adjusted to a compromise value, which increases the difficulty of the algorithm. In addition, the light source has the characteristics of inhomogeneity and instability, so that...

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 Patents(China)
IPC IPC(8): G06T7/194
CPCG06T7/194
Inventor 邓苗
Owner GUOGUANG ELECTRIC
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