CudaBackgroundSubtractorFGD Constructor |
http://www.emgu.com
Create a Background/Foreground Segmentation model
Namespace:
Emgu.CV.Cuda
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.0.1.3373 (4.0.1.3373)
Syntaxpublic CudaBackgroundSubtractorFGD(
int Lc = 128,
int N1c = 15,
int N2c = 25,
int Lcc = 64,
int N1cc = 25,
int N2cc = 40,
bool isObjWithoutHoles = true,
int performMorphing = 1,
float alpha1 = 0.1f,
float alpha2 = 0.005f,
float alpha3 = 0.1f,
float delta = 2f,
float T = 0.9f,
float minArea = 15f
)
Public Sub New (
Optional Lc As Integer = 128,
Optional N1c As Integer = 15,
Optional N2c As Integer = 25,
Optional Lcc As Integer = 64,
Optional N1cc As Integer = 25,
Optional N2cc As Integer = 40,
Optional isObjWithoutHoles As Boolean = true,
Optional performMorphing As Integer = 1,
Optional alpha1 As Single = 0.1F,
Optional alpha2 As Single = 0.005F,
Optional alpha3 As Single = 0.1F,
Optional delta As Single = 2F,
Optional T As Single = 0.9F,
Optional minArea As Single = 15F
)
public:
CudaBackgroundSubtractorFGD(
int Lc = 128,
int N1c = 15,
int N2c = 25,
int Lcc = 64,
int N1cc = 25,
int N2cc = 40,
bool isObjWithoutHoles = true,
int performMorphing = 1,
float alpha1 = 0.1f,
float alpha2 = 0.005f,
float alpha3 = 0.1f,
float delta = 2f,
float T = 0.9f,
float minArea = 15f
)
new :
?Lc : int *
?N1c : int *
?N2c : int *
?Lcc : int *
?N1cc : int *
?N2cc : int *
?isObjWithoutHoles : bool *
?performMorphing : int *
?alpha1 : float32 *
?alpha2 : float32 *
?alpha3 : float32 *
?delta : float32 *
?T : float32 *
?minArea : float32
(* Defaults:
let _Lc = defaultArg Lc 128
let _N1c = defaultArg N1c 15
let _N2c = defaultArg N2c 25
let _Lcc = defaultArg Lcc 64
let _N1cc = defaultArg N1cc 25
let _N2cc = defaultArg N2cc 40
let _isObjWithoutHoles = defaultArg isObjWithoutHoles true
let _performMorphing = defaultArg performMorphing 1
let _alpha1 = defaultArg alpha1 0.1f
let _alpha2 = defaultArg alpha2 0.005f
let _alpha3 = defaultArg alpha3 0.1f
let _delta = defaultArg delta 2f
let _T = defaultArg T 0.9f
let _minArea = defaultArg minArea 15f
*)
-> CudaBackgroundSubtractorFGD
Parameters
- Lc (Optional)
- Type: SystemInt32
Quantized levels per 'color' component. Power of two, typically 32, 64 or 128. - N1c (Optional)
- Type: SystemInt32
Number of color vectors used to model normal background color variation at a given pixel. - N2c (Optional)
- Type: SystemInt32
Used to allow the first N1c vectors to adapt over time to changing background. - Lcc (Optional)
- Type: SystemInt32
Quantized levels per 'color co-occurrence' component. Power of two, typically 16, 32 or 64. - N1cc (Optional)
- Type: SystemInt32
Number of color co-occurrence vectors used to model normal background color variation at a given pixel. - N2cc (Optional)
- Type: SystemInt32
Used to allow the first N1cc vectors to adapt over time to changing background. - isObjWithoutHoles (Optional)
- Type: SystemBoolean
If TRUE we ignore holes within foreground blobs. Defaults to TRUE. - performMorphing (Optional)
- Type: SystemInt32
These erase one-pixel junk blobs and merge almost-touching blobs. Default value is 1. - alpha1 (Optional)
- Type: SystemSingle
Background reference image update parameter - alpha2 (Optional)
- Type: SystemSingle
Stat model update parameter. 0.002f ~ 1K frame(~45sec), 0.005 ~ 18sec (if 25fps and absolutely static BG) - alpha3 (Optional)
- Type: SystemSingle
start value for alpha parameter (to fast initiate statistic model) - delta (Optional)
- Type: SystemSingle
Affects color and color co-occurrence quantization, typically set to 2. - T (Optional)
- Type: SystemSingle
T - minArea (Optional)
- Type: SystemSingle
Discard foreground blobs whose bounding box is smaller than this threshold.
See Also