boofcv.alg.background.moving
Class BackgroundMovingGaussian_IL<T extends ImageInterleaved,Motion extends InvertibleTransform<Motion>>
- java.lang.Object
-
- boofcv.alg.background.BackgroundModel<T>
-
- boofcv.alg.background.BackgroundModelMoving<T,Motion>
-
- boofcv.alg.background.moving.BackgroundMovingGaussian<T,Motion>
-
- boofcv.alg.background.moving.BackgroundMovingGaussian_IL<T,Motion>
-
- All Implemented Interfaces:
- BackgroundAlgorithmGaussian
public class BackgroundMovingGaussian_IL<T extends ImageInterleaved,Motion extends InvertibleTransform<Motion>> extends BackgroundMovingGaussian<T,Motion>
Implementation ofBackgroundMovingGaussianforImageInterleaved.
-
-
Constructor Summary
Constructors Constructor and Description BackgroundMovingGaussian_IL(float learnRate, float threshold, PointTransformModel_F32<Motion> transform, TypeInterpolate interpType, ImageType<T> imageType)Configurations background removal.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidinitialize(int backgroundWidth, int backgroundHeight, Motion homeToWorld)Initializes background model.voidreset()Resets model to its original state-
Methods inherited from class boofcv.alg.background.moving.BackgroundMovingGaussian
getInitialVariance, getLearnRate, getMinimumDifference, getThreshold, setInitialVariance, setLearnRate, setMinimumDifference, setThreshold
-
Methods inherited from class boofcv.alg.background.BackgroundModelMoving
segment, updateBackground
-
Methods inherited from class boofcv.alg.background.BackgroundModel
getImageType, getUnknownValue, setUnknownValue
-
-
-
-
Constructor Detail
-
BackgroundMovingGaussian_IL
public BackgroundMovingGaussian_IL(float learnRate, float threshold, PointTransformModel_F32<Motion> transform, TypeInterpolate interpType, ImageType<T> imageType)Configurations background removal.- Parameters:
learnRate- Specifies how quickly the background is updated. 0 = static 1.0 = instant. Try 0.05threshold- Threshold for background. Consult a chi-square table for reasonably values. 10 to 16 for 1 to 3 bands.transform- Used to apply motion modelinterpType- Type of interpolation. BILINEAR recommended for accuracy. NEAREST_NEIGHBOR for speed. .imageType- Type of input image.
-
-
Method Detail
-
initialize
public void initialize(int backgroundWidth, int backgroundHeight, Motion homeToWorld)Description copied from class:BackgroundModelMovingInitializes background model. Specifies the size of the background image and transform from the "home" image to the background "world"- Specified by:
initializein classBackgroundModelMoving<T extends ImageInterleaved,Motion extends InvertibleTransform<Motion>>- Parameters:
backgroundWidth- Width of backgroundbackgroundHeight- Height of backgroundhomeToWorld- Transform from home to world.
-
reset
public void reset()
Description copied from class:BackgroundModelResets model to its original state- Specified by:
resetin classBackgroundModel<T extends ImageInterleaved>
-
-
DataMelt 3.0 © DataMelt by jWork.ORG