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
파일 보기 프로젝트 열기: shimat/opencvsharp 1 사용 예제들

공개 메소드들

메소드 설명
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