Class BackgroundStationaryBasic<T extends ImageBase<T>>

java.lang.Object
boofcv.alg.background.BackgroundModel<T>
boofcv.alg.background.BackgroundModelStationary<T>
boofcv.alg.background.stationary.BackgroundStationaryBasic<T>
All Implemented Interfaces:
BackgroundAlgorithmBasic
Direct Known Subclasses:
BackgroundStationaryBasic_IL, BackgroundStationaryBasic_IL_MT, BackgroundStationaryBasic_PL, BackgroundStationaryBasic_PL_MT, BackgroundStationaryBasic_SB, BackgroundStationaryBasic_SB_MT

public abstract class BackgroundStationaryBasic<T extends ImageBase<T>> extends BackgroundModelStationary<T> implements BackgroundAlgorithmBasic

Implementation of BackgroundAlgorithmBasic for stationary images.

See Also:
  • Field Details

    • learnRate

      protected float learnRate
      Specifies how fast it will adapt. 0 to 1, inclusive. 0 = static 1.0 = instant.
    • threshold

      protected float threshold
      Threshold for classifying a pixel as background or not. If euclidean distance less than or equal to this value it is background.
  • Constructor Details

    • BackgroundStationaryBasic

      protected BackgroundStationaryBasic(float learnRate, float threshold, ImageType<T> imageType)
      Configures background model
      Parameters:
      learnRate - learning rate, 0 to 1. 0 = fastest and 1 = slowest.
      threshold - Euclidean distance threshold. Background is ≤ this value
      imageType - Type of input image
  • Method Details