BackgroundSubtractorCNT Constructor |
http://www.emgu.com
Creates a CNT Background Subtractor.
Namespace:
Emgu.CV.BgSegm
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.0.1.3373 (4.0.1.3373)
Syntaxpublic BackgroundSubtractorCNT(
int minPixelStability = 15,
bool useHistory = true,
int maxPixelStability = 900,
bool isParallel = true
)
Public Sub New (
Optional minPixelStability As Integer = 15,
Optional useHistory As Boolean = true,
Optional maxPixelStability As Integer = 900,
Optional isParallel As Boolean = true
)
public:
BackgroundSubtractorCNT(
int minPixelStability = 15,
bool useHistory = true,
int maxPixelStability = 900,
bool isParallel = true
)
new :
?minPixelStability : int *
?useHistory : bool *
?maxPixelStability : int *
?isParallel : bool
(* Defaults:
let _minPixelStability = defaultArg minPixelStability 15
let _useHistory = defaultArg useHistory true
let _maxPixelStability = defaultArg maxPixelStability 900
let _isParallel = defaultArg isParallel true
*)
-> BackgroundSubtractorCNT
Parameters
- minPixelStability (Optional)
- Type: SystemInt32
number of frames with same pixel color to consider stable - useHistory (Optional)
- Type: SystemBoolean
determines if we're giving a pixel credit for being stable for a long time - maxPixelStability (Optional)
- Type: SystemInt32
maximum allowed credit for a pixel in history - isParallel (Optional)
- Type: SystemBoolean
determines if we're parallelizing the algorithm
See Also