C# Класс OpenCvSharp.BackgroundSubtractor

The Base Class for Background/Foreground Segmentation. The class is only used to define the common interface for the whole family of background/foreground segmentation algorithms.
Наследование: Algorithm
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Apply ( InputArray image, OutputArray fgmask, double learningRate = -1 ) : void

the update operator that takes the next video frame and returns the current foreground mask as 8-bit binary image.

GetBackgroundImage ( OutputArray backgroundImage ) : void

computes a background image

Описание методов

Apply() публичный Метод

the update operator that takes the next video frame and returns the current foreground mask as 8-bit binary image.
public Apply ( InputArray image, OutputArray fgmask, double learningRate = -1 ) : void
image InputArray
fgmask OutputArray
learningRate double
Результат void

GetBackgroundImage() публичный Метод

computes a background image
public GetBackgroundImage ( OutputArray backgroundImage ) : void
backgroundImage OutputArray
Результат void