Basics
Guides
API Reference
Basics
Guides
API Reference
[93:7] extends: object
BackgroundModelMoving wraps boofcv.alg.background.BackgroundModelMoving.
BackgroundModelMoving (object Obj)
Wraps a BoofCV moving background model.
Obj is an existing moving background model Java object or wrapper.initialize (int Width, int Height, object HomeToWorld)
Initializes the background.
Width is the background width.Height is the background height.HomeToWorld is the initial motion model.updateBackground (object MotionToWorld, object Image)
Updates the background model.
MotionToWorld is the frame-to-world motion.Image is the input image.segment (object MotionToWorld, object Image, object SegmentedOutput)
Segments the input image.
MotionToWorld is the frame-to-world motion.Image is the input image.SegmentedOutput is a GrayU8 output image.reset ()
Resets the model.
getUnknownValue ()
Gets the unknown pixel value.
The unknown value.setUnknownValue (int Value)
Sets the unknown pixel value.
Value is the unknown value.getImageType ()
Gets the input image type.
The BoofCV ImageType.[144:7] extends: object
ConfigBackgroundBasic wraps boofcv.factory.background.ConfigBackgroundBasic.
ConfigBackgroundBasic (Threshold = 10.0, LearnRate = 0.05)
Creates a basic background config.
Threshold is the segmentation threshold.LearnRate is the learning rate.get (string Name)
Gets a public config field.
Name is learnRate, threshold, interpolation, unknownValue, or backgroundWidth.The field value.set (string Name, Value)
Sets a public config field.
Name is learnRate, threshold, interpolation, unknownValue, or backgroundWidth.Value is the new field value.checkValidity ()
Validates this config.
[47:7] extends: object
BackgroundModelStationary wraps boofcv.alg.background.BackgroundModelStationary.
BackgroundModelStationary (object Obj)
Wraps a BoofCV stationary background model.
Obj is an existing background model Java object or wrapper.updateBackground (object Image, SegmentedOutput = null)
Updates the background model.
Image is the input image.SegmentedOutput is an optional GrayU8 output image.segment (object Image, object SegmentedOutput)
Segments the input image.
Image is the input image.SegmentedOutput is a GrayU8 output image.reset ()
Resets the model.
getUnknownValue ()
Gets the unknown pixel value.
The unknown value.setUnknownValue (int Value)
Sets the unknown pixel value.
Value is the unknown value.getImageType ()
Gets the input image type.
The BoofCV ImageType.[202:7] extends: object
ConfigBackgroundGmm wraps boofcv.factory.background.ConfigBackgroundGmm.
ConfigBackgroundGmm ()
Creates a GMM background config.
get (string Name)
Gets a public config field.
Name is learningPeriod, initialVariance, decayCoefient, maxDistance, numberOfGaussian, significantWeight, unknownValue, or backgroundWidth.The field value.set (string Name, Value)
Sets a public config field.
Name is learningPeriod, initialVariance, decayCoefient, maxDistance, numberOfGaussian, significantWeight, unknownValue, or backgroundWidth.Value is the new field value.checkValidity ()
Validates this config.
[6:14] static extends: object
Static wrappers for boofcv.factory.background.FactoryBackgroundModel.
stationaryBasic (object Config, object ImageTypeValue)
Creates a stationary basic background model.
Config is a ConfigBackgroundBasic wrapper.ImageTypeValue is an ImageType wrapper.A BackgroundModelStationary wrapper.stationaryGaussian (object Config, object ImageTypeValue)
Creates a stationary Gaussian background model.
Config is a ConfigBackgroundGaussian wrapper.ImageTypeValue is an ImageType wrapper.A BackgroundModelStationary wrapper.stationaryGmm (object Config, object ImageTypeValue)
Creates a stationary GMM background model.
Config is a ConfigBackgroundGmm wrapper.ImageTypeValue is an ImageType wrapper.A BackgroundModelStationary wrapper.[173:7] extends: object
ConfigBackgroundGaussian wraps boofcv.factory.background.ConfigBackgroundGaussian.
ConfigBackgroundGaussian (Threshold = 10.0, LearnRate = 0.05)
Creates a Gaussian background config.
Threshold is the segmentation threshold.LearnRate is the learning rate.get (string Name)
Gets a public config field.
Name is learnRate, threshold, initialVariance, minimumDifference, interpolation, unknownValue, or backgroundWidth.The field value.set (string Name, Value)
Sets a public config field.
Name is learnRate, threshold, initialVariance, minimumDifference, interpolation, unknownValue, or backgroundWidth.Value is the new field value.checkValidity ()
Validates this config.

Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.