Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: BackgroundModelMoving

[93:7] extends: object

BackgroundModelMoving wraps boofcv.alg.background.BackgroundModelMoving.

Members

  • obj

Methods

  • BackgroundModelMoving (object Obj)

    Wraps a BoofCV moving background model.

    • @p Obj is an existing moving background model Java object or wrapper.
  • initialize (int Width, int Height, object HomeToWorld)

    Initializes the background.

    • @p Width is the background width.
    • @p Height is the background height.
    • @p HomeToWorld is the initial motion model.
  • updateBackground (object MotionToWorld, object Image)

    Updates the background model.

    • @p MotionToWorld is the frame-to-world motion.
    • @p Image is the input image.
  • segment (object MotionToWorld, object Image, object SegmentedOutput)

    Segments the input image.

    • @p MotionToWorld is the frame-to-world motion.
    • @p Image is the input image.
    • @p SegmentedOutput is a GrayU8 output image.
  • reset ()

    Resets the model.

  • getUnknownValue ()

    Gets the unknown pixel value.

    • @r The unknown value.
  • setUnknownValue (int Value)

    Sets the unknown pixel value.

    • @p Value is the unknown value.
  • getImageType ()

    Gets the input image type.

    • @r The BoofCV ImageType.

class: ConfigBackgroundBasic

[144:7] extends: object

ConfigBackgroundBasic wraps boofcv.factory.background.ConfigBackgroundBasic.

Members

  • obj

Methods

  • ConfigBackgroundBasic (Threshold = 10.0, LearnRate = 0.05)

    Creates a basic background config.

    • @p Threshold is the segmentation threshold.
    • @p LearnRate is the learning rate.
  • get (string Name)

    Gets a public config field.

    • @p Name is learnRate, threshold, interpolation, unknownValue, or backgroundWidth.
    • @r The field value.
  • set (string Name, Value)

    Sets a public config field.

    • @p Name is learnRate, threshold, interpolation, unknownValue, or backgroundWidth.
    • @p Value is the new field value.
  • checkValidity ()

    Validates this config.

class: BackgroundModelStationary

[47:7] extends: object

BackgroundModelStationary wraps boofcv.alg.background.BackgroundModelStationary.

Members

  • obj

Methods

  • BackgroundModelStationary (object Obj)

    Wraps a BoofCV stationary background model.

    • @p Obj is an existing background model Java object or wrapper.
  • updateBackground (object Image, SegmentedOutput = null)

    Updates the background model.

    • @p Image is the input image.
    • @p SegmentedOutput is an optional GrayU8 output image.
  • segment (object Image, object SegmentedOutput)

    Segments the input image.

    • @p Image is the input image.
    • @p SegmentedOutput is a GrayU8 output image.
  • reset ()

    Resets the model.

  • getUnknownValue ()

    Gets the unknown pixel value.

    • @r The unknown value.
  • setUnknownValue (int Value)

    Sets the unknown pixel value.

    • @p Value is the unknown value.
  • getImageType ()

    Gets the input image type.

    • @r The BoofCV ImageType.

class: ConfigBackgroundGmm

[202:7] extends: object

ConfigBackgroundGmm wraps boofcv.factory.background.ConfigBackgroundGmm.

Members

  • obj

Methods

  • ConfigBackgroundGmm ()

    Creates a GMM background config.

  • get (string Name)

    Gets a public config field.

    • @p Name is learningPeriod, initialVariance, decayCoefient, maxDistance, numberOfGaussian, significantWeight, unknownValue, or backgroundWidth.
    • @r The field value.
  • set (string Name, Value)

    Sets a public config field.

    • @p Name is learningPeriod, initialVariance, decayCoefient, maxDistance, numberOfGaussian, significantWeight, unknownValue, or backgroundWidth.
    • @p Value is the new field value.
  • checkValidity ()

    Validates this config.

class: FactoryBackgroundModel

[6:14] static extends: object

Static wrappers for boofcv.factory.background.FactoryBackgroundModel.

Methods

  • stationaryBasic (object Config, object ImageTypeValue)

    Creates a stationary basic background model.

    • @p Config is a ConfigBackgroundBasic wrapper.
    • @p ImageTypeValue is an ImageType wrapper.
    • @r A BackgroundModelStationary wrapper.
  • stationaryGaussian (object Config, object ImageTypeValue)

    Creates a stationary Gaussian background model.

    • @p Config is a ConfigBackgroundGaussian wrapper.
    • @p ImageTypeValue is an ImageType wrapper.
    • @r A BackgroundModelStationary wrapper.
  • stationaryGmm (object Config, object ImageTypeValue)

    Creates a stationary GMM background model.

    • @p Config is a ConfigBackgroundGmm wrapper.
    • @p ImageTypeValue is an ImageType wrapper.
    • @r A BackgroundModelStationary wrapper.

class: ConfigBackgroundGaussian

[173:7] extends: object

ConfigBackgroundGaussian wraps boofcv.factory.background.ConfigBackgroundGaussian.

Members

  • obj

Methods

  • ConfigBackgroundGaussian (Threshold = 10.0, LearnRate = 0.05)

    Creates a Gaussian background config.

    • @p Threshold is the segmentation threshold.
    • @p LearnRate is the learning rate.
  • get (string Name)

    Gets a public config field.

    • @p Name is learnRate, threshold, initialVariance, minimumDifference, interpolation, unknownValue, or backgroundWidth.
    • @r The field value.
  • set (string Name, Value)

    Sets a public config field.

    • @p Name is learnRate, threshold, initialVariance, minimumDifference, interpolation, unknownValue, or backgroundWidth.
    • @p Value is the new field value.
  • checkValidity ()

    Validates this config.