Package boofcv.alg.background.stationary
Class BackgroundStationaryGaussian_PL_MT<T extends ImageGray<T>>
java.lang.Object
boofcv.alg.background.BackgroundModel<T>
boofcv.alg.background.BackgroundModelStationary<T>
boofcv.alg.background.stationary.BackgroundStationaryGaussian<Planar<T>>
boofcv.alg.background.stationary.BackgroundStationaryGaussian_PL_MT<T>
- All Implemented Interfaces:
BackgroundAlgorithmGaussian
@Generated("boofcv.alg.background.stationary.BackgroundStationaryGaussian_PL")
public class BackgroundStationaryGaussian_PL_MT<T extends ImageGray<T>>
extends BackgroundStationaryGaussian<Planar<T>>
Implementation of
BackgroundStationaryGaussian for Planar.-
Field Summary
FieldsFields inherited from class boofcv.alg.background.stationary.BackgroundStationaryGaussian
initialVariance, learnRate, minimumDifference, thresholdFields inherited from class boofcv.alg.background.BackgroundModel
imageType, unknownValue -
Constructor Summary
ConstructorsConstructorDescriptionBackgroundStationaryGaussian_PL_MT(float learnRate, float threshold, ImageType<Planar<T>> imageType) Configurations background removal. -
Method Summary
Methods inherited from class boofcv.alg.background.BackgroundModelStationary
updateBackgroundMethods inherited from class boofcv.alg.background.BackgroundModel
getImageType, getUnknownValue, setUnknownValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface boofcv.alg.background.BackgroundAlgorithmGaussian
getInitialVariance, getLearnRate, getMinimumDifference, getThreshold, setInitialVariance, setLearnRate, setMinimumDifference, setThreshold
-
Field Details
-
inputWrapper
-
bgWrapper
-
-
Constructor Details
-
BackgroundStationaryGaussian_PL_MT
public BackgroundStationaryGaussian_PL_MT(float learnRate, float threshold, ImageType<Planar<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.imageType- Type of input image.
-
-
Method Details
-
reset
public void reset()Description copied from class:BackgroundModelResets model to its original state -
updateBackground
Description copied from class:BackgroundModelStationaryUpdates the background with new image information.- Specified by:
updateBackgroundin classBackgroundModelStationary<Planar<T extends ImageGray<T>>>
-
segment
Description copied from class:BackgroundModelStationaryInvoke to segment input image into background and foreground pixels. If 'segmented' isn't the correct size it will be resized.
-