Package boofcv.alg.background.stationary
Class BackgroundStationaryGaussian_IL_MT<T extends ImageInterleaved<T>>
java.lang.Object
boofcv.alg.background.BackgroundModel<T>
boofcv.alg.background.BackgroundModelStationary<T>
boofcv.alg.background.stationary.BackgroundStationaryGaussian<T>
boofcv.alg.background.stationary.BackgroundStationaryGaussian_IL_MT<T>
- All Implemented Interfaces:
BackgroundAlgorithmGaussian
@Generated("boofcv.alg.background.stationary.BackgroundStationaryGaussian_IL")
public class BackgroundStationaryGaussian_IL_MT<T extends ImageInterleaved<T>>
extends BackgroundStationaryGaussian<T>
Implementation of
BackgroundStationaryGaussian
for ImageInterleaved
.-
Field Summary
Fields inherited from class boofcv.alg.background.stationary.BackgroundStationaryGaussian
initialVariance, learnRate, minimumDifference, threshold
Fields inherited from class boofcv.alg.background.BackgroundModel
imageType, unknownValue
-
Constructor Summary
ConstructorDescriptionBackgroundStationaryGaussian_IL_MT
(float learnRate, float threshold, ImageType<T> imageType) Configurations background removal. -
Method Summary
Methods inherited from class boofcv.alg.background.BackgroundModelStationary
updateBackground
Methods inherited from class boofcv.alg.background.BackgroundModel
getImageType, getUnknownValue, setUnknownValue
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface boofcv.alg.background.BackgroundAlgorithmGaussian
getInitialVariance, getLearnRate, getMinimumDifference, getThreshold, setInitialVariance, setLearnRate, setMinimumDifference, setThreshold
-
Field Details
-
inputWrapper
-
bgWrapper
-
-
Constructor Details
-
BackgroundStationaryGaussian_IL_MT
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.imageType
- Type of input image.
-
-
Method Details
-
reset
public void reset()Description copied from class:BackgroundModel
Resets model to its original state- Specified by:
reset
in classBackgroundModel<T extends ImageInterleaved<T>>
-
updateBackground
Description copied from class:BackgroundModelStationary
Updates the background with new image information.- Specified by:
updateBackground
in classBackgroundModelStationary<T extends ImageInterleaved<T>>
-
segment
Description copied from class:BackgroundModelStationary
Invoke to segment input image into background and foreground pixels. If 'segmented' isn't the correct size it will be resized.- Specified by:
segment
in classBackgroundModelStationary<T extends ImageInterleaved<T>>
- Parameters:
frame
- (input) current imagesegmented
- (output) Segmented image. 0 = background, 1 = foreground/moving
-