Table of Contents

Enum SubtractionMethod

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Specifies the subtraction method used to isolate foreground pixels.

public enum SubtractionMethod

Fields

Absolute = 0

Take the absolute difference between the online estimation of the background and the current frame so that any pixels which are different from the the background can be considered foreground.

Bright = 1

Subtract the online estimation of the background from the current image so that only pixels which are brighter than the background can be classified as foreground.

Dark = 2

Subtract the current image from the online estimation of the background so that only pixels which are darker than the background can be classified as foreground.