Documentation of 'boofcv.factory.background.ConfigBackgroundGaussian' Java class
ConfigBackgroundGaussian
boofcv.factory.background

Class ConfigBackgroundGaussian

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      float initialVariance
      The initial variance assigned to a new pixel.
      TypeInterpolate interpolation
      Specifies which interpolation it will use.
      float learnRate
      Specifies how fast it will adapt to changes in the background.
      float minimumDifference
      Minimum Euclidean distance between the mean background and observed pixel value for it to be considered moving.
      float threshold
      Threshold for classifying a pixel as background or not.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void checkValidity()
      Checks to see if the configuration is valid.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • learnRate

        public float learnRate
        Specifies how fast it will adapt to changes in the background. From 0 to 1, inclusive. 0 = static 1.0 = instant.
      • threshold

        public float threshold
        Threshold for classifying a pixel as background or not. This threshold is applied to the computed Mahalanobis from the distribution. An appropriate threshold will vary depending on the number of bands in the image.
      • initialVariance

        public float initialVariance
        The initial variance assigned to a new pixel. Larger values to reduce false positives due to under sampling. Don't set to zero since that can cause divided by zero errors.
      • minimumDifference

        public float minimumDifference
        Minimum Euclidean distance between the mean background and observed pixel value for it to be considered moving. This value is automatically scaled for the number of bands in the image.
    • Constructor Detail

      • ConfigBackgroundGaussian

        public ConfigBackgroundGaussian(float threshold)
      • ConfigBackgroundGaussian

        public ConfigBackgroundGaussian(float threshold,
                                        float learnRate)
    • Method Detail

      • checkValidity

        public void checkValidity()
        Description copied from interface: Configuration
        Checks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.
        Specified by:
        checkValidity in interface Configuration

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.