Package boofcv.alg.background.moving
Class BackgroundMovingGmm_MB<T extends ImageMultiBand<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_MB<T,Motion>
- All Implemented Interfaces:
BackgroundAlgorithmGmm
public class BackgroundMovingGmm_MB<T extends ImageMultiBand<T>,Motion extends InvertibleTransform<Motion>>
extends BackgroundMovingGmm<T,Motion>
Implementation of
BackgroundMovingGmm
for ImageGray
.-
Field Summary
Modifier and TypeFieldDescriptionprotected BackgroundMovingGmm_MB<T,
Motion>.boofcv.alg.background.moving.BackgroundMovingGmm_MB.Helper protected GrowArray<BackgroundMovingGmm_MB<T,
Motion>.boofcv.alg.background.moving.BackgroundMovingGmm_MB.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_MB
(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_MB<T extends ImageMultiBand<T>,Motion extends InvertibleTransform<Motion>>.boofcv.alg.background.moving.BackgroundMovingGmm_MB.Helper> helpers -
helper
protected BackgroundMovingGmm_MB<T extends ImageMultiBand<T>,Motion extends InvertibleTransform<Motion>>.boofcv.alg.background.moving.BackgroundMovingGmm_MB.Helper helper
-
-
Constructor Details
-
BackgroundMovingGmm_MB
public BackgroundMovingGmm_MB(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 ImageMultiBand<T>,
Motion extends InvertibleTransform<Motion>>
-
_segment
- Specified by:
_segment
in classBackgroundModelMoving<T extends ImageMultiBand<T>,
Motion extends InvertibleTransform<Motion>>
-