Enum SubtractionMethod
Specifies the subtraction method used to isolate foreground pixels.
public enum SubtractionMethod
Fields
Absolute = 0Take 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 = 1Subtract 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 = 2Subtract 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.