Package boofcv.alg.background.moving
Class BackgroundMovingGmm_SB<T extends ImageGray<T>,Motion extends InvertibleTransform<Motion>>
java.lang.Object
boofcv.alg.background.BackgroundModel<T>
boofcv.alg.background.BackgroundModelMoving<T,Motion>
boofcv.alg.background.moving.BackgroundMovingGmm<T,Motion>
boofcv.alg.background.moving.BackgroundMovingGmm_SB<T,Motion>
- All Implemented Interfaces:
BackgroundAlgorithmGmm
public class BackgroundMovingGmm_SB<T extends ImageGray<T>,Motion extends InvertibleTransform<Motion>>
extends BackgroundMovingGmm<T,Motion>
Implementation of
BackgroundMovingGmm
for ImageGray
.-
Field Summary
Modifier and TypeFieldDescriptionprotected BackgroundMovingGmm_SB<T,
Motion>.boofcv.alg.background.moving.BackgroundMovingGmm_SB.Helper protected GrowArray<BackgroundMovingGmm_SB<T,
Motion>.boofcv.alg.background.moving.BackgroundMovingGmm_SB.Helper> Fields inherited from class boofcv.alg.background.BackgroundModelMoving
_transform, backgroundHeight, backgroundWidth, corners, currentToWorld, homeToWorld, worldToCurrent, worldToHome
Fields inherited from class boofcv.alg.background.BackgroundModel
imageType, unknownValue
-
Constructor Summary
ConstructorDescriptionBackgroundMovingGmm_SB
(float learningPeriod, float decayCoef, int maxGaussians, Point2Transform2Model_F32<Motion> transformImageType, ImageType<T> imageType) -
Method Summary
Methods inherited from class boofcv.alg.background.moving.BackgroundMovingGmm
getCommon, getInitialVariance, getLearningPeriod, getMaxDistance, initialize, reset, setInitialVariance, setLearningPeriod, setMaxDistance, setSignificantWeight
Methods inherited from class boofcv.alg.background.BackgroundModelMoving
segment, updateBackground
Methods inherited from class boofcv.alg.background.BackgroundModel
getImageType, getUnknownValue, setUnknownValue
-
Field Details
-
helpers
protected GrowArray<BackgroundMovingGmm_SB<T extends ImageGray<T>,Motion extends InvertibleTransform<Motion>>.boofcv.alg.background.moving.BackgroundMovingGmm_SB.Helper> helpers -
helper
protected BackgroundMovingGmm_SB<T extends ImageGray<T>,Motion extends InvertibleTransform<Motion>>.boofcv.alg.background.moving.BackgroundMovingGmm_SB.Helper helper
-
-
Constructor Details
-
BackgroundMovingGmm_SB
public BackgroundMovingGmm_SB(float learningPeriod, float decayCoef, int maxGaussians, Point2Transform2Model_F32<Motion> transformImageType, ImageType<T> imageType)
-
-
Method Details
-
updateBackground
Description copied from class:BackgroundModelMoving
Call to update the background with the frame inside the bounding box. Implementing class needs to make sure the rectangle is inside the background.- Specified by:
updateBackground
in classBackgroundModelMoving<T extends ImageGray<T>,
Motion extends InvertibleTransform<Motion>>
-
_segment
- Specified by:
_segment
in classBackgroundModelMoving<T extends ImageGray<T>,
Motion extends InvertibleTransform<Motion>>
-