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

Class ConfigBackgroundBasic

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      TypeInterpolate interpolation
      Specifies which interpolation it will use.
      float learnRate
      Specifies how fast it will adapt to changes in the background.
      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. If euclidean distance less than or equal to this value it is background.
    • Constructor Detail

      • ConfigBackgroundBasic

        public ConfigBackgroundBasic(float threshold)
      • ConfigBackgroundBasic

        public ConfigBackgroundBasic(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.