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
FieldsModifier 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, worldToHomeFields inherited from class boofcv.alg.background.BackgroundModel
imageType, unknownValue -
Constructor Summary
ConstructorsConstructorDescriptionBackgroundMovingGmm_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, setSignificantWeightMethods inherited from class boofcv.alg.background.BackgroundModelMoving
segment, updateBackgroundMethods 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:BackgroundModelMovingCall 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:
updateBackgroundin classBackgroundModelMoving<T extends ImageMultiBand<T>,Motion extends InvertibleTransform<Motion>>
-
_segment
- Specified by:
_segmentin classBackgroundModelMoving<T extends ImageMultiBand<T>,Motion extends InvertibleTransform<Motion>>
-