Pipeline stage | Function name |
---|---|
Background elimination | cvCreateGaussianBGModel |
Parameters: win_size = 40; n_gauss = 5; bg_threshold = 0.1; std_threshold = 3.5; minArea = 15; weight_init = 0.05; variance_init = 10 | |
Noise filtering | cvSmooth and blurGaussian |
Binary thresholding | cvThreshold |
Shadow elimination (erosion and dilation) | cvErode and cvDilate |
Blob detection | findContours |