Class BackgroundMovingBasic<T extends ImageBase<T>,Motion extends InvertibleTransform<Motion>>

All Implemented Interfaces:
Direct Known Subclasses:
BackgroundMovingBasic_IL, BackgroundMovingBasic_IL_MT, BackgroundMovingBasic_PL, BackgroundMovingBasic_PL_MT, BackgroundMovingBasic_SB, BackgroundMovingBasic_SB_MT

public abstract class BackgroundMovingBasic<T extends ImageBase<T>,Motion extends InvertibleTransform<Motion>> extends BackgroundModelMoving<T,Motion> implements BackgroundAlgorithmBasic

Implementation of BackgroundAlgorithmBasic for moving 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

    • BackgroundMovingBasic

      protected BackgroundMovingBasic(float learnRate, float threshold, Point2Transform2Model_F32<Motion> transform, ImageType<T> imageType)
      Configures background model
      learnRate - learning rate, 0 to 1. 0 = fastest and 1 = slowest.
      threshold - Euclidean distance threshold. Background is ≤ this value
      transform - Point transform
      imageType - Type of input image